]> git.donarmstrong.com Git - lilypond.git/commitdiff
Reduce offsets of \super and \sub
authorKeith OHara <k-ohara5a5a@oco.net>
Sat, 30 Nov 2013 01:12:19 +0000 (17:12 -0800)
committerKeith OHara <k-ohara5a5a@oco.net>
Sat, 7 Dec 2013 06:46:56 +0000 (22:46 -0800)
This brings chordNames and text superscripts into better agreement
with the shifts in user-provided scans.

scm/define-markup-commands.scm

index ee2671a963f13ca7ea8c8c428ed5fde192324d37..fe1cff509adc59f346ce02286f825f56147024db 100644 (file)
@@ -3970,7 +3970,7 @@ Set @var{arg} in superscript with a normal font size.
 @end lilypond"
   (ly:stencil-translate-axis
    (interpret-markup layout props arg)
-   (* 0.5 baseline-skip) Y))
+   (* 0.33 baseline-skip) Y))
 
 (define-markup-command (super layout props arg)
   (markup?)
@@ -3997,7 +3997,7 @@ Set @var{arg} in superscript.
     layout
     (cons `((font-size . ,(- font-size 3))) props)
     arg)
-   (* 0.5 baseline-skip)
+   (* 0.33 baseline-skip)
    Y))
 
 (define-markup-command (translate layout props offset arg)
@@ -4045,7 +4045,7 @@ Set @var{arg} in subscript.
     layout
     (cons `((font-size . ,(- font-size 3))) props)
     arg)
-   (* -0.5 baseline-skip)
+   (* -0.25 baseline-skip)
    Y))
 
 (define-markup-command (normal-size-sub layout props arg)
@@ -4067,7 +4067,7 @@ Set @var{arg} in subscript with a normal font size.
 @end lilypond"
   (ly:stencil-translate-axis
    (interpret-markup layout props arg)
-   (* -0.5 baseline-skip)
+   (* -0.25 baseline-skip)
    Y))
 
 ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;