[Top][All Lists]

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

Re: setting the font size for markups independently

From: Marc Hohl
Subject: Re: setting the font size for markups independently
Date: Tue, 05 Jul 2011 21:14:14 +0200
User-agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv: Gecko/20110424 Thunderbird/3.1.10

Am 05.07.2011 21:03, schrieb Neil Puttock:
On 5 July 2011 15:45, Marc Hohl<address@hidden>  wrote:

Ideally, there is something I can put in a separate include file which works
*all* markups that follow (which are mixed with scores and bundled in
\bookpart contexts.
I don't think this is possible without redefining interpret-markup
directly inside scm/makup.scm, i.e.,

(define-public (interpret-markup layout props arg)
    (ly:text-interface::interpret-markup layout props
(make-abs-fontsize-markup 12 arg)))

It is possible to redefine interpret-markup inside a .ly file, but
you'll find top-level markup ignores the new settings since
interpret-markup-list will still use the original definition (it's
defined directly following interpret-markup, and gets called from C++
when generating paper-book output).
Neil, thanks for your answer. Your solution is at least so complicated
that I don't feel stupid for not having discovered it for myself ;-)

I think the search and replace feature of my favorite text editor comes
in handy now ...



reply via email to

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