lilypond-user
[Top][All Lists]
Advanced

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

math mode in Staff.instrument


From: Aurèle
Subject: math mode in Staff.instrument
Date: Sun, 21 Mar 2004 20:59:39 +0100
User-agent: Mozilla Thunderbird 0.5 (Windows/20040207)

When I try to use some long math equations into Staff.instrument,
I get error: !Missing $ inserted
or a tex file which does'nt work with dvips
This worked with 2.1.28 version but not with 2.1.31

testfile.ly:
\version"2.1.31"
I = \notes { a1 b1 }

\score{
   \new Staff <<
   \set Staff.instrument = "$$\\alpha_a + \\alpha_b$$"
   \context Voice = "i" {\I}
   >>
   \paper{}
}

I checked into testfile.tex and I read:
...
\lyitem{ -6.6667 }{  7.5358 }{\magfontCRZGomMMBo\hbox{\alpha_b$$}}%
\lyitem{ -6.6667 }{  5.3803 }{\magfontCRZGomMMBo\hbox{+}}%
\lyitem{ -6.6667 }{  2.7803 }{\magfontCRZGomMMBo\hbox{$$\alpha_a}}%
...

Staff.instrument is truncated into small element, but the $$ (or $, i
have tested) math mode is not correctly placed.

How can I get a corrected form - whithout using $ before and after
each symbol?

Regards,
Aurèle Duda
-----------
www.musiquefrancaise.asso.fr




reply via email to

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