lilypond-user
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: e in the time of phi and square root of pi tuplet hijinks


From: mclaren
Subject: Re: e in the time of phi and square root of pi tuplet hijinks
Date: Tue, 8 Nov 2016 15:39:21 -0700 (MST)

Okay, here's the complete version with Unicode chars escaped into the score.
A proper Greek phi and pi symbol. Adding Unicode chars turns out to be dead
simple in Lilypond. 

<http://lilypond.1069038.n5.nabble.com/file/n196356/EXAMPLE_106-e_in_time_of_phi_tuplets_in_14-8_meter.png>
 

And here's the Lilypond code:

\version "2.18.2"

above = { \once \override Script #'script-priority = #-100 } 
below = { \once \override TextScript #'script-priority = #-100 } 


irrtupleta = \once \override TupletNumber.text = 
 \markup \concat { 
    
   "e:" \char ##x03D5  
   
 } 
 
 irrtupletb = \once \override TupletNumber.text = 
 \markup \concat { 
    
   \tiny "√" 
   \hspace #-0.15 
   \override #'(offset . -16) 
   \override #'(thickness . 1.6) 
   \underline \char ##x03c0  
   ":"
  
   "1"
 } 
  

<<
   
   \new Staff { \clef "treble"
\time 14/8
\relative c'
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text

{
c''8[ c''8]
 \irrtupleta \tuplet 1000/595{c''8[ c''8 c''8]} 
 c''8[ c''8]
 \irrtupletb \tweak direction #up \tuplet 1000/564{c''8[ c''8]} 

c''8 c''8
 \irrtupleta \tuplet 1000/595{c''8[ c''8 c''8]} 
 c''8[ c''8]
 \irrtupletb \tweak direction #up \tuplet 1000/564{c''8 c''8} 
 
\tweak direction #down \tuplet 1000/174{ r8}
}

\relative c'
  \override TupletNumber #'text = #tuplet-number::calc-fraction-text

{
c''8[ c''8]
 \irrtupleta \tuplet 1000/595{c''8[ c''8 c''8]} 
 c''8[ c''8]
 \irrtupletb \tweak direction #up \tuplet 1000/564{c''8[ c''8]} 

c''8 c''8
 \irrtupleta \tuplet 1000/595{c''8[ c''8 c''8]} 
 c''8[ c''8]
 \irrtupletb \tweak direction #up \tuplet 1000/564{c''8 c''8} 
 
\tweak direction #down \tuplet 1000/174{ r8}
}
 
}


>>



--
View this message in context: 
http://lilypond.1069038.n5.nabble.com/e-in-the-time-of-phi-and-square-root-of-pi-tuplet-hijinks-tp196325p196356.html
Sent from the User mailing list archive at Nabble.com.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]