{equations} is about the various environments to typeset displaystyle mathematics, e.g. equation and {align}. For general questions about mathematical typesetting use {math-mode}. Both tags are possible on the same question.

learn more… | top users | synonyms (1)

2
votes
1answer
32 views

Missing } inserted. \end{alignat}? why this error keeps on popping up?

here is a part of my code, which I am trying to run. \begin{alignat}{2} [M]: \max_&Z ~ \label{eqnP27}\\ \mbox{s.t.}~ %capacity constraints & \sum_{k \in H} y_{k} \leq ...
2
votes
1answer
47 views

What is the difference between `split`, `multline`, `align`, `breqn` for breaking an equation into multiple lines?

Sorry if this question sounds a bit amateurish but I haven't been able to find a good summary about the differences between these four environments for multi-lining an equation. Where do they differ ...
0
votes
0answers
26 views

Stack Exchange latex equations how [migrated]

What are the , sorry my terminology may be of, latex 'tags' used on this site? E.g. on TeXworks on my pc its \( to open and \) to close. its \begin{equation} to open and \end{equation} to have an ...
10
votes
3answers
362 views

Boxed equation with number

My minimum working example: \documentclass{report} \usepackage{amsmath} \begin{document} \begin{center} \boxed{K_{k+1}=P_ka_{k+1}^T(a_{k+1}P_ka_{k+1}^T+I_N)^{-1}} \end{center} \end{document} ...
2
votes
2answers
44 views

Bold brackets in equations

I want to write an equation with bold extended brackets. For instance in: \left[ \frac{1}{2} \vec{\nabla} \times \vec{v} \right] I want \left[ and \right] to be bold. I already tried ...
0
votes
1answer
22 views

Parenthesis Size in a multiline equation

How can I use \left(.... \right) which automatically adjust size of parenthesis with it's inside content, in a multiline equation in \begin{align} and \begin{equation} environment.
3
votes
1answer
36 views

italics spilling over to the rest of the text

I have a simple line here: Let training data \textit{X} consist of x_{i...n} observations, where.... The intention is to let x have subscript i..n. This happens, however, after x_i..n, all the ...
0
votes
1answer
63 views

How to set the position of an equation in LaTeX?

In normal equation I do not have any problem. However for long equation I need to use figure so that my equation appear more obviously. (Note: I am using two column paper style). This is the equation ...
1
vote
1answer
17 views

How to add comments in align environment [duplicate]

I find it is necessary to add some explanation in a series of equations. Ideally, I would like to get something like the following picture (Resnick 1999). As you can see, the equations are still ...
4
votes
1answer
22 views

Making certain equation environments larger

I'm writing a lab report in LaTeX that involves a lot of equations. I wish for some equations to be larger than normal, owing to the fact that there are a lot of terms that are in the exponential, and ...
1
vote
0answers
38 views

Multiple equations given the same number

Without doing anything "odd" LaTeX has starting assigning the same number to different equations. It labels them fine up until 31, then it goes back to 30, then again 31, then again 31. After this it ...
0
votes
1answer
43 views

Extra Space between equation and line above that

How the distance between first line and equation and last line and equation is different. How to remove the extra space. I am using this code According to given assumption that n is a power of 2 ...
2
votes
2answers
46 views

How to use flushleft with eqnarray*?

I'm using WinEdit 9.0 along with MikeTex 2.9. My document preamble reads as follows: % ---------------------------------------------------------------- % Article Class (This is a LaTeX2e document) ...
6
votes
3answers
47 views

Equation number in aligned environment after last line

I'm using aligned inside align as follows \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} x =&22+2 \nonumber\\ =& \begin{aligned}[t] &5+3\\ &-3+4\\ &+15-0 ...
6
votes
4answers
85 views

Aligning equations with two equal signs

I am trying to write three equations, second with two equal signs. I would like the first two to be aligned by the first equal sign, and the second and third by the second equal sign. I have the ...
5
votes
4answers
1k views

framed equations

I'm aware of possibilities to frame an "important" equation in Latex as the one suggested in mathmode for instance but I thought it would be nice to have a dedicated environment instead of putting ...
8
votes
2answers
996 views

Black and white emphasis for \boxed?

