texmf-dist/doc/latex/latex4musicians/Figures/sample-mtex.tex
raw| 1 | % bare MusiXTeX example |
| 2 | |
| 3 | \input musixtex |
| 4 | \nopagenumbers |
| 5 | |
| 6 | \setstaffs1{1} % a single stave |
| 7 | \setclef1{\treble} % with a treble clef |
| 8 | \generalmeter{\meterC} % common time |
| 9 | \nobarnumbers % what it says |
| 10 | \startextract % a short music piece |
| 11 | % \qu = quarter note, stem up; |
| 12 | % \ql = quarter note, stem down; |
| 13 | % \Notes, \en = start and end of note line |
| 14 | \Notes \qu c \qu d \qu e \qu f \en |
| 15 | \bar |
| 16 | \Notes \qu g \qu{'a} \ql b \ql c \en |
| 17 | \endextract |
| 18 | |
| 19 | \end |