lilypond-user
[Top][All Lists]
Advanced

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

Re: markup of a group of eighth notes


From: Pierre Perol-Schneider
Subject: Re: markup of a group of eighth notes
Date: Fri, 27 Feb 2015 23:41:14 +0100

2015-02-27 22:33 GMT+01:00 Stephen MacNeil <address@hidden>:
thanks very much here is what i did.... also do you know how to get the

\musicglyph #"timesig.C44" whitout printing C i want 4/4 but in a markup ... anyway thanks


Sure : 

\markup\center-column\number { 4 \vspace #-.35 4 }


 

\markup { \vspace #.25 }

% whole

\markup {\halign #-14.5 \raise #.6 \note #"1" #UP " =4 Beats"}

\markup {\halign #-24 \draw-line #'(1 . 4) \halign #-2 \draw-line #'(-1 . 4)}


% half

\markup {\halign #-16.5 \raise #.6 \note #"2" #UP \halign #-5 \raise #.6 \note #"2" #UP " =2 Beats each"}

\markup {\halign #-20 \draw-line #'(1 . 4) \halign #-9.9 \draw-line #'(-1 . 4)}


% quarter

\markup {\halign #-12 \raise #.6 \note #"4" #UP \halign #-5 \raise #.6 \note #"4" #UP \halign #-5 \raise #.6 \note #"4" #UP \halign #-5 \raise #.6 \note #"4" #UP " =1 Beats each"}

\markup {\halign #-13 \draw-line #'(1.2 . 4) \halign #-16 \draw-line #'(-1.2 . 4)}


% eighth

\markup \score {

\transpose c c' {\override TextScript.extra-offset = #'(2 . 1.5) \cadenzaOn e8 [e e e] e [e e e]-\markup " =1/2 a Beat each" }

\layout {

indent = 4.5

\context {

\Score

\omit Clef

\omit TimeSignature

\omit StaffSymbol

}

}

}


Nice!
Here's another one (just in case...)

\markup {
  \override #'(line-width . 80)
  \center-column {
    
    % whole
    \note #"1" #UP
    \vspace #.3
    \line {
      \draw-line #'(1.2 . 4)
      \hspace #1
      \draw-line #'(-1.2 . 4)
    }
    \vspace #.3
    
    % half
    \line {
      \note #"2" #UP
      \hspace #3
      \note #"2" #UP
    }
    \vspace #.3
    \line {
      \draw-line #'(1.2 . 4)
      \hspace #6
      \draw-line #'(-1.2 . 4)
    }
    \vspace #.3
    
    % quarter
    \line {
      \note #"4" #UP
      \hspace #3
      \note #"4" #UP
      \hspace #3
      \note #"4" #UP
      \hspace #3
      \note #"4" #UP
    }
    \vspace #.3
    \line {
      \draw-line #'(1.2 . 4)
      \hspace #10
      \draw-line #'(-1.2 . 4)
    }
    \vspace #-.5
    
    % eighth
    \line {
      \score {
        \new Devnull
          \relative c' { c8[ c c c] }
        \layout {
          indent = #-6
          \context {
            \Devnull
            \consists Note_heads_engraver
            \consists Stem_engraver
            \consists Beam_engraver
          }
        }
      }
      \hspace #3
      \score {
        \new Devnull
          \relative c' { c8[ c c c] }
        \layout {
          indent = #-6
          \context {
            \Devnull
            \consists Note_heads_engraver
            \consists Stem_engraver
            \consists Beam_engraver
          }
        }
      }
    }
  }
  \hspace #1
  \left-column {
    \vspace #.3
    "= 4 Beats each"
    \vspace #2
    "= 2 Beats each"
    \vspace #2.2
    "= 1 Beat each"
    \vspace #2.3
    "= 1/2 a Beat each"
  }
}


Cheers,
Pierre


reply via email to

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