On Sat, Jun 6, 2009 at 1:59 PM, Silas Brown<ss...@cam.ac.uk> wrote:
> Continuing the thread from November 2007:
> (see http://www.mail-archive.com/lilypond-u...@gnu.org/msg32740.html )
>
> Here is a Python hack that can add numbered notation (Chinese jianpu) to a 
> line
> of music.  The numbered notation is added as ^\markup commands that include
> appropriate EPS files.  These EPS files are generated using pslatex (you need
> the PostScript fonts for LaTeX, although you could substitute Computer Modern
> fonts by replacing pslatex with latex but then the jianpu numbers will not 
> match
> Lilypond's other text).  The music parser is extremely basic, so don't try it 
> on
> anything too complicated.  Octaves must be absolute, and must be in the range 
> c'
> to b'''.  However it is OK not to specify length on every note.  Numbering 
> with
> 1=C is assumed (although the script can easily be adapted to other 
> numberings).
>
> The script works well for me in Lilypond 2.10.33.  However it does not work so
> well in 2.12.2 because the ^\markup commands are re-positioned so much (which 
> is
> a good attempt to avoid collisions, but it often results in the jianpu numbers
> being printed at different heights just because they are a little close to 
> each
> other).  Does anybody know how to do it better in 2.12.2?

Have you tried \textLengthOn? See Notation Reference 1.8.1

Andrew


_______________________________________________
lilypond-devel mailing list
lilypond-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/lilypond-devel

Reply via email to