]> git.donarmstrong.com Git - lilypond.git/blobdiff - Documentation/usage/latex-example.latex
resolve merge
[lilypond.git] / Documentation / usage / latex-example.latex
diff --git a/Documentation/usage/latex-example.latex b/Documentation/usage/latex-example.latex
new file mode 100644 (file)
index 0000000..a622c30
--- /dev/null
@@ -0,0 +1,46 @@
+\documentclass[a4paper]{article}
+
+%\def\preLilyPondExample{}}
+%\def\postLilyPondExample{}
+
+
+\begin{document}
+
+\begin{lilypond}
+\relative c' { c d e f g a b c }
+\end{lilypond}
+
+
+\begin{lilypond}[fragment]
+c d e
+\end{lilypond}
+
+
+% show interaction of margins lilypond+verses
+
+% outdated
+% generate standard lilypond titles
+\input titledefs.tex
+\def\preLilyPondExample{\def\mustmakelilypondtitle{}}
+
+\begin{lilypond}
+\header {
+  title =      "Title"
+  subtitle =   "Subtitle"
+  subsubtitle =        "Subsubtitle"
+  opus =  "Opus 1"
+  piece = "Piece"
+  composer =    "Composer"
+  enteredby =   "JCN"
+  instrument = "instrument"
+}
+\layout { linewidth = -1. }
+\relative c'' { a b c d }
+\end{lilypond}
+
+\begin{enumerate}
+\item Vers one.  aaa aaa aaa aaa aaa aaa aaa aaa aaa aaa
+\item Vers two.  bbb bbb bbb bbb bbb bbb bbb bbb bbb bbb
+\end{enumerate}
+
+\end{document}