summaryrefslogtreecommitdiff
path: root/info/latex4musicians/Figures/sample-lyluatex.tex
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/latex4musicians/Figures/sample-lyluatex.tex
Initial commit
Diffstat (limited to 'info/latex4musicians/Figures/sample-lyluatex.tex')
-rw-r--r--info/latex4musicians/Figures/sample-lyluatex.tex30
1 files changed, 30 insertions, 0 deletions
diff --git a/info/latex4musicians/Figures/sample-lyluatex.tex b/info/latex4musicians/Figures/sample-lyluatex.tex
new file mode 100644
index 0000000000..410380d6e4
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-lyluatex.tex
@@ -0,0 +1,30 @@
+\documentclass{article}
+\usepackage{lyluatex}
+\thispagestyle{empty}
+
+\begin{document}
+
+This is a LilyPond snippet \lilypond{c' e' g'} embedded in the text
+using the \verb|\lilypond| command.
+
+This is another LilyPond excerpt that uses the \texttt{lilypond}
+environment:
+
+\medskip
+
+\begin{lilypond}
+ \score {
+ \relative c' {
+ \time 4/4
+ \clef treble
+ c4 d8 e f8 g a b | c4 b8 a g8 f e d |
+ c8 g' e g c,8 g' e g | c,4 e c r \bar "|."
+ }
+ } % end of score
+\end{lilypond}
+
+\medskip
+
+End of document.
+
+\end{document}