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
\documentclass[conference]{IEEEtran}
\usepackage{amsmath,graphicx,amssymb,mathtools,mathdots,bm,fixltx2e}
\usepackage[ansinew]{inputenc}
\begin{align*}
\mathbf{x}^{(m,n)}_{ITI}&= \left[xxxxx \cdots xxxxx xxxxx \cdots \\
& \hphantom{{}=1 } xxxxx \right]^T \notag\\
\end{align*}
\end{document}
%-----------error--------------------
! Extra }, or forgotten \right.
<template> }
$}\ifmeasuring@ \savefieldlength@ \fi \set@field \hfil \endtempl...
l.68 \end{align*}
%-------------------------------------
Best Answer
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: