bug-lilypond
[Top][All Lists]
Advanced

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

Re: raise and translate at beginning of markup (again)


From: Mats Bengtsson
Subject: Re: raise and translate at beginning of markup (again)
Date: Thu, 08 May 2003 11:26:30 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Please always specify what Lilypond version you are using.

As you have noted, \raise only works within a specific markup,
the distance from the full markup to the note or staff is
determined by the property padding. Thus, you can do
\property Staff.Textscript \override #'padding = #1.5
(default is 0.5 and all distances are specified in multiples of
the spacing between two staff lines).
If you only want to change the setting for a specific markup,
say \once \property ...

I'll let others explain what happens with raise -2

   /Mats

John Williams wrote:
Now I'm trying to adjust some text below the staff downward, with even
less successful results.

The same problem with '\markup{\raise' as reported in my previous
messages exists, but when attempting to lower the text, \raise -1 does
nothing, and raise -2 does something unexpected.

examples follow...
~ John Williams


\score {
\notes {
\clef violin
\time 4/4
\key e \major
%% problem: \raise and \translate do not work at the beginning of \markup
%% problem: attempted workaround (placing "" in front) still adds
%% horizonal space to the markup
a'4-._\markup{\raise #-2 "Presto"}_"Line-up" ( gis''-. gis''-. ) gis''-. |
%% More problems with attempted workaround...
%% problem: \raise -1 does nothing below the staff
a'4-._\markup{"" \raise #-1 "Presto"}_"Line-up" ( gis''-. gis''-. )
gis''-. |
%% problem: \raise -2 lowers it a small amount, but less than 1
a'4-._\markup{ "X" \raise #-1 "X"} ( gis''-._\markup{"" \raise #-2
"Presto"}_"Line-up" gis''-. ) gis''-. |
%% Above the staff
cis''4-.^\markup{\raise #-2 "Presto"}^"Line-up" ( gis''-. gis''-. )
gis''-. |
%% \raise -1 does nothing above the staff too
cis''4-.^\markup{"" \raise #-1 "Presto"}^"Line-up" ( gis''-. gis''-. )
gis''-. |
%% \raise -2 doesn't lower the markup, it only raises the line above
cis''4-.^\markup{"" \raise #-2 "Presto"}^"Line-up" ( gis''-. gis''-. )
gis''-. |

%% \translate does the same thing
\break
a'4-._\markup{\translate #(cons 0 -2) "Presto"}_"Line-up" ( gis''-.
gis''-. ) gis''-. |
a'4-._\markup{"" \translate #(cons 0 -1) "Presto"}_"Line-up" ( gis''-.
gis''-. ) gis''-. |
a'4-._\markup{"" \translate #(cons 0 -2) "Presto"}_"Line-up" ( gis''-.
gis''-. ) gis''-. |
cis''4-.^\markup{\raise #-2 "Presto"}^"Line-up" ( gis''-. gis''-. )
gis''-. |
cis''4-.^\markup{"" \translate #(cons 0 -1) "Presto"}^"Line-up" ( gis''-.
gis''-. ) gis''-. |
cis''4-.^\markup{"" \translate #(cons 0 -2) "Presto"}^"Line-up" ( gis''-.
gis''-. ) gis''-. |
}
}




_______________________________________________
Bug-lilypond mailing list
address@hidden
http://mail.gnu.org/mailman/listinfo/bug-lilypond


--
=============================================
        Mats Bengtsson
        Signal Processing
        Signals, Sensors and Systems
        Royal Institute of Technology
        SE-100 44  STOCKHOLM
        Sweden
        Phone: (+46) 8 790 8463                         
        Fax:   (+46) 8 790 7260
        Email: address@hidden
        WWW: http://www.s3.kth.se/~mabe
=============================================





reply via email to

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