On Mon, 2024-11-04 at 09:00 +0000, Richard Shann wrote:
Oh, I just tested and
Command: Parenthesize Chord (Off/On)
Enclose the chord in ( ) on printing.
Location: Object Menu ▶ Chords
Internal Name: ParenthesizeChord
(apologies if this message isn't threaded properly)
Thanks for your help Richard, I've made some progress but I'm not all the way there yet.
Re: Command: Parenthesize Chord, this doesn't seem to do what I'm thinking -- it parenthesizes the note in the staff instead
of the chord name above the staff.
[...]
I tried inserting a text mark above the staff, and that prints the
paren in the print view, but I can't drag the paren to
position it properly (even if I click on typeset in the print view --
maybe I'm doing it wrong). The little hand cursor shows
up, but nothing happens when I click on the paren.
Can you drag *any* text marks?
I can't -- I see the hand pointer, but dragging doesn't work. Right-click shows the menu, but double-clicking on a mark
doesn't do anything AFAICT.
Thank you for recommending digging into LilyPond. I found some old threads and other examples in the wild that seem to use the
same code, found here:
https://lists.gnu.org/archive/html/lilypond-user/2012-10/msg00237.html
I don't quite have a handle on the recommended way to add LilyPond code to Denemo but I hacked it in via Score -> LilyPond
Definition, and it sort of works. But Denemo typesets it as for example '(Cm7 f7)' with a large gap between the two chord
names, and so the chord name is printed past the end of the bar. A screenshot will probably be easier to understand.
https://tilde.team/~wakyct/paren_chords_wrong.png
To be clear, I added the code via the Definition, then I edited the chord symbol to be '\LPC c:m7 \RPC f:7 \NPC'.
If I can fix up the layout issue this should work.
I've found examples of what I want to do at
https://veltzer.github.io/openbook/web/viewer.html?file=../output/openbook.pdf#page=15
That also uses the 'LPC' definition though I haven't tracked down where in that codebase it's defined.
George