Re: [newbie] Some \markup stuff
Kieren MacMillan writes: > Hi David, > >> That's a lowercase math gamma. > > LOL > > Yes, I’m so used to using that in my number theory papers, I wasn’t > thinking about the OP’s likely use. Thanks for clarifying! ἐν ἀρχῇ ἦν ὁ λόγος or "text first". -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [newbie] Some \markup stuff
Hi Mark, On Jan 14, 2019, at 11:58 PM, Mark Probert wrote: > it comes out just the way I am after! Yay! Onward and upward. =) Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [newbie] Some \markup stuff
Hi David, > That's a lowercase math gamma. LOL Yes, I’m so used to using that in my number theory papers, I wasn’t thinking about the OP’s likely use. Thanks for clarifying! Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [newbie] Some \markup stuff
Kieren MacMillan writes: > Hi Mark, > > [Welcome to the 'Pond!] > >> I want to get the verbb text to show as italic. > > The easiest way is probably: > > verbb = \lyricmode { > \override LyricText.font-shape = #'italic > ut re mi fa sol la > } > >> Second question: I want to replace the "G" in verba with a Greek Upper >> Gamma (Γ doesn't work). Is there a simple way of doing this? > > Make sure your file is being saved with Unicode (UTF-8) encoding, and > simply put the gamma (𝜸) in there directly. That's a lowercase math gamma. You mean Γ instead (the normal uppercase text gamma) which of course is also available in a lowercase variant γ. You really really don't want to use math fonts for text. -- David Kastrup ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [newbie] Some \markup stuff
Aaron wrote: >> > 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. > Thanks! There's so much to learn about this Lilypond environment... .. m. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [newbie] Some \markup stuff
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 lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [newbie] Some \markup stuff
You wrote: > > The easiest way is probably: > 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! Thanks again. ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
Re: [newbie] Some \markup stuff
Hi Mark, [Welcome to the 'Pond!] > I want to get the verbb text to show as italic. The easiest way is probably: verbb = \lyricmode { \override LyricText.font-shape = #'italic ut re mi fa sol la } > Second question: I want to replace the "G" in verba with a Greek Upper > Gamma (Γ doesn't work). Is there a simple way of doing this? Make sure your file is being saved with Unicode (UTF-8) encoding, and simply put the gamma (𝜸) in there directly. Hope that helps! Kieren. Kieren MacMillan, composer ‣ website: www.kierenmacmillan.info ‣ email: i...@kierenmacmillan.info ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user
[newbie] Some \markup stuff
Hi, all. I've hit a small snag which I can't find an elegant solution for. In the following snippet I want to get the verbb text to show as italic. I can surround each element with \markup \italic{ xx } but that is ugly. And I can't seem to see anything obvious jumping out of the documentation to help. Second question: I want to replace the "G" in verba with a Greek Upper Gamma (Γ doesn't work). Is there a simple way of doing this? Any pointers greatly appreciated! TIA .. mark. ---< cut >--- chant = \relative c { \clef bass g1 a b c d e } verba = \lyricmode { G A B C D E } verbb = \lyricmode { ut re mi fa sol la } \score { \new Staff << \new Voice = "melody" \chant \new Lyrics = "one" \lyricsto melody \verba \new Lyrics = "two" \lyricsto melody \verbb >> \layout { \context { \Staff \remove "Time_signature_engraver" \remove "Bar_engraver" \hide Stem } } } ---< cut >--- ___ lilypond-user mailing list lilypond-user@gnu.org https://lists.gnu.org/mailman/listinfo/lilypond-user