bug-lilypond
[Top][All Lists]
Advanced

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

raise and translate at beginning of markup (again)


From: John Williams
Subject: raise and translate at beginning of markup (again)
Date: Wed, 7 May 2003 22:57:51 -0600 (MDT)

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''-. |
}
}






reply via email to

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