On 06/09/10 11:34, Grant Edwards wrote:
On 2010-09-05, Stuart Rackham<[email protected]>  wrote:


On 05/09/10 15:41, Grant Edwards wrote:
How do you center an equation when using asciimath?

With the latex filter, you do

["latex",align="center"]
\[ whatever \]

But I can't figure out the equivalent incantation for asciimath.

There is none, asciimath is rendered by ASCIIMathML.js whereas the
latex filter is a pre-generated image and is treated just like any
other image by AsciiDoc.

And there's no way to enclose the output from ASCIIMathML.js in a
"centering" tag/envrironment/whatever?

I don't know, try it out.



That makes asciimath seem a bit half-baked.  Display equations should
always be centered.


I think MathML is the way to go longer term in HTML, once the mainstream browsers support it natively.

--
You received this message because you are subscribed to the Google Groups 
"asciidoc" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/asciidoc?hl=en.

Reply via email to