# Org-mode \ang from siunitx is overruled by the \angle symbol on pdf export

I'm trying to use the package siunitx to format my scientific notations/values more nicely, but I can't get one thing to work, possibly due to my pdf-process.

I type in my orgfile something like this: \ang{95;13;14}N.

Expecting it to output: 95°13'14". In stead it outputs ∠{95;13;14}N.

I #+INCLUDE: this file with my LaTeX settings:

# page setup
#+LaTeX_CLASS: article
#+LaTeX_CLASS_OPTIONS: [a4paper]
#+LaTeX_CLASS_OPTIONS: [12pt]
#+LaTeX_CLASS_OPTIONS: [twoside]

# placement of TOC anywhere

# mathtools

# fix margin

# citation style

# chemical formulae

# SI units simplified


And I use this line for my latex-pdf process in my init file:

(setq org-latex-pdf-process
'("latexmk -pdflatex='pdflatex -interaction nonstopmode' -pdf -bibtex -f %f"))


Any ideas how to resolve this?

EDIT

I've opened up the exported .tex file and there I can see the problem: org mode has exported $$\angle$$\{65;;\}N, so it seems like emacs is extending \ang into \angle. If I manually edit the tex file and export it works correctly. Any idea how to stop it from doing this?

Disable entities. Or if you want to keep using entities remove the "ang" entry.

(with-eval-after-load 'org-entities
(setq org-entities
(cl-remove-if (lambda (x) (and (listp x) (equal (car x) "ang"))) org-entities)))


I simply had to make sure to add math delimiters as described in @LaTeX{} fragments.

$$\ang{45;23;23}$$N

• This still doesn't solve everything for me though. If I want to add chemical equations with isotopes in text-mode with \ce{^{13}C} for example, it returns {¹³C}. Forcing it to math-mode works but will result in different outlining right? – Japhir Jul 29 '16 at 23:10
• here they say that \ce{} always needs math delimiters, so I guess it's no problem :). – Japhir Jul 30 '16 at 1:38