Use single dollar signs instead of double! $$...$$ produces an equation typeset on its own line, whereas $...$ produces an equation within a line of text (or music in this case).
However, just as you, I find it very strange that LilyPond breaks the string into several strings. I consider that a bug.
/Mats
Aur�le wrote:
Using lily2.1.31 on XP/cygwin
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
_______________________________________________ Bug-lilypond mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-lilypon d
-- ============================================= Mats Bengtsson Signal Processing Signals, Sensors and Systems Royal Institute of Technology SE-100 44 STOCKHOLM Sweden Phone: (+46) 8 790 8463 Fax: (+46) 8 790 7260 Email: [EMAIL PROTECTED] WWW: http://www.s3.kth.se/~mabe =============================================
_______________________________________________ Bug-lilypond mailing list [EMAIL PROTECTED] http://mail.gnu.org/mailman/listinfo/bug-lilypond
