lilypond-user
[Top][All Lists]
Advanced

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

\flageolet in \markup


From: Ralph Palmer
Subject: \flageolet in \markup
Date: Sun, 27 Dec 2009 09:55:26 -0500

Greeetings -

I'm running LilyPond 2.12.2 under Ubuntu 9.10 (Karmic Koala).

I'm trying to include a flageolet (for indicating a natural harmonic on a stringed instrument) in a markup, and I can't figure out how to do it. I'm including two snippets and the PDF of the one that will run. The snippet with \flageolet included fails, with an error of "unexpected event identifier". I would guess that I need a character identifier for the flageolet, but I can't find it. I've tried including \flageolet in double quotes, but that just produces \flageolet in the markup.

I appreciate your attention and help,

Ralph

%%%%%%%%%% begin first snippet %%%%%%%%%%5
\version "2.12.2"
%\include "english.ly"

%%%%% THIS DOES NOT WORK %%%%%%%%

Test = {
    \key c \major
    \time 4/4
    \relative c'' {
    c4 f\flageolet e g
    }
}

\score
    {
    \Test
    }

\markup {
  {
    \concat {
      s {
    " = natural harmonic."
      }
    }
  }
}

%{

\markup {
  {
    \concat {
      s\flageolet {
    " = natural harmonic."
      }
    }
  }
}

%}

\markup { \wordwrap-string #"To produce a natural harmonic, merely touch the finger lightly against the string; do not press the finger down. " } \markup { { \concat { "" { " = natural harmonic."  } } } }

\score {
  \Test
}

%%%%%%%%%%%%%%%% end first snippet %%%%%%%%%%%%%

%%%%%%%%%% begin second snippet %%%%%%%%%%

\version "2.12.2"
%\include "english.ly"

%%%%% THIS DOES NOT WORK %%%%%%%%

Test = {
    \key c \major
    \time 4/4
    \relative c'' {
    c4 f\flageolet e g
    }
}

\score
    {
    \Test
    }

\markup {
  {
    \concat {
      s {
    " = natural harmonic."
      }
    }
  }
}

\markup {
  {
    \concat {
      s\flageolet {
    " = natural harmonic."
      }
    }
  }
}

\markup { \wordwrap-string #"To produce a natural harmonic, merely touch the finger lightly against the string; do not press the finger down. " } \markup { { \concat { "" { " = natural harmonic."  } } } }

\score {
  \Test
}

%%%%%%%%% end second snippet %%%%%%%%%%%

--
Ralph Palmer
Montague City, MA
USA
address@hidden

Attachment: test2.pdf
Description: Adobe PDF document


reply via email to

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