Generallist of abbreviation

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

list of abbreviation

Post by carol »

Hi,
How could I add my list of abbreviation to a tex document? for example I have a list as follows:

Abbreviation

ASAP = As Soon As Possible
PS = Post Script

Note that = should be displayed at the same distance for all abbreviations.

Moreover, i would like that Abbreviation would be displayed in the same font and size as chapter headings (without numbering). How could I do that?

Look forward to your reply

carol

Recommended reading 2024:

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

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

phi
Posts: 577
Joined: Tue Oct 21, 2008 8:10 pm

list of abbreviation

Post by phi »

Hi,
some possibilities for abbreviations and acronyms are offered by the acronym package. Another option is provided by the nomencl package.
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

Re: list of abbreviation

Post by carol »

Thanks for your reply.

Acronym package would do the job, however, the full name of the acronym doesn't start at the same distance for all acronyms. How to fix the distance? for ex, I get

ASAP As Soon As Possible
PS Post Script

"Post Script" should be started as the same as distance as "As Soon As Possible"

may be a parameter should be put between acro_short}{acro_full} in \acro{acro_short}{acro_full}?

Cheers,

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

list of abbreviation

Post by nlct »

Hi,

you can also use the glossaries package:

Code: Select all

\documentclass{report}

\usepackage[style=long,nonumberlist]{glossaries}

\makeglossaries

% add = sign in the list of abbreviations:
\renewenvironment{theglossary}
  {\begin{longtable}{l@{ = }p{\glsdescwidth}}}
  {\end{longtable}}%
\renewcommand{\glsgroupskip}{}

\newacronym{asap}{ASAP}{As Soon As Possible}
\newacronym{ps}{PS}{Post Script}

\begin{document}
\printglossary[title=Abbreviation]

\chapter{Sample}
\gls{asap}. \gls{ps}.

\end{document}
Note that this requires a 3-step process:

Code: Select all

pdflatex filename
makeglossaries filename
pdflatex filename
Regards
Nicola Talbot
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

Re: list of abbreviation

Post by carol »

Thanks for your reply.

I also saw the following code but \makenomenclature is not recognised (at least in kile). When I use \printglossary and \makeglossary instead of \printnomenclature and \makenomenclature, the gls file is not created (when compiling kile project) and none of the abbreviations is displayed.

carol

--------------------------------------------
1.

Insert \usepackage{nomencl} and \makenomenclature at the beginning of the tex file (before \begin{document}).
2.

Insert \printnomenclature[distance] at that position in the tex file, where the list of abbreviations should be listed. The parameter distance defines the distance (e.g. 2.5 cm) between Abbreviation and Explanation.
3.

Insert the abbreviation in the tex as short and long form:
\nomenclature{Abbr}{Abbreviation}
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

list of abbreviation

Post by carol »

When using Nicola Talbot's code, \usepackage{glossary} nor {glossaries} were not recognized in kile (File `glossary.sty' not found. \makeglossary).

Cheers,

Carol

nlct wrote:Hi,

you can also use the glossaries package:

Code: Select all

\documentclass{report}

\usepackage[style=long,nonumberlist]{glossaries}

\makeglossaries

% add = sign in the list of abbreviations:
\renewenvironment{theglossary}
  {\begin{longtable}{l@{ = }p{\glsdescwidth}}}
  {\end{longtable}}%
\renewcommand{\glsgroupskip}{}

\newacronym{asap}{ASAP}{As Soon As Possible}
\newacronym{ps}{PS}{Post Script}

\begin{document}
\printglossary[title=Abbreviation]

\chapter{Sample}
\gls{asap}. \gls{ps}.

\end{document}
Note that this requires a 3-step process:

Code: Select all

pdflatex filename
makeglossaries filename
pdflatex filename
Regards
Nicola Talbot
User avatar
Stefan Kottwitz
Site Admin
Posts: 10348
Joined: Mon Mar 10, 2008 9:44 pm

list of abbreviation

Post by Stefan Kottwitz »

Hi Carol,

in that case just install the missing package glossaries or glossary. Use the package manager (Synaptic or apt-get for instance) of your system or a LaTeX package manager like the mpm or tlmgr of TeX Live 2008.
You could also get glossaries (newer that the obsolete glossary package) from CTAN.

Stefan
LaTeX.org admin
carol
Posts: 105
Joined: Wed Dec 24, 2008 7:25 pm

Re: list of abbreviation

Post by carol »

Thanks Stephan for your reply.

How could I install glossaries.tar.lzma? In Readme file, it's indicated that there is install file but I didn't see.

thx
drowsy
Posts: 44
Joined: Tue Dec 23, 2008 6:00 am

Re: list of abbreviation

Post by drowsy »

the new glossaries packages is weird, it uses tons of other packages not included in the
Debian TexLive distribution(in "testing").


The "glossary" package works just fine for me.
Post Reply