kommersbuch/src/kommersbuch.tex

68 lines
1.6 KiB
TeX

% !Mode:: "TeX:UTF-8"
\documentclass[9pt, openany, oneside]{scrbook}
\usepackage[utf8]{inputenc}
\usepackage{fontspec}
\usepackage{fancyhdr}
%%\usepackage[a4paper,left=3cm,right=3cm, top=3cm, bottom=3cm,includeheadfoot,asymmetric]{geometry}
\usepackage[a4paper]{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}} }
}
\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]
\huge {Kantussammlung}
\end{center}
\end{titlepage}
\pagenumbering{Roman}
\tableofcontents
\newpage
\songs
\end{document}