kommersbuch/src/kommersbuch.tex

70 lines
1.5 KiB
TeX

% !Mode:: "TeX:UTF-8"
\documentclass[9pt, a4paper, openany]{scrbook}
\usepackage{fontspec}
\usepackage{fancyhdr}
\usepackage{geometry}
\usepackage{tgschola}
\usepackage{tocloft}
\usepackage[unicode]{hyperref}
\usepackage{songs}
\usepackage{lyluatex}
\makeatletter
\newcommand{\unchapter}[1]{%
\begingroup
\let\@makechapterhead\@gobble % make \@makechapterhead do nothing
\chapter{#1}
\endgroup
}
\makeatother
\setlength{\headheight}{15pt}
\pagestyle{fancy}
\renewcommand{\chaptermark}[1]{ \markboth{#1}{} }
\renewcommand{\sectionmark}[1]{ \markright{#1}{} }
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[RE]{\textit{ \nouppercase{\leftmark}} }
\fancyhead[LO]{\textit{ \nouppercase{\rightmark}} }
\fancypagestyle{plain}{
\fancyhf{}
\fancyhead[LE,RO]{\thepage}
\fancyhead[RE]{\textit{ \nouppercase{Alcolica}} }
\fancyhead[LO]{\textit{ \nouppercase{Alcolica}} }
}
\geometry{a5paper,left=20mm,right=20mm, top=3cm, bottom=3cm}
\renewcommand\addchaptertocentry[2]{\addtocentrydefault{chapter}{}{#2}}
\renewcommand{\contentsname}{Inhalt}
\renewcommand{\cfttoctitlefont}{\huge\textbf\rmfamily}
\renewcommand{\cftchapfont}{\large\rmfamily}
\begin{document}
\begin{titlepage}
\begin{center}
\includegraphics[width=0.50 \textwidth]{images/title.png}\\
\rule{\linewidth}{0.5mm} \\[0.4cm]
{ \huge \bfseries Alcolica}
\rule{\linewidth}{0.5mm} \\[1.5cm]
\end{center}
\end{titlepage}
\pagenumbering{Roman}
\tableofcontents
\newpage
\songs
\end{document}