TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have defined a lot of terms with the glossaries package and use them in my text with the \gls{} command. However, I'd like terms called with \gls{} to appear bold, so people know that it is a term defined in the glossary. What command do I have to renew and how to achieve this?

Thanks in advance,

share|improve this question
up vote 7 down vote accepted

The glossaries package offers the command \glstextformat to control the way the text is displayed, so you can write




in the preamble of your document.

share|improve this answer
I should have mentioned, I am using the glossaries package, didn't know that there was a previous version. – Tim van Dalen Jun 19 '11 at 16:37
or even \renewcommand*{\glstextformat}{\textbf} which is even preferable, albeit a little hard to digest for beginners. – egreg Jun 19 '11 at 16:37

I don't know whether \gls is your command or an external one, to whose definition you don't have easy access. If the latter, then you can do something like


(This sort of manipulation can be automated using patch.) If the former, then, rather than devoting a new command to it, you can just replace your definition



share|improve this answer
Oops, sorry, I missed the fact that you were using a specific package. My answer is about general fiddling with commands after their definition; G Medina's answer (tex.stackexchange.com/questions/21152/…) is a much better approach in your specific setting. – L Spice Jun 19 '11 at 17:41

Your Answer


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.