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

11
votes
3answers
338 views

Alignment in math equations

How can I align my equations as in the image below? I know \begin{equation} \begin{split} x_1'(t) &= x_1(t)+2 x_2(t) \\ x_2'(t) &= 3 x_1(t) \end{split} ...
3
votes
3answers
44 views

Gathering underbraces

this is my first question in this website. I have to say that it is being very useful for me to visit this site to learn how LaTeX works, so congratulations. So, the question is, how can I do this? ...
6
votes
2answers
130 views

Equation numbering in square brackets [duplicate]

Does anyone knows how can I use square brackets instead of parenthesis when numbering my equations? I used this command: \begin{equation} y = 2x \end{equation} The number appears on the right ...
2
votes
1answer
39 views

How to move amsmath equation label into LHS margin?

I am using amsmath and I would like to move the equation label into the left hand side margin aligned with the top of the equation. I have looked through the documentation but I can't find anything on ...
10
votes
3answers
10k views

How can I box multiple aligned equations?

This question is two-fold. In my document, I currently have boxes around single equations like so: \documentclass[11pt]{article} \usepackage{amsmath} \begin{document} \begin{equation} ...
2
votes
1answer
30 views

Digit zero with a dot inside also in text mode

\documentclass[a4paper,11pt]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{lmodern} \usepackage{empheq} \makeatletter \newcommand*{\pmzerodot}{% \nfss@text{% ...
2
votes
3answers
63 views

Like displaymath, but without math-mode

I often find myself doing things like \[ \begin{tabular}{cc} foo & bar \\ baz & qux \end{tabular} \] or \[ \begin{verbatim} code snippet \end{verbatim} \] to put a table or code snippet ...
20
votes
1answer
2k views

Does a tool exist which can take a LaTeX equation and convert it to a format suitable for evaluation in Wolfram's Mathematica?

I use LaTeX to type up my homework, but as I work I often need to pop things into Mathematica (or manually type them in, or manually use my TI-89, etc.). Currently, I've been manually translating ...
5
votes
1answer
67 views

equation exceeds page width after changing document class from “article” to “beamer”

I write "article" at first, but I also need pdf in "beamer" version. But I found for those long equations appears fine in "article" will exceed the page width in "beamer" mode. So is there a method to ...
6
votes
2answers
89 views

How to avoid extra equation numbers while using subequations?

I searched through the web but I could not find the solution to my question: I try to write equation in the following format: TYPE a: A = {mathematics relation-a} 3.1 TYPE b: B = {mathematics ...
2
votes
1answer
70 views

Long equation design patterns in LaTeX

Is there an acceptable design pattern for how to type out LaTeX math formulas that have a lot of internal dependencies (the formulas do not necessarily have to be very long, just be very packed ...
2
votes
3answers
103 views

Help on typesetting an equation with fraction in numerator and denominator

I have the following equation: \documentclass{report} \begin{document} \begin{equation} T_e=\frac{T_{disch}\cdot e^{\frac{T_{ahe}-T_{disch}}{LMTD}}-T_{ahe}}{e^{\frac{T_{ahe}-T_{disch}}{LMTD}}-1} ...
0
votes
0answers
29 views

labeling equations in an appendix [on hold]

I recently added an appendix to my report and noted that the equations labelling is messed up. For example, when I refer to equation A.1 which was mentioned earlier in the appendix, it writes [12] ...
0
votes
1answer
84 views

Justified alignment for equations

I am writing a IEEE journal paper full of equations and with center alignment the paper looks so messy. I needed to justified align at least those that are coming successively one after another. I ...
3
votes
1answer
24 views

Can split and array work together?

I have the following problem. I need an equation which contains arrays and which should be on different lines because too long for one line. This is the code: \begin{equation} \begin{split} ...
0
votes
0answers
25 views

Is there a package to do function substitution and evaluation? [duplicate]

Is there any way to get function substitution and evaluation automated in LaTeX? That is, if I have $f(x)=x^3 + 3x^2 - 2x - 14$, and I want to show students what $f(2)$ means, I want it to ...
2
votes
2answers
42 views

Equation mode, labelling equations

I have the following \[K^{-1}\left\|\sum\limits_{n=1}^N a_ny_n\right\| \leq \left\|\sum\limits_{n=1}^N a_nx_n\right\| \leq K\left\|\sum\limits_{n=1}^N a_ny_n\right\| (\dagger)\] But the ...
5
votes
2answers
118 views

What is the difference between align and equation environment when I only want to display one line of equation?

I am typesetting a physics document, and sometimes I need to type equations of several lines while in most cases I only need to type one-line formula. So is it OK if I always use align environment ...
3
votes
1answer
65 views

How to put a box around just one equation inside eqnarray?

I would like to put a box around \dot{\mathcal{N}}_0+ik\mathcal{N}_1=-\dot{\Phi} inside the eqnarray below. I used \boxed{}, but did not work. \documentclass[a4paper,12pt]{article} ...
3
votes
1answer
38 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
55 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
365 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
48 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
37 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
66 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
18 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
23 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
50 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
88 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
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 ...
60
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
18 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
29 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
28 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
35 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
40 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
41 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
18 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!