Questions tagged [eqnarray]

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

Filter by
Sorted by
Tagged with
1 vote
1 answer
501 views

Quarto PDF not rendering

My Quarto PDF isn't rendering! Here is the error output in the terminal once I press "Render" in RStudio: pandoc to: pdf output-file: LearningLaTeX.pdf standalone: true pdf-engine: ...
Anish G.'s user avatar
3 votes
1 answer
63 views

3 vertical points between three equations that are lined up

I'm trying to put vertical lines between the equations, but I can't do it. Here's my MWE. \begin{align} \frac{dx_1}{dt} &= f_1&(x_1,\dots,x_i, x_n)\\ \vdots & &\vdots \\ \frac{dx_i}{dt}...
JuanMuñoz's user avatar
  • 1,394
3 votes
1 answer
52 views

How to cross-reference the second equation in a two-row 'eqnarray' environment with a single \label instruction?

I have written a two-row equation in this way: \begin{eqnarray}\label{cov} a \\ & =& b. \end{eqnarray} with as a result If I write (\ref{cov}) I get "(10)". Do you know how to ...
MementoMori's user avatar
0 votes
1 answer
43 views

How to use a line break in eqnarray without adding a new equation number?

I am working on a two-columned page and want to write a long formula. I want to use eqnarray so that I can label my equations and refer to them. Not working with eqnarray, I have the following code: \...
Emil's user avatar
  • 370
1 vote
1 answer
28 views

Unique numbering for two lines of equations

How can you place the numbering of the equation as in the image? (I have observed that in Cauchy problems, it appears this way) Thanks.
eraldcoil's user avatar
  • 213
2 votes
1 answer
68 views

TeX4ht: \displaystyle in eqnarray, align and array environments

I am using tex4ht to convert a LaTeX document to HTML. I would like to know how to obtain a full display of equations either in the eqnarray, align and array environments. The following snippet ...
Frédéric Galliano's user avatar
0 votes
0 answers
182 views

{Align} keeps showing error messages and error "File ended while scanning use of \@@BOOKMARK" as well

I am trying to write a list of formulas below but this error message keeps appearing ! Missing $ inserted. <inserted text> $ l.614 \end{align} This is what I have: \begin{align}...
Kateřina's user avatar
3 votes
2 answers
298 views

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_{...
Mustafa Bazghandi's user avatar
0 votes
1 answer
114 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 \@...
MSC's user avatar
  • 2,672
3 votes
3 answers
240 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 ...
Shane's user avatar
  • 378
2 votes
2 answers
58 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}...
Prateek Daniels's user avatar
2 votes
1 answer
105 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^...
ZDN's user avatar
  • 23
2 votes
3 answers
172 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 [-...
Jacob's user avatar
  • 23
3 votes
2 answers
80 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 &=&...
cccfran's user avatar
  • 35
2 votes
2 answers
50 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^{\...
just another mathmo's user avatar
2 votes
3 answers
142 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}...
ngc1300's user avatar
  • 157
0 votes
2 answers
54 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{...
Mustafa Kesir's user avatar
3 votes
4 answers
679 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{...
amanda's user avatar
  • 65
0 votes
0 answers
132 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} \...
Marco Zaro's user avatar
0 votes
0 answers
35 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 ...
John's user avatar
  • 101
4 votes
3 answers
182 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 ...
Marcus's user avatar
  • 143
1 vote
0 answers
253 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 ...
Triceratops's user avatar
1 vote
1 answer
54 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)&=...
KEIICHIRO OSUNA's user avatar
3 votes
1 answer
430 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 ...
thunder's user avatar
  • 133
6 votes
1 answer
141 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 ...
alphamu's user avatar
  • 163
0 votes
3 answers
65 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 %...
Ghulam Hafeez's user avatar
0 votes
1 answer
360 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 ...
Anna's user avatar
  • 3
3 votes
1 answer
152 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 ...
Péter Trócsányi's user avatar
0 votes
1 answer
243 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} ...
Marco Di Gennaro's user avatar
2 votes
2 answers
894 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)\\...
Ongky Denny Wijaya's user avatar
3 votes
1 answer
394 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 ...
bjorne's user avatar
  • 617
0 votes
0 answers
36 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&...
Sabrina Marques's user avatar
1 vote
0 answers
40 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. ...
GNO's user avatar
  • 11
2 votes
1 answer
53 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 &...
user avatar
2 votes
1 answer
317 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 ...
Elle's user avatar
  • 23
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:}...
UNAnon's user avatar
  • 13
0 votes
0 answers
225 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, ...
wonderich's user avatar
  • 2,337
1 vote
1 answer
179 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 & ...
matt's user avatar
  • 23
1 vote
1 answer
92 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: \...
William Wong's user avatar
4 votes
3 answers
238 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) ...
Mohamed Hasnaoui's user avatar
-1 votes
2 answers
128 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.
TCHassna Taha's user avatar
0 votes
1 answer
86 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{\...
io_gucci's user avatar
3 votes
3 answers
3k 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 ...
user55777's user avatar
  • 133
4 votes
1 answer
2k 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 ...
Federico's user avatar
  • 853
2 votes
2 answers
61 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 & ...
Alexandre Loures's user avatar
2 votes
2 answers
76 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 \...
Valerio De Angelis's user avatar
0 votes
1 answer
215 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 ...
Jotas's user avatar
  • 1
0 votes
1 answer
39 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}...
Ghulam Hafeez's user avatar
1 vote
1 answer
233 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} ...
monalisa's user avatar
  • 685
0 votes
1 answer
184 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{...
Red shoes's user avatar
  • 203