summaryrefslogtreecommitdiff
path: root/Documentation/usage/latex-example.latex
blob: a622c305e4a0bdd92d9de65c4e433717eba3482d (about) (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
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}