-
Notifications
You must be signed in to change notification settings - Fork 1
Lessons learned
Wout Dillen edited this page Mar 25, 2025
·
1 revision
Note
This page collects some more issues that are useful to know about, but don't surface all that often.
When encoding URLs (e.g. with \url{}, you may run into errors when they use special characters, such as hashtags (#). When this happens, the special character should be ‘escaped’ with a forward slash (\).
So for example:
\url{https://www.example.com/#/details?test=true}
Would become:
\url{https://www.example.com/\#/details?test=true}
Some symbols (incl. \smile and \cup are considered as mathematical symbols, and should be placed on a line that is surrounded by $-signs -- or LaTeX will throw an error.
For an example, see Subacius in Variants 15-16:
\begin{center}
$\cup - \cup - \cup \| \cup - \cup - \cup$
$\cup - \cup - \cup \| \cup - \cup - \cup$
$\cup - \cup - \cup \| \cup - \cup - \cup$
$\cup - \cup - \cup \| \cup - \cup - \cup$
\end{center}