improved Deckblatt

This commit is contained in:
Tuesday
2022-07-06 14:08:08 +02:00
parent 5819a03c6f
commit e0bcf06eae
2 changed files with 28 additions and 15 deletions
Binary file not shown.
+28 -15
View File
@@ -22,6 +22,9 @@ $for(classoption)$
$endfor$ $endfor$
]{$documentclass$} ]{$documentclass$}
% for underlining with linebreaks
\usepackage[normalem]{ulem}
% Kopf und Fußzeile % Kopf und Fußzeile
\usepackage{fancyhdr} \usepackage{fancyhdr}
\setlength{\parskip}{1em} \setlength{\parskip}{1em}
@@ -162,11 +165,15 @@ $endif$
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available \IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}} \IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\hypersetup{ \hypersetup{
$if(title-meta)$ $if(titel)$
pdftitle={$title-meta$}, pdftitle={$titel$},
$endif$ $endif$
$if(author-meta)$ $if(student)$
pdfauthor={$author-meta$}, pdfauthor={
$for(student)$
$student.nachname$,
$endfor$
},
$endif$ $endif$
$if(lang)$ $if(lang)$
pdflang={$lang$}, pdflang={$lang$},
@@ -246,11 +253,11 @@ $if(links-as-notes)$
% Make links footnotes instead of hotlinks: % Make links footnotes instead of hotlinks:
\DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}} \DeclareRobustCommand{\href}[2]{#2\footnote{\url{#1}}}
$endif$ $endif$
$if(strikeout)$ % $if(strikeout)$
\usepackage[normalem]{ulem} % \usepackage[normalem]{ulem}
% Avoid problems with \sout in headers with hyperref % % Avoid problems with \sout in headers with hyperref
\pdfstringdefDisableCommands{\renewcommand{\sout}{}} % \pdfstringdefDisableCommands{\renewcommand{\sout}{}}
$endif$ % $endif$
\setlength{\emergencystretch}{3em} % prevent overfull lines \setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{% \providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}} \setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
@@ -344,6 +351,7 @@ $endif$
\usepackage[figurename=Abb., tablename=Abb.]{caption} \usepackage[figurename=Abb., tablename=Abb.]{caption}
% Figuren unabhängig von Chapter nummerieren % Figuren unabhängig von Chapter nummerieren
% https://texblog.org/2014/12/04/continuous-figuretable-numbering-in-latex/ % https://texblog.org/2014/12/04/continuous-figuretable-numbering-in-latex/
% nur für documentclass book
% \counterwithout{figure}{chapter} % \counterwithout{figure}{chapter}
% \usepackage{titlesec} % \usepackage{titlesec}
@@ -353,6 +361,8 @@ $endif$
% {\normalfont\fontsize{14pt}{16.8pt}\selectfont\bfseries}{\thesection}{1em}{} % {\normalfont\fontsize{14pt}{16.8pt}\selectfont\bfseries}{\thesection}{1em}{}
% \titleformat*{\subsection} % \titleformat*{\subsection}
% {\normalfont\fontsize{12pt}{14.4pt}\selectfont\bfseries}{\thesubsection}{1em}{} % {\normalfont\fontsize{12pt}{14.4pt}\selectfont\bfseries}{\thesubsection}{1em}{}
% Richtige Schriftgröße in den Headern
\usepackage{sectsty} \usepackage{sectsty}
\sectionfont{\fontsize{16}{19}\selectfont} \sectionfont{\fontsize{16}{19}\selectfont}
@@ -372,13 +382,15 @@ $if(deckblatt)$
\centering \centering
\vspace*{2cm} \vspace*{2cm}
% \line(1,0){\textwidth}\\ % \line(1,0){\textwidth}\\
% \hrulefill{}\\ \hrulefill{}\\
\underline{\underline{\LARGE{\textbf{$titel$}}}}\\ \LARGE{\textbf{$titel$}}\\
\vspace*{1cm} \vspace*{-0.5cm}
\hrulefill{}\\
\vspace*{0.5cm}
% \line(1,0){375} % \line(1,0){375}
% \hrulefill{}\\ % \hrulefill{}\\
\large{Seminarfach}\\ \Large{Seminarfach}\\
\large{$schulname$} \Large{$schulname$}
\vfill \vfill
$if(seminarfachlehrer-in)$ $if(seminarfachlehrer-in)$
\large{\textit{SeminarfachlehrerIn:} $seminarfachlehrer-in$}\\ \large{\textit{SeminarfachlehrerIn:} $seminarfachlehrer-in$}\\
@@ -403,7 +415,8 @@ $if(deckblatt)$
\large{$it.nachname$, $it.name$ --- $it.stammkurs$}\\ \large{$it.nachname$, $it.name$ --- $it.stammkurs$}\\
$endfor$ $endfor$
\vfill \vfill
\hrulefill{}\large{$datum$}\hrulefill{} \large{$datum$}\\
\hrulefill{}
\vspace*{2cm} \vspace*{2cm}
\end{titlepage} \end{titlepage}
$endif$ $endif$