Menu

#155 \parenthesize does not take accidentals into account

Verified
nobody
push
Ugly
2015-05-12
2006-11-22
Anonymous
No

Originally created by: *anonymous

Originally created by: gpermus@gmail.com
Originally owned by: Carl.D.S...@gmail.com

The left side of the parenthesize is printed on top of the sharp sign.

\version "2.10.0"
\relative c' {
        < \parenthesize cis >4
}

1 Attachments

Related

Backup-2015-12-01: #1451
Backup-2015-12-01: #155
Backup-2015-12-01: #3738
Backup-2015-12-01: #3750
Backup-2015-12-01: #868
Backup-2016-12-10: #1451
Backup-2016-12-10: #155
Backup-2016-12-10: #3738
Backup-2016-12-10: #3750
Backup-2016-12-10: #4967
Backup-2016-12-10: #868

Discussion

1 2 > >> (Page 1 of 2)
  • Google Importer

    Google Importer - 2008-05-30

    Originally posted by: v.villenave

    (Reproduced with 2.11.47)

    Summary: \parenthesize should take accidentals into account

     
  • Google Importer

    Google Importer - 2009-10-08

    Originally posted by: perpeduu...@gmail.com

    The same should hold for dotted notes.

    \version "2.13.5"
    \relative c'' { <\parenthesize cis>2. }

     
  • Google Importer

    Google Importer - 2009-10-09

    Originally posted by: v.villenave

    Definitely! Added as Issue 868.

    Summary: \parenthesize does not take accidentals into account
    Labels: -Type-Enhancement Type-Collision

     
  • Google Importer

    Google Importer - 2011-05-21

    Originally posted by: mts...@gmail.com

    This can now be worked around in the most recent git.  Same holds true for Issue 868.

    \score {
      \new Staff { <\parenthesize ais'> }
      \layout {
        \context {
          \Voice
          \override ParenthesesItem #'stencil = #(lambda (grob)
           (let* ((acc (ly:grob-object (ly:grob-parent grob Y) 'accidental-grob))
                  (dot (ly:grob-object (ly:grob-parent grob Y) 'dot)))
             (if (not (null? acc)) (ly:pointer-group-interface::add-grob grob 'elements acc))
             (if (not (null? dot)) (ly:pointer-group-interface::add-grob grob 'elements dot))
             (parentheses-item::print grob)))
    }}}

     
  • Google Importer

    Google Importer - 2011-05-22

    Originally posted by: ahawry...@gmail.com

    Bravo! This is very exciting. Just a heads up though, this example seems to prefer parentheses that align with spaces rather than lines:

    \version "2.15.0"
    \score {
      \new Staff {
        % parentheses not included in spacing calculations
        \override Voice.NoteColumn #'X-extent = #'(-10 . 10)
        <\parenthesize ais'>4. <\parenthesize bes'>
      }
      \layout {
        \context {
          \Voice
          \override ParenthesesItem #'stencil = #(lambda (grob)
           (let* ((acc (ly:grob-object (ly:grob-parent grob Y) 'accidental-grob))
                  (dot (ly:grob-object (ly:grob-parent grob Y) 'dot)))
             (if (not (null? acc)) (ly:pointer-group-interface::add-grob grob 'elements acc))
             (if (not (null? dot)) (ly:pointer-group-interface::add-grob grob 'elements dot))
             (parentheses-item::print grob)))
        }
      }
    }

     
  • Google Importer

    Google Importer - 2011-07-20

    Originally posted by: reinhold...@gmail.com

    Issue 868 has been merged into this issue.

     
  • Google Importer

    Google Importer - 2011-07-24

    Originally posted by: lemniska...@gmail.com

    Interesting.  I thought that maybe the parentheses ended up in space because it was aligned to dot instead of notehead, but this is not the case.  I. e. adding \voiceTwo to the music doesn't change parentheses' position.

     
  • Google Importer

    Google Importer - 2011-07-24

    Originally posted by: reinhold...@gmail.com

    The parentheses are always vertically aligned with the center of the stencil. The long vertical line of the b moves it up quite a bit.

     
  • Google Importer

    Google Importer - 2011-08-20

    Originally posted by: percival.music.ca@gmail.com

    (No comment was entered for this change.)

    Labels: -type-Collision Type-Ugly

     
  • Google Importer

    Google Importer - 2011-09-16

    Originally posted by: joenee...@gmail.com

    Here's a patch: http://codereview.appspot.com/5032047
    It vertically centers the parentheses around the note-head.

    Status: Started

     
  • Google Importer

    Google Importer - 2011-09-17

    Originally posted by: pkx1...@gmail.com

    (No comment was entered for this change.)

    Labels: Patch-new
    Owner: joenee...@gmail.com

     
  • Google Importer

    Google Importer - 2011-09-17

    Originally posted by: pkx1...@gmail.com

    Passes make and reg tests

    Labels: -Patch-new Patch-review

     
  • Google Importer

    Google Importer - 2011-09-17

    Originally posted by: joenee...@gmail.com

    Here's a patch with a better description:
    http://codereview.appspot.com/5047048

     
  • Google Importer

    Google Importer - 2011-09-20

    Originally posted by: percival.music.ca@gmail.com

    (No comment was entered for this change.)

    Labels: -Priority-Medium -Patch-review Patch-countdown

     
  • Google Importer

    Google Importer - 2011-09-21

    Originally posted by: ColinPKC...@gmail.com

    (No comment was entered for this change.)

    Labels: -Patch-countdown Patch-push

     
  • Google Importer

    Google Importer - 2011-09-26

    Originally posted by: joenee...@gmail.com

    Fix 155: parentheses include accidentals and dots.

    Make parentheses around noteheads include accidentals and dots.
    Make parentheses around rests include dots.

    http://codereview.appspot.com/5047048

    Labels: Patch-new

     
  • Google Importer

    Google Importer - 2011-09-26

    Originally posted by: percival.music.ca@gmail.com

    (No comment was entered for this change.)

    Labels: -Patch-push

     
  • Google Importer

    Google Importer - 2011-09-27

    Originally posted by: pkx1...@gmail.com

    Passes make but I get some reg test 'crossing fingers' messages

    --snip--

    /home/jlowe/lilypond-git/input/regression/tablature-grace-notes.log    

    @@ -2,6 +2,10 @@
    Renaming input to: `/home/jlowe/lilypond-git/input/regression/tablature-grace-notes.ly'
    Interpreting music...
    Preprocessing graphical objects...
    +programming error: no pure Y common refpoint
    +continuing, cross fingers
    +programming error: no pure Y common refpoint
    +continuing, cross fingers
    Calculating line breaks...
    Drawing systems...
    Writing header field `texidoc' to `/home/jlowe/lilypond-git/build/out/lybook-testdb/3b/lily-8f72236e.texidoc
    --snip--

    See attached

    Labels: -Patch-new Patch-needs_work

     
  • Google Importer

    Google Importer - 2011-11-03

    Originally posted by: ColinPKC...@gmail.com

    Is this still being worked on? The last update was over a month ago.

     
  • Google Importer

    Google Importer - 2012-01-24

    Originally posted by: ColinPKC...@gmail.com

    Last update 20110927

    Labels: -Patch-needs_work Patch-abandoned

     
  • Google Importer

    Google Importer - 2015-04-14

    Originally posted by: Carl.D.S...@gmail.com

    Updated patch for issue 155

    This patch is updated from Joe Neeman's patch for issue 155 so it applies to current master.

    The main difference is the change in handling pure functions.  I'm not an expert on this so I'm not sure I have it 100% right.

    But at least this works on the regtests.

    Please review.

    http://codereview.appspot.com/230860044

    Labels: -Patch-abandoned Patch-new
    Owner: Carl.D.S...@gmail.com

     
  • Google Importer

    Google Importer - 2015-04-15

    Originally posted by: pkx1...@gmail.com

    Patchy the autobot says: passes tests.  Includes a full make doc

    Labels: -Patch-new Patch-review

     
1 2 > >> (Page 1 of 2)

Log in to post a comment.