lilypond-user
[Top][All Lists]
Advanced

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

Re: lilypond-user Digest, Vol 152, Issue 44


From: MING TSANG
Subject: Re: lilypond-user Digest, Vol 152, Issue 44
Date: Tue, 14 Jul 2015 16:05:25 +0000 (UTC)

Thank you Simon.

Immanuel,
Ming




  2. Re:Overriding font size in markup variable (Simon Albrecht)


Message: 2
Date: Tue, 14 Jul 2015 15:01:29 +0200
From: Simon Albrecht <address@hidden>
To: Javier Ruiz-Alma <address@hidden>,     lilypond-user
    <address@hidden>
Subject: Re: Overriding font size in markup variable
Message-ID: <address@hidden>
Content-Type: text/plain; charset="windows-1252"; Format="flowed"

Sorry, I forgot including the list.

Am 13.07.2015 um 15:16 schrieb Simon Albrecht:
> Hello Javier,
>
> the relevant doc section would be
> <http://lilypond.org/doc/v2.18/Documentation/extending/new-markup-command-definition>.
> See the attached solution.
>
> HTH, Simon
>
> Am 12.07.2015 um 03:08 schrieb Javier Ruiz-Alma:
>> I have a markup variable preformatted to specific font size.
>>
>> I wish to use the same variable elsewhere, but override the font-size
>> to smaller size.  Can this be done?
>>
>> Snippet:
>> %*************************
>>
>> \version "2.18.2"
>>
>> thisText = \markup { \abs-fontsize #20 "My Text" }
>>
>> \markup {
>>    \column {
>>      \fill-line { \thisText }
>>      \fill-line { \null }
>>      \fill-line { \override #'(font-size . 10) \thisText }  % 
>> <----this doesn't work
>>    }
>> }
>>
>> %**************************
>>
>>
>> _______________________________________________
>> lilypond-user mailing list
>> address@hidden
>> https://lists.gnu.org/mailman/listinfo/lilypond-user
>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gnu.org/archive/html/lilypond-user/attachments/20150714/8b22bbe6/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: flex-abs-fontsize.ly
Type: text/x-lilypond
Size: 482 bytes
Desc: not available
URL: <http://lists.gnu.org/archive/html/lilypond-user/attachments/20150714/8b22bbe6/attachment.bin>

------------------------------

_______________________________________________
lilypond-user mailing list
address@hidden
https://lists.gnu.org/mailman/listinfo/lilypond-user


End of lilypond-user Digest, Vol 152, Issue 44
**********************************************



reply via email to

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