Menu

#771 Instrument names should be centered accordingly to StartSystem objects in other staves

Verified
nobody
Bounty (37)
Defect
2010-05-28
2009-05-23
Anonymous
No

Originally created by: *anonymous

Originally created by: v.villenave

Instrument names are centered by default, but this only works if each staff
has the same system start delimiter. If not (e.g. braces, or differently
sized braces), then the result looks odd, as shown in attached pictures
(version 2.13.1).

See also http://lists.gnu.org/archive/html/lilypond-devel/2009-05/msg00257.html

Neil has offered a first patch; Francisco is able to contribute a €40
bounty, which I'm willing to double.

2 Attachments

Discussion

  • Google Importer

    Google Importer - 2009-10-10

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

    (No comment was entered for this change.)

    Labels: Priority-Low

     
  • Google Importer

    Google Importer - 2009-10-11

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

    This is now somewhat fixed.  A small problem remains: could an additional negative
    offset be automatically set, so that the instrument names as a block gained some
    space at the right? An horizontal skyline approach has been suggested. See my tromba
    marina attached example.

     
  • Google Importer

    Google Importer - 2009-10-11

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

    Hi Francisco,

    When you say `negative offset', do you mean move the column of instrument names
    closer to the system so the `Tromba marina' text is tucked underneath the
    SystemStartBracket, rather than being placed to its left (as in the attached image)?

    You can use some negative 'padding to achieve this, though naturally it's a bit
    trial-and-error, dependent on the indent size.

    I would love to implement Joe's suggestion of skylining using a new engraver to
    automate this process, but that's a long-term goal (I'm afraid my modest programming
    skills aren't up to tackling that at the moment. :)

    Cheers,
    Neil

     
  • Google Importer

    Google Importer - 2009-10-11

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

    Neil: yes, I really meant negative padding, provided that the names remain centered.
    Could it be applied once for the block as a whole? I assume not, you have to apply it
    for every instrumentName separately, even if the value is the same.  Anyway, the
    negative padding has to be computed by hand, which is cumbersome because these
    computing have already been done to achieve the centering as it currently behaves.

    The main goal is done nevertheless, so I'm going to materialize the bounty.

     
  • Google Importer

    Google Importer - 2009-10-12

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

    You can certainly add a global override to a \layout block; the example I posted
    above used the follow:

    \layout {
      indent = 30\mm
      \context {
        \Staff
        % or \Score, if there are also instrument names attached to grouping contexts
        % (e.g. PianoStaff)
        \override InstrumentName #'padding = #-1.5
      }
    }

     
  • Google Importer

    Google Importer - 2009-12-17

    Originally posted by: pnorcks@gmail.com

    Neil, is this fixed now?

     
  • Google Importer

    Google Importer - 2009-12-17

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

    I can not remember who fixed it; although it has a small glitch (need of a trial-and
    error override), I'd like to pay my 40 EUR as promised.

     
  • Google Importer

    Google Importer - 2010-05-19

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

    ping -- what's the "small glitch", and if it's fixed (or small enough), can we mark
    this fixed?  Especially if the bounty is already paid / donated.

     
  • Google Importer

    Google Importer - 2010-05-19

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

    The small glitch is that you still have to apply a negative padding, by hand and by
    trial and error, to emulate a true vertical skyline*.  Anyway, instrument names are
    now properly centered and that's why I'd like to donate my bounty, but Neil refused
    to accept it.  Therefore I will pay it to the charity of my choice TONIGHT. Please
    mark as fixed and optionally open another one for the fully automatic solution.

    * Vertical skylines are meant to track horizontal space.

     
  • Google Importer

    Google Importer - 2010-05-20

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

    I've given 50 USD to the EFF today, via PayPal. Thanks!

    How could I show a proof of it?

     
  • Google Importer

    Google Importer - 2010-05-20

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

    Fixed many weeks before 2.13.21.

    Francisco: I don't think anybody's concerned about proof of your donation.  If you
    were a completely unknown person and the developer was particularly concerned about
    the cause, he might ask for a confirmation email or scan or receipt or something, but
    I don't think that's the case here.

    I'm not certain that I understand the "negative padding to emulate a vertical
    skyline" issue; if you want this in the tracker, please prepare a tiny example for
    the bug-lilypond list, or else just add a new item yourself.

    Owner: ---
    Status: Fixed

     
  • Google Importer

    Google Importer - 2010-05-28

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

    (No comment was entered for this change.)

    Status: Verified

     
Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.