Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

Is it possible to have the standard glossary entry, but with page numbers aligned to the right and a dotted line between the end of the description and the first page number?

share|improve this question
    
Welcome to TeX.SE. –  Peter Grill Nov 19 '12 at 10:45
add comment

1 Answer

You can achieve that by redefining \glspostdescription:

\documentclass{article}
\usepackage{glossaries}
\newglossaryentry{test}{name=Test,description=Blah blah}
\makeglossaries
\renewcommand*\glspostdescription{\dotfill}
\begin{document}

\glsaddall
\printglossary

\end{document}

enter image description here

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.