diff --git a/Content/00_toc.tex b/Content/00_toc.tex index 7c374ec..a69edd4 100644 --- a/Content/00_toc.tex +++ b/Content/00_toc.tex @@ -113,10 +113,10 @@ % ------------------------------------------------------------------------------ % Glossary Section % ------------------------------------------------------------------------------ -% Generate glossary and list of acronyms +% Generate glossary and list of abbreviations % Two separate glossaries are printed: % 1. Main glossary with technical terms -% 2. Acronym list with abbreviations +% 2. List of abbreviations % ------------------------------------------------------------------------------ { \noindent @@ -132,14 +132,14 @@ \printglossary } - % --- Acronym List --- - % Print acronym glossary with German header "Abkürzung" + % --- List of Abbreviations --- + % Print abbreviation glossary with German header "Abkürzung" { \renewcommand*{\entryname}{Abkürzung} \newpage \pagestyle{fancy} \vspace*{-2.25em} - \printglossary[type=\acronymtype] + \printglossary[type=\acronymtype,title=Abkürzungen] } } diff --git a/Content/Chapters/06_template_demo.tex b/Content/Chapters/06_template_demo.tex index eae723f..48c9d49 100644 --- a/Content/Chapters/06_template_demo.tex +++ b/Content/Chapters/06_template_demo.tex @@ -209,7 +209,7 @@ Mit dem \texttt{subcaption}-Paket können mehrere Abbildungen nebeneinander plat \label{subsec:python_code} %TC:Ignore -\begin{lstlisting}[caption={Python-Beispiel: Fakultätsfunktion},label={lst:python_factorial},language=Python] +\begin{lstlisting}[caption={Python-Beispiel: Fakultätsfunktion},language=Python] def factorial(n): """Berechnet die Fakultät einer Zahl rekursiv.""" if n <= 1: @@ -220,14 +220,14 @@ def factorial(n): # Verwendungsbeispiel for i in range(10): print(f"{i}! = {factorial(i)}") -\end{lstlisting}\label{lst:python_factorial} +\end{lstlisting} %TC:EndIgnore \subsection*{LaTeX-Code} \label{subsec:latex_code} %TC:Ignore -\begin{lstlisting}[caption={LaTeX-Beispiel: Dokumentstruktur},label={lst:latex_example},language=TeX] +\begin{lstlisting}[caption={LaTeX-Beispiel: Dokumentstruktur},language=TeX] \documentclass{article} \usepackage[ngerman]{babel} \usepackage{amsmath} @@ -256,7 +256,6 @@ Das Template unterstützt intelligente Querverweise mit dem \texttt{cleveref}-Pa \item Verweis auf Gleichung: siehe \cref{eq:maxwell1} \item Verweis auf Abbildung: siehe \cref{fig:demo_abbildung} \item Verweis auf Tabelle: siehe \cref{tab:messwerte} - \item Verweis auf Listing: siehe \cref{lst:python_factorial} \end{itemize} \subsection*{Fußnoten} diff --git a/Glossary.tex b/Glossary.tex index a04f22b..492f72c 100644 --- a/Glossary.tex +++ b/Glossary.tex @@ -1,14 +1,14 @@ % !TEX root = Main.tex % ============================================================================== -% Glossary and Acronym Definitions +% Glossary and Abkürzung Definitions % ============================================================================== % Description: This file contains all glossary entries and acronyms used in % the document. Entries are automatically sorted and formatted. % Usage: Reference entries in text using: % - \gls{label} for glossary entries -% - \acrshort{label} for acronym short form -% - \acrlong{label} for acronym long form -% - \acrfull{label} for full acronym (short and long) +% - \acrshort{label} for abbreviation short form +% - \acrlong{label} for abbreviation long form +% - \acrfull{label} for full abbreviation (short and long) % Author: [Your Name] % Date: [Date] % ============================================================================== @@ -48,31 +48,31 @@ % } % ============================================================================== -% Acronym Definitions +% Abkürzung Definitions % ============================================================================== -% Define abbreviations and acronyms that appear in the document +% Define abbreviations that appear in the document % Syntax: \newacronym{label}{SHORT}{Long Form} % ------------------------------------------------------------------------------ -% Document-related acronyms +% Document-related abbreviations \newacronym{a:Abb}{Abb.}{Abbildung} \newacronym{a:Tab}{Tab.}{Tabelle} -% Legal and regulatory acronyms +% Legal and regulatory abbreviations \newacronym{MPG}{MPG}{Medizinproduktegesetz} -% Company and organization acronyms +% Company and organization abbreviations \newacronym{a:MS}{MS}{Microsoft®} % ------------------------------------------------------------------------------ -% Add more acronyms here (alphabetically sorted recommended) +% Add more abbreviations here (alphabetically sorted recommended) % ------------------------------------------------------------------------------ -% Technical acronyms +% Technical abbreviations % \newacronym{a:API}{API}{Application Programming Interface} % \newacronym{a:CPU}{CPU}{Central Processing Unit} % \newacronym{a:GPU}{GPU}{Graphics Processing Unit} -% Academic acronyms +% Academic abbreviations % \newacronym{a:BSc}{B.Sc.}{Bachelor of Science} % \newacronym{a:MSc}{M.Sc.}{Master of Science} % \newacronym{a:PhD}{Ph.D.}{Doctor of Philosophy} diff --git a/Preamble.tex b/Preamble.tex index 2a302ff..f4a524b 100644 --- a/Preamble.tex +++ b/Preamble.tex @@ -77,6 +77,7 @@ % ------------------------------------------------------------------------------ \input{Settings/General} % General document settings (title, author, etc.) \input{Settings/Logos} % Logo configuration and positioning +\input{Settings/CleverefNames} % Cleveref cross-reference names configuration % ------------------------------------------------------------------------------ % Custom Commands and Macros (Optional) diff --git a/Settings/CleverefNames.tex b/Settings/CleverefNames.tex new file mode 100644 index 0000000..ba2d4f3 --- /dev/null +++ b/Settings/CleverefNames.tex @@ -0,0 +1,127 @@ +% !TEX root = ../Main.tex +% ============================================================================== +% Cleveref Names Configuration +% ============================================================================== +% Description: This file configures the names used by the cleveref package +% for cross-references. These appear when using \cref{} or \Cref{} +% commands in the document. +% Usage: This file is loaded in the preamble after cleveref is loaded. +% Modify the names below to customize how references appear. +% Author: [Your Name] +% Date: [Date] +% ============================================================================== + +% ------------------------------------------------------------------------------ +% Cleveref Language-Specific Names +% ------------------------------------------------------------------------------ +% Configure the names for German language cross-references +% Format: \crefname{type}{singular}{plural} +% \Crefname{type}{Singular}{Plural} (for capitalized version) +% ------------------------------------------------------------------------------ + +% --- Figure References --- +\crefname{figure}{Abbildung}{Abbildungen} +\Crefname{figure}{Abbildung}{Abbildungen} + +% --- Table References --- +\crefname{table}{Tabelle}{Tabellen} +\Crefname{table}{Tabelle}{Tabellen} + +% --- Equation References --- +\crefname{equation}{Gleichung}{Gleichungen} +\Crefname{equation}{Gleichung}{Gleichungen} + +% --- Chapter References --- +\crefname{chapter}{Kapitel}{Kapitel} +\Crefname{chapter}{Kapitel}{Kapitel} + +% --- Section References --- +\crefname{section}{Abschnitt}{Abschnitte} +\Crefname{section}{Abschnitt}{Abschnitte} + +% --- Subsection References --- +\crefname{subsection}{Unterabschnitt}{Unterabschnitte} +\Crefname{subsection}{Unterabschnitt}{Unterabschnitte} + +% --- Subsubsection References --- +\crefname{subsubsection}{Unterunterabschnitt}{Unterunterabschnitte} +\Crefname{subsubsection}{Unterunterabschnitt}{Unterunterabschnitte} + +% --- Listing References --- +\crefname{listing}{Listing}{Codeblock} +\Crefname{listing}{Listing}{Codeblock} + +% --- Appendix References --- +\crefname{appendix}{Anhang}{Anhänge} +\Crefname{appendix}{Anhang}{Anhänge} + +% --- Algorithm References (if algorithms package is used) --- +\crefname{algorithm}{Algorithmus}{Algorithmen} +\Crefname{algorithm}{Algorithmus}{Algorithmen} + +% --- Theorem-like Environments (if defined) --- +\crefname{theorem}{Theorem}{Theoreme} +\Crefname{theorem}{Theorem}{Theoreme} + +\crefname{lemma}{Lemma}{Lemmata} +\Crefname{lemma}{Lemma}{Lemmata} + +\crefname{corollary}{Korollar}{Korollare} +\Crefname{corollary}{Korollar}{Korollare} + +\crefname{proposition}{Proposition}{Propositionen} +\Crefname{proposition}{Proposition}{Propositionen} + +\crefname{definition}{Definition}{Definitionen} +\Crefname{definition}{Definition}{Definitionen} + +\crefname{example}{Beispiel}{Beispiele} +\Crefname{example}{Beispiel}{Beispiele} + +\crefname{remark}{Bemerkung}{Bemerkungen} +\Crefname{remark}{Bemerkung}{Bemerkungen} + +% --- Footnote References --- +\crefname{footnote}{Fußnote}{Fußnoten} +\Crefname{footnote}{Fußnote}{Fußnoten} + +% --- Item References (for enumerate environments) --- +\crefname{enumi}{Punkt}{Punkte} +\Crefname{enumi}{Punkt}{Punkte} + +\crefname{enumii}{Punkt}{Punkte} +\Crefname{enumii}{Punkt}{Punkte} + +\crefname{enumiii}{Punkt}{Punkte} +\Crefname{enumiii}{Punkt}{Punkte} + +\crefname{enumiv}{Punkt}{Punkte} +\Crefname{enumiv}{Punkt}{Punkte} + +% --- Page References --- +\crefname{page}{Seite}{Seiten} +\Crefname{page}{Seite}{Seiten} + +% --- Line References (if lineno package is used) --- +\crefname{line}{Zeile}{Zeilen} +\Crefname{line}{Zeile}{Zeilen} + +% ------------------------------------------------------------------------------ +% Cleveref Format Configuration (Optional) +% ------------------------------------------------------------------------------ +% You can also customize the format of references here +% For example, to change how equation references appear: +% \crefformat{equation}{Gleichung~(#2#1#3)} +% \Crefformat{equation}{Gleichung~(#2#1#3)} +% ------------------------------------------------------------------------------ + +% ------------------------------------------------------------------------------ +% Multi-reference Configuration (Optional) +% ------------------------------------------------------------------------------ +% Configure how multiple references are formatted +% Example: \crefmultiformat{equation}{Gleichungen~#2#1#3}{ und~#2#1#3}{, #2#1#3}{ und~#2#1#3} +% ------------------------------------------------------------------------------ + +% ============================================================================== +% End of Cleveref Names Configuration +% ==============================================================================