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