| 1 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 2 |
% % |
| 3 |
% Made by Gabriel Ruprecht % |
| 4 |
% % |
| 5 |
% This work is published under the % |
| 6 |
% LaTeX project public license 1.3 % |
| 7 |
% % |
| 8 |
% Package version 1.1.0 % |
| 9 |
% 2025-01-20 % |
| 10 |
% % |
| 11 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 12 |
%\documentclass[a5paper, 11pt]{scrartcl} |
| 13 |
\documentclass[a5paper, 11pt]{article} |
| 14 |
\usepackage[ngerman]{babel} |
| 15 |
\usepackage[utf8]{inputenc} |
| 16 |
\usepackage{graphicx} |
| 17 |
\usepackage{lipsum} |
| 18 |
\usepackage{scrlayer-scrpage} |
| 19 |
\usepackage{liederbuch} |
| 20 |
|
| 21 |
\usepackage{TestLiederbuch} |
| 22 |
|
| 23 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 24 |
% If compilation with pdfLaTeX fails, try LuaLaTeX % |
| 25 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 26 |
|
| 27 |
%%% This is default %%% |
| 28 |
%\pageBreakAllowedtrue |
| 29 |
%%% but you can use also this %%% |
| 30 |
%\pageBreakAllowedtrue |
| 31 |
%%% try uncommenting the second one and see, what happens in the strophes %%% |
| 32 |
|
| 33 |
%%% This is a nice head %%% |
| 34 |
\LBHead{% |
| 35 |
{\Large \textbf{\print{title}}}\hfill\mbox{}\vspace*{5pt}\\ |
| 36 |
\makebox[32pt]{Musik:\hfill} \print{composer} \\\makebox[32pt]{Text:\hfill} \print{lyricist}\vspace*{3pt} |
| 37 |
|
| 38 |
} |
| 39 |
|
| 40 |
%%% This is an okay foot. The text will be always on the left due to the hfill. %%% |
| 41 |
\LBFoot{Herausgabedatum: \print{date}\hfill\mbox{}} |
| 42 |
|
| 43 |
%%% You can change these throughout the document however you like %%% |
| 44 |
\setSpaceBeforeStropheValue{15pt plus 5pt} |
| 45 |
\setSpaceAfterStropheValue{0pt plus 5pt} |
| 46 |
\setSpaceBeforeHeadValue{15pt plus 10pt minus 5pt} |
| 47 |
\setSpaceBeforeFootValue{15pt plus 10pt minus 5pt} |
| 48 |
|
| 49 |
\listofsongsstyle{simple with number} |
| 50 |
|
| 51 |
\begin{document} |
| 52 |
|
| 53 |
\LBsong{TestLiederbuch}{1}{nt} |
| 54 |
|
| 55 |
\LBsong{TestLiederbuch}{1}{t} |
| 56 |
|
| 57 |
|
| 58 |
\section{new section} |
| 59 |
\lipsum[1] |
| 60 |
\begin{center} |
| 61 |
\LBsong{TestLiederbuch}{2}{nt} |
| 62 |
\end{center} |
| 63 |
\lipsum[1] |
| 64 |
|
| 65 |
%%% If you delete the '%' at the beginnng of the next line, you can fix the meta data: %%% |
| 66 |
%\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} |
| 67 |
|
| 68 |
\LBsong{TestLiederbuch}{3}{t} |
| 69 |
|
| 70 |
Text zum Testen \LBsong{TestLiederbuch}{80}{nt} |
| 71 |
|
| 72 |
\listofsongs |
| 73 |
|
| 74 |
\end{document} |