| 1 |
\documentclass[12pt]{article} |
| 2 |
\usepackage{mtxlatex} % usually not installed |
| 3 |
\thispagestyle{empty} |
| 4 |
|
| 5 |
\mtxlatex |
| 6 |
|
| 7 |
% compile with: |
| 8 |
% musixtex sample-mtx scale sample-latexmtx.ltx |
| 9 |
|
| 10 |
\begin{document} |
| 11 |
|
| 12 |
This \LaTeX\ document includes music written in M-Tx. The |
| 13 |
\texttt{mus} environment includes music inline: |
| 14 |
\begin{mus} \input{scale.tex} \end{mus} , while the |
| 15 |
\texttt{excerpts} environment is used for longer excerpts: |
| 16 |
|
| 17 |
\medskip |
| 18 |
|
| 19 |
\begin{excerpts} |
| 20 |
\input{sample-mtx.tex} |
| 21 |
\end{excerpts} |
| 22 |
|
| 23 |
\end{document} |