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,


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.

  • 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



  • 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. – LSpice Jun 19 '11 at 17:41

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

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