I am writing a two column document. I am trying to fit following equation in one column.

I read following thread and tried to fit my equation to the given solution but it didn't work

Aligned equations in LaTeX


\mathbf{x}^{(m,n)}_{ITI}&= \left[xxxxx \cdots xxxxx xxxxx  \cdots  \\ 
                        &  \hphantom{{}=1 }  xxxxx \right]^T  \notag\\



! Extra }, or forgotten \right.
<template> }
            $}\ifmeasuring@ \savefieldlength@ \fi \set@field \hfil \endtempl...
l.68 \end{align*}

  • Welcome to TeX.SX! Your example misses desparately a \begin{document} – user31729 Sep 15 '14 at 15:16
  • 2
    It's the usual problem: you can't have \left in one alignment cell and the matching \right in another. Just omit them, they serve no purpose in this case. When larger fences are needed, use \bigl, \Bigl, \biggl or \Biggl for the opening and \bigr, \Bigr, \biggr or \Biggr for the closing. – egreg Sep 15 '14 at 15:18
  • Well, there is the trick \right]., but it's not nice ;-) – user31729 Sep 15 '14 at 15:20

You can break such an equation while keeping alignment points with a code borrowed from mathtools. I define a \rowvect command that can have as an optional argument \big, \Big, &c.. The optional argument inserts a pair of \bigl…\bigr and the like. It also defines a starred version that inserts a pair of \left…\right.

Demoboth with the classical trick (\left./\right.) and the new command, in which I also propose another alignment:


\newcommand\MTkillspecial[1]{% helper macro


\mathbf{x}^{(m,n)}_{ITI}&=\!\begin{multlined}[t]\left[xxxxx ⋯ xxxxx xxxxx ⋯ \right. \\
                        \left. xxxxx \right] ^T\end{multlined} \\
\mathbf{x}^{(m,n)}_{ITI}&= \!\begin{multlined}[t]\rowvect[\Big]{xxxxx ⋯ xxxxx xxxxx ⋯ \\[-1.5ex] xxxxx}^T\end{multlined} \\
\mathbf{x}^{(m,n)}_{ITI}&= \rowvect[\Big]{xxxxx ⋯ xxxxx xxxxx ⋯ \\[-1.5ex] & \hphantom{{}=1 } xxxxx}^T\


enter image description here

| improve this answer | |

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.