summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/liederbuch/DemoProjekt/DemoProjekt.tex
blob: 0041a26d476f5d61079869e04e40fff194b76636 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
\documentclass[a5paper, 11pt]{scrartcl}
\usepackage[ngerman]{babel}
\usepackage[utf8]{inputenc}
\usepackage{graphicx}
\usepackage{lipsum}
\usepackage{scrlayer-scrpage}
\usepackage{../liederbuch}

\usepackage{TestLiederbuch}

%%% This is default %%%
%\pageBreakAllowedtrue
%%% but you can use also this %%%
%\pageBreakAllowedtrue
%%% try uncommenting the second one and see, what happens in the strophes %%%

%%% This is a nice head %%%
\LBHead{%
{\Large \textbf{\print{title}}}\hfill\mbox{}\vspace*{5pt}\\
\makebox[32pt]{Musik:\hfill} \print{composer} \\\makebox[32pt]{Text:\hfill} \print{lyricist}\vspace*{3pt}

}

%%% This is an okay foot. The text will be always on the left due to the hfill. %%%
\LBFoot{Herausgabedatum: \print{date}\hfill\mbox{}}

%%% You can change these throughout the document however you like %%%
\setSpaceBeforeStropheValue{15pt plus 5pt}
\setSpaceAfterStropheValue{0pt plus 5pt}
\setSpaceBeforeHeadValue{15pt plus 10pt minus 5pt}
\setSpaceBeforeFootValue{15pt plus 10pt minus 5pt}

\begin{document}

\LBsong{TestLiederbuch}{1}{nt}

\LBsong{TestLiederbuch}{1}{t}


\section{new section}
\lipsum[1]
\begin{center}
\LBsong{TestLiederbuch}{2}{nt}
\end{center}
\lipsum[1]

%%% If you delete the '%' at the beginnng of the next line, you can fix the meta data: %%%
%\tweakMetadata{t}{TestLiederbuch}{3}{source = Aschenbecher & title = Oh alte Wurstverkäuferherrlichkeit & composer = This doesn't make sense & unusedTag = we don't need that & writer = Now all tags are filled}

\LBsong{TestLiederbuch}{3}{t}

Text zum Testen \LBsong{TestLiederbuch}{80}{nt}

\end{document}