General ⇒ list of abbreviation
list of abbreviation
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
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
list of abbreviation
some possibilities for abbreviations and acronyms are offered by the acronym package. Another option is provided by the nomencl package.
Re: list of abbreviation
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
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
Creating a Minimal Example: http://www.dickimaw-books.com/latex/minexample/
Re: list of 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
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: 10360
- Joined: Mon Mar 10, 2008 9:44 pm
list of abbreviation
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
Re: list of abbreviation
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
Debian TexLive distribution(in "testing").
The "glossary" package works just fine for me.