Menu

#727 Pedal "*" glyph should be bottom-aligned

Accepted
nobody
None
Enhancement
2015-09-28
2009-01-11
Anonymous
No

Originally created by: *anonymous

Originally created by: v.villenave

See attached picture.

:::TeX
\version "2.12.1"

\relative {
  c'\sustainOn^\markup default
  c\sustainOff c2
  c4\sustainOn^\markup desired
  \once \override Staff.SustainPedal #'Y-offset = #-0.45
  c\sustainOff c2
}

Could that be a task for a Frog?

1 Attachments

Discussion

  • Google Importer

    Google Importer - 2009-08-21

    Originally posted by: pnorcks@gmail.com

    (No comment was entered for this change.)

    Labels: fixed_2_13_4
    Status: Fixed

     
  • Google Importer

    Google Importer - 2009-08-27

    Originally posted by: n.putt...@gmail.com

    Patrick, I'm not sure we can close this issue yet, since there's still an alignment
    problem (unrelated to the glyph itself) when \sustainOff doesn't immediately follow
    \sustainOn.

    Here's a quick snippet which demonstrates the problem:

    :::TeX
    \version "2.13.4"
    \relative c' {
      c4\sustainOn
      d4 e f\sustainOff
    }
    

    Because the Piano_pedal_align_engraver creates a new alignment spanner for each pedal
    script, the distance from the stave can vary unless there's a bracket between the
    start and end scripts.

    We could easily ensure an existing alignment continues after the `Ped' script, but
    this has the undesirable side-effect of creating only one spanner for a system, which
    cannot be split (see attached image, where I've placed a box around the
    SustainPedalLineSpanner); this would require a solution similar to the one outlined
    in issue #305 (a `break-alignment' event).

     

    Related

    Issues: #305


    Last edit: Simon Albrecht 2015-09-28
  • Google Importer

    Google Importer - 2009-08-27

    Originally posted by: pnorcks@gmail.com

    Okay, thanks Neil.  I hadn't considered the alignment issues beyond the glyph itself.

    I will mark this as "Started", since my adjustment to the glyph metrics box fixes the
    issue in some cases (like in Valentin's original example).

    Labels: -fixed_2_13_4
    Status: Started

     
  • Google Importer

    Google Importer - 2010-08-13

    Originally posted by: pnorcks@gmail.com

    (No comment was entered for this change.)

    Owner: ---
    Status: Accepted

     
  • Simon Albrecht

    Simon Albrecht - 2015-09-28
    • Description has changed:

    Diff:

    --- old
    +++ new
    @@ -2,16 +2,19 @@
    
     *Originally created by:* [v.villenave](http://code.google.com/u/v.villenave/)
    
    -% See attached picture.
    +See attached picture.
    
    +~~~~
    +:::TeX
     \version "2.12.1"
    
    -\relative \{
    - c'\sustainOn^\markup default
    - c\sustainOff c2
    - c4\sustainOn^\markup desired
    - \once \override Staff.SustainPedal \#'Y-offset = \#-0.45
    - c\sustainOff c2
    -\}
    +\relative {
    +  c'\sustainOn^\markup default
    +  c\sustainOff c2
    +  c4\sustainOn^\markup desired
    +  \once \override Staff.SustainPedal #'Y-offset = #-0.45
    +  c\sustainOff c2
    +}
    +~~~~
    
    -% Could that be a task for a Frog?
    +Could that be a task for a Frog?
    
    • Needs: -->
    • Patch: -->