summaryrefslogtreecommitdiff
path: root/info/latex4musicians/Figures/sample-mtex.tex
blob: 3cffaf028f0ef4d974116c1fc26faf640499c288 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
% bare MusiXTeX example

\input musixtex
\nopagenumbers

\setstaffs1{1}         % a single stave
\setclef1{\treble}     % with a treble clef
\generalmeter{\meterC} % common time
\nobarnumbers          % what it says
\startextract          % a short music piece
  % \qu = quarter note, stem up;
  % \ql = quarter note, stem down;
  % \Notes, \en = start and end of note line
  \Notes \qu c \qu d \qu e \qu f \en
  \bar
  \Notes \qu g \qu{'a} \ql b \ql c \en
\endextract

\end