summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-latexmtx.ltx
blob: c001d0fc2c2c0924cb08b26e4623754e3fd60d30 (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
\documentclass[12pt]{article}
\usepackage{mtxlatex} % usually not installed
\thispagestyle{empty}

\mtxlatex

% compile with:
% musixtex sample-mtx scale sample-latexmtx.ltx

\begin{document}

This \LaTeX\ document includes music written in M-Tx. The \texttt{mus}
environment includes music inline: \begin{mus} \input{scale.tex}
\end{mus} , while the \texttt{excerpts} environment is used for longer
excerpts:

\medskip

\begin{excerpts}
  \input{sample-mtx.tex}
\end{excerpts}

\medskip

End of document.

\end{document}