emacselisporg-modeemacs24

How to add a ℃ in org-mode which can be correctly exported to latex


I tried sometimes and realized that exporter can recognize $1100^{\circ}C$ and 1000^\circ, but can not recognize 1000^\circC and 1000^\circ C correctly, so which is the best way to add a ℃? I would not like to use $1100^{\circ}C$, because it need to add two whitespaces in both sides.


Solution

  • Why not use an appropriate wysiwyg character here.

    A sample org file:

    Foo! The temp is 12 °C.
    

    The PDF after C-x C-e l o:

    pdf preview

    Different extended alphabet symbols can be typed with Emacs' C-x 8 subbindings. For instance:

    Key            Gives
    ---------------------
    C-x 8 o         °
    C-x 8 u         µ
    

    Be sure to check C-x 8 C-h for some of the mapped symbols.

    Check also the input method TeX. It is pretty cool. It translates directly written TeX macros into unicode symbols. C-\ TeX RET and you're set.