| 1 |
%% |
| 2 |
%% This is file `mupexa.tex', |
| 3 |
%% generated with the docstrip utility. |
| 4 |
%% |
| 5 |
%% The original source files were: |
| 6 |
%% |
| 7 |
%% abc.dtx (with options: `example-mup') |
| 8 |
%% |
| 9 |
%% Copyright 2006, 2008 Enrico Gregorio |
| 10 |
%% |
| 11 |
%% This program is provided under the terms of the |
| 12 |
%% LaTeX Project Public License distributed from CTAN |
| 13 |
%% archives in directory macros/latex/base/lppl.txt. |
| 14 |
%% |
| 15 |
%% Author: Enrico Gregorio |
| 16 |
%% Enrico dot Gregorio at univr dot it |
| 17 |
%% |
| 18 |
%% This work has the LPPL maintenance status "author-maintained". |
| 19 |
%% |
| 20 |
|
| 21 |
\documentclass[a4paper,12pt]{article} |
| 22 |
\usepackage[generate,ps2eps]{mup} |
| 23 |
\usepackage{mathptmx} |
| 24 |
|
| 25 |
\begin{document} |
| 26 |
|
| 27 |
\title{Example of MUP in \LaTeX{}} |
| 28 |
\author{Martin Tarenskeen} |
| 29 |
\date{} |
| 30 |
\maketitle |
| 31 |
|
| 32 |
This is a short piece. |
| 33 |
|
| 34 |
\medskip |
| 35 |
|
| 36 |
\begin{mup} |
| 37 |
1: a-;b-;c;d; |
| 38 |
bar |
| 39 |
1: e;f;g;a; |
| 40 |
endbar |
| 41 |
\end{mup} |
| 42 |
|
| 43 |
\medskip |
| 44 |
|
| 45 |
This is another short piece, but we would like to keep the |
| 46 |
MUP source in our directory. |
| 47 |
|
| 48 |
\begin{mup}[name=mymup] |
| 49 |
score |
| 50 |
staffs=2 |
| 51 |
time=6/8 |
| 52 |
beamstyle=4.,4. |
| 53 |
|
| 54 |
staff 2 |
| 55 |
clef=bass |
| 56 |
|
| 57 |
music |
| 58 |
1: 8c;d;e;f;g;a; |
| 59 |
2: 4.ceg;cfa; |
| 60 |
repeatend |
| 61 |
|
| 62 |
\end{mup} |
| 63 |
|
| 64 |
\clearpage |
| 65 |
|
| 66 |
And finally, we want to set also the last piece; its MUP code |
| 67 |
is already in our directory. |
| 68 |
|
| 69 |
\medskip |
| 70 |
|
| 71 |
\mupinput{simple} |
| 72 |
|
| 73 |
\end{document} |
| 74 |
\endinput |
| 75 |
%% |
| 76 |
%% End of file `mupexa.tex'. |