ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: mathml linebreak?
Date: Sun, 9 Jun 2013 10:49:49 -0400	[thread overview]
Message-ID: <0E8D647F-CB5E-4477-82DE-E63AE6EC1656@umich.edu> (raw)
In-Reply-To: <50F0A021-D7FF-4E88-A68B-29460D406037@st.estfiles.de>



On 2013-06-09, at 6:22 AM, Steffen Wolfrum <context@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	other threads:[~2013-06-09 14:49 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-06-09 10:22 Steffen Wolfrum
2013-06-09 14:49 ` Aditya Mahajan [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0E8D647F-CB5E-4477-82DE-E63AE6EC1656@umich.edu \
    --to=adityam@umich.edu \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).