0
$\begingroup$

When using MathJax I thought that \begin{cases}...\end{cases} would have each case printed on a separate line.

Instead, the separate cases all all listed on the same line, when I look at it.

How do we fix this?

\sigma(n) =
\begin{cases}
n/2,  & \text{if $n$ is even} \\   
3n+1, & \text{if $n$ is odd}  \\
\end{cases}

SCREEN CAPTURE OF BADLY FORMATTED RENDERED OUTPUT

$ \sigma(n) = \begin{cases} n/2, & \text{if $n$ is even} \\ 3n+1, & \text{if $n$ is odd} \\ \end{cases} $

$\endgroup$
2
  • 3
    $\begingroup$ The MathJax in this question displays in two lines for me. $\endgroup$
    – Discrete lizard Mod
    Commented Jun 5, 2023 at 7:34
  • $\begingroup$ Plus 1, can't reproduce here. $\endgroup$
    – Raphael
    Commented Jun 6, 2023 at 14:51

0

You must log in to answer this question.

Browse other questions tagged .