My problem is that I want to reuse the spacing in a certain math equation like:
\begin{equation}
\begin{array}{l@{\hspace{3mm}}c@{\hspace{3mm}}l}
... & := & ... \\[4mm]
& =: & ...
\end{array}
\end{equation}
This equation is followed by some text and then I want to repeat the above equation with the same spacings between array-columns. Is it possible? Out of the box I will get another spacing made by tex on the basis of the math symbols.
Perhaps it is possible to stick to one equation environment and insert the text in the equation. However \mbox{...}
or \text{...}
is not good enough because the text must show up in paragraph mode, left aligned w.r.t. the page.
W.r.t. the answer of Harish Kumar a MWE of my problem:
\documentclass{article}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{amsfonts}
\usepackage{amsthm}
\usepackage{mathtools}
\usepackage{relsize}
\usepackage{stmaryrd}
\usepackage{bm}
\begin{document}
\noindent
Example 1 (not ok):
\begin{align}
\begin{array}{l@{\hspace{3mm}}c@{\hspace{3mm}}l}
a \cdot b & := & a \cdot \mathlarger{\llbracket\,} 0, \, b \mathlarger{\,\rrbracket} \\[4mm]
& =: & ...
\end{array}
\intertext{In the group this means that ... }
\begin{array}{l@{\hspace{3mm}}c@{\hspace{3mm}}l}
a & = & b.
\end{array}
\end{align}
Example 2 (ok):
\begin{align}
\begin{array}{l@{\hspace{3mm}}c@{\hspace{3mm}}l}
a \cdot b & := & a \cdot b \\[4mm]
& =: & ...
\end{array}
\intertext{In the group this means that ... }
\begin{array}{l@{\hspace{3mm}}c@{\hspace{3mm}}l}
a & = & b.
\end{array}
\end{align}
\end{document}
Best Answer
You can use
align
and(short)intertext
:Dealing the edited question:
You can get rid of
array
too:If this goes for long, you may add
\allowdisplaybreaks
in your preamble.