Re: [newbie] Some \markup stuff

2019-01-15 Thread David Kastrup
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

2019-01-15 Thread Kieren MacMillan
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

2019-01-15 Thread Kieren MacMillan
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

2019-01-15 Thread David Kastrup
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

2019-01-14 Thread Mark Probert
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

2019-01-14 Thread Aaron Hill

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

2019-01-14 Thread Mark Probert
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

2019-01-14 Thread Kieren MacMillan
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

2019-01-14 Thread Mark Probert


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