# Use of parenthesis/curly bracket in split environment: Error for curly bracket on opposite sides of \\ [duplicate]

This question already has an answer here:

Any help is most appreciated. Thanks!

\documentclass{article}
\usepackage{amsmath}
\usepackage{mathtool}
\begin{document}
\begin{align}
\begin{split}
& v \cdot \left\{ Ax + b \\
& Cx - d \right\}
\end{split}
\end{align}
\end{document}


## marked as duplicate by egreg, Manuel, Werner, Sean Allred, JesseAug 30 '14 at 18:21

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

## 1 Answer

The breqn package for breaking equations can be used for this purpose. Albeit I think this is a trivial case to apply such a package in. The code using brepn is as follows:

\documentclass{article}
\usepackage{breqn}
\begin{document}

\begin{dmath}
v \cdot \left\{Ax+ b \linebreak
Cx - d \right\}
\end{dmath}

\end{document}


The output in this case:

Other wise, without using breqn one can insert \left . and \right . to balance the curly brackets since no \\ is allowable inside curly brackets.

The output of the first method is not satisfying, so I suggest in this case it is better to use the aligned environment taking into consideration balancing curly braces as mentioned above. Here is the code:

\documentclass{article}
\usepackage{amsmath}
\begin{document}

\begin{aligned} v \cdot \left\{ \right . Ax &+ b \\ Cx &- d \left . \right\} \end{aligned}

\end{document}


And the output is much better: