lilypond-user
[Top][All Lists]
Advanced

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

Re: Writing "Mouvt" abbreviation of "Mouvement"


From: MarcM
Subject: Re: Writing "Mouvt" abbreviation of "Mouvement"
Date: Sat, 27 Jul 2013 18:47:02 -0700 (PDT)

thanks for the explanation.

> Why wouldn't it?  Separate expressions in a \line (which is what a
> top-level markup is implicitly wrapped in) are separated by word space.
> That's totally normal.  If you want to join some elements, use \concat,
> like with ...

You explanation and example were helpful. I suggest to add them to
this page: http://www.lilypond.org/doc/v2.17/Documentation/notation/formatting-text

% this
 \markup { \huge \line { fee fie foe fum } }
% or that will separate the expressions with _normal_ size spaces
 \markup { \huge  { fee fie foe fum } }
% or
\markup { \huge fee\huge fie\huge foe\huge fum }
% whereas this will use _huge_ spaces between words.
\markup { \huge "fee fie foe fum" }

On Sat, Jul 27, 2013 at 4:27 PM, David Kastrup [via Lilypond]
<[hidden email]> wrote:

> MarcM <[hidden email]> writes:
>
>> I'm trying to write "Mouvt" the abbreviation of the french word
>> "Mouvement"
>> For some reason a whitespace is inserted between the 'v' and the 't'
>> MouvtRubato.ly
>> <http://lilypond.1069038.n5.nabble.com/file/n148476/MouvtRubato.ly>
>
> Why wouldn't it?  Separate expressions in a \line (which is what a
> top-level markup is implicitly wrapped in) are separated by word space.
> That's totally normal.  If you want to join some elements, use \concat,
> like with
> \concat { Mouv \raise #0.5 \small t }
> or \concat { Mouv \super t }
>
> Things may become clearer if you realize that
> \markup { fee fie foe fum }
> does not contain a single space, but rather four separate markup
> expressions.
>
> Distinguish that from
> \markup { "fee fie foe fum" }
> which contains a single markup _expression_ containing spaces.
>
> So if you write
> \markup { \huge { fee fie foe fum } }
> this is the same as
> \markup { \huge fee \huge fie \huge foe \huge fum }
> or even
> \markup { \huge fee\huge fie\huge foe\huge fum }
> and will separate the expressions with _normal_ size spaces whereas
> \markup { \huge "fee fie foe fum" }
> or
> \markup { \huge \line { fee fie foe fum } }
> will use _huge_ spaces between words.
>
> If you can't avoid having separate expressions (like when the second
> _expression_ starts with \raise), then you need to use something other
> than the implicit \line, like \concat.
>
>> \version "2.17.22"
>>
>> MouvtRubatoA = \markup{ Mouv\raise #0.5 {\small t} (Rubato)}
>> MouvtRubatoB = \markup{ Mouv\super{t} (Rubato)}
>>
>> { \relative c'{
>> c^\MouvtRubatoA
>> }}
>> { \relative c'{
>> c^\MouvtRubatoB
>> }}
>
> The formatting leaves something to be desired.
>
> --
> David Kastrup
>
>
> _______________________________________________
> lilypond-user mailing list
> [hidden email]
> https://lists.gnu.org/mailman/listinfo/lilypond-user
>
>
> ________________________________
> If you reply to this email, your message will be added to the discussion
> below:
> http://lilypond.1069038.n5.nabble.com/Writing-Mouvt-abbreviation-of-Mouvement-tp148476p148480.html
> To unsubscribe from Writing "Mouvt" abbreviation of "Mouvement", click here.
> NAML



--
Marc Mouries
571-428-6771


View this message in context: Re: Writing "Mouvt" abbreviation of "Mouvement"
Sent from the User mailing list archive at Nabble.com.

reply via email to

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