| 1 |
# Liederbuch-Package |
| 2 |
This is a LaTeX package for creating easy-to-use songbooks and including these songs in songbooklets for i.e. weddings. It is intended for songs, but it can include any content you want to reuse once in a while. |
| 3 |
|
| 4 |
This material is subject to the LaTeX Project Public License 1.3. You can do whatever you want with it, just don't upload the same under the same name. |
| 5 |
|
| 6 |
The basic concept is to have one database, the Liederbuch (songbook) and a document fetching the songs from there. |
| 7 |
|
| 8 |
A songbook looks like that: |
| 9 |
|
| 10 |
\ProvidesPackage{testSongbook} |
| 11 |
\RequirePackage{liederbuch} |
| 12 |
|
| 13 |
\begin{liederbuch}[publisher=me & date = today]{testSongbook-1} |
| 14 |
|
| 15 |
\begin{lied}[meta data=this is just a test & otherData = it really is a test]{var1}{144000} |
| 16 |
No notes and text yet. |
| 17 |
\end{lied} |
| 18 |
|
| 19 |
\begin{lied}{var2}{144000} |
| 20 |
Same song, but different variant (var2) |
| 21 |
\end{lied} |
| 22 |
|
| 23 |
\begin{lied}{versionA}{001} |
| 24 |
Another song with song number 001 in versionA. The version parameter exists, that song numbers can be overloaded. |
| 25 |
\end{lied} |
| 26 |
|
| 27 |
\end{liederbuch} |
| 28 |
|
| 29 |
|
| 30 |
\begin{liederbuch}{testSongbook-2} |
| 31 |
|
| 32 |
\begin{lied}[meta data= some other values]{aSong}{1} |
| 33 |
Another song in another songbook |
| 34 |
\end{lied} |
| 35 |
\end{liederbuch} |
| 36 |
|
| 37 |
To call a song, you just write |
| 38 |
|
| 39 |
\LBsong{testSongbook-1}{144000}{var1} |
| 40 |
|
| 41 |
and it automatically adds the previous defined song to your document. |
| 42 |
|
| 43 |
|
| 44 |
This is useful, if you reuse text segments, songs or graphics very often (you can store anything within \begin{lied}...\end{lied}). |
| 45 |
|
| 46 |
Written by Gabriel Ruprecht, version 1.1.0 / 2025-01-20 |