On Sun, Aug 26, 2018 at 7:04 AM, <[email protected]> wrote: > > Message: 3 > Date: Sun, 26 Aug 2018 11:43:44 +0200 > From: Thomas Morley <[email protected]> > To: Pierre Perol-Schneider <[email protected]> > Cc: bug-lilypond <[email protected]> > Subject: Re: Doc 2.4.2: Indicating harmonics and dampened notes > Message-ID: > <CABsfGyUWqWmqeyqyP+4FCtewoTOGH8bdjrZ5ux6=f+vax9s...@mail.gmail.com> > Content-Type: text/plain; charset="UTF-8" > > 2018-08-26 11:14 GMT+02:00 Pierre Perol-Schneider > <[email protected]>: >> Hi Bug Squad, >> See: >> http://lilypond.org/doc/v2.18/Documentation/notation/guitar.html#indicating-harmonics-and-dampened-notes >> And: >> http://lilypond.org/doc/v2.19/Documentation/notation/guitar.html#indicating-harmonics-and-dampened-notes >> >> 1. I don't understand the reason to put the NoteHead defs at a Staff level. > > Can't see a specific reason here. So I'd vote for deleting "Staff". > >> 2. Maybe a whole note is not the best example to show the 'harmonic-mixed >> result. >> >> How about changing this snippet: >> >> \relative c' { >> \clef "treble_8" >> \override Staff.NoteHead.style = #'harmonic-mixed >> d^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>1 >> } >> >> To: >> >> \relative c' { >> \clef "treble_8" >> \override NoteHead.style = #'harmonic-mixed >> d8^\markup { \italic { \fontsize #-2 { "harm. 12" }}} <g b>4 >> } >> >> Cheers, >> Pierre > > > Agreed. Also, why not delete some of the superfluous brackets in the > markup? Only keeping the surrounding ones for better viewable > structure. I.e. > \markup { \italic \fontsize #-2 "harm. 12" }
Bad suggestion. Currently, \italic takes one argument, the next token (unless it's an opening bracket). If you want to change it so that \italic takes the rest of the arguments (Scheme-style), then previous code like \italic "this is italic " "and this isn't" will break. --- Chris _______________________________________________ bug-lilypond mailing list [email protected] https://lists.gnu.org/mailman/listinfo/bug-lilypond
