I am trying to create list of abbreviations. I've seen some examples but I would like it too look like this.
[Tex/LaTex] Create list of abbreviations
acronyms
Related Solutions
As far as I understand, the shorthand
field will only provide a "short identifier" for a certain bibliographry entry (say, a collection), but it will not use this identifier as an abbreviation in other entries (say, articles) that may be crossref
ed with the first one. If you're interested to display abbreviated journal titles for articles (but only in citations, not in the bibliography), I suggest the following:
To correctly display the title of the
@collection
entry, change thejournaltitle
field intotitle
;Drop the
crossref
/xref
field from the@article
entries;Add a
shortjournal
field (withEP
as content) to the@article
entries (Note: This field is not used by the standard styles shipping withbiblatex
);Use the
\AtEveryCitekey
macro to locally replace the content of thejournaltitle
field with that of theshortjournal
field.
Note: The following example is meant to be compiled with pdfLaTeX
.
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage[babel=false]{csquotes}
\usepackage[style=verbose-ibid,citepages=suppress]{biblatex}
\AtEveryCitekey{%
\savefield{shortjournal}{\temptitle}%
\restorefield{journaltitle}{\temptitle}%
}
\usepackage{filecontents}
\begin{filecontents}{\jobname.bib}
@Article{Episkepsis1971:36,
title = {La Commission préparatoire},
journaltitle = {Episkepsis},
shortjournal = {EP},
date = {1971},
number = {36},
pages = {2},
}
@Article{Episkepsis1971:36_2,
title = {Communique de la Commission},
journaltitle = {Episkepsis},
shortjournal = {EP},
date = {1971},
number = {36},
pages = {8--9},
}
@Article{Episkepsis1972:54,
title = {La première Conférence},
journaltitle = {Episkepsis},
shortjournal = {EP},
date = {1972},
number = {54},
pages = {2--5},
}
@Collection{Episkepsis,
title = {Episkepsis},
date = {1970/},
shorthand = {EP},
keywords = {primary},
}
\end{filecontents}
\addbibresource{\jobname.bib}
\nocite{*}
\begin{document}
Some text \autocite{Episkepsis1971:36}.
\printshorthands
\printbibheading
\printbibliography[keyword=primary,heading=subbibliography,title={Les sources principaux}]
\printbibliography[notkeyword=primary,heading=subbibliography,title={Les sources secondaires}]
\end{document}
What yo are looking for is the leveldown
feature of KOMA-script.
\documentclass[fontsize=12pt,listof=leveldown,listof=totoc,]{scrartcl}
\usepackage[english]{babel}
\usepackage[]{acronym}
\begin{document}
\tableofcontents
\listoffigures
\listoftables
\newcommand{\listacroname}{List of Abbreviations}
\subsection*{\listacroname}
\addcontentsline{toc}{subsection}{\listacroname}
\begin{acronym}[bash]
\acro{T1}{Test1}
\acro{T2}{Test2}
\acro{T3}{Test3}
\end{acronym}
\section{Introduction}
\end{document}
On the other hand, you might have just misunderstood me and want this, though i cannot recommend this:
\documentclass[a4paper,12pt]{article}
\usepackage[english]{babel}
\usepackage[]{acronym}
\begin{document}
\tableofcontents
\addcontentsline{toc}{subsection}{List of Figures} \listoftables
\listoffigures
\addcontentsline{toc}{subsection}{List of Tables}
\section*{List of Abbreviations}
\addcontentsline{toc}{subsection}{List of Abbreviations}
\begin{acronym}[bash]
\acro{T1}{Test1}
\acro{T2}{Test2}
\acro{T3}{Test3}
\end{acronym}
\section{Introduction}
\end{document}
Best Answer
You can use the glossaries package. Linked here are a few examples on how to use it.
Here is a MWE on how to get something like what you want, taken and slightly modified from the example site linked, to remove page numbers and change the title of the acronyms section to Abbreviations.
The line :
\loadglsentries[acronym]{myglossaries}
merely loads a file (myglossaries.tex) containing your glossary entries formatted like this:You need to provide this .tex file yourself, so you can make your own glossaries file with your own file and entries.
Here is an example of the output: