DIETER glötzel wrote

 

What does the "{10}" actually mean?

 

There are two ways to refer to pitches in MusiXTeX: letters or numbers. When
you use a number, it represents the number of \internote up from the bottom
line of the staff, so for ANY 5-line staff, 0 is the bottom line and 8 is
the top line. The important difference is that numbers do not affect
MusiXTeX's transpose register. Because PMX doesn't interpret any inline TeX,
it's always best to use numbers for pitches in in-line TeX commands. If you
use a letter, the octave for following stuff can get screwed up.

 

>A related problem:

>When I  put <\coda{10}\>  in a <D"text"> construct or an <l> construct,

>the coda-sign appears out of the text line.  Please see example!

 

\coda{p} is not just a character, it's a command that roughly means "put the
coda symbol at pitch level p". (See musixtex.tex for its definition).
<D"text"> and <l> are rather similar commands in PMX, placing text at a
particular location, except that PMX calculates the location. They expect
simple text strings as input, not commands.

 

If you want more control over where the coda symbol goes, you first need to
figure out what character it is. One way to do that is by looking at the
definition of \coda in MusiXTeX. This eventually leads to \musixfont\char85.
So you could replace your use of "D..." as follows:

 

(beware of line folds)

=========================

% Bar 31

%r0b D"D. S. al \coda{10}\ Last time only" |  /

\zcharnote{-6}{\it D. S. al\kern8pt\lower4pt\hbox{\musixfont\char85}\kern6pt
Last time only}\ rb0 | /

a0 t   | /

% Bar 32

=========================

 

The inner braces isolate the effect of the font change. The other crap is
what TeX requires to line up the symbol. I confess that I started out trying
this inside D"..." and couldn't get it to work. I also confess to being
rather mystified why when I compiled your original source the font for the
text came out a different size.

>P.S. Otherwise I am extremely happy with PMX. I could never do what I do

>with MusiXTeX alone.

 

Thanks, I'm glad to hear words like that :-)

 

--Don Simons

-------------------------------
[email protected] mailing list
If you want to unsubscribe or look at the archives, go to 
http://tug.org/mailman/listinfo/tex-music

Reply via email to