Compare commits

..

3 Commits

3 changed files with 28 additions and 3 deletions

View File

@ -16,10 +16,10 @@
# Move all axuiliary files to a separate directory, so they do not clutter up the project directory # Move all axuiliary files to a separate directory, so they do not clutter up the project directory
$emulate_aux = 1; $emulate_aux = 1;
$aux_dir = ".tmp"; $aux_dir = "build";
# Move the compiled files (and synctex) to a separate directory # Move the compiled files (and synctex) to a separate directory
$out_dir = '.build'; $out_dir = 'build';
# command to compile and run # command to compile and run
$pdflatex = 'pdflatex %O -interaction=nonstopmode -shell-escape %S'; $pdflatex = 'pdflatex %O -interaction=nonstopmode -shell-escape %S';
@ -45,6 +45,14 @@ $pdf_mode = 1;
# Keep auxiliary files # Keep auxiliary files
$clean_ext = " "; $clean_ext = " ";
# =====================================================================
# Custom dependency and function for nomencl package
# See: https://www.overleaf.com/learn/how-to/How_does_Overleaf_compile_my_project%3F
add_cus_dep("nlo", "nls", 0, "nlo2nls");
sub nlo2nls {
system("makeindex $_[0].nlo -s nomencl.ist -o $_[0].nls -t $_[0].nlg");
}
# ===================================================================== # =====================================================================
# custom dependency handling for glossaries # custom dependency handling for glossaries

View File

@ -26,6 +26,8 @@
\usepackage{tikz} % painting \usepackage{tikz} % painting
\usepackage{tikz-imagelabels} % overlay labels for images \usepackage{tikz-imagelabels} % overlay labels for images
\usepackage{cite} % citation for bibliography \usepackage{cite} % citation for bibliography
\usepackage{amssymb} % provides enhancements for mathematical formulas
% \usepackage[utf8]{inputenc} % load files via \input as UTF-8, enabled by default since 2018
\makeindex \makeindex
\makenomenclature \makenomenclature

View File

@ -1 +1,16 @@
\nomenclature{\(c\)}{Speed of light in a vacuum} % For more verbose examples see: https://www.overleaf.com/learn/latex/Nomenclatures
% Create groups for different nomenclature sections
\renewcommand\nomgroup[1]{%
\item[\bfseries
\ifstrequal{#1}{P}{Physikalische Konstanten}{
\ifstrequal{#1}{E}{Chemische Elemente}{
\ifstrequal{#1}{Z}{Zahlenreihen}{
\ifstrequal{#1}{O}{Andere Symbole}}}}
]}
% Quick examples:
% \nomenclature[P]{\(c\)}{Speed of light in a vacuum}
% \nomenclature[Z]{\(\mathbb{C}\)}{Complex numbers}
% ^^^ ^^^^^^^^^^ ^^^^^^^^^^^^^^^
% Gruppe Darstellung Beschreibung