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

26
votes
2answers
54k views

Attractive Boxed Equations

I often used \boxed{...} from the AMS math package to place a box around important equations. However, this approach often produces somewhat awkward looking output. Consider \documentclass{article} ...
2
votes
2answers
283 views

Unable to include equation featuring special symbols

I am designing an article, and using the amsmath package. I tried to use the following to include an equation in my document: \begin{equation} |\psi\rangle = \alpha|0\rangle + \beta|1\rangle ...
12
votes
3answers
973 views

polytopes as inequalities sistem solutions in R3 (x-y-z) cartesian space

i'm here to ask if there's a TikZ/pgf support to draw areas resulting from a system of linear inequalities, into a xyz cartesian space. i found examples of my needs for xy plan at How to plot polygon ...
2
votes
2answers
1k views

Overfull hbox on a tiny equation?

My microscopic equation is 2.8 points too wide for some reason, which is quite a lot. I am reluctant to ignore the warning because if I get more of them I'll start missing important things. Code is: ...
7
votes
2answers
483 views

How to show a placeholder instead of an equation?

I am looking for functionality similar to the endfloat package but for equations. Instead of displaying an equation I would like to display a placeholder such as [equation 1 here] Does anyone know ...
2
votes
2answers
484 views

How can I align text, a diagram and a set of equations at the top?

I used the right environment + commands but I don't understand why my "1." the top of the diagram and the first line of the equation don't line up. Whatever else follows doesn't have to be aligned but ...
1
vote
1answer
409 views

Using \jot crashes \intertext’s spacing

As mentioned in Intertext vertical spacing, there seems to be some inconsistencies in spacing around AMS’ macro \intertext, even without changing the length of \jot. But if I’m using a longer \jot to ...
32
votes
5answers
3k views

LaTeX accessibility

Does anyone know of any LaTeX modules that makes the pdf output generated by pdflatex Americans with Disabilities Act of 1990 (ADA)/Section 508 compliant? Specifics: With regard to math. One simple ...
5
votes
4answers
346 views

Need help with an equation

I have little trouble with my TeX course. I've already completed all the assignments except one. Yesterday I was up until 4AM and still didn't get it right. Maybe someone could give me some ...
19
votes
1answer
5k views

Is there a standard way to refer to a range of equations?

I have occasionally wanted to refer to a range of equations in my document. So far, I've been using Equations~\eqref{firstEquation}~--~\eqref{lastEquation}, which produces something like "Equations ...
4
votes
1answer
994 views

I used eqnarray ignorantly and now must change all to align.. any solutions?

Other than manually going over all the dozen plus instances where I ignorantly used eqnarray must all be changed to align. I first tried doing a finad replace all and replaced align, and then, for ...
3
votes
1answer
121 views

alignment of symbols [duplicate]

