General ⇒ list of abbreviation
list of abbreviation
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
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
NEW: TikZ book now 40% off at Amazon.com for a short time.

list of abbreviation
Hi,
some possibilities for abbreviations and acronyms are offered by the acronym package. Another option is provided by the nomencl package.
some possibilities for abbreviations and acronyms are offered by the acronym package. Another option is provided by the nomencl package.
Re: list of abbreviation
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
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
list of abbreviation
Hi,
you can also use the glossaries package:
Note that this requires a 3-step process:
Regards
Nicola Talbot
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}
Code: Select all
pdflatex filename
makeglossaries filename
pdflatex filename
Nicola Talbot
LaTeX Resources: http://www.dickimaw-books.com/latexresources.html
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Re: list of abbreviation
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}
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}
list of abbreviation
When using Nicola Talbot's code, \usepackage{glossary} nor {glossaries} were not recognized in kile (File `glossary.sty' not found. \makeglossary).
Cheers,
Carol
Cheers,
Carol
nlct wrote:Hi,
you can also use the glossaries package:
Note that this requires a 3-step process: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}
RegardsCode: Select all
pdflatex filename makeglossaries filename pdflatex filename
Nicola Talbot
- Stefan Kottwitz
- Site Admin
- Posts: 10348
- Joined: Mon Mar 10, 2008 9:44 pm
list of abbreviation
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
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
Re: list of abbreviation
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
How could I install glossaries.tar.lzma? In Readme file, it's indicated that there is install file but I didn't see.
thx
Re: list of abbreviation
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.
Debian TexLive distribution(in "testing").
The "glossary" package works just fine for me.