LaTeX forum ⇒ Generalglossaries formatting Topic is solved

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

glossaries formatting

Postby nzbone » Wed Aug 20, 2014 3:17 pm

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
  1. %\newacronym{<label>}{<abbrv>}{<full>}

with the
  1. \glossaries
  1. 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
  1. \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.

  1. documentclass[a4paper,12pt]{report}
  3. \usepackage[nopostdot, style=super, nonumberlist, toc]{glossaries}
  5. \makeglossaries
  7. \begin{document}
  8. \baselineskip=22pt plus1pt
  11. \printglossary[title={List of Abbreviations}]
  13. \newpage
  15. \gls{adamts} \gls{af} \gls{bp} \gls{dmem} \gls{ecm} \gls{fbs} \gls{gag} \gls{ivd} \gls{ivdd} \gls{il}
  16. \gls{lp} \gls{mmp} \gls{np} \gls{ngml} \gls{lp} \gls{mmp} \gls{np} \gls{ngml} \gls{page} \gls{page}
  17. \gls{pcr} \gls{sds} \gls{timp} \gls{tnf} \gls{ugml}
  19. \newacronym{ngml}{$\eta$g/mL}{nanogram per millilitre}
  20. \newacronym{ugml}{$\mu$g/mL}{microgram per millilitre}
  21. \newacronym{adamts}{ADAMTS}{A Disintegrin And Metalloproteinase with Thrombospondin Motifs}
  22. \newacronym{af}{AF}{annulus fibrosus}
  23. \newacronym{bp}{BP}{back pain}
  24. \newacronym{dmem}{DMEM}{Dulbecco's Modified Eagle's Medium}
  25. \newacronym{ecm}{ECM}{extracellular matrix}
  26. \newacronym{fbs}{FBS}{feotal bovine serum}
  27. \newacronym{gag}{GAG}{glycosaminoglycans}
  28. \newacronym{ivd}{IVD}{intervertebral disc}
  29. \newacronym{ivdd}{IVDD}{intervertebral disc degeneration}
  30. \newacronym{il}{IL}{interleukin}
  31. \newacronym{lp}{LP}{leg pain}
  32. \newacronym{mmp}{MMP}{matrix metalloproteinases}
  33. \newacronym{np}{NP}{nucleus pulposus}
  34. \newacronym{page}{PAGE}{polyacrylamide gel electrophoresis}
  35. \newacronym{pcr}{RT-qPCR}{real time quantitative polymerase chain reaction}
  36. \newacronym{sds}{SDS}{sodium dodecyl sulfate}
  37. \newacronym{timp}{TIMP}{tissue inhibitors of metalloproteinases}
  38. \newacronym{tnf}{TNF-$\alpha$}{Tumor necrosis factor-alpha}
  40. \end{document}
(84.13 KiB) Downloaded 135 times
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


Posts: 7
Joined: Mon Jul 07, 2014 8:27 pm

Postby nzbone » Thu Aug 21, 2014 12:46 am

This was solved over at Stackexchange

I should NOT have been using
  1. \baselineskip

  1. \usepackage[doublespacing]{setspace}

And to adjust the width of the glossary i should use

  1. \setlength{\glsdescwidth}{0.8\textwidth}

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

Cheers All

Return to “General”

Who is online

Users browsing this forum: No registered users and 9 guests