initial commit
This commit is contained in:
commit
f408b8004a
21 changed files with 1418 additions and 0 deletions
75
src/templates/book.j2
Normal file
75
src/templates/book.j2
Normal file
|
@ -0,0 +1,75 @@
|
|||
% !Mode:: "TeX:UTF-8"
|
||||
|
||||
\documentclass[9pt, a5paper, openany]{scrbook}
|
||||
|
||||
\usepackage{fontspec}
|
||||
\usepackage{lmodern}
|
||||
\usepackage{fancyhdr}
|
||||
\usepackage{geometry}
|
||||
\usepackage{tgschola}
|
||||
\usepackage{tocloft}
|
||||
\usepackage[unicode]{hyperref}
|
||||
\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{Vivat Alcolica!}} }
|
||||
\fancyhead[LO]{\textit{ \nouppercase{Vivat 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}
|
||||
\rule{\linewidth}{0.5mm} \\[0.4cm]
|
||||
{ \huge \bfseries Vivat Alcolica!}
|
||||
|
||||
\rule{\linewidth}{0.5mm} \\[1.5cm]
|
||||
\end{center}
|
||||
|
||||
\end{titlepage}
|
||||
|
||||
\pagenumbering{Roman}
|
||||
|
||||
\tableofcontents
|
||||
|
||||
\newpage
|
||||
|
||||
((* for score in scores *))
|
||||
\unchapter{((( score.title )))}
|
||||
|
||||
\includely[staffsize=14]{((( score.score )))}
|
||||
~\\
|
||||
~\\
|
||||
\input{((( score.lyrics )))}
|
||||
((* endfor *))
|
||||
|
||||
\end{document}
|
20
src/templates/score_lyrics.j2
Normal file
20
src/templates/score_lyrics.j2
Normal file
|
@ -0,0 +1,20 @@
|
|||
% !Mode:: "TeX:UTF-8"
|
||||
|
||||
\documentclass[9pt, a5paper, openany]{scrbook}
|
||||
|
||||
\usepackage{fontspec}
|
||||
\usepackage{lmodern}
|
||||
\usepackage{fancyhdr}
|
||||
\usepackage[unicode]{hyperref}
|
||||
\usepackage{lyluatex}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\pagenumbering{gobble}
|
||||
|
||||
\includely[staffsize=18]{((( score_file )))}
|
||||
~\\
|
||||
~\\
|
||||
\input{((( lyrics_file )))}
|
||||
|
||||
\end{document}
|
Loading…
Add table
Add a link
Reference in a new issue