Code: Select all
\begin{align*}
A\land B &= B\land A & \text{commutativity}\\
&= X & \text{as defined above}
\end{align*}
Is this how syntactically this is done? If not, how is it done?
Thanks in advance.
Code: Select all
\begin{align*}
A\land B &= B\land A & \text{commutativity}\\
&= X & \text{as defined above}
\end{align*}
Code: Select all
\begin{align*}
a &= 1 & b &= 2 \\
c &= 3 & d &= 4
\end{align*}
Code: Select all
\begin{align*}
A\land B &= B\land A && \text{commutativity}\\
&= X && \text{as defined above}
\end{align*}
Code: Select all
\begin{align}
\text{minimize}\quad&
\sum_{ij}c_{ij}x_{ij}
\label{obj}\\
\text{subject to}\quad&
\sum_{j}x_{ij} \geq 1
\stepcounter{equation}
\label{everything}
\tag*{$\forall i\quad$(\theequation)}
\end{align}
References are wrong, though, as in \ref{everything}.
Code: Select all
\begin{align}
\text{minimize}\quad & \sum_{i\in I}\sum_{j\in (P\cap \mathcal{A})} x_{ij}y_j-\sum_i\sum_j k_iy_j+N\cdot\sum_ik_i\\
\text{subject to}\quad & \sum_i x_{ij} = 1 \hspace{5cm}\forall j\in (P\cap \mathcal{A}) | j \geq \zeta
\label{alloneX}
\end{align}