Org mode has support for showing unicode in place of latex commands through org-pretty-entities
. Org mode also has support for underlining through font locks that are activated through the _
character. If everything fails then I can directly input unicode characters through the character viewer (on OSX).
However, I have never been able to get emacs to render overlines or characters with bars on top, e.g. ̅B , using any of the above three methods. Is there a way to show such characters in org-mode? Can font-lock automatically render code like \bar{B} as ̅B ?
UPDATE: Thanks to the comment I made partial progress. By adding ("̅" (:overline t))
to org-emphasis-alist
barber
is rendered with a bar/overline when I enter C-x 8 RET 0 3 0 5 RET
barber
C-x 8 RET 0 3 0 5 RET
.
But what I'd really like is to just enter, \bar{barber} to toggle its overline attribute. Is this possible?
org
with more markups to get it to work. This answer appears to offer a roadmap to doing so.