Problem statements and notes use Markdown with LaTeX math and a small set of LaTeX-style text commands.

FeatureCodeRendered
Paragraphs
First paragraph.

Second paragraph.

First paragraph.

Second paragraph.

Bold and italic
\textbf{bold}, \emph{italic}, and \textit{also italic}

bold, italic, and also italic

Markdown emphasis
**bold** and _italic_

bold and italic

Inline math
Let $a^2 + b^2 = c^2$.

Let a2+b2=c2a^2 + b^2 = c^2.

Display math
$$\sum_{k=1}^{n} k = \frac{n(n+1)}{2}$$

k=1nk=n(n+1)2\sum_{k=1}^{n} k = \frac{n(n+1)}{2}

Line break
First line\\Second line

First line
Second line

Links
\url{https://example.com} and \href{https://example.com}{example link}

https://example.com and example link

Underline, strike, monospace
\uline{underlined}, \sout{removed}, \texttt{code}

underlined, removed, code

Non-wrapping text
\mbox{do not break this} and \fbox{boxed text}

do not break this and boxed text

Special characters
\{ \} \% \_ \& \$ \# \textasciicircum{} \textasciitilde{} \textbackslash{}

{ } % _ & $ # ^ ~ \

HTML is shown as text
<script>alert("x")</script>
<script>alert("x")</script>

Notes

  • Use $...$ for inline math and $$...$$ for display math.
  • Raw HTML is escaped and shown as text.
  • Uploaded attachments can be referenced as Markdown images, for example: ![figure](attachment:figure.png).