PDA

Archiv verlassen und diese Seite im Standarddesign anzeigen : Package Acronym Abkürzungsverzeichnis nach Inhaltsverzeichnis



gallioleo
14-01-2012, 11:35
Hallo,

in meinem Projekt verwende ich die Dokumentenklasse "scrreprt". Nun muss ich für meine Arbeit ein Abkürzungsverzeichnis erstellen. Dies erledige ich mit dem Package Acronym.

Nun zu meinem Problem. In der Klasse kann ich das Inhaltsverzeichnis über den Befehl \tableofcontents ausgeben. Bei den Achronymen fehlt mir ein entsprechender Befehl. Mein Workaround sieht so aus, dass ich es hinter das INhaltsverzeichnis packe. Leider steht dann in der Kopfzeile Inhaltsverzeichnis und nicht Abkürzungsverzeichnis. Wie könnte ich das Problem lösen, dass eine ähnliche Ausgabe wie bei dem \tableofcontents nur für das Abkürzungsverzeichnis erzeugt wird.

Vielen Dank

bobmalaria
14-01-2012, 13:10
hi,

wie leitest du denn deas verzeichnis ein?

wenn du \chapter* oder \section* verwenden solltest, dann ersetzte diese duch \addchap oder \addsec von koma-skript. dann stimmt auch die kopfzeile.

ansonsten musst du ein anständiges beispiel machen das uns weniger raten lässt was das problem ist.

gruss

Sepp99
14-01-2012, 14:43
Möglicherweise kommt es auch darauf an, wie du deine Kopfzeile erzeugst. Hier ein adaptiertes Beispiel aus der Paketdoku:

\documentclass{scrreprt}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[ngerman]{babel}

% Layout
\usepackage[automark]{scrpage2}
\pagestyle{scrheadings}
\clearscrheadfoot
\ohead{\pagemark}
\ihead{\headmark}
\renewcommand*{\chapterpagestyle}{scrheadings}
\renewcommand*{\indexpagestyle}{scrheadings}

\usepackage[printonlyused,withpage]{acronym}
\usepackage[colorlinks]{hyperref}

\begin{document}
\tableofcontents

\chapter{Acronyms}
\begin{acronym}[TDMA]
\acro{CDMA}{Code Division Multiple Access}
\acro{GSM}{Global System for Mobile communication}
\acro{NA}[\ensuremath{N_{\mathrm A}}]{Number of Avogadro\acroextra{ (see \S\ref{Chem})}}
\acro{NAD+}[NAD\textsuperscript{+}]{Nicotinamide Adenine Dinucleotide}
\acro{NUA}{Not Used Acronym}
\acro{TDMA}{Time Division Multiple Access}
\acro{UA}{Used Acronym}
\acro{lox}[\ensuremath{LOX}]{Liquid Oxygen}%
\acro{lh2}[\ensuremath{LH_2}]{Liquid Hydrogen}%
\acro{IC}{Integrated Circuit}%
\acro{BUT}{Block Under Test}%
\acrodefplural{BUT}{Blocks Under Test}%
\end{acronym}

\chapter{Intro}
In the early nineties, \acs{GSM} was deployed in many European
countries. \ac{GSM} offered for the first time international
roaming for mobile subscribers. The \acs{GSM}’s use of \ac{TDMA} as
its communication standard was debated at length. And every now
and then there are big discussion whether \ac{CDMA} should have
been chosen over \ac{TDMA}.

\chapter{Furthermore}
\acresetall
The reader could have forgotten all the nice acronyms, so we repeat the
meaning again.

If you want to know more about \acf{GSM}, \acf{TDMA}, \acf{CDMA}
and other acronyms, just read a book about mobile communication. Just
to mention it: There is another \ac{UA}, just for testing purposes!
\begin{figure}[h]
Figure
\caption{A float also admits references like \ac{GSM} or \acf{CDMA}.}
\end{figure}

\section{Some chemistry and physics}
\label{Chem}
\ac{NAD+} is a major electron acceptor in the oxidation
of fuel molecules. The reactive part of \ac{NAD+} is its nictinamide
ring, a pyridine derivate.

One mol consists of \acs{NA} atoms or molecules. There is a relation
between the constant of Boltzmann and the \acl{NA}:
\begin{equation}
k = R/\acs{NA}
\end{equation}

\acl{lox}/\acl{lh2} (\acsu{lox}/\acsu{lh2})

\section{Some testing fundamentals}
When testing \acp{IC}, one typically wants to identify functional
blocks to be tested separately. The latter are commonly indicated as
\acp{BUT}. To test a \ac{BUT} requires defining a testing strategy\dots



\end{document}
mit dem Ergebnis im Anhang! Ansonsten kann ich bobmalaria nur zustimmen (Minimalbeispiel).
Gruß, Sepp.-

EDIT: auf alle Fälle wäre der Umstieg auf das Paket glossaries zu überlegen!