Skip to content

Tips for LaTex

enumerate

enumerate using alphabet

\begin{enumerate}[label=(\alph*)]

equations

alignment

Use alignat to avoid automatic spaces generated by compiler:

\begin{alignat*}{2}
    (1-\xi)\optpost(I)  &\le{}& \optpost(I')  &\le{} \optpost(I) \\
    (1-\xi)\optprior(I) &\le{}& \optprior(I') &\le{} \optprior(I) \\
    (1-\xi)\optadapt(I) &\le{}& \optadapt(I') &\le{} \optadapt(I)
\end{alignat*}

case

\begin{equation}
  D_{it} =
    \begin{cases}
      1 & \text{if bank $i$ issues ABs at time $t$}\\
      2 & \text{if bank $i$ issues CBs at time $t$}\\
      0 & \text{otherwise}
    \end{cases}       
\end{equation}

font

Normal font:
$\(RQSZ\)$

Calligraphy font:
$\(\mathcal{RQSZ}\)$

Fraktur font:
$\(\mathfrak{RQSZ}\)$

Bold font:
$\(\mathbb{RQSZ}\)$

Comments