[-- Attachment #1: Type: text/plain, Size: 399 bytes --] 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 ? ----------------------------- Sanjib Sikder Ph.D. Fellow Chemical Engineering IIT Bombay [-- Attachment #2: try.org --] [-- Type: application/octet-stream, Size: 32 bytes --] #+Author: #+Date: A_{x}B_{1-x} [-- Attachment #3: try.pdf --] [-- Type: application/pdf, Size: 46242 bytes --] [-- Attachment #4: try.tex --] [-- Type: application/x-tex, Size: 675 bytes --]
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.
Hello, Sanjib Sikder <sanjibju2002@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