{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)

1
vote
1answer
85 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
41 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}$ = ...
93
votes
5answers
125k 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
112 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
58 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 ...
3
votes
3answers
79 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
50 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
59 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
50 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
238 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
67 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
34 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
473 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
70 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}}}\\ ...
47
votes
3answers
23k 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 + ...
2
votes
3answers
162 views

Aligning the equations and equation numbers correctly

I have the following code \documentclass{article} \usepackage{amsmath} \usepackage{amssymb} \begin{document} \begin{minipage}{16cm} Maximization:\\ \begin{minipage}{7.6cm} \begin{align} ...
4
votes
1answer
126 views

Why is there a larger vertical space after the first subequation?

I am using the subequations environment and observe non-uniform vertical spacing between subequations. Specifically, the space between the first and second equation is larger than the other spaces. ...
1
vote
1answer
455 views

Equation signs disappeared

I really hope someone can help me, because I'm soon submitting my master thesis and suddenly this happend: All minus/plus/equal-signs have disappeared from my equations! They have been there all the ...
3
votes
2answers
152 views

amsmath's multline and fleqn

As a fleqn fanatic, I run across this problem once every week: when splitting a long formula using amsmath's multline, the middle lines are flushed left: \documentclass[fleqn]{article} ...
2
votes
1answer
75 views

Problem numbering equations properly

I'm trying to create some equations with amsmath with captions and references. I'd like to suppress the equation number in the margin. I know this can be done using the equation* environment but ...
2
votes
1answer
26 views

Line numbering in Equation

I need that the line numbering in an equation would be: 1, 2, 3, ... and k (instead of default numbering 1, 2, 3, 4, 5). How can I do that? MWE: \documentclass[]{article} \begin{document} ...
2
votes
1answer
27 views

Equation numbers are not showing

I am writing a science report and using the format: \[ \int_{I_0}^I \frac{dI}{I} = ...etc. \label{eqn:myEquation} \] No labels are printing next to the equations If I later \ref{eqn:myEquation} it ...
0
votes
1answer
26 views

Equal sign incorrectly aligns with subscript

If I type \mu_\bar{x}=\mu_x Then the equal sign aligns with the subscript \bar{x}. However, what I want is align the equal sign with the mu, which is the big character, on the left side. How ...
0
votes
1answer
255 views

Change equation number latex

I would like to quote a part of a paper and would like to keep the same numbering of equations. For example, suppose in a paper, the equation appears \begin{equation} 1 + 1 = 2 ...
2
votes
1answer
46 views

\floatfoot and equations

I am using \floatfoot to creates notes for a figure in a paper. I would like to include an equation in the notes for this figure. Specifically, I am trying to use the following code: ...
0
votes
1answer
138 views

How to shade a region outside the sphere in Tikz

I would like to graph the region given by (x-2)^2 + (y+1)^2 + z^2 > 5. So, I'm looking to draw a dashed sphere of radius sqrt(5) centered at (2,-1,0) and then shade everything outside of it. Any ...
3
votes
1answer
82 views

aligning equation

