]> git.donarmstrong.com Git - lilypond.git/blobdiff - input/regression/lilypond-book/tex-include-file.lytex
Imported Upstream version 2.16.0
[lilypond.git] / input / regression / lilypond-book / tex-include-file.lytex
index 6705a7ff14b886948df1e2f8ea343f2a1942b8e2..bcad93601b0e8f39325bb93f6f03cb61dfd5a399 100644 (file)
@@ -1,5 +1,17 @@
 \documentclass{article}
 \begin{document}
-Including Lilypond file:
+Including a LilyPond file without any options:
+
 \lilypondfile{include2.ly}
+
+From a subdirectory:
+
+\lilypondfile{include/example.ly}
+
+Within a lilypond block:
+
+\begin{lilypond}
+  \include "include/myvar.ily"
+  \relative c'' { \myVar }
+\end{lilypond}
 \end{document}