lilypond-devel
[Top][All Lists]
Advanced

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

Re: Reduce offsets of \super and \sub (issue 35320043)


From: k-ohara5a5a
Subject: Re: Reduce offsets of \super and \sub (issue 35320043)
Date: Sun, 01 Dec 2013 02:53:03 +0000

On 2013/12/01 02:09:01, c_sorensen_byu.edu wrote:

What about font-size?

That should work. I wonder, though, why font-size was not used
initially.
I'll try it next weekend.  I would really be trying to estimate the
x-height in a 'normal' font, and since that comes up often, I would make
a function to give that height.


https://codereview.appspot.com/35320043/diff/1/scm/define-markup-commands.scm
File scm/define-markup-commands.scm (right):

https://codereview.appspot.com/35320043/diff/1/scm/define-markup-commands.scm#newcode3938
scm/define-markup-commands.scm:3938: (offset (* factor 0.75)))
Similarly, the raising of a superscript could be
 (* (magstep font-size) 0.5)
with 0.5 adjusted empirically to create the right fraction of the
ex-height.

https://codereview.appspot.com/35320043/



reply via email to

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