LaTeX / RMarkdown equation query

Viewed 72

I'm pretty new to LaTeX and R Markdown and am trying to recreate the following equation:

enter image description here

So far, I have the following: enter image description here

My issue is getting the second line to appear inside the curly brackets (apologies for the screenshot, I can't get the code to align properly):

enter image description here

1 Answers

You should use

\begin{equation*}
f(x) = 
 \begin{cases}
   ... & ... \\
   ... & ... }
 \end{cases}
\end{equation*}

In general, there is a separate community for questions about LaTeX: TeX - LaTeX Stack Exchange

Related