Hello I’m new to obsidian I was trying to type this command `\left\{`

in math mode to make curly braces size adjust automatically but it keeps giving me an error anyone knows how to solve this?

For every ‘left’ bracket you also need to add a ‘right’ bracket, otherwise it gives an error.

For the curly brackets you have to use an extra `\`

before the bracket, for all other brackets it is not needed.

```
$$
\left\{ \sum_{n=1}^{\infty} \left( 1 - \frac{x^2}{n^2 \pi^2} \right) + \left[ \int_a^b x dx \right] \right\}
$$
```

1 Like

I wanted to write things like this

It didn’t give me an error when I used only one brace in latex, too bad I can’t write those on obsidian

Ok that is something different. This is possible with cases:

```
$$
\begin{cases}
c(a_i) = a_{i+1} & \text{for }1\le i<l\\ c(a_l) = a_1
\end{cases}
$$
```

1 Like

And what about this?

```
$$
% first part
\begin{cases}
\text{case a} \\
\text{case b} \\
\text{case c}
\end{cases}
% arrow
\quad \stackrel{\text{blabla}}{\Longrightarrow} \quad
% second part
\begin{cases}
\text{case 1} \\
\text{case 2} \\
\text{case 3}
\end{cases}
$$
```

1 Like

Thank you very much!

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.