Am Sa., 6. Okt. 2018 um 23:48 Uhr schrieb Peter Crighton
<[email protected]>:
>
> Hello all,
>
> I need the bass note of a chord symbol to be in parentheses, like so:
> C(/G)
>
> How could I achieve this? I am, sadly, clueless.
>
> \version "2.19.82"
> \new ChordNames {
>   \chordmode {
>     % like this, but with only the /G in parentheses -> C(/G)
>     \parenthesize c1/g
>   }
> }
>
> Thanks,
> Peter

Hi,

probably:

\new ChordNames
  \chordmode {
    \set slashChordSeparator = ""
    \set chordNoteNamer =
    #(lambda (pitch lowercase?)
      (make-line-markup (list "(/" (note-name->markup pitch lowercase?) ")")))
    c/fis
    c/g
  }

HTH,
  Harm

_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user

Reply via email to