| 1 |
\documentclass{article} |
| 2 |
\thispagestyle{empty} |
| 3 |
|
| 4 |
\begin{document} |
| 5 |
|
| 6 |
This is a LilyPond snippet \begin{lilypond} {c' e' g'} |
| 7 |
\end{lilypond} embedded in the \LaTeX{} source. |
| 8 |
|
| 9 |
This is another LilyPond excerpt that uses the \texttt{lilypond} |
| 10 |
environment: |
| 11 |
|
| 12 |
\medskip |
| 13 |
|
| 14 |
\begin{lilypond} |
| 15 |
\score { |
| 16 |
\relative c' { |
| 17 |
\time 4/4 |
| 18 |
\clef treble |
| 19 |
c4 d8 e f8 g a b | c4 b8 a g8 f e d | |
| 20 |
c8 g' e g c,8 g' e g | c,4 e c r \bar "|." |
| 21 |
} |
| 22 |
} % end of score |
| 23 |
\end{lilypond} |
| 24 |
|
| 25 |
\medskip |
| 26 |
|
| 27 |
End of document. |
| 28 |
|
| 29 |
\end{document} |