Quantcast
Channel: Active questions tagged mathtools - TeX - LaTeX Stack Exchange
Viewing all articles
Browse latest Browse all 122

box several horizontally connected cells in an array. Is there a command similar to \Aboxed?

$
0
0

I would like to box several horizontally connected cells in an array. \Aboxed from mathtools is only working for two horizontally adjacent cells, and is omitting any extra cells.

\documentclass{article}\usepackage{mathtools}\begin{document}\textbackslash Aboxed works for ``boxing'' two horizontally adjacent cells in an array.\[    \begin{array}{lclcl}        \Aboxed{1&+}&1&=&2    \end{array}\]However, when I try to box more horizontally connected cells, it does not work. In fact, every cell except the first two are omitted.\[    \begin{array}{lclcl}        \Aboxed{1&+&1&=&2}    \end{array}\]How can I overcome this?\end{document}

Viewing all articles
Browse latest Browse all 122

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>