Aufgrund einer Störung des s3 Storage, könnten in nächster Zeit folgende GitLab Funktionen nicht zur Verfügung stehen: LFS, Container Registry, Job Artifacs, Uploads (Wiki, Bilder, Projekt-Exporte). Wir bitten um Verständnis. Es wird mit Hochdruck an der Behebung des Problems gearbeitet. Weitere Informationen zur Störung des Object Storage finden Sie hier: https://maintenance.itc.rwth-aachen.de/ticket/status/messages/59-object-storage-pilot

Commit 11352cfb authored by Lukas Janek Körfer's avatar Lukas Janek Körfer
Browse files

Merge branch 'glossary' into 'master'

Glossary, .gitignore and template Fix

See merge request lukas.koerfer/wzl-latex-template!1
parents a881370a 9cbe846a
## Core latex/pdflatex auxiliary files:
*.aux
*.lof
*.log
*.lot
*.fls
*.out
*.toc
*.fmt
*.fot
*.cb
*.cb2
## Intermediate documents:
*.dvi
*-converted-to.*
# these rules might exclude image files for figures etc.
# *.ps
# *.eps
# *.pdf
## Generated if empty string is given at "Please type another file name for output:"
.pdf
## Bibliography auxiliary files (bibtex/biblatex/biber):
*.bbl
*.bcf
*.blg
*-blx.aux
*-blx.bib
*.run.xml
## Build tool auxiliary files:
*.fdb_latexmk
*.synctex
*.synctex(busy)
*.synctex.gz
*.synctex.gz(busy)
*.pdfsync
## Auxiliary and intermediate files from other packages:
# algorithms
*.alg
*.loa
# achemso
acs-*.bib
# amsthm
*.thm
# beamer
*.nav
*.pre
*.snm
*.vrb
# changes
*.soc
# cprotect
*.cpt
# elsarticle (documentclass of Elsevier journals)
*.spl
# endnotes
*.ent
# fixme
*.lox
# feynmf/feynmp
*.mf
*.mp
*.t[1-9]
*.t[1-9][0-9]
*.tfm
#(r)(e)ledmac/(r)(e)ledpar
*.end
*.?end
*.[1-9]
*.[1-9][0-9]
*.[1-9][0-9][0-9]
*.[1-9]R
*.[1-9][0-9]R
*.[1-9][0-9][0-9]R
*.eledsec[1-9]
*.eledsec[1-9]R
*.eledsec[1-9][0-9]
*.eledsec[1-9][0-9]R
*.eledsec[1-9][0-9][0-9]
*.eledsec[1-9][0-9][0-9]R
# glossaries
*.acn
*.acr
*.glg
*.glo
*.gls
*.glsdefs
*.syi
*.syg
*.slg
# gnuplottex
*-gnuplottex-*
# gregoriotex
*.gaux
*.gtex
# hyperref
*.brf
# knitr
*-concordance.tex
# TODO Comment the next line if you want to keep your tikz graphics files
*.tikz
*-tikzDictionary
# listings
*.lol
# makeidx
*.idx
*.ilg
*.ind
*.ist
# minitoc
*.maf
*.mlf
*.mlt
*.mtc[0-9]*
*.slf[0-9]*
*.slt[0-9]*
*.stc[0-9]*
# minted
_minted*
*.pyg
# morewrites
*.mw
# nomencl
*.nlo
# pax
*.pax
# pdfpcnotes
*.pdfpc
# sagetex
*.sagetex.sage
*.sagetex.py
*.sagetex.scmd
# scrwfile
*.wrt
# sympy
*.sout
*.sympy
sympy-plots-for-*.tex/
# pdfcomment
*.upa
*.upb
# pythontex
*.pytxcode
pythontex-files-*/
# thmtools
*.loe
# TikZ & PGF
*.dpth
*.md5
*.auxlock
# todonotes
*.tdo
# easy-todo
*.lod
# xindy
*.xdy
# xypic precompiled matrices
*.xyc
# endfloat
*.ttt
*.fff
# Latexian
TSWLatexianTemp*
## Editors:
# WinEdt
*.bak
*.sav
# Texpad
.texpadtmp
# Kile
*.backup
# KBibTeX
*~[0-9]*
# Kate
*.kate-swp
# auto folder when using emacs and auctex
/auto/*
# expex forward references with \gathertags
*-tags.tex
# LyX
*.lyx~
*.lyx#
## File Browsers
.directory
.DS_Store
## generated file
template.pdf
\documentclass[twoside,openany,11pt]{report}
\usepackage{wzl-thesis}
\usepackage{wzl-citation}
\usepackage{wzl}
% Load bibliographies
% \addbibresource{main.bib}
% Load other packages or setup scripts
% \usepackage[...]{...}
% \input{setup/packages}
% add new entry to symbol list
\newglossaryentry{a_e}{name=\ensuremath{a_e},
description={Eingriffsweite},
sort={a_e},% math environment is stripped,
% so sorting key has to be provided.
unit={mm},
type=symbolslist}
\makeglossaries
% execute 'makeglossaries template' and rerun pdflatex/...
\begin{document}
\frontmatter
\tableofcontents
\listoffigures
\listoftables
\printWZLGlossary
\mainmatter
% Include content
% \include{content/introduction}
......
......@@ -175,4 +175,30 @@
{\thesubsection}{1.5cm}{}
\titlespacing*{\subsection}{0pt}{16pt}{6pt}
% Glossary - Symbols
\RequirePackage[xindy,numberedsection]{glossaries}
\setlength{\glsdescwidth}{2cm}% Unit column
\setlength{\glspagelistwidth}{10cm}% Description column
\newglossary[slg]{symbolslist}{syi}{syg}{Formelzeichen und Abk\"urzungen}% no special chars in title!
\glsaddkey{unit}{\glsentrytext{\glslabel}}{\glsentryunit}{\GLsentryunit}{\glsunit}{\Glsunit}{\GLSunit}
\glssetnoexpandfield{unit}
\newglossarystyle{symbunitlong}{%
\setglossarystyle{long3col}% base this style on the list style
\renewcommand*{\glsgroupskip}{}% no space between groups
\renewcommand*{\glossaryheader}{% Change the table header
\bfseries Formelzeichen & \bfseries Einheit & \bfseries Beschreibung \\
\hline
\endhead}
\renewcommand*{\glossentry}[2]{% Change the displayed items
\glstarget{##1}{\glossentryname{##1}} %
& \glsunit{##1} %
& \glossentrydesc{##1} \tabularnewline %
}
}
\newcommand{\printWZLGlossary}{%
\glsaddall[types=symbolslist]%
\printglossary[type=symbolslist,style=symbunitlong]
}
\endinput
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment