summaryrefslogtreecommitdiff
path: root/info/latex4musicians/Figures/sample-latexmtx.ltx
blob: 8dcd97c4935606a9256acfaee04f9ebb359f33d3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
\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}

\end{document}