Re: Polychord

2020-11-27 Thread Robin Bannister
My advice: Don't try. Write markup for overriding the 'text property. And if you don't feel up to doing that sort of markup, you could get most of the way with an additional context: \version "2.20.0" coharmonies = \chordmode { d1:m s d:dim s fis} harmonies =

Re: Polychord

2020-11-27 Thread Robin Bannister
achard wrote: This is what a user wrote to get polychords. But I would like the bottom chord to appear as C7 or Cm7 or C maj7. "If I were you, I wouldn't start from here." The approach of the Scheme snippet you have selected is extremely blinkered, catering only for combinations of

Polychord

2020-11-27 Thread achard
ublic (silent-chord-root-namer pitch lowercase?)    (markup "") ) #(define-markup-command (polychord-column layout props args)  (markup-list?)   ;#:properties ((direction)   ;(baseline-skip))  (let* ((args-length-ls (sort (map (lambda (x)            (interval-length               (ly:

Polychord

2020-11-27 Thread achard
(ly:event-property cause 'pitch) #f)     ))) #(define-public (silent-chord-root-namer pitch lowercase?)    (markup "") ) #(define-markup-command (polychord-column layout props args)  (markup-list?)   ;#:properties ((direction)   ;(baseline-skip))  (let* ((args-length-ls (sort (m

Re: horizontal line separator in column markup (as in fraction or polychord)

2012-02-05 Thread Thomas Morley
Hi, 2012/2/3 Thomas Morley thomasmorle...@googlemail.com: Hi, 2012/2/2 Xavier Scheuer x.sche...@gmail.com: On 2 February 2012 22:23, Jean-Alexis Montignies j...@montignies.info wrote: Hi, I'm trying to write a polychord markup that looks like a mathematical fraction. May be I've

horizontal line separator in column markup (as in fraction or polychord)

2012-02-02 Thread Jean-Alexis Montignies
Hi, I'm trying to write a polychord markup that looks like a mathematical fraction. May be I've overlooked something, but I didn't found a way to draw a horizontal line between to text lines of a column. I'm using: \markup {\override #`(direction . ,UP) \dir-column { C \draw

Re: horizontal line separator in column markup (as in fraction or polychord)

2012-02-02 Thread Xavier Scheuer
On 2 February 2012 22:23, Jean-Alexis Montignies j...@montignies.info wrote: Hi, I'm trying to write a polychord markup that looks like a mathematical fraction. May be I've overlooked something, but I didn't found a way to draw a horizontal line between to text lines of a column. I'm

Re: horizontal line separator in column markup (as in fraction or polychord)

2012-02-02 Thread Thomas Morley
Hi, 2012/2/2 Xavier Scheuer x.sche...@gmail.com: On 2 February 2012 22:23, Jean-Alexis Montignies j...@montignies.info wrote: Hi, I'm trying to write a polychord markup that looks like a mathematical fraction. May be I've overlooked something, but I didn't found a way to draw