Text Formatting[glossaries] Separate glossaries and use of footnotes

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
cool
Posts: 5
Joined: Mon Oct 26, 2009 12:39 am

[glossaries] Separate glossaries and use of footnotes

Post by cool »

Hello *,

I am currently stuck, having two separate glossaries: main & acronyms. Acronyms prints footnotes on first use, but not the main glossary. Is there any way to make any other glossary as acronyms to print footnote on first use of the entry? I don't get how to do it.

Many thanks,
Ovanes

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX books
cool
Posts: 5
Joined: Mon Oct 26, 2009 12:39 am

[glossaries] Separate glossaries and use of footnotes

Post by cool »

got an answer at http://stackoverflow.com/questions/1633 ... e-in-latex

Code: Select all

\makeatletter
\renewcommand{\gls@main@displayfirst}[4]{
  #1#4\protect\footnote{#2}
}
\makeatother
User avatar
nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

[glossaries] Separate glossaries and use of footnotes

Post by nlct »

You can just do:

Code: Select all

\defglsdisplayfirst[main]{#1#4\footnote{#2}}
and dispense with the \makeatletter \makeatother pair.

Regards
Nicola Talbot
User avatar
nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

Re: [glossaries] Separate glossaries and use of footnotes

Post by nlct »

With the new version (2.04), you can now specify that the main glossary is also a list of acronyms using the package option acronymlists={main}.

Regards
Nicola Talbot
Post Reply