\documentclass[a6paper,10pt]{memoir} \usepackage[ngerman]{babel} \usepackage{enumitem} \usepackage{fontspec} \usepackage[left=5mm, right=5mm, top=5mm, bottom=5mm]{geometry} \usepackage{graphicx} \usepackage{hyperref} \usepackage{ifthen} \usepackage[utf8]{inputenc} \usepackage{ltxtable} \usepackage{lyluatex} \usepackage{multirow} \usepackage[ngerman]{selnolig} \usepackage{svg} \usepackage[explicit]{titlesec} \usepackage{wrapfig} \usepackage{qrcode} \usepackage{xcolor} %For tables with multiline cells \newcolumntype{L}{>{\raggedright\arraybackslash}X} \newcolumntype{Y}{>{\centering\arraybackslash}X} %For tables that could span pagebreaks, pass a %file path to this macro \newcommand{\mytable}[1]{\LTXtable{\textwidth}{#1}} \definecolor{hope_blue}{RGB}{54,95,145} \definecolor{hope_purple}{HTML}{7a3691} \definecolor{hope_pink}{HTML}{ca70c6} \definecolor{hope_gold}{HTML}{916836} \definecolor{hope_white}{HTML}{916836} \definecolor{hope_green}{HTML}{36913a} \definecolor{hope_red}{HTML}{91363b} \setmainfont[Numbers={OldStyle, Proportional},RawFeature={+ss06}]{EB Garamond} \newfontfamily\headingfont[]{Dosis} \newcommand{\raisedrulefill}[2][0ex]{\leaders\hbox{\rule[#1]{1pt}{#2}}\hfill} \titleformat{\section}{\headingfont\color{hope_[% color %]}\bfseries\huge}{\thesection. }{0em}{#1} \titleformat{\subsection}{\headingfont\Large}{\thesubsection. }{0em}{\color{black}#1\,\color{hope_[% color %]}\raisedrulefill[0.0ex]{2pt}} \newcommand{\song}[3]{% \ifthenelse{\equal{#1}{}} {\subsection*{#2}\par{#3}\par} {\subsection*{\textbf{#1} {#2}}\par{#3}\par}} \newcommand{\gradualverse}[2]{ \leavevmode\par \begin{center} \begin{minipage}{.9\textwidth} {% #1\unskip\nobreak\hfil\penalty50 \hskip2em\hbox{}\nobreak\hfil\textit{#2}% \parfillskip=0pt \finalhyphendemerits=0 \par} \end{minipage} \end{center}\leavevmode\par } \newcommand{\ordinarium}[1]{% \leavevmode\par \begin{center} \begin{minipage}{.9\textwidth} \input{#1} \end{minipage} \end{center}\leavevmode\par } \newcommand{\original}[1]{{ \footnotesize Originaltitel: #1}} \newcommand{\TM}[1]{{ \footnotesize T \& M: #1}} \newcommand{\arrangement}[1]{{ \footnotesize S: #1}} \newcommand{\lyrics}[1]{{ \footnotesize T: #1}} \newcommand{\melody}[1]{{ \footnotesize M: #1}} \newcommand{\translation}[1]{{ \footnotesize Ü: #1}} %Music macros \newcommand{\Chorus}[2][]{\par\ifthenelse{\equal {#1} {} }{\textit{Ref.} {#2}}{\textit{Ref. {#1}.} {#2}}} \newcommand{\VA}[1]{\par\textit{V/A:} {#1}} \newcommand{\V}[1]{\textit{V:} {#1}} \newcommand{\A}[1]{\textit{A:} {#1}} \newcommand{\Ant}[1]{\par\textit{Ant:} {#1}} \newcommand{\Bridge}[2][]{\par\ifthenelse{\equal {#1} {} }{\textit{Bridge.} {#2}}{\textit{Bridge {#1}.} {#2}}} \newcommand{\Pre}[1]{\par\textit{Pre.} {#1}} \newcommand{\Outro}[1]{\par\textit{Outro} {#1}} \newcommand{\St}[2]{\par\textit{{#1}.} {#2}} \setluaoption{ly}{staffsize}{14} \setlength\parindent{0pt} \setlength\parskip{2mm plus 1mm minus 1.5mm} \setlist[itemize]{noitemsep} \setlength{\droptitle}{-1.875cm} \setlength{\droptitle}{-1.875cm} %Gregorian chant settings [% IF gregorian != '0' %] \usepackage[autocompile]{gregoriotex} \grechangestaffsize{10} \grechangedim{baselineskip}{12mm plus 0mm minus 0mm}{scalable} \grechangestyle{firstword}{\scshape} \grechangedim{spacelinestext}{4mm}{fixed} [% END %]