I am new to LyX, and I can't figure out how to display multiple equations on the same line. For example, if I want x = y and a = b on the same line with a reasonable amount of space between them, I don't see how to use the LaTeX \qquad command in the middle of a Display Formula environment. I also have a problem with displaying multiple equations one equation above another if they contain fractions -- the fraction is too small. The easiest way to see this is to typeset the following LaTeX code and try to duplicate it using the Math Panel in LyX. Here is the code I was using (as part of a larger document):

\documentclass{article}
\usepackage{amsmath, amssymb}
\begin{document}
The vacuum Maxwell equations are
\begin{subequations} \label{maxwell}
\begin{align}
\nabla \cdot \vec{B} &= 0 & \nabla \times \vec{E} + \frac{\partial \vec{B}}{\partial t} &= 0 \label{first} \\ \nabla \cdot \vec{E} &= 0 & \nabla \times \vec{B} - \frac{\partial \vec{E}}{\partial t} &= 0\label{second}
\end{align}
\end{subequations}
If we let $\vec{B} \mapsto \vec{E}$ and $\vec{E} \mapsto -\vec{B}$, then this \textbf{duality} transformation takes \eqref{first} into \eqref{second} and \emph{vice versa}. If we define the complex vector field
\begin{equation} \label{field}
\vec{\mathcal{E}} = \vec{E} + i\vec{B}
\end{equation}
then duality amounts to the transformation $\vec{\mathcal{E}} \mapsto i\vec{\mathcal{E}}$, and the Maxwell equations \eqref{maxwell} become simply two equations for $\vec{\mathcal{E}}$:
\begin{equation} \label{dualmax}
\nabla \cdot \vec{\mathcal{E}} = 0 \qquad \nabla \times \vec{\mathcal {E}} = i \frac{\partial \vec{\mathcal{E}}}{\partial t}
\end{equation}
\end{document}

The User Guide doesn't seem to address any of this. Any advice would be appreciated.


Reply via email to