If you want to expression in exactly that format, you have to use either MathML 
or simply use a PNG of the expression.  If you will settle for an equivalent 
expression, you can use a mathphrase element:

<mathphrase>
   (<replaceable>M</replaceable><superscript>1</superscript>-
   <replaceable>M</replaceable><superscript>2</superscript>)
   /<replaceable>Si</replaceable>
</mathphrase>

I am including some line breaks to make it easier to mail, but in your source 
you may not want to have the line breaks.  You may or may not want to use the 
replaceable element to wrap the alpha values (I don’t know which are constants 
and which are variables) as it italicizes them.

Regards,
Larry Rowland

From: David Gao [mailto:[email protected]]
Sent: Monday, June 07, 2010 7:25 AM
To: [email protected]
Cc: Richard Quadling; [email protected]
Subject: Re: [docbook] HOW TO: format formula in docbook 5

Hi Richard,

Thank you very much for the information.

However, I was told that the formula can be expressed with docbook xml elements 
without using any MathML tags. I've tried all ways I can think of, but no good. 
Could you help me with this?


Best Regards!

David Gao
=================================


-------- Original Message  --------
Subject: Re: [docbook] HOW TO: format formula in docbook 5
From: Richard Quadling <[email protected]><mailto:[email protected]>
To: David Gao <[email protected]><mailto:[email protected]>
Date: 2010-6-7 20:38


On 7 June 2010 12:16, David Gao 
<[email protected]><mailto:[email protected]> wrote:



Hi,



I'm a beginner of docbook 5. I have difficulty when formatting a math

equation with docbook xml. The equation is a mathematical fraction as

included in the attachment.



Could anyone be kind enough to tell me how to express that equation in

docbook xml?





Many thanks!





--

Best Regards



David Gao ([email protected]<mailto:[email protected]>)



---------------------------------------------------------------------

To unsubscribe, e-mail: 
[email protected]<mailto:[email protected]>

For additional commands, e-mail: 
[email protected]<mailto:[email protected]>







I would suggest using MathML.



The references I could find ...



http://www.mail-archive.com/[email protected]/msg04388.html

(with subsequent threads)



http://www.w3.org/TR/MathML2/chapter2.html#fund.examples



http://www.sagehill.net/docbookxsl/MathML.html







--------------------------------------------------------------------- To 
unsubscribe, e-mail: [email protected] For additional 
commands, e-mail: [email protected]

Reply via email to