[Tex/LaTex] Two column glossary

glossariestwo-column

I'm having a problem similar to this: Two-column longtable or tabular. I want the same result — that is a two column glossary (ie a total of 4 columns) where a list of abbreviations and their descriptions wraps into a new, second column on the same page before continuing overleaf. However, I'm using the glossaries package. I've scanned the (very long) documentation and the only references to columns I can find is in the sense of adding more information (i.e. symbols) to a single glossary column. Does anyone know if there's a way to do what I'm asking?

By the by: I cannot for the life of me figure out how to make the page header for the glossary read in all-caps (like every other page header). Redefining the \glossarymark command as anything leaves me with a "CONTENTS" page header, flowing over from the ToC which is immediately before my glossary.

Edit: Not sure how much multiple questions are appreciated, but since these are all style related I have one more — is there a style for the glossary that is similar/identical to the TOC? All the styles that come with the package appear to suck… the closest to what I want (extremely simple) is the long style, but for some reason it is indented like 1.5 in and looks hideous.

Best Answer

Since I battled with this a while as well and I couldn't find any helpful discussions on the web, I just read carefully the manual! Maybe this is a feature newer than this topic, so it wasn't around the days the question was asked. But I like to provide an easy way to achieve multiple columns with the glossaries package so that others might find a solution faster.
One only needs the additional glossary-mcols package which provides exactly that.

\documentclass{scrreprt}

\usepackage{glossaries}
\usepackage{glossary-mcols}
\makeglossaries
\renewcommand*{\glspostdescription}{} % Removes dots at the end of each entry.

\begin{document}

% Some entries.
\newglossaryentry{glos:begin}{name=Begin, description={This is the beginning.}}
\newglossaryentry{glos:bold}{name=Bold, description=\nopostdesc}
\newglossaryentry{glos:bear}{name=Bear, description={A bear can make you run fast.}}\newglossaryentry{glos:chicken}{name=Chicken, description={Tasty...}}
\newglossaryentry{glos:elephant}{name=Elephant, description=\nopostdesc}
\newglossaryentry{glos:tantalos}{name=Tantalos, description={Just a random name.}}
\newglossaryentry{glos:zebra}{name=Zebra, description=\nopostdesc}

% Use the entries so that they show up in the glossary.
\gls{glos:begin}
\gls{glos:bold}
\gls{glos:bear}
\gls{glos:chicken}
\gls{glos:elephant}
\gls{glos:tantalos}
\gls{glos:zebra}

% Print the glossary with one of the mcol styles.
\printglossary[style=mcolindex, title=Index]

\end{document}

enter image description here

Related Question