[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: minor \markup (with variables) bug
From: |
Mats Bengtsson |
Subject: |
Re: minor \markup (with variables) bug |
Date: |
Mon, 01 Aug 2005 11:34:36 +0200 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.7.8) Gecko/20050511 |
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
address@hidden
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: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Re: minor \markup (with variables) bug,
Mats Bengtsson <=