kommersbuch/src/kommersbuch.tex

70 lines
1.5 KiB
TeX
Raw Normal View History

2016-12-29 14:27:39 +00:00
% !Mode:: "TeX:UTF-8"
2017-11-08 10:07:22 +00:00
\documentclass[9pt, a4paper, openany]{scrbook}
2016-12-29 14:27:39 +00:00
\usepackage{fontspec}
\usepackage{fancyhdr}
\usepackage{geometry}
\usepackage{tgschola}
\usepackage{tocloft}
\usepackage[unicode]{hyperref}
2017-11-08 10:07:22 +00:00
\usepackage{songs}
2016-12-29 14:27:39 +00:00
\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}
2017-11-08 10:07:22 +00:00
\fancyhead[RE]{\textit{ \nouppercase{Alcolica}} }
\fancyhead[LO]{\textit{ \nouppercase{Alcolica}} }
2016-12-29 14:27:39 +00:00
}
\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}
2017-11-08 10:07:22 +00:00
\includegraphics[width=0.50 \textwidth]{images/title.png}\\
2016-12-29 14:27:39 +00:00
\rule{\linewidth}{0.5mm} \\[0.4cm]
2017-11-08 10:07:22 +00:00
{ \huge \bfseries Alcolica}
2016-12-29 14:27:39 +00:00
\rule{\linewidth}{0.5mm} \\[1.5cm]
\end{center}
\end{titlepage}
\pagenumbering{Roman}
\tableofcontents
\newpage
2017-11-08 10:07:22 +00:00
\songs
2016-12-29 14:27:39 +00:00
\end{document}