Questions tagged [eqnarray]
the math display environment from LaTeX with alignment points. Do not use this tag for the `eqnarray` package.
54
questions
0
votes
1
answer
75
views
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 \@...
3
votes
3
answers
179
views
Equation is floating in two columns and in equation array package
I'm sorry for such a basic question, however, I'm asking because I'm quite close to the deadline. So, my equations are floating on 2nd column based on the below MWE, I was trying to compress it ...
2
votes
2
answers
55
views
Aligning two equations (one split and another non-split)
I have the below two equations,
\begin{eqnarray}
\begin{split}
C_{N+1} &= h\left( X_{N+1}; \hat{\phi}_{N+1} \right) + \left[ h\left( X_{N+1}; \phi_{N+1} \right) - h\left( X_{N+1}; \hat{\phi}_{N+1}...
1
vote
1
answer
69
views
page break in eqnarray enviroment
I am going to write my thesis by including the List of symbols which are more than a page. I have written it as
\begin{center}
\begin{eqnarray*}
\mbox{A} & - & \mbox{ Area of fin's surface ($m^...
2
votes
3
answers
129
views
Errors on multi-line equation with brackets
I am running this code for an equation that runs over into the margins:
\begin{eqnarray}
N(t,x) &=& \inf_{u_{I+1} \in [-u_{I+1}, w_{I+1}], T_{I+1} \in \Real_+} \left\{ \inf_{u_I \in [-...
3
votes
2
answers
48
views
Shrink vertical space eqnarray
How to globally shrink the vertical space between lines in eqnarray? I understand eqnarray is not preferable but it is a legacy file for reprint.
\begin{eqnarray}
1 + 1 &=& 2 \\
1 + 1 &=&...
2
votes
2
answers
35
views
Eqnarray mutiple equals in each line
I'd like to produce the following array of aligned equations:
\begin{eqnarray*}
\operatorname{Cov}\left(u^{\prime} X, v^{\prime} Y\right) &=& u^{\prime} \Sigma_{xy} v &=& \alpha^{\...
2
votes
3
answers
94
views
Line-breaking two equations within equation array
I have the code
\begin{eqnarray}
&&\nonumber
\left.\begin{array}{l}
& \textbf{E}_{\textrm{tr}} (x,y,z)= \left(\ts \textbf{s} + \tp \textbf{p}_+\right) \, \exp\lec{i {\ko}...
0
votes
2
answers
51
views
eqnarray gives same equation number to 2 different equations when \nonumber is used [closed]
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{...
3
votes
4
answers
658
views
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{...
0
votes
0
answers
65
views
latexdiff messes up equations and eqnarray
I am using latexdiff(1.3.0) to track some changes in a latex file. My problem is that, for some eqnarray part of the file which does not change between the two versions, such as
\begin{eqnarray}
\...
0
votes
0
answers
30
views
Unable to properly align equations
I've got a system of equations that I can't seem to be able to properly aligned. I've attached an image of how I want to align the equations - all the red points aligned together, and all the blue ...
4
votes
3
answers
172
views
Problem with joint use of multicols and eqnarray
I am using multicols and eqnarray, as shown below. However, I don´t know how to get rid of the vertical space before equation (1) and also how to align the lines across columns. Any ideas? Thanks in ...
1
vote
0
answers
110
views
Framing an equation and equation array (boxed)
I want to nicely put equations and equations arrays inside a box or a frame.
I also like to align objects in align environment like in the eqnarray environment [r|c|l], see example below.
Working ...
1
vote
1
answer
41
views
Align eqnarray elements in multicols [duplicate]
I want to align the elements of an eqnarrray between 2 columns.
\usepackage{multicol}
\usepackage{color,amsmath}
\begin{document}
\begin{multicols}{2}
\begin{eqnarray*}
f'(x)&=...
3
votes
1
answer
142
views
How to put an equation number at the first line?
\begin{eqnarray} \label{eq1}
\begin{split}
A & = \frac{\pi r^2}{2} \\
& = \frac{1}{2} \pi r^2
\end{split}
\end{eqnarray}
What this gives me: an equation number between the first and the ...
6
votes
1
answer
93
views
Way to tile numbered equations
New to the LATEX and am not tempted at this at all. Honestly tried to find the solution for my task anywhere but, to the best of my understanding, there is no topic here which covers the solution of ...
0
votes
3
answers
58
views
Long equation running into margin (no linebreak)
\documentclass[12pt, a4paper, oneside]{CUIThesisV}
\usepackage{placeins}
\usepackage{multirow}
\usepackage{mathrsfs}
\usepackage{amssymb,amsthm}
\begin{document}
\begin{equation}\label{C2eq61}
\tiny
%...
0
votes
1
answer
78
views
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 ...
3
votes
1
answer
138
views
What causes this misalignment bug in eqnarray?
Edit: The following example code is slightly misleading because it contains non-breakable space (which actually causes the bug, see solution). Beware that Option + space produces this character and it ...
0
votes
1
answer
134
views
multiple equations on same row in array
I would like to have a system of equation, say 2x2, and have each one labeled and numbered independently.
Please check the example below.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
...
2
votes
2
answers
814
views
Why the integral symbol is small?
I want to write equation with this code.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{eqnarray}
&\dfrac{d\mu(x)}{dx} &= \mu(x)\left(\dfrac{x}{1+x^2}\right)\\...
3
votes
1
answer
234
views
Subequation numbering in iopart
Given a system of equations (1a), (1b), etc. I want to be able to reference both (1a) and the entire system (1). This is trivial with subequations, but in an iopart document this environment does not ...
0
votes
0
answers
34
views
Problem writting an equation
It's me again. I'm trying to write this equation:
I wrote this way in Latex:
\begin{document}
\usepackage{amsmath}
\begin{eqnarray*}
(M - I) \cdot v = 0 &\Leftrightarrow&...
1
vote
0
answers
35
views
Mock vertical scroll in eqnarray/align environment
I find that the size of beamer frames is often too small to display verbose calculations. Running a calculation over multiple frames is awkward and one could wish for a vertical scroll on slides. ...
2
votes
1
answer
37
views
aligning addition symbols in array
I have been trying to figure out how to put addition symbols in between each of the following characters for this code:
\begin{equation}
\begin{array}{c|ccccc}
&a_0 &...
2
votes
1
answer
214
views
Align within an (fl)align environment
I have a centered list of equations, and I'd like each of the equations to begin at the same margin from the left, then to have the equality signs start at the same margin, etc., whilst keeping the ...
0
votes
0
answers
23
views
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:}...
0
votes
0
answers
143
views
revtex4-1 onecolumn: Remove the extra long blanks before/after eqnarray
In revtex4-1 onecolumn, I find the extra-long blanks (sentence breaks) before/after eqnarray, like this
question: How to remove the extra long blanks before/after eqnarray?
\documentclass[11pt, ...
1
vote
1
answer
110
views
How to align chemical reactions in multiple environments?
How do I align (by arrow) chemical reactions in different environments (between text)?
Example: Two arrays.
\begin{eqnarray}
A & \longrightarrow & A' \\
B & \longrightarrow & ...
1
vote
1
answer
54
views
label in eqnarray after brackets
May I know how to add labels for the constraints in the LP set such as (3b), (3c), etc.? It seems like once I added \right}, the label function does not work anymore.
And this is what I have now:
\...
4
votes
3
answers
169
views
How insert a text on middle right of eqnarray
I want to write the text (1st case) on the middle right of this two equation, any idea for this? Thank you.
\begin{eqnarray*}
% \nonumber % Remove numbering (before each equation)
...
-1
votes
2
answers
121
views
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.
0
votes
1
answer
75
views
Label eqnarray split and align
I've this tex code
\begin{eqnarray}
&\partial_{t}f =D \nabla^{2}f -f (1-f)[(1-s)-(2-s)f]\epsilon \label{eqn:1}\\ \nonumber
&\\
\text{from which we get}
&\partial_{t}f =- \frac{\...
2
votes
3
answers
934
views
Shrink the font size of a long equation
I have edited a very long equation in the eqnarray environment and broken some long lines at the appropriate positions with \nonumber\\ (see the small example below). After compiling, the equation ...
4
votes
1
answer
1k
views
How to have a multiline equation in an array of equations?
I am in the situation where I need to define some parameters similar to each other.
For this reason I would like to define them in an eqnarray or align.
Unfortunately, one of the right hand part of ...
2
votes
2
answers
56
views
How to align a set of multiple equations on a set of multiple aligned?
With a set of multiple aligned equations are becoming misaligned as follows:
\begin{equation*}
DGE
\left \{
\begin{aligned}
& FEGE & & &
\left \{
\begin{aligned}
& & CGE & ...
2
votes
2
answers
62
views
Labelling equations with eqnarray
I would like to produce the following output:
To be precise, I would like the two equations to be aligned as produced by \eqnarray*, and the two labels L_1 and L_2 to also be aligned. I could use \...
0
votes
1
answer
109
views
Number equation problem in eqnarray
I have a little problem with my equations using eqnarray and I can't solve some of them.
1) I have zeros between the equations numbers (in all equations). To solve that I saw this code below (and it ...
0
votes
1
answer
38
views
IEEE class does not print long equations more than one page or one column
\begin{equation}\label{eq6}
\begin{array}{l}
MI\left( {{E_i},{E^t},E_k^n,E_l^m} \right) =
\\p\left( {{E_i} = 0,E_j^t = 0,E_k^n = 0,E_l^m = 0} \right)\\
\\
\times {\log _2}\left( {\frac{{p\left( {{E_i}...
1
vote
1
answer
177
views
How to reduce gap between two \begin{eqnarray} .... \end{eqnarray}?
I have two equations of \begin{eqnarray} .... \end{eqnarray} in latex using editor WinEdt. How can I reduce the space between them?
\begin{eqnarray}
l(P_5) = abc
\end{eqnarray}
\begin{eqnarray}
...
0
votes
1
answer
164
views
\begin {eqnarray} does not work properly, in the latest version of (La)Tex?
\documentclass[11pt]{article} \textwidth 160mm\textheight 235mm
\oddsidemargin-2mm \evensidemargin-2mm\topmargin-10mm
\UseRawInputEncoding
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{...
5
votes
2
answers
635
views
Equation Array Exceed Right Margin
I write equations in eqnarrayuse Latex, but there are lines that exceed the right margin, how to fix it?
This is my code:
\begin{eqnarray}
k_1&=&hf(t_i, y_i)=hf_i \label{$k_1$ RK-4}\\...
2
votes
1
answer
512
views
Latex ((Missing number, treated as zero. <to be read again>)) [duplicate]
\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) ...
6
votes
2
answers
1k
views
Substitute for eqnarray?
Firstly, sorry for my english level, I'm French.
Secondly, I've read eqnarray environment becomes obsolete, and we have to replace this by align. Ok, but it's not satisfying for me. I explain :
\...
1
vote
0
answers
292
views
Difference between eqnarray and eqnarray* [duplicate]
What is the difference between environments eqnarray and eqnarray* in a LaTeX input document?
5
votes
1
answer
495
views
Multi-line long equation vanishes few brackets
\begin{eqnarray*}
M \to {P_j}:{} & \left\{ {{{\left( {{n_1},{n_2},{{\left( {profile,{N_i},{N_i}\left( {\mathop \leftrightarrow \limits^{K_S^i} } \right){P_j},\\ & \# \left( {{N_i}\left( {\...
1
vote
2
answers
172
views
How to make \begin{align} looks like \begin{eqnarray}
I trying to align a programming model using eqnarray but the command \tag do not work with it, I could use align instead but the alignment is right for the first column and left for the second column. ...
4
votes
2
answers
103
views
eqnarray: redefinition of underscore conflicts with labels containing underscores!
The underscore redefinition I use for having roman subscripts (see example) is preventing me from defining labels within eqnarray environments. How can I solve this? (This problem doesn't appear when ...
2
votes
1
answer
652
views
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?