lilypond-user
[Top][All Lists]
Advanced

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

Re: string numbers (fingering instructions) as roman numerals?


From: Pierre Perol-Schneider
Subject: Re: string numbers (fingering instructions) as roman numerals?
Date: Mon, 30 Jun 2014 22:02:23 +0200

Hi Philip

2014-06-30 21:32 GMT+02:00 philip <address@hidden>:
 
I was wondering if anyone knows how to override the
default numbering format for string numbers
(default is circled arabic numbers) and use roman
numerals instead.
An example would be something like this:
{ e''\2 } which is an e played on the second
string. The default shows a circled 2 above the
staff. I would like to show a roman numeral II
instead, so there is no confusion between string
and fingering indications. Since roman numerals for
strings are a common convention, i am guessing
there is a setting in lilypond for it that I havent
found.
What i have learned so far is that the StringNumber
is written by the New fingering engraver and has
both a stencil and text property,  but i have not
been able to figure out how to change them to roman
numerals.
 
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\version "2.18.2"
 
{
  e''\2
  % other options :
  %\override StringNumber.font-name = "Roman"
  \override StringNumber.font-size = #-8
  %\override StringNumber.thickness = #1
  \once\override StringNumber.stencil = #(lambda (grob)
         (grob-interpret-markup grob #{
           \markup\circle\override #'(font-name  Roman) "II" #}))
  e''\2
}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

HTH,
Pierre

reply via email to

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