| 1 | songproj |
| 2 | ======== |
| 3 | |
| 4 | Commands and environments for generating Beamer slideshows with song lyrics, |
| 5 | typically for religious services with a projector. |
| 6 | |
| 7 | Author: Tanguy Ortolo |
| 8 | License: 3-Clause BSD |
| 9 | |
| 10 | Description |
| 11 | ----------- |
| 12 | |
| 13 | This package, together with the Beamer class, is used to generate slideshows |
| 14 | with song lyrics. This is typically used in religious services in churches |
| 15 | equipped with a projector, for which this package has been written, but it can |
| 16 | be useful for any type of singing assembly. It provides environments to |
| 17 | describe a song in a natural way, and formatting it into slides with overlays. |
| 18 | |
| 19 | Example |
| 20 | ------- |
| 21 | |
| 22 | Detailed usage can be found in the PDF documentation. Here is a simple example: |
| 23 | |
| 24 | ```latex |
| 25 | \documentclass{beamer} |
| 26 | \usepackage{songproj} |
| 27 | \begin{document} |
| 28 | \begin{frame} |
| 29 | \begin{song}{2} |
| 30 | \longest{Light she was, and like a fairy,} |
| 31 | \begin{couplet} |
| 32 | In a cavern, in a canyon, \\ |
| 33 | Excavating for a mine. \\ |
| 34 | Dwelt a miner, forty-niner, \\ |
| 35 | And his daughter, Clementine. \\ |
| 36 | \end{couplet} |
| 37 | \begin{refrain} |
| 38 | Oh my darling, oh my darling, \\ |
| 39 | Oh my darling Clementine, \\ |
| 40 | You are lost and gone forever, \\ |
| 41 | Dreadful sorry, Clementine. \\ |
| 42 | \end{refrain} |
| 43 | \begin{couplet} |
| 44 | Light she was, and like a fairy, \\ |
| 45 | And her shoes were number nine, \\ |
| 46 | Herring boxes, without topses, \\ |
| 47 | Sandals were for Clementine. \\ |
| 48 | \end{couplet} |
| 49 | \begin{couplet} |
| 50 | […] |
| 51 | \end{couplet} |
| 52 | \end{song} |
| 53 | \end{frame} |
| 54 | \end{document} |
| 55 | ``` |
| 56 | |
| 57 | Add-on script |
| 58 | ------------- |
| 59 | |
| 60 | This package comes with an additional script, `song2tex.py`, that can be used |
| 61 | to convert plain-text song lyrics to the expected LaTeX markup. The file |
| 62 | `example/clementine.txt` can be used to test it: |
| 63 | |
| 64 | ```sh |
| 65 | ./song2tex.py examples/clementine.txt /tmp/clementine.tex |
| 66 | ``` |