Questions tagged [eqnarray]

the math display environment from LaTeX with alignment points. Do not use this tag for the eqnarray package.

eqnarray is defined by core LaTeX and provides multiline centered math displays with alignment points and equation numbers.

66 questions
3
votes
2 answers

How to align equations in two columns

Here is my code: ‎ \begin{eqnarray}\label{eq:diff_inv}‎ ‎&\mathcal{D}_1 I_{10}=I_{20}-\frac{3}{2}I_{01},\qquad &\mathcal{D}_2 I_{10}=I_{11}-\frac{3}{2}I_{10}I_{01},\\‎ ‎&\mathcal{D}_1 I_{01}=I_{11}-\frac{5}{2}I_{10}I_{01},\qquad &\mathcal{D}_2…
3
votes
4 answers

How can I write an equation with two curly brackets?

I am trying to write this equation. I used these commands: \begin{eqnarray}\label{eqn1} |1, \:\: \:1\rangle &=& \uparrow \uparrow \nonumber \\ |1, \:\:\: 0\rangle &=& \frac{1}{\sqrt{2}}\big(\uparrow \downarrow + \downarrow\uparrow \big) \\ |1,…
amanda
  • 65
3
votes
1 answer

Double linespacing inside equation array

I want to make the spacing between lines inside an equation array wider because the equations are very near to each other, how can I achieve this?
2
votes
1 answer

Latex ((Missing number, treated as zero. ))

\begin{eqnarray*} % \nonumber % Remove numbering (before each equation) (a, b) &=& \{ x \in X | a < x < b \} \\ (a, b] &=& \{ x \in X | a < x \leq b \} \\ [a, b) &=& \{ x \in X | a \leq x < b\} \\ [a, b] &=& \{ x \in X | a \leq x…
2
votes
1 answer

Distance between equation and its reference number

I have the following MWE \documentclass[xcolor=pdftex,t,11pt]{beamer} \begin{document} \renewcommand{\theequation}{A\arabic{equation}} \setcounter{equation}{0}…
Dario
  • 1,340
0
votes
0 answers

The & causes trouble in an array using package versions

I have this MWE \documentclass{book} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{amsmath} \usepackage{versions} %\excludeversion{teacher} \includeversion{teacher} \begin{document} \begin{eqnarray*} a+b&=&c\\ \begin{teacher}X =…
lukascbossert
  • 3,015
  • 1
  • 16
  • 37
0
votes
1 answer

What is the recent change to eqnarray for?

Looking at the PDF of the current LaTeX source, I noticed that very recently (2021-10-14, I believe), the standard definition of the eqnarray environment was changed to "explicitly set \@currentcounter". It seems that the command…
MSC
  • 2,722
0
votes
2 answers

eqnarray gives same equation number to 2 different equations when \nonumber is used

When I write this: \begin{eqnarray} K(t) &=& \arccos\left(\frac{k\cos\alpha}{b}t + \frac{A}{b}\right) \\ \textit{ side A: }\\ K(t) &=& \arccos\left(\frac{k\cos\alpha}{b}t + \frac{B}{b}\right) \end{eqnarray} all three lines are…
0
votes
1 answer

How can I split a long equation in eqnarray?

All equations fit in a single line, but the 3rd line (equation) is too long, so I need to divided it into 2 lines. I have tried \\ but it doesn't work. This is what I have (I added more space in between so you can see the 3rd…
Anna
  • 3
0
votes
0 answers

howto autoref individual equations in an eqnarray

Hi I have the following latex written: They are given as follows by \autoref{maxwelleq1, maxwelleq2, maxwelleq3, maxwelleq4} \cite{maxwellfour}. \begin{eqnarray} \label{maxwelleq1} \text{Gauss' Law:}& \displaystyle \oint_{\partial…
UNAnon
  • 13
-1
votes
2 answers

How to fix this?

I want to edit the problem of equal signs to be under each other. this code to me is perfect, so what would it be the problem.