I tried to align the equation and have some text on the equal sign. But it turns out that the equal sign that has text over it is no longer aligned to previous one anymore (I believe it is the text ...
7
votes
4answers
633 views

Uneven display skips

Here is yet another attempt at this question. I've narrowed down a MWE: \documentclass{article} \usepackage{amsmath} \usepackage[amsmath,standard,thmmarks]{ntheorem} \begin{document} Integer ...
3
votes
4answers
4k views

Visual Equation Editor to LaTeX Code

I'm looking for a Windows based visual equation editor which produces LaTeX code. I need the functionality like in those online equation editors such as the LaTeX Equation Editor site It should be ...
5
votes
1answer
2k views

Boxed equation with empheq: adding text outside box

I'm trying to have a box around my align environment, so I do the following: \usepackage{empheq} \begin{empheq}[box=\fbox]{align} equations \end{empheq} This works fine, but I would like to have ...
2
votes
1answer
279 views

Vertically asymmetric matrices

I am noticing an odd problem with LaTeX that causes matrices and arrays that I compile to have a whitespace gap at the top of the array. When I use the same code as others online, I produce different ...
3
votes
1answer
915 views

Best practice for annotation in lines of align for derivation?

When presenting a lengthy mathematical derivation that draws upon previously introduced theorems or equations, it is good practice to write down the derivation line for line (e.g. using the align ...
35
votes
3answers
50k views

Show equation number only once in align environment

I want the equation number to be shown only at the last line, or better, somewhere in the middle of all. So instead of (1), (2), ... only (1). I use \begin{align} ... \end{align}
4
votes
1answer
157 views

Code inside an equation environment is executed 4 times (or isn't it?).

I created a small example: \documentclass[a4paper,12pt]{article} \usepackage{amsmath} \usepackage[pdfstartview=FitH]{hyperref} \usepackage{bookmark} \begin{document} one line \newcounter{test} ...
7
votes
2answers
5k views

Left-alignment like Fleqn-option only for specific equations

I want to left-align some equations. (Note: I want to align the equations themselves, not code inside of the equations.) I have the following example code: \documentclass{scrartcl} ...
3
votes
2answers
348 views

equation positioning problem

With this code: \documentclass{article} \begin{document} \rm \setlength{\parindent}{1cm} Estimatorul nonparametric pentru functia de distributie cumulative, $F(x)$, in punctul $x$ este raportul de ...
1
vote
3answers
3k views

widetext equation in revtex4 messed up

I have stumbled upon a problem. I have a seminar I'm working on, and I'm writing it in revtex4 two column mode. I already used one widetext environment and the equation came out nicely. So I ...
1
vote
2answers
314 views

LaTeX equation positioning problem

With this portion of code \rm \setlength{\parindent}{1cm} Estimatorul nonparametric pentru functia de distributie cumulative, $F(x)$, in punctul $x$ este raportul de puncte intermediare care sunt mai ...
7
votes
3answers
1k views

Diagram displayed as an equation

Sorry to ask a direct question like that but: how can you do that ? Is it a complicated use of align ? Is it really and equation (mathmode) ?
2
votes
2answers
2k views

alignment of text between 2 lines in align*

I have this: \begin{align*} &f(1) = -11 & &\mbox{while q satisfies} &q(1) = 11,\\ &f(-2) = 20 & &\mbox{} &q(-1) = 20 \end{align*} which puts the text "while" ...
8
votes
2answers
14k views

equation spanning two columns in ieeetran

I am writing a paper using ieee style in two columns format. Do you know how can I write an equation that spans over the two columns?
5
votes
2answers
970 views

How to make equations, figures and theorems use the same numbering scheme

It was asked a while ago how to make equation use the same counter as a theorem for example and one solution was to make the theorem counter use the equation instead by using ...
8
votes
2answers
1k views

Equation numbering problems in AMSMath environments with \pause

I'm writing a beamer presentation, and trying (unsuccessfully) to use \pause to step through a numbered array of equations, with the equations appearing in turn, and the corresponding numbers ...
1
vote
1answer
464 views

Alignat issue - extra space in one line

My code looks like this: \begin{alignat}{2} \theta^2&\equiv\frac{2m a^2\epsilon}{\hbar^2},\ \lambda&\equiv&\theta^{\frac{2p}{p+1}}\frac{E}{\epsilon},\\ ...
3
votes
1answer
158 views

Fitting display math with luatex?

I took a latex file and edited it to be more readable on my phone. Specifically, I used the geometry package to typeset it on pages measuring 3x4. I set the text to be left justified to keep words ...
3
votes
2answers
891 views

“Trackchanges”: respecting the equation environment

I am using trackchanges for monitoring changes in a LaTeX document. I have a problem when compiling a trackchange tag with a equation environment embedded into it. Here is a .tex file which compiles ...
16
votes
2answers
818 views

Suppress equation number when not refered to [duplicate]

Is is possible to use only equation or align environments without the * and then automatically suppress the equation number if there is nothing refering to that equation? It would make the LaTeX-life ...
6
votes
1answer
364 views

Itemized Equation

I am new to latex, so please pardon me if this question seems trivial. I am writing a document and write equations in \begin{equation} ... \end{equation} since I would like the equations to be ...
5
votes
2answers
389 views

Is it possible to tweak the alignment of an equation when it is broken using breqn?

I have a looooooooong displaymath that I'm using breqn to break into smaller chunks. As there are no actual relation symbols, I've manually added \allowbreak everywhere I'd be happy for one to occur ...
7
votes
1answer
1k views

Centering xymatrix in equation environment

The xymatrix diagram does not seem to vertically align when grouped in an equation environment. For example, this code produces the following image (which seems to place the xymatrix 2.5em lower than ...
3
votes
2answers
356 views

Double braces in equation

I'm trying to create the attached image formulae. But I don't know how to get the double braces to work. This is my attempt with only single brace. x(t_n) = \left\{ \begin{array}{l l} 0 ...
6
votes
1answer
209 views

The same height of text in a large document

I’m typesetting a large document that contains a lot of mathematics. The only problem is that the height of text on some pages that ends with a displayed formula is less than (about 3-6mm) the height ...
8
votes
3answers
5k views

beamer's \only command, equation counter increment does not get retained outside of \only

I've got a problem where I am using beamer's \only command, but within \only, the equation number incrementation doesn't survive. I.e., I'd like to do \only<1>{ \begin{align} equation 1 ...
12
votes
1answer
7k views

Span formula over multiple pages.

I've looked through the search but I couldn't find what I specifically want. I have the following \begin{equation} \begin{split} Very long equation \end{split} \end{equation} Now, I have half a ...
21
votes
3answers
3k views

Exporting all equations from a document as individual svg files

I'm currently a presentation based on a paper originally written in Latex. Currently, I use Kile and Ubuntu for my work. What I'm finding is that I need a large number of the equations from the ...
18
votes
5answers
1k views

Giving an equation between \[ \]'s a number

I usually use \[ ... \] to typeset equations in latex and sometimes I come back and realize that I want to have an equation number and label. I have been coming back and editing it to \begin{equation} ...
0
votes
1answer
710 views

Split equation problem

I would like to split the following equation in two parts. Very basic thing, seems to be. \begin{equation} \zeta_k(x) = \frac{\sin (\frac{1}{2} (x - x_0)) \cdots \sin(\frac{1}{2} (x-x_{k-1}))} { ...
3
votes
2answers
2k views

Multiline equation and text

I would really like to get a multiline equation with text explaining each step. I've got close with \begin{equation*} \begin{split} A \simeq & B \mbox{[Lemma 8.35(iii)]} \\ \simeq ...
4
votes
1answer
892 views

Multiple equation numbers for a tikz picture

I am attempting to draw two related exact sequences in the same tikz picture, for alignment purposes. I currently have wrapped the tikzpicture environment in an equation environment, so that both ...
16
votes
2answers
37k views

How to link an equation in LaTeX

I am wondering how I can link an equation in LaTeX, I mean when I click on the link then I'll be directed to that specific equation.
4
votes
1answer
2k views

Newline in equations

The code looks something like: $$ If \ abs(dx) = abs(dy) \ then \\ step = abs(dx)\\ else \\ step = abs(dy)\\ $$ I want the '\\' to ...
6
votes
1answer
13k views

How to shift one equation only towards the left margin

I have an equation extending into the right margin and off the page. I have many equations. For this equation only, I would like to shift it to the left. MWE below. \documentclass[twoside]{book} ...
13
votes
2answers
15k views

Use of \small in the equation environment

My equations are a little too large for the normal eqnarray environment, so I've been using the \small delimiters around the \begin{eqnarray} ... \end{eqnarray}. Unfortunately, this causes the the ...
9
votes
3answers
13k views

List of Equations / Table of Equations

After finding Table of Equations and http://www.latex-community.org/forum/viewtopic.php?f=5&t=428, I set about making a List of Equations for my document. The catch here is that we already have a ...
6
votes
3answers
8k views

Change border color of a \boxed equation?

I recently asked this question. The solution worked for me but I have a problem. cropped images are as small as possible. I would like to have a gif that bounds to borders of box of the equation. so I ...