cleanup
This commit is contained in:
@@ -0,0 +1,93 @@
|
||||
[% PROCESS variables.tt -%]
|
||||
\documentclass[a4paper,12pt]{article}
|
||||
\usepackage[ngerman]{babel}
|
||||
\usepackage{enumitem}
|
||||
\usepackage{fontspec}
|
||||
\usepackage[margin=2cm]{geometry}
|
||||
\usepackage{graphicx}
|
||||
\usepackage{hyperref}
|
||||
\usepackage{ifthen}
|
||||
\usepackage[utf8]{inputenc}
|
||||
\usepackage{ltxtable}
|
||||
\usepackage[pass-fonts=true]{lyluatex}
|
||||
\usepackage{multirow}
|
||||
\usepackage{svg}
|
||||
\usepackage[explicit]{titlesec}
|
||||
\usepackage{wrapfig}
|
||||
\usepackage{xcolor}
|
||||
|
||||
\newcolumntype{L}{>{\raggedright\arraybackslash}X}
|
||||
\newcolumntype{Y}{>{\centering\arraybackslash}X}
|
||||
\newcommand{\mytable}[1]{\LTXtable{\textwidth}{#1}}
|
||||
|
||||
\newcommand{\raisedrulefill}[2][0ex]{\leaders\hbox{\rule[#1]{1pt}{#2}}\hfill}
|
||||
\setmainfont[
|
||||
Path = ../fonts/EBGaramond12/fonts/ttf/,
|
||||
Extension = .ttf,
|
||||
UprightFont = *-Regular,
|
||||
BoldFont = *-Bold,
|
||||
ItalicFont = *-Italic,
|
||||
BoldItalicFont = *-BoldItalic,
|
||||
Numbers = {OldStyle, Proportional},
|
||||
RawFeature = {+ss06}
|
||||
]{EBGaramond}
|
||||
%\titleformat{\subsection}{\normalfont\Large}{\thesubsection. }{0em}{#1}
|
||||
\newcommand{\song}[3]{\ifthenelse{\equal{#1}{}}
|
||||
{\subsection*{#2}\par{#3}\par}
|
||||
{\subsection*{\textit{#1} {#2}}\par{#3}\par}}
|
||||
\newcommand{\gradualverse}[2]{#1\hfill\textit{#2}}
|
||||
\newcommand{\ordinarium}[1]{\input{#1}}
|
||||
\newcommand{\original}[1]{{
|
||||
Originaltitel: #1}}
|
||||
\newcommand{\TM}[1]{
|
||||
T \& M: #1}
|
||||
\newcommand{\arrangement}[1]{
|
||||
S: #1}
|
||||
\newcommand{\lyrics}[1]{
|
||||
T: #1}
|
||||
\newcommand{\melody}[1]{
|
||||
M: #1}
|
||||
\newcommand{\translation}[1]{
|
||||
Ü: #1}
|
||||
|
||||
\newcommand{\Chorus}[2][]{\ifthenelse{\equal {#1} {} }{\textit{Ref.} {#2}\par}{\textit{Ref. {#1}.} {#2}\par}}
|
||||
\newcommand{\VA}[1]{\textit{V/A:} {#1}\par}
|
||||
\newcommand{\V}[1]{\textit{V:} {#1}\par}
|
||||
\newcommand{\A}[1]{\textit{A:} {#1}\par}
|
||||
\newcommand{\Ant}[1]{\textit{Ant:} {#1}\par}
|
||||
\newcommand{\Bridge}[2][]{\ifthenelse{\equal {#1} {} }{\textit{Bridge.} {#2}\par}{\textit{Bridge {#1}.} {#2}\par}}
|
||||
\newcommand{\Pre}[1]{\textit{Pre.} {#1}\par}
|
||||
\newcommand{\Outro}[1]{\textit{Outro} {#1}\par}
|
||||
\newcommand{\St}[2]{\textit{{#1}.} {#2}\par}
|
||||
|
||||
\setlength\parindent{0pt}
|
||||
\setlength\parskip{2mm plus 1mm minus 1.5mm}
|
||||
\setlist[itemize]{noitemsep}
|
||||
|
||||
[% IF gregorian -%]
|
||||
\usepackage[autocompile]{gregoriotex}
|
||||
\grechangestyle{firstword}{\scshape}
|
||||
[% END -%]
|
||||
|
||||
\begin{document}
|
||||
\section*{[% title %]}
|
||||
\begin{centering}
|
||||
[% subtitle %]
|
||||
\end{centering}
|
||||
|
||||
[% USE song_choices = datafile("${config_dir}/song_choices.csv", delim='|') %]
|
||||
[% IF parts == 0 -%]
|
||||
parts = ensemble
|
||||
[% END -%]
|
||||
[% FOREACH song = song_choices %]
|
||||
\newpage
|
||||
[% template = song.template == '' ? "song_template.tt" : song.template -%]
|
||||
[% INCLUDE "$template"
|
||||
purpose = song.purpose
|
||||
title = song.title
|
||||
content = song.content
|
||||
variables = song.variables ? "${song.variables}/assignments.tt" : ''
|
||||
%]
|
||||
[% END %]
|
||||
|
||||
\end{document}
|
||||
Reference in New Issue
Block a user