On 2019-01-14 8:58 pm, Mark Probert wrote:
Thank you! Though the gamma thing doesn't really work in my case (I'm
using Lilypond under org-babel ;-) ) but I did find a nice solution (it
was in another section of documentation I hadn't gotten to.. doh! The
relevant section now looks lie\ke:
---< cut >---
Gamma = \markup { \char ##x0393 }
chant = \relative c { \clef bass g1 a b c d e }
verba = \lyricmode { \Gamma A B C D E }
verbb = \lyricmode {
\override LyricText.font-shape = #'italic
ut re mi fa sol la }
---< cut >---
and it comes out just the way I am after!
If you need more than just the one Greek letter, you can always extend
the \paper's replacement-alist in a similar fashion to how
include-special-characters works. Attached is an example with most
(though not all) Greek letters.
-- Aaron Hill
\version "2.19.82"
\paper {
#(define (include-greek-characters)
(add-text-replacements!
'(("Α" . "Î") ("α" . "α")
("&Alphat;" . "Î") ("&alphat;" . "ά")
("Β" . "Î") ("β" . "β")
("Γ" . "Î") ("γ" . "γ")
("Δ" . "Î") ("δ" . "δ")
("Ε" . "Î") ("ε" . "ε")
("&Epsilont;" . "Î") ("&epsilont;" . "Î")
("Ζ" . "Î") ("ζ" . "ζ")
("Η" . "Î") ("η" . "η")
("&Etat;" . "Î") ("&etat;" . "ή")
("Θ" . "Î") ("θ" . "θ")
("Ι" . "Î") ("ι" . "ι")
("&Iotad;" . "Ϊ") ("&iotad;" . "Ï") ("&iotadt;" . "Î")
("&Iotat;" . "Î") ("&iotat;" . "ί")
("Κ" . "Î") ("κ" . "κ")
("Λ" . "Î") ("λ" . "λ")
("Μ" . "Î") ("μ" . "μ")
("Ν" . "Î") ("ν" . "ν")
("Ξ" . "Î") ("ξ" . "ξ")
("Ο" . "Î") ("ο" . "ο")
("&Omicront;" . "Î") ("&omicront;" . "Ï")
("Π" . "Î ") ("π" . "Ï")
("Ρ" . "Ρ") ("ρ" . "Ï")
("Σ" . "Σ") ("σ" . "Ï") ("ς" . "Ï")
("Τ" . "Τ") ("τ" . "Ï")
("Υ" . "Î¥") ("υ" . "Ï
")
("&Upsilond;" . "Ϋ") ("&upsilond;" . "Ï") ("&upsilondt;" . "ΰ")
("&Upsilont;" . "Î") ("&upsilont;" . "Ï")
("Φ" . "Φ") ("φ" . "Ï")
("Χ" . "Χ") ("χ" . "Ï")
("Ψ" . "Ψ") ("ψ" . "Ï")
("Ω" . "Ω") ("ω" . "Ï")
("&Omegat;" . "Î") ("&omegat;" . "Ï"))))
}
\version "2.19.82"
\include "greek.ily"
\paper { #(include-greek-characters) }
\markup {
"Ταχ&iotat;στη"
"αλ&omegat;πηξ"
"βαφ&etat;ς"
"ψημ&epsilont;νη"
"γη,"
"δρασκελ&iotat;ζει"
"υπ&epsilont;ρ"
"νωθρο&upsilont;"
"κυν&omicront;ς"
}
_______________________________________________
lilypond-user mailing list
[email protected]
https://lists.gnu.org/mailman/listinfo/lilypond-user