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!
  '(("" . "Α") ("" . "α")
("" . "Ά") ("" . "ά")
("" . "Β") ("" . "β")
("" . "Γ") ("" . "γ")
("" . "Δ") ("" . "δ")
("" . "Ε") ("" . "ε")
("" . "Έ") ("" . "έ")
("" . "Ζ") ("" . "ζ")
("" . "Η") ("" . "η")
("" . "Ή") ("" . "ή")
("" . "Θ") ("" . "θ")
("" . "Ι") ("" . "ι")
("" . "Ϊ") ("" . "ϊ") ("" . "ΐ")
("" . "Ί") ("" . "ί")
("" . "Κ") ("" . "κ")
("" . "Λ") ("" . "λ")
("" . "Μ") ("" . "μ")
("" . "Ν") ("" . "ν")
("" . "Ξ") ("" . "ξ")
("" . "Ο") ("" . "ο")
("" . "Ό") ("" . "ό")
("" . "Π") ("" . "π")
("" . "Ρ") ("" . "ρ")
("" . "Σ") ("" . "σ") ("" . "ς")
("" . "Τ") ("" . "τ")
("" . "Υ") ("" . "υ")
("" . "Ϋ") ("" . "ϋ") ("" . "ΰ")
("" . "Ύ") ("" . "ύ")
("" . "Φ") ("" . "φ")
("" . "Χ") ("" . "χ")
("" . "Ψ") ("" . "ψ")
("" . "Ω") ("" . "ω")
("" . "Ώ") ("" . "ώ"
}
\version "2.19.82"
\include "greek.ily"
\paper { #(include-greek-characters) }
\markup {
  ""
  ""
  ""
  ""
  ","
  
""
  ""
  ""
  ""
}
___
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