LaTeX forum ⇒ MakeIndex, Nomenclature, Glossaries and AcronymsGlossary reference with number next to it

Information and discussion about MakeIndex - the tool to generate subject indices for LaTeX documents.
Posts: 2
Joined: Sat Aug 24, 2019 4:46 pm

Glossary reference with number next to it

Postby Stuntkoala » Sat Aug 24, 2019 4:53 pm

I'm sorry this is probably very basic, but I'm new to latex and it's slowly driving me insane. All I want to do is make references (in the text) to my Glossary that I create with \gls{exampleentry} have a number displayed next to it, so the reader knows where to find it in the glossary. Something like this [3]

This is what it looks like currently:
Code: [Select all] [Expand/Collapse] [Download] ({untitled.tex})
  1. % in my Preamble:
  2. \makeglossaries
  4. \newglossaryentry{latex}
  5. {
  6. name=latex,
  7. description={Is a mark up language specially suited
  8. for scientific documents}
  9. }
  11. % in my Document:
  12. \gls{latex}

Help would be appreciated.

User avatar
Ijon Tichy
Posts: 132
Joined: Mon Dec 24, 2018 10:12 am

Postby Ijon Tichy » Sat Aug 24, 2019 5:24 pm

Usually glossary entries can be found be name so I do not understand what the number should be. Can you please show us a Infominimal working example of what you already have. Maybe this would explain, what this number is. If the Infominimal working example is not self explaining, please also explain the sense of the number and what the number should be.

Posts: 2
Joined: Sat Aug 24, 2019 4:46 pm

Postby Stuntkoala » Sun Aug 25, 2019 4:28 pm

Yes you are right. I reconsidered and decided I don't need them. I'll just make the words italic to indicate there is a glossary entry for them.
Thanks for your time anyway.

Return to “MakeIndex, Nomenclature, Glossaries and Acronyms”

Who is online

Users browsing this forum: No registered users and 4 guests