lilypond-user
[Top][All Lists]
Advanced

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

Re: globally set \markup \box #'box-padding


From: Nicolas Sceaux
Subject: Re: globally set \markup \box #'box-padding
Date: Fri, 4 Jul 2008 21:23:49 +0200

Le 3 juil. 08 à 21:15, Kieren MacMillan a écrit :

[Lilypond 2.11.49]

Hello all,

I need boxed markups with a set padding, i.e. I'm currently using

   ^\markup { \override #'(box-padding . 1) \box { ... } }

How can I set this value once, rather than needing to do it each time? I've tried

        \override TextScript #'box-padding = #1

but Lilypond says

   "warning: cannot find property type-check for 'box-padding'..."

Any help would be appreciated.
Kieren.

I don't know if it is a good advice, but this can be achieved thus:

\paper {
  #(set! text-font-defaults
         (cons '(box-padding . 1) text-font-defaults))
}

nicolas





reply via email to

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