lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: issue regarding adding text markup


From: chip
Subject: Re: issue regarding adding text markup
Date: Tue, 30 Mar 2004 07:16:29 -0800
User-agent: Mozilla/5.0 (X11; U; Linux i386; en-US; rv:1.4) Gecko/20030624 Netscape/7.1

Mats Bengtsson wrote:


chip wrote:

Mats Bengtsson wrote:

This is actually described in the manual, see
http://lilypond.org/doc/v2.0/Documentation/user/out-www/lilypond/Multi-measure-rests.html
You may want to use the \center or \column text markup commands to
print the number on its own line above or below the remaining text.
Alternatively, you could do something like
R2.*28^\markup{ 28 } _\markup {DC al coda }

  /Mats



So, does that mean I can stack up multiple markups on a single point? I gues I haven't seen that in the docs.


It's described at the bottom of the section on Text Markup,
http://lilypond.org/doc/v2.0/Documentation/user/out-www/lilypond/Text-markup.html

Thanks for pointing that out. I found more in the regression test docs also. But all that stuff makes the text centered under whatever it is attached to. I would like it moved to the left under a double bar.

I found this bit in the markup functions section

halign-markup
Argument types: number markup
Description:
Set horizontal alignment. Syntax: haling A MARKUP. A=-1 is LEFT, A=1 is right, values in between vary alignment accordingly.

Is there an example of just how to use this? Would this be what I need to move the text so it is not centered under the mm rest, but rather centered under the double bar line?

R2. * 30^\markup {\bold \huge {30}} _\markup {DC al coda} \bar "||"

After all, that is what I am trying to do. When I add some code for the extra offset -

\property Voice.TextScript \override #'extra-offset =#'( x . x)

that only effects the first bit of markup (which is placed where I want it), not the second (the text to be moved to the right). I tried to add the extra-offset stuff into the line of code just before the _\markup but that just causes errors. It appears I cannot add anything in between the two _\markups, is this correct? It also appears I cannot attach the \markup text the double bar line.
Thanks for the tips so far,
Chip





reply via email to

[Prev in Thread] Current Thread [Next in Thread]