diff --git a/Makefile b/Makefile new file mode 100644 index 0000000000000000000000000000000000000000..4b47d26219ed51c73850ad27d7fcc566c5699895 --- /dev/null +++ b/Makefile @@ -0,0 +1,45 @@ +# Makefile for Latex project + +NAME = test +PDF = pdflatex +BIB = biber + +OUTDIR = .\build + +export TEXINPUTS:=.\src + + +pdf: $(NAME).tex + $(PDF) -synctex=1 -interaction=nonstopmode -file-line-error --output-directory=$(OUTDIR) $(NAME).tex + + +clean: tidy + if exist $(OUTDIR)\$(NAME).pdf del $(OUTDIR)\$(NAME).pdf + if exist $(OUTDIR) rmdir $(OUTDIR) + +tidy: + if exist $(OUTDIR)\$(NAME).aux del $(OUTDIR)\$(NAME).aux + if exist $(OUTDIR)\$(NAME).bbl del $(OUTDIR)\$(NAME).bbl + if exist $(OUTDIR)\$(NAME).bcf del $(OUTDIR)\$(NAME).bcf + if exist $(OUTDIR)\$(NAME).blg del $(OUTDIR)\$(NAME).blg + if exist $(OUTDIR)\$(NAME).idx del $(OUTDIR)\$(NAME).idx + if exist $(OUTDIR)\$(NAME).ind del $(OUTDIR)\$(NAME).ind + if exist $(OUTDIR)\$(NAME).lof del $(OUTDIR)\$(NAME).lof + if exist $(OUTDIR)\$(NAME).lot del $(OUTDIR)\$(NAME).lot + if exist $(OUTDIR)\$(NAME).out del $(OUTDIR)\$(NAME).out + if exist $(OUTDIR)\$(NAME).toc del $(OUTDIR)\$(NAME).toc + if exist $(OUTDIR)\$(NAME).acn del $(OUTDIR)\$(NAME).acn + if exist $(OUTDIR)\$(NAME).acr del $(OUTDIR)\$(NAME).acr + if exist $(OUTDIR)\$(NAME).alg del $(OUTDIR)\$(NAME).alg + if exist $(OUTDIR)\$(NAME).glg del $(OUTDIR)\$(NAME).glg + if exist $(OUTDIR)\$(NAME).glo del $(OUTDIR)\$(NAME).glo + if exist $(OUTDIR)\$(NAME).gls del $(OUTDIR)\$(NAME).gls + if exist $(OUTDIR)\$(NAME).ist del $(OUTDIR)\$(NAME).ist + if exist $(OUTDIR)\$(NAME).fls del $(OUTDIR)\$(NAME).fls + if exist $(OUTDIR)\$(NAME).log del $(OUTDIR)\$(NAME).log + if exist $(OUTDIR)\$(NAME).nav del $(OUTDIR)\$(NAME).nav + if exist $(OUTDIR)\$(NAME).snm del $(OUTDIR)\$(NAME).snm + if exist $(OUTDIR)\$(NAME).fdb_latexmk del $(OUTDIR)\$(NAME).fdb_latexmk + if exist $(OUTDIR)\$(NAME).synctex.gz del $(OUTDIR)\$(NAME).synctex.gz + if exist $(OUTDIR)\$(NAME).run.xml del $(OUTDIR)\$(NAME).run.xml + if exist $(OUTDIR)\$(NAME).bc del $(OUTDIR)\$(NAME).bc \ No newline at end of file diff --git a/src/HsH-report.cls b/src/HsH-report.cls index 268b4fcab05ae2c34c5df47225444fc59c7eaa98..eab5c048c49c0825b785ca46a2f1c665fa75d737 100644 --- a/src/HsH-report.cls +++ b/src/HsH-report.cls @@ -49,7 +49,7 @@ \ClassInfo{\myClassName}{no personal.tex! Configre the titlepage yourselfe} } -% recomendet options for packages +% enforced options for packages \PassOptionsToPackage{utf8}{inputenc} \PassOptionsToPackage{T1}{fontenc} \PassOptionsToPackage{left=3cm,right=2.5cm,top=3cm,bottom=3cm}{geometry} @@ -80,8 +80,8 @@ % config for header and footer \pagestyle{scrheadings} \clearpairofpagestyles -\renewcommand{\chapterpagestyle}{scrheadings} % Kapitelanfang standart Kopf/Fußzeile -\automark{section} +\renewcommand*{\chapterpagestyle}{scrheadings} % Kapitelanfang standart Kopf/Fußzeile +\automark{chapter} \ohead{\headmark} \ihead{\@title} \ofoot*{\pagemark} diff --git a/test.tex b/test.tex index 37b11d6775219a6d5b6b131be4986bc7fa137618..c64ab0509b13e6ed202d605302415e7c317c0836 100644 --- a/test.tex +++ b/test.tex @@ -31,7 +31,7 @@ noch ein test \normalsubscripts$R_t$ \upsubscripts$R_t$ mit einheit: $R=200\,\milli\ohm+ \SI{0.34567453}{\volt\per\metre}$ - \vspace{2cm}\\ + \vspace{2cm}\\\pagebreak eine zahl: $3,5+3.5$\\