On Sat, Mar 30, 2002 at 08:37:59AM -0800, Don Simons wrote:
> > I am writing a music analysis with TeX, and I want to use some
> > music symbols in
> > the text, for example:
> >
> > The rhythmic motiv o| o|_o| o. [symbols] that is used in the
> > first movement ...
> >
> > How could I do it with MusiXTeX?
> [...]
> The musix symbols are combinations of font characters from musix20 and
> rules. To stick these symbols in a text document you have to figure out how
> to build them up. It might be possible to use the musixtex macros (e.g.,
> \qu} somehow, but they rely on lots of stuff you don't need, so it's
> probably easier to make them from scratch.
Here's yet another approach: Insert a "real" music section inline
into your text, with all fixed elements (lines, clef, meter, ...) removed.
The strength of this method is that you can do virtually everything
you can do within a normal music staff; its drawback is that you have to
set its width explicitly. Here's a "raw" example:
8<----------------------------------------------
\input musixtex \startmuflex
\def\notesintext#1#2{% #1 = width of music insertion; #2 = music text
\vbox{\hsize#1
\setlines10\smallmusicsize \nobarnumbers \nostartrule
\staffbotmarg0pt \setclefsymbol1\empty
#2}}
One
\notesintext{2cm}{\startpiece
\Notes\ibu0f0\qb0f\tqh0f\en\bar
\znotes\qa f\en\addspace\afterruleskip
\zstoppiece}
two
\bye
8<----------------------------------------------
Regards,
Rainer
_______________________________________________
TeX-music mailing list
[EMAIL PROTECTED]
http://sunsite.dk/mailman/listinfo/tex-music