summaryrefslogtreecommitdiff
path: root/info/latex4musicians/Figures/sample-latexmtx.ltx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
committerNorbert Preining <norbert@preining.info>2019-09-02 13:46:59 +0900
commite0c6872cf40896c7be36b11dcc744620f10adf1d (patch)
tree60335e10d2f4354b0674ec22d7b53f0f8abee672 /info/latex4musicians/Figures/sample-latexmtx.ltx
Initial commit
Diffstat (limited to 'info/latex4musicians/Figures/sample-latexmtx.ltx')
-rw-r--r--info/latex4musicians/Figures/sample-latexmtx.ltx23
1 files changed, 23 insertions, 0 deletions
diff --git a/info/latex4musicians/Figures/sample-latexmtx.ltx b/info/latex4musicians/Figures/sample-latexmtx.ltx
new file mode 100644
index 0000000000..8dcd97c493
--- /dev/null
+++ b/info/latex4musicians/Figures/sample-latexmtx.ltx
@@ -0,0 +1,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}