Re: bug-lilypond Digest, Vol 189, Issue 17

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

Re: bug-lilypond Digest, Vol 189, Issue 17

Christopher Heckman
On Sun, Aug 26, 2018 at 7:04 AM,  <[hidden email]> wrote:

>
> Message: 3
> Date: Sun, 26 Aug 2018 11:43:44 +0200
> From: Thomas Morley <[hidden email]>
> To: Pierre Perol-Schneider <[hidden email]>
> Cc: bug-lilypond <[hidden email]>
> Subject: Re: Doc 2.4.2: Indicating harmonics and dampened notes
> Message-ID:
>         <CABsfGyUWqWmqeyqyP+4FCtewoTOGH8bdjrZ5ux6=[hidden email]>
> Content-Type: text/plain; charset="UTF-8"
>
> 2018-08-26 11:14 GMT+02:00 Pierre Perol-Schneider
> <[hidden email]>:
>> 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
[hidden email]
https://lists.gnu.org/mailman/listinfo/bug-lilypond