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.
Post Reply
Stuntkoala
Posts: 2
Joined: Sat Aug 24, 2019 4:46 pm

Glossary reference with number next to it

Post by Stuntkoala »

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

% in my Preamble:
\makeglossaries
 
\newglossaryentry{latex}
{
    name=latex,
    description={Is a mark up language specially suited 
    for scientific documents}
}

% in my Document:
\gls{latex}
Help would be appreciated.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
User avatar
Ijon Tichy
Posts: 640
Joined: Mon Dec 24, 2018 10:12 am

Glossary reference with number next to it

Post by Ijon Tichy »

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.
Sorry, but I can no longer participate here as the administrator is trampling on my wishes on one of his other platforms. :cry:
Stuntkoala
Posts: 2
Joined: Sat Aug 24, 2019 4:46 pm

Glossary reference with number next to it

Post by Stuntkoala »

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.
Post Reply