Regarding the enclosed MWE I would like to get the \sums aligned. But using a second & in lines two and three leads of course to a problem with line one. How do I get the desired result? (Looking ...
5
votes
3answers
84 views

Formatting equations to display next to one another

I want to format my equation as follows: x = a y = b x = c y = d Below is the actual Latex code. \begin{align*} kx_{N-1}^2\lambda_{N-1}^2 &= m(x_N - x_{N-1})^2\\ ...
2
votes
1answer
71 views

Double underlining an answer while keeping the equations aligned at “=” symbol

I've just recently started using LaTeX for homework and I'm wondering how I can double underline an answer while still keeping the equations aligned at the "=" symbol? I have this piece of code: ...
2
votes
1answer
34 views

Equation shown as non existing picture with tex4ebook

I successfully compiled a tex source using tex4ebook buy none of the equation ( \begin{equation} ) is shown properly. In calibre viewer I get a blue question mark, the one for "file not found". In ...
2
votes
1answer
39 views

Place overbrace/underbrace outside of a boxed-environment

Is there a simple way (without complex tikz or that stuff) to place an underbrace/overbrace outside of "boxed"-math environment? Would be great when the braces would have same height position outside ...
4
votes
1answer
121 views

Centered set of equations with single numbering

If I want a set of centered equations, \begin{gather} \end{gather} does the job: \begin{gather} i^2 = j^2 = k^2 = -1\\ ij = -ji = k \end{gather} If I want a set of equations with single ...
2
votes
1answer
152 views

Extremely long equations giving overfull hbox

I am using wxMaxima for doing homework. I have extremely long mathematical equations. I exported my work to a .tex file. But now I have several overfull bad box warnings. I tried to use geometry ...
5
votes
1answer
91 views

Tikz node positioning in math-environment especially \frac

(this is my first TEX-question). I'm trying to label an equation within a tikzpicture. I did it this way: \documentclass[15pt,a4paper,headinclude, totoc]{scrartcl} ...
13
votes
2answers
455 views

Which packages/practices are relevant for writing Structured Derivations? (similar to Dijkstra's calculational style of proofs)

Does anyone know of any packages that support this style of writing proofs? The only things that I've found are: tex-ewd, a bunch of plain TeX macros on CTAN written specifically with Dijkstra in ...
2
votes
1answer
25 views

Numbering equations in sections and sub-sections

In general, I would like to number equations using the sub-section number, so for example, if I am in sub-section 2.3, then it should number the first equation in this section (2.3.1). To do this, I ...
2
votes
2answers
68 views

Proper etiquette for using a lemma in a series of equations?

Suppose we have something like: \begin{equation} \begin{split} a &< b \\ ab &< bc \\ abc &> bcd \\ abcd &> bcde \end{split} \end{equation} And to get the third line, abc ...
3
votes
2answers
120 views

Aligning multiple rows and columns with different number of equations (Align environment)

I am trying to achieve the following structuring with an align environment: Each of the first two rows has 2 equations, which should be aligned. In the third and fourth row, there should be one ...
3
votes
1answer
201 views

How to close \Big( with an invisible bracket?

When then opening and closing of a bracket are not on the same line, LaTeX demands 'invisible' brackets or it will get confused and not compile. Example: \begin{equation} \begin{aligned} A = 5 ...
8
votes
2answers
154 views

New environment for boxed equations

I would like to define new environments to highlight certain equations in some way. For example, I would like a highlighted equation to appear in red text or with a box around it. I have the red text ...
5
votes
2answers
99 views

Trouble with spacing between section title and equations

I am trying to create a formula sheet so I only have section titles and equations in my documents. I am having trouble with the spacing between my section header and the equations that I want as the ...
6
votes
4answers
135 views

Align multiple equations with parts inside root

I am having trouble aligning the following inequalities in such a way that, on the right hand side, the first bracketed parts within the cube root are aligned below each other. Additionally i would ...
3
votes
1answer
82 views

Underbrace an equation with its result

I have several formulas that are too long to fit into the \textwidth of my page. That's why I want them underbraced with the result-formulation beneath them. Something like this. ...
1
vote
1answer
72 views

Numbering an array of equations

I want to do this thing in an equation array mode. Exactly same in the figure.
2
votes
2answers
101 views

Labeling an equation with letters [duplicate]

Is there a way to label an equation with letters instead of numbers? For instance, \begin{equation} \label{Problem} \phi'(t)=f(t, \phi(t)). \end{equation}
2
votes
2answers
54 views

Special treatment of equation numbers i.e. \overline or \widehat [duplicate]

Is there a way to make the equation numbers with an over line or over hat? Can this be done for just a couple equations?
3
votes
3answers
106 views

Equation spacing and aligning

Can anyone help me to properly align my formula in my equation-environment. I do not manage to make a space between them, to align them that the colons are over each other, and that the smaller ...
2
votes
1answer
58 views

Unnecessary vspace for align/equation when it's first on page

I'm using the align environment and now I have the problem that one of my formulas is the first object on a page with some vspace before it. But this looks a bit odd, because it isn't in line with the ...
1
vote
1answer
46 views

Leftalign, align and have only one number

I have an equation that I want to leftalign. Also I needed to split this equation due to its length and since we are talking only about one equation, I want to give this equation only one number, not ...