fix tranpose
This commit is contained in:
parent
0df95f6441
commit
b3d46ff607
@ -122,6 +122,8 @@
|
|||||||
newtext
|
newtext
|
||||||
1 "\n" 2))))))
|
1 "\n" 2))))))
|
||||||
|
|
||||||
|
#(use-modules (lily display-lily))
|
||||||
|
|
||||||
% Kompletten Vers mit Akkorden
|
% Kompletten Vers mit Akkorden
|
||||||
#(define-markup-command (chordverse layout props stanza verse) (string-or-music? string?)
|
#(define-markup-command (chordverse layout props stanza verse) (string-or-music? string?)
|
||||||
#:properties (
|
#:properties (
|
||||||
@ -132,7 +134,7 @@
|
|||||||
)
|
)
|
||||||
"Vers mit Akkorden"
|
"Vers mit Akkorden"
|
||||||
(let ((transp (if (car transposition)
|
(let ((transp (if (car transposition)
|
||||||
(string-append "\\transpose " (note-name->string (car transposition)) " " (note-name->string (cdr transposition)))
|
(string-append "\\transpose " (symbol->string (note-name->lily-string (car transposition))) " " (symbol->string (note-name->lily-string (cdr transposition))))
|
||||||
"")))
|
"")))
|
||||||
(interpret-markup layout props
|
(interpret-markup layout props
|
||||||
(markup #:override `(baseline-skip . ,(+ intraverse-vspace songTextLineHeigth)) #:anchor-x-between #:stanza stanza
|
(markup #:override `(baseline-skip . ,(+ intraverse-vspace songTextLineHeigth)) #:anchor-x-between #:stanza stanza
|
||||||
|
Loading…
Reference in New Issue
Block a user