GeneralGlossary, description in footnote

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
e-jey
Posts: 1
Joined: Tue Jun 01, 2010 10:24 pm

Glossary, description in footnote

Post by e-jey »

I'm currently writing my first report in Latex, I like it a lot. The document contains a lot of acronyms. I'd like to add a footnote with a description on the first page that contains the acronym. I tried glosstexfor this. It works good, there is a nice sorted list with acronyms and the first time a footnote is created with the full acronym. Glosstex contains three values: acronym (css), full_acronym (cascading style sheets) and a description (A technology developed by the W3C to separate style from content).

How can I put the description in the footnote together with full_acronym? Maybe I need to use a different package. I also tried the acronym package, but It's not possible with that either.

Thanks in advance.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

nlct
Posts: 276
Joined: Thu Nov 06, 2008 11:15 am

Glossary, description in footnote

Post by nlct »

You can use the glossaries package. Something like:

Code: Select all

\documentclass{report}

\usepackage[acronym,footnote,description]{glossaries}

\makeglossaries

\makeatletter
\defglsdisplayfirst[\acronymtype]{%
  \firstacronymfont{#1}#4%
    \protect\footnote{%
      \glslink[\@gls@link@opts]{\@gls@link@label}{#3}: #2}}%
\makeatother

\newacronym[description={An example}]{xyz}{XYZ}{Sample Acronym}

\begin{document}
\gls{xyz}

\printglossaries
\end{document}
Regards
Nicola Talbot
Post Reply