* Different fonts in inline equation in latex pdf export
@ 2013-04-16 17:45 Sanjib Sikder
2013-04-16 19:35 ` Suvayu Ali
2013-04-17 16:47 ` Nicolas Goaziou
0 siblings, 2 replies; 3+ messages in thread
From: Sanjib Sikder @ 2013-04-16 17:45 UTC (permalink / raw)
To: emacs-orgmode
[-- 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 --]
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Different fonts in inline equation in latex pdf export
2013-04-16 17:45 Different fonts in inline equation in latex pdf export Sanjib Sikder
@ 2013-04-16 19:35 ` Suvayu Ali
2013-04-17 16:47 ` Nicolas Goaziou
1 sibling, 0 replies; 3+ messages in thread
From: Suvayu Ali @ 2013-04-16 19:35 UTC (permalink / raw)
To: emacs-orgmode
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.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Different fonts in inline equation in latex pdf export
2013-04-16 17:45 Different fonts in inline equation in latex pdf export Sanjib Sikder
2013-04-16 19:35 ` Suvayu Ali
@ 2013-04-17 16:47 ` Nicolas Goaziou
1 sibling, 0 replies; 3+ messages in thread
From: Nicolas Goaziou @ 2013-04-17 16:47 UTC (permalink / raw)
To: Sanjib Sikder; +Cc: emacs-orgmode
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2013-04-17 16:47 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2013-04-16 17:45 Different fonts in inline equation in latex pdf export Sanjib Sikder
2013-04-16 19:35 ` Suvayu Ali
2013-04-17 16:47 ` Nicolas Goaziou
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.