I was searching for 2 hours straight now and I must say the package documentation is extensive but not very clear – frustrating. I'm looking for a way to manually display the first use form (long form) of non-acronym-type entries without resetting the counter. Can somebody help me?
I've learned so far there are indeed commands for acronyms which do exactly that. But used on an entry in a different glossary (main or custom) produces no text.
Edit: First, I like to thank mafp for his answer so far. I should maybe elaborate on my problem some more. I am currently writing on my Bachelor thesis. Since I introduced a good amount of formulas what i would like is to have a glossary for the symbols with a brief description of what they stand for. Additionally, I am thinking about inserting the same definition underneath each formula. One of my entries looks like the following:
\newglossaryentry{degvi}{type=symbols,
name=$\Delta E_{GP,i}$,
symbol={MJ},
sort=energie differenz grau verbrauch,
description={Differenz graue Energie und Verbrauch zu Produktion des betrachteten Systems}}
which produces an output like this:
Honestly, I would like to see the same output below the equation without typing everything twice. Maybe this isn't the best approach, but I like the idea of having the database of symbols with the automatic glossary creation for reference (e.g., if I'm trying to find an equation with a specific symbol).
Best Answer
The appropriate command is
\glsfirst{...}
. Use it like this:Edit:
Regarding your updated question, I am concerned with your usage of the
symbol
field, for what you give as a symbol seems to be a unit. Maybe this answer can point into a better direction.That being said, if you want to use the glossary entries the way you defined them, you can mimic the output of the glossary like I did here with a
description
environment under the equation. The crucial point is that the format of the output of\gls{...}
can be set by redefining\glsdisplayfirst
and\glsdisplay
. Here, I redefine\glsdisplayfirst
to show the name, the symbol in parentheses, and the description. If\gls{degvi}
is used for the first time under equation, the output will be like in the glossary. I also set up a glossary style that mimics your output example, you can ignore that and keep what you currently have.gives