I am using \boxed to place emphasis on important equations in an assignment I am typing up, and would like to give the final answer a bit of extra emphasis. I'm using \begin{equation} ... ...
0
votes
0answers
22 views

Framing equations [duplicate]

Is there any simple way of framing an equation? I often use \framebox{$ mathematics $}, but wish to use the frame around a numbered equation, not fussed whether the numbering appears inside the frame ...
0
votes
0answers
16 views

How to set equation number with respect to the article instead of chapter? [duplicate]

I am working on a paper which is based on a special template. I need to use the \chapter to organize by document. In each chapter, if I have \begin{equation}, the equation is number with the chapter ...
58
votes
4answers
10k views

What are the differences between $$, \[, align, equation and displaymath?

I once learnt, that it is uncool to use $$, but why is that? Why does \[ not act as a abbreviation to \begin{align}? I noticed, that there is a difference, since one cannot use & and \\ inside a ...
0
votes
0answers
17 views

different modes to typest systems of equations [duplicate]

Would it be bad style to use in displaymode an array with three colums that are right-center-left ("rcl") oriented instead of eqnarray, to typeset systems of differential of equations ? The spacing ...
0
votes
2answers
62 views

How to write an equation in LaTeX?

How do I write this equation in LaTeX? Vo = ( R1/( R1+R4)-R2/(R2+R3) ) x Vs
1
vote
1answer
26 views

Undefined control sequence with \overbar

can anyone tell me why I get an "undefined control sequence" error with the following code please? \documentclass[times]{fldauth} \usepackage{amsmath} \usepackage{amsthm, amssymb, amsfonts} ...
1
vote
2answers
26 views

Section-level equation numbers follow previous section numbering

I am using \numberwithin{equation}{subsection} to number my equations uniquely for each subsection in my article. For example: Section 1 Title 1.1 Subsection 1.1 Title a=b (1.1.1) a+2=b+2 ...
1
vote
1answer
34 views

Incompatibility between lineno and equation*

In addition to a lot of others incompatibilities, also there is one between lineno and equation*. Is there any chance to have the lineno package updated to solve this problem? Does anybody here knows ...
4
votes
1answer
60 views

Dashed line in equation

What I want: What I have: with this code: \documentclass[11pt, titlepage]{report} \begin{document} \begin{equation} \label{eq:quark1} \left( \begin{array}{c} u \\ c \\ t \end{array} ...
0
votes
2answers
29 views

Aligning two equations without losing enumeration

I have following two equations which I want to align following two equations (equality signs have to match), without losing their enumeration: \documentclass[a4paper,12pt]{report} ...
3
votes
2answers
39 views

Refer to the “name” of an equation, while a List of Equations is generated using these names

I link two questions below because I use their solution, to number my equations and generate a list of my equations. My question about numbering equations: Number of Equation: 1, 1a, 1b Generate a ...
4
votes
2answers
38 views

Resizebox within equation environment

How does the resize command work with the equation environment? The following code results in an error. \begin{equation}\label{model3_coef} \resizebox{0.91\hsize}{!}{y_{t}^{3} = -145.071 - ...
1
vote
1answer
40 views

incomplete \ifodd , all text was ignored… error

shall you please help me to know why here I have got an error ? : \begin{document} \begin{equation}\label{3-6} \begin{aligned} \overline{\epsilon}_{ij} = \frac{1}{V} \int_V \epsilon}_{ij} dV\\ ...
0
votes
0answers
17 views

Can I display an equation in latex beamer presentation step by step? How? [duplicate]

I'm making a presentation in beamer LaTeX and I want to explain an equation. I want it to apear on the screan step by step, like I would be constructing it. Is it possible? Thanks!
6
votes
2answers
38 views

Expand arrows within an array

Any ideia of how I can expand the \xrightarrow so that they all have the same size? (for aesthetics) \documentclass{article} \usepackage{amsmath} % \text nas equacoes \usepackage{mathrsfs} ...
11
votes
1answer
2k views

Describing steps in an equation

I am always describing the steps on how a formula is achieved or describing the underlying Mathematical principles taken to solve a problem in the align environment. But the descriptions are not ...
0
votes
0answers
18 views

Different \eqref{} styles depending on the number of arguments

I am using the following command to make references to equations of the form "Eq. (X.X)" \let\originaleqref\eqref \renewcommand{\eqref}{Eq.~\originaleqref} (see: Modify \eqref command) But there ...
1
vote
1answer
50 views

missing $ inserted in figure caption

using a formula in my figure I got this error , here is my formula, how do I correct it ? thanks a lot \begin{figure}[H] \centering \caption{Net = \sum w_{i} p_{i}} \label{fig:f7} ...
2
votes
1answer
39 views

missing } inserted in my formula

Latex has a missing } inserted error in my formula, I didnt see a missing thing in it : \begin{document} \begin{equation}\label{3-5} \begin{aligned} u^{_{A}}_{i}$ - $u^{_{B}}_{i}$ = ...
89
votes
5answers
108k views

eqnarray vs align

Motivation I want to include a list of related equations, say, for a proof, in my LaTeX document. As far as I know, I have two good options, eqnarray and align. Question What is the difference ...
4
votes
2answers
87 views

How can I set a letter in a equation both small and bold

I want to set the "\widehat{\mathbf{x}}" part smaller but I've no idea how can I do it. Any suggesting would be very grateful. \documentclass[12pt]{article} \usepackage{amsmath} \begin{document} ...
3
votes
2answers
37 views

Strange endgroup errors and enumerate errors are everywhere

I am writing a document. Problem with equations After I tried to put two equations into the document, LaTeX started giving me a whole bunch of errors such as: \begin{document} ended by ...
24
votes
3answers
2k views

Getting a tikz picture to have an equation number

I make a lot of commutative diagrams and am trying to switch to Tikz from amcd,diagrams, etc. I often have to refer to these diagrams in the text and would rather have them as equations (i.e. with and ...
2
votes
3answers
75 views

how can I write these equations in 2 columns

Since the answers exist , I changed and edited my code to the setting part of it , so I could ask you to please help me , how to edit mine to be able to correctly use your codes, above all , I ...
1
vote
0answers
28 views

How to label equations effectively and efficiently?

I am writing a thesis containing a lot of equations. One problem I am facing is how to label them well enough so that it is easier to refer to them later on. Currently, I tried to name every equation. ...
1
vote
2answers
48 views

the equation number jumps to the left of the page

I wrote a code and I wonder following the regular order , the number jumps to the left of the page \documentclass[11pt,a4paper,twoside,openright]{report} \usepackage{setspace} \usepackage{graphicx} ...
1
vote
2answers
46 views

The equation number doesn't appear

I was trying to create an aligned numbering of equations, but I don't know if I am using the right order, the equation numner does not appear: \documentclass[11pt,a4paper,twoside,openright]{report} ...
6
votes
1answer
205 views

fleqn document class option, long text lines, and hyperref package

When the fleqn option is used, the vertical spacing before an equation placed right after a "long" text line (exactly \linewidth I would say) is improperly set up. See below: From the mathmode user ...
6
votes
2answers
52 views

Hyperref adds vertical space to equation environment [duplicate]

When the length of the text prior to an equation environment approaches \textwidth, hyperref adds an extra vertical space, as illustrated by the following snapshot: The corresponding code is ...
2
votes
1answer
20 views

Group equations with right brace and give single equation number

i want to write equation like this a right brace to cover those equations and mark them with single equation number what modifications need to be done to my code? \begin{flalign*} &Y ...
7
votes
2answers
414 views

Write this equation in latex

I want to write this equation in latex: I need that comments be in right side. I did something like this but it has some flaws. \begin{eqnarray} \label{cons1} % \begin{aligned} ...
0
votes
1answer
47 views

Optimization formulas in LaTeX

This is the code I'm using for my optimization problem. \begin{equation} \begin{array}{rrclcl} \displaystyle \min_{w,b,\xi} & \multicolumn{3}{l}{\frac{1}{2}w^{t}w+C\sum_{i=1}^{N}{\xi_{i}}}\\ ...
45
votes
3answers
19k views

How to get only one vertically centered equation number in align environment with two equations

What I have are two equations with align and I want one single equation number to refer to this system of equations. To illustrate, I have \begin{align} dr_t &= \kappa ( \theta - r_t ) dt + ...