[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Wrong alignment in markup
From: |
David Kastrup |
Subject: |
Re: Wrong alignment in markup |
Date: |
Mon, 15 Oct 2012 15:04:34 +0200 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux) |
Daniel Berjón <address@hidden> writes:
>> I'm not top posting.
>
> %When combining text with dynamics, right- or center-align do not seem to
> work
> %properly (or I am not writing the right code); in default left-align mode,
> the
> %space between dynamic and text is correct, but in the other two the dynamic
> is
> %placed too far right:
> \version "2.16.0"
>
> \relative c'' {
> a a a a |
> a_\markup {
> \right-align
> {
> sempre
> \dynamic f
> }
> } a a a
> }
> %If the dynamic is placed before the text, the problem is even worse and they
> %collide.
You are not writing the right code. \right-align takes a list of
markups and pads them on the left until they have the same width.
After doing that, you pack the aligned markups into a single line (the
default when packing a markup list into \markup). Do it the other way
round:
\relative c'' {
a a a a |
a_\markup
\right-align \line
{
sempre
\dynamic f
}
a a a
}
--
David Kastrup