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.

I am using the glossaries package in order to create a glossary. If I use:

\printglossary[type=main,style=list]

I get entry names in bold, but the layout won't be the one I wish. If I use:

\setlength{\glsdescwidth}{\linewidth}
\printglossary[type=main,style=long]

I will get the wanted layout exhibited, but the entry names won't be in bold. So, how to set the entry names to be shown in bold when using long style?

share|improve this question
add comment

1 Answer 1

up vote 5 down vote accepted

The following is untested, but should work according to p. 54 of the glossaries manual:

\renewcommand{\glsnamefont}[1]{\textbf{#1}}
share|improve this answer
    
Thanks again, that is what I wanted!!! –  Weslei Mar 10 '11 at 18:20
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.