Google Docs – Formatting Mathematics Cases

formattinggoogle docs

How can I write mathematics equations with multiple cases in Google Documents?

I can't get the code below to work. This is how I would create it in LaTeX:

\begin{cases}
    0               & n = 0\\
    1               & n = 1\\
    f(n-1) + f(n-2) & \text{otherwise}
\end{cases}

It should result in:

enter image description here

Best Answer

cases isn't natively supported by Google Documents as you can see in the list of supported LaTeX operators. Some projects try to extend GDoc's LaTeX capabilities.


Not at present, but Wayback Machine has a copy: https://web.archive.org/web/20160409034821/https://support.google.com/docs/answer/160749?hl=en