lilypond-user
[Top][All Lists]
Advanced

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

Re: Overriding font size in markup variable


From: Simon Albrecht
Subject: Re: Overriding font size in markup variable
Date: Tue, 14 Jul 2015 15:01:29 +0200
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0

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


Attachment: flex-abs-fontsize.ly
Description: Text Data


reply via email to

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