[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: truncated math mode in Staff.instrument
From: |
Mats Bengtsson |
Subject: |
Re: truncated math mode in Staff.instrument |
Date: |
Mon, 22 Mar 2004 10:19:48 +0100 |
User-agent: |
Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.6) Gecko/20040113 |
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
address@hidden
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: address@hidden
WWW: http://www.s3.kth.se/~mabe
=============================================