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



_______________________________________________
lilypond-user mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to