So I have an issue aligning two equations which I wish to label/number. I wish to place the equations adjacent to each other, with equidistant spacing in the horizontal (between the equations and the page maxima), and also aligned such that the equal-signs of both equations are in the same line of action horizontally. It may be easier to show you...
These are my three, inadequate, solutions thus far:
Solution 1):
\begin{minipage}[t]{.48\linewidth}
\begin{equation}
\vec{B}_{trap}(\vec{J}_c, \vec{r}) = k \mu_o \vec{J}_c \ \vec{\hat{r}}
\end{equation}\break
\end{minipage}%
\begin{minipage}[t]{.48\linewidth}
\begin{equation}
k = \frac{t}{2a}{\rm{ln}}\left ( \frac{a}{t} + \sqrt{1 + \left ( \frac{a}{t}\right )^{2}} \right )
\end{equation}
\end{minipage}
Solution 2):
\begin{align*}
\vec{B}_{trap}(\vec{J}_c, \vec{r}) = k \mu_o \vec{J}_c \ \vec{\hat{r}} \label{eq:btrap}
& & k = \frac{t}{2a}{\rm{ln}}\left ( \frac{a}{t} + \sqrt{1 + \left ( \frac{a}{t}\right )^{2}} \right ) \\
\end{align*}
Solution 3):
\begin{multicols}{2}
\begin{equation}
\vec{B}_{trap}(\vec{J}_c, \vec{r}) = k \mu_o \vec{J}_c \ \vec{\hat{r}}
\end{equation}
\begin{equation}
k = \frac{t}{2a}{\rm{ln}}\left ( \frac{a}{t} + \sqrt{1 + \left ( \frac{a}{t}\right )^{2}} \right )
\end{equation}
\end{multicols}
Which typesets as so:
As you can see, method 1 and 3 produce numbered and referenced equations, as I need, as they both support the equation environment, however they also are not aligned in the horizontal plane - the equals signs do not share the same line of action horizontally. Whilst the align
method allows this horizontal alignment I have failed to reference more than one equation as it can only handle one \ref{eq1}
. I need to stay away from using tabular
or array
as my thesis document would pick up these equations as a table and list them in the 'tables' section of my document. I think so far the best method is align* but I am unable to produce references and numbered equations with that method (which again, must be seen as equations or my 'equations' page will not list them)
Any ideas? Thanks!
table
environment or an entry in the list of tables.