[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [PATCH] Re: Raised 6th step in figured bass
From: |
Reinhold Kainhofer |
Subject: |
Re: [PATCH] Re: Raised 6th step in figured bass |
Date: |
Thu, 12 Jun 2008 19:59:55 +0200 |
User-agent: |
KMail/1.9.9 |
Am Mittwoch, 11. Juni 2008 schrieb Reinhold Kainhofer:
> Am Mittwoch, 11. Juni 2008 schrieben Sie:
> > 2008/6/10 Reinhold Kainhofer <address@hidden>:
> > > The corresponding markup function is \backslashed-digit:
> > > \markup {\backslashed-digit #6 }
> >
> > Thanks for adding a snippet to this; if it gets approved, you've saved
> > me a bit of work. ;)
> >
> > The only problem I can see is the duplication between the two markup
> > commands. Wouldn't it be preferable for there to be one utility
> > function which combines the code for both slash directions, with a
> > flag option for switching between the two? Then each markup command
> > would simply call this utility function instead
>
> I don't know. The structure of both is similar, but they use a different
> slope and different special cases (moving the slash up/down for some
> numbers to make it look better)... It probably won't save much code, but
> might make it more maintainable. I'll have a look.
Okay, here is an updated patch, where I combine the functionality into one
internal function (I still have two markup functions, \slashed-digit and
\backslashed-digit, which both call the internal scheme function
slashed-digit-internal).
I also increased the slope of the forward slashes to make it easier to
distinguish forward and backward slashes. For some numbers, I also enlage the
X extent of the slash so that its overshoot over the number itself is better
visible. Patch and an example to see the new look is attached.
Okay to apply?
Cheers,
Reinhold
PS: The only slashed digit I have encountered in my hand-engraved scores
appears to be a backslashed 6, so this is probably the most important digit
to look right.
--
------------------------------------------------------------------
Reinhold Kainhofer, Vienna University of Technology, Austria
email: address@hidden, http://reinhold.kainhofer.com/
* Financial and Actuarial Mathematics, TU Wien, http://www.fam.tuwien.ac.at/
* K Desktop Environment, http://www.kde.org, KOrganizer maintainer
* Chorvereinigung "Jung-Wien", http://www.jung-wien.at/
0001-figured-bass-Implement-backslashed-figures-raised.patch
Description: Text Data
figured-bass-backslashed-numbers.ly
Description: Text Data
figured-bass-backslashed-numbers.pdf
Description: Adobe PDF document