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

8
votes
2answers
1k 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 ...
65
votes
4answers
12k 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
21 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
69 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
43 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
45 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 ...
4
votes
1answer
65 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
35 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
50 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
102 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
54 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
19 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
54 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
36 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
77 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
40 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}$ = ...
90
votes
5answers
122k 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
107 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
48 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
78 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
43 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
58 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
233 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
64 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
31 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
458 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
62 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}}}\\ ...
46
votes
3answers
22k 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
154 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
115 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
436 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
135 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
73 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
25 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
183 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
42 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
135 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
80 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
65 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
36 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
115 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 ...