Re: [O] Different fonts in inline equation in latex pdf export

2013-04-17 Thread Nicolas Goaziou
Hello,

Sanjib Sikder sanjibju2...@gmail.com writes:

 While pdf exporting an inline equation from org-mode, I am getting two
 different fonts in the equation. I have attached an example .org file
 with the equation and the generated output files (.pdf and .tex). In
 the .tex file I can see \mathrm which is causing the problem it seems.
 How to fix the issue ?

 #+Author: 
 #+Date:
 A_{x}B_{1-x}

This should be fixed in 8.0.


Regards,

-- 
Nicolas Goaziou



Re: [O] Different fonts in inline equation in latex pdf export

2013-04-16 Thread Suvayu Ali
On Tue, Apr 16, 2013 at 11:15:00PM +0530, Sanjib Sikder wrote:
 Hi,
 
 While pdf exporting an inline equation from org-mode, I am getting two
 different fonts in the equation. I have attached an example .org file
 with the equation and the generated output files (.pdf and .tex). In
 the .tex file I can see \mathrm which is causing the problem it seems.
 How to fix the issue ?

  A_{x}B_{1-x}

The above is not an inline equation.  This is just sub/superscripted
text in normal flowing text.  For proper inline math-mode you have to
use:

  \( A_{x}B_{1-x} \)

If instead you want an unnumbered equation, use:

  \[ A_{x}B_{1-x} \]


Hope this helps,

-- 
Suvayu

Open source is the future. It sets us free.