## LaTeX forum ⇒ General ⇒ glossaries formatting Topic is solved

LaTeX specific issues not fitting into one of the other forums of this category.
nzbone
Posts: 7
Joined: Mon Jul 07, 2014 8:27 pm

### glossaries formatting

Hi all,

I am trying to make a list of acronyms for my doc. I am just struggling to get the formatting to look nice.

What I want is the abbrv in bold and the full description to be left aligned in another column.

I used the standard new acronym macro to define acronyms
%\newacronym{<label>}{<abbrv>}{<full>}

with the
\glossaries
the
style=super
option makes the description left aligned in a new column.

What is happening is my glossary is being split over two pages when there is ample room on one page.

I think
\baselineskip=22pt plus1pt
is the culprit but this is to make it double spaced for uni requirement. Is there any other option to make it double spaced?

My output is attached and everything is up to date software wise.
Thanks a lot!!

My MWE is below. Apologise for the long list of acronyms but this is to show everyone the issue.

documentclass[a4paper,12pt]{report}  \usepackage[nopostdot,  style=super, nonumberlist, toc]{glossaries} \makeglossaries	 \begin{document}\baselineskip=22pt plus1pt  \printglossary[title={List of Abbreviations}] \newpage \gls{adamts} \gls{af} \gls{bp} \gls{dmem} \gls{ecm} \gls{fbs} \gls{gag} \gls{ivd} \gls{ivdd} \gls{il} \gls{lp} \gls{mmp} \gls{np} \gls{ngml} \gls{lp} \gls{mmp} \gls{np} \gls{ngml} \gls{page} \gls{page} \gls{pcr} \gls{sds} \gls{timp} \gls{tnf} \gls{ugml} \newacronym{ngml}{$\eta$g/mL}{nanogram per millilitre}\newacronym{ugml}{$\mu$g/mL}{microgram per millilitre}\newacronym{adamts}{ADAMTS}{A Disintegrin And Metalloproteinase with Thrombospondin Motifs}\newacronym{af}{AF}{annulus fibrosus}\newacronym{bp}{BP}{back pain}\newacronym{dmem}{DMEM}{Dulbecco's Modified Eagle's Medium}\newacronym{ecm}{ECM}{extracellular matrix}\newacronym{fbs}{FBS}{feotal bovine serum}\newacronym{gag}{GAG}{glycosaminoglycans}\newacronym{ivd}{IVD}{intervertebral disc}\newacronym{ivdd}{IVDD}{intervertebral disc degeneration}\newacronym{il}{IL}{interleukin}\newacronym{lp}{LP}{leg pain}\newacronym{mmp}{MMP}{matrix metalloproteinases}\newacronym{np}{NP}{nucleus pulposus}\newacronym{page}{PAGE}{polyacrylamide gel electrophoresis}\newacronym{pcr}{RT-qPCR}{real time quantitative polymerase chain reaction}\newacronym{sds}{SDS}{sodium dodecyl sulfate}\newacronym{timp}{TIMP}{tissue inhibitors of metalloproteinases}\newacronym{tnf}{TNF-$\alpha$}{Tumor necrosis factor-alpha} \end{document}
Attachments
abbrev.pdf
Last edited by cgnieder on Wed Aug 20, 2014 3:27 pm, edited 1 time in total.
Reason: changed code markup from inline to block

Tags:

nzbone
Posts: 7
Joined: Mon Jul 07, 2014 8:27 pm
This was solved over at Stackexchange
http://tex.stackexchange.com/questions/197222/formatting-for-glossaries

I should NOT have been using
\baselineskip

rather
\usepackage[doublespacing]{setspace}

And to adjust the width of the glossary i should use

\setlength{\glsdescwidth}{0.8\textwidth}

All of this is explained more eloquently over at SE by Nicola Talbot.

Cheers All