First of all, this has nothing to do with variables, you will get exactly the same result using \markup{ "FOO""." } (which by the way is equivalent to \markup{ "FOO" "." } ). Rather, the explanation to the space can be found in the documentation of the \line text markup command. You could for example do \markup{ \override #'(word-space . 0.0) \line { "FOO" "." } } to get rid of the extra space.
/Mats Graham Percival wrote:
When using a variable (or macro?) in markup, there's an extra space at the end of the string. In the three lines below, the middle line has an extra space (FOO_.) between the FOO and the period. %% Fink 2.7.3 \version "2.6.0" \header{ var = "FOO" tagline = \markup{ \center-align { \line {FOO.} \line {\var.} \line {\var \hspace #-1.0 .} }} } {c'4} _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.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: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe ============================================= _______________________________________________ bug-lilypond mailing list bug-lilypond@gnu.org http://lists.gnu.org/mailman/listinfo/bug-lilypond