[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Enlarge the size of the accidentals in figured bass
From: |
Neil Puttock |
Subject: |
Re: Enlarge the size of the accidentals in figured bass |
Date: |
Sat, 12 Jul 2008 14:48:40 +0100 |
Hi Arno,
2008/7/12 Arno Rog <address@hidden>:
> Is there a way to enlarge the accidentals in a figured bass,
> leaving the size of the numbers unchanged?
Yes, but it's a bit hackish, since you'll have to change the details
for accidentals inside the function which does the figured bass
formatting.
The default function, format-bass-figure, is found in the file
scm/translation-functions.scm; the relevant part is the following:
(alt (ly:event-property event 'alteration))
(alt-markup
(if (number? alt)
(markup
#:general-align Y DOWN #:fontsize
(if (not (= alt DOUBLE-SHARP))
;fontsize defaults set here, -2 for all accidentals
except double-sharp
-2 2)
(alteration->text-accidental-markup alt))
#f))
You can either amend it in situ if you want the changes to be global,
or copy it into a .ly file and rename it, setting the function using
\set figuredBassFormatter = #renamed-bass-formatter-function.
Regards,
Neil