Search code examples
latexknitrmathjaxr-markdown

Rendering Angstrom in R Markdown


I want to make the angstrom symbol in my r markdown document. Normally in latex you can just do \AA for the angstrom symbol. However, I am trying the simple $\AA$ in my r markdown file and it is not rendering. I have tried \AA{}, \Aa, \aa, and

$$  
\AA  
$$  

as well with no luck.


Solution

  • UTF8 has the angstrom, the font is problematic though. Another approach is to use overset.

    These are not perfect as LaTeX, but still acceptable (at least for me).

    $$1Å=10^{−10}m$$
    $$1\overset{\circ}{A}=10^{-10}m$$
    

    enter image description here