summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-latexmtx.ltx
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2019-01-06 22:07:54 +0000
committerKarl Berry <karl@freefriends.org>2019-01-06 22:07:54 +0000
commit3c8cfa33809e130ee90dfed3cc4044294026e2a5 (patch)
tree3da84846317e1b68e1a5e0adfab5db295a4bb279 /Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-latexmtx.ltx
parent1e38cd4b45c93bd4d0e36e7cfb12fb1a8feb02c4 (diff)
latex4musicians (5jan19)
git-svn-id: svn://tug.org/texlive/trunk@49621 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-latexmtx.ltx')
-rw-r--r--Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-latexmtx.ltx27
1 files changed, 27 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-latexmtx.ltx b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-latexmtx.ltx
new file mode 100644
index 00000000000..c001d0fc2c2
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/latex4musicians/Figures/sample-latexmtx.ltx
@@ -0,0 +1,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}