← Overview
LaTeX reserves a handful of characters for its own use. Obsitex escapes them for you, so you can just type naturally.
In normal text, the LaTeX special characters % & $ # _ ~ ^ < > { } \ are escaped for you — write them as you would anywhere else:
Characters like 5 % off, A & B, a #tag, snake_case, a tilde ~ and a caret ^ are escaped automatically.
A price of $10 is escaped too.
Characters like 5 \% off, A \& B, a \#tag, snake\_case, a tilde \textasciitilde{} and a caret \textasciicircum{} are escaped automatically.
A price of \$10 is escaped too.
To make a Markdown character appear as itself instead of triggering formatting, put a backslash in front of it:
To show a literal asterisk write \* and for a literal underscore write \_.
To show a literal asterisk write * and for a literal underscore write \_.
A line made only of ---, *** or ___ becomes a horizontal rule. Three hyphens inside a sentence stay an em-dash (—); two become an en-dash (–).
A horizontal rule on its own line:
---
An em-dash --- in a sentence stays an em-dash.
\noindent\rule{\linewidth}{0.4pt}
An em-dash --- in a sentence stays an em-dash.
Emoji stay in your document exactly as you typed them. Obsitex never removes them. It does tell you where they are: after a conversion, the result names every note that contains one.
Two things go wrong with them, and neither is something Obsitex can fix for you.
LaTeX cannot print them. Every occurrence produces one error in the log (Unicode character not set up for use with LaTeX). The PDF is still produced, and the character is simply missing from it.
An editor may refuse to let you edit the file. Overleaf does, and it locks the whole file because of a single character. If you want to work on your text there, this is the one that will stop you.
If either gets in your way, replace the characters in your project folder and export again. Nothing is deleted on your behalf: a future LaTeX engine with an emoji font can print them, and that decision is yours.