On 2013-06-09, at 6:22 AM, Steffen Wolfrum <cont...@st.estfiles.de> wrote:

> Hi,
> 
> usually it is possible to break long formulas.
> 
> But is there a way to do so, when formula is coded in mathml (see example 
> below)?
> 
> Thanks, Steffen

\startformula does not support automatic line-breaking. 

Aditya



> -------
> 
> \placeformula\startformula[9pt]
> \setbuffer <mml:math xmlns:mml="http://www.w3.org/1998/Math/MathML";>
> <msub xmlns="http://www.w3.org/1998/Math/MathML";>
> <mrow>
> <mi>C</mi>
> <mi>E</mi>
> </mrow>
> <mrow>
> <mi>A</mi>
> </mrow>
> </msub>
> <mo xmlns="http://www.w3.org/1998/Math/MathML";>=</mo>
> <mi xmlns="http://www.w3.org/1998/Math/MathML";>F</mi>
> <mo xmlns="http://www.w3.org/1998/Math/MathML";>+</mo>
> <msup xmlns="http://www.w3.org/1998/Math/MathML";>
> <mrow>
> <mi mathvariant="bold">v</mi>
> </mrow>
> <mrow>
> <mi mathvariant="bold">T</mi>
> </mrow>
> </msup>
> <mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="bold">a</mi>
> <mo xmlns="http://www.w3.org/1998/Math/MathML";>+</mo>
> <msup xmlns="http://www.w3.org/1998/Math/MathML";>
> <mrow>
> <mi mathvariant="bold">i</mi>
> </mrow>
> <mrow>
> <mi mathvariant="bold">T</mi>
> </mrow>
> </msup>
> <mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="bold">a</mi>
> <mo xmlns="http://www.w3.org/1998/Math/MathML";>-</mo>
> <mfrac xmlns="http://www.w3.org/1998/Math/MathML";>
> <mrow>
> <mn>1</mn>
> </mrow>
> <mrow>
> <mn>2</mn>
> </mrow>
> </mfrac>
> <mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="bold"> </mi>
> <msup xmlns="http://www.w3.org/1998/Math/MathML";>
> <mrow>
> <mi mathvariant="bold">a</mi>
> </mrow>
> <mrow>
> <mi mathvariant="bold">T</mi>
> </mrow>
> </msup>
> <mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="bold">K</mi>
> <mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="bold"> </mi>
> <mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="bold">a</mi>
> <mo xmlns="http://www.w3.org/1998/Math/MathML";>-</mo>
> <mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="normal">m</mi>
> <mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="normal">a</mi>
> <mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="normal">x</mi>
> <mfenced xmlns="http://www.w3.org/1998/Math/MathML"; separators=".">
> <mrow>
> <msub>
> <mrow>
> <mi>λ</mi>
> </mrow>
> <mrow>
> <mn>1</mn>
> </mrow>
> </msub>
> <mo>,</mo>
> <msub>
> <mrow>
> <mi>λ</mi>
> </mrow>
> <mrow>
> <mn>2</mn>
> </mrow>
> </msub>
> <mo>,</mo>
> <mo>…</mo>
> <mo>,</mo>
> <msub>
> <mrow>
> <mi>λ</mi>
> </mrow>
> <mrow>
> <mi>n</mi>
> </mrow>
> </msub>
> </mrow>
> </mfenced>
> <mo xmlns="http://www.w3.org/1998/Math/MathML";>·</mo>
> <mfenced xmlns="http://www.w3.org/1998/Math/MathML"; open="[" close="]" 
> separators=".">
> <mrow>
> <mi>c</mi>
> <mo>-</mo>
> <msup>
> <mrow>
> <mi mathvariant="bold">f</mi>
> </mrow>
> <mrow>
> <mi mathvariant="bold">T</mi>
> </mrow>
> </msup>
> <mi mathvariant="bold">a</mi>
> <mo>+</mo>
> <mi>l</mi>
> <mfenced separators=".">
> <mrow>
> <msup>
> <mrow>
> <mi mathvariant="bold">v</mi>
> </mrow>
> <mrow>
> <mi mathvariant="bold">T</mi>
> </mrow>
> </msup>
> <mi mathvariant="bold">a</mi>
> </mrow>
> </mfenced>
> </mrow>
> </mfenced>
> <mo xmlns="http://www.w3.org/1998/Math/MathML";>-</mo>
> <mfrac xmlns="http://www.w3.org/1998/Math/MathML";>
> <mrow>
> <mi>r</mi>
> </mrow>
> <mrow>
> <mn>2</mn>
> </mrow>
> </mfrac>
> <msup xmlns="http://www.w3.org/1998/Math/MathML";>
> <mrow>
> <mfenced open="{" close="}" separators=".">
> <mrow>
> <mi mathvariant="bold">λ</mi>
> <mi mathvariant="bold"> </mi>
> <mo>⊙</mo>
> <mfenced open="[" close="]" separators=".">
> <mrow>
> <mfenced separators=".">
> <mrow>
> <mn>1</mn>
> <mo>-</mo>
> <mi>l</mi>
> </mrow>
> </mfenced>
> <mi mathvariant="bold">v</mi>
> <mo>+</mo>
> <mi mathvariant="bold">f</mi>
> </mrow>
> </mfenced>
> </mrow>
> </mfenced>
> </mrow>
> <mrow>
> <mi mathvariant="bold">T</mi>
> </mrow>
> </msup>
> <mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="bold"> </mi>
> <mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="bold">Σ</mi>
> <mi xmlns="http://www.w3.org/1998/Math/MathML"; mathvariant="normal"> </mi>
> <mfenced xmlns="http://www.w3.org/1998/Math/MathML"; open="{" close="}" 
> separators=".">
> <mrow>
> <mi mathvariant="bold">λ</mi>
> <mi mathvariant="bold"> </mi>
> <mo>⊙</mo>
> <mfenced open="[" close="]" separators=".">
> <mrow>
> <mfenced separators=".">
> <mrow>
> <mn>1</mn>
> <mo>-</mo>
> <mi>l</mi>
> </mrow>
> </mfenced>
> <mi mathvariant="bold">v</mi>
> <mo>+</mo>
> <mi mathvariant="bold">f</mi>
> </mrow>
> </mfenced>
> </mrow>
> </mfenced>
> </mml:math>\endbuffer{\processxmlbuffer}
> \stopformula
> ___________________________________________________________________________________
> If your question is of interest to others as well, please add an entry to the 
> Wiki!
> 
> maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
> webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
> archive  : http://foundry.supelec.fr/projects/contextrev/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to