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

0
votes
3answers
949 views

Equation formatting: spacing between characters

I have the following variable: $\omega_{fo}$ which gives [;\omega_{fo};] . The problem with the output is that there is a quite big separation between the letters f and o. Is there a way to make ...
9
votes
4answers
4k views

Word-wrapping page-long polynomials in latex

I know that you can enter multiline equations using the align environment and line breaks (\\). I want to LaTeX multiple polynomials that are very long (up to a page in length, single-spaced and 12 ...
1
vote
1answer
460 views

Eqn numbers in aligned environment

I want to write an equation with multiple cases, but that needs multiple aligned columns within each case. I also want a left brace (of my choosing) on the left. Something like this works: \begin{...
11
votes
2answers
7k views

Horizontal Line Separating Steps in Aligned Equation

I have an equation that I'm trying to display with horizontal line separation. The result I'm looking for is similar to this question, but I'm not sure how to apply it to my equation (below). \begin{...
2
votes
1answer
3k views

Lstlistings: Getting pretty equations in display mode

I am currently trying to print my algorithms using the listings package. For clarity I always try to display the more complex mathematical expressions as formula instead of plain code. This results in ...
2
votes
3answers
638 views

displaymath/split environment with three columns

I am writing the following equation: \begin{displaymath} \begin{split} MA &= MAAMB + MACAMB\\ \Leftrightarrow MA &= (MAAM + MACAM)B\\ \Leftrightarrow (MAAM + MACAM)^{-1}MA &= B \end{...
2
votes
1answer
124 views

How to continue a piece of text so it is aligned with the last line of an inline multiline box?

Is there a way to have the continuation of a piece of text aligned with the last line of a multiline environment, such as array? For example, I would like to define the command \newcommand{\setst}[2]...
1
vote
1answer
167 views

Hanging Indents in Tables for Equations

I currently have the following code \begin{center} \begin{tabular}{l|p{5in}} Differential Equation & $(1273628x^{4} + 1237129387x^{3} + 12831729x^{2})f'''(x) + (9x^{3} + 12392183012938120x^{2} ...
4
votes
1answer
253 views

Chemical equation in the website header?

How was the chemical equation created that can be seen in the website header (picture) next to the big {TeX}-sign (left) and below the sindarin(?) part? I assume this was done using TeX somehow (...
1
vote
2answers
1k views

Linebreak in equations

I have a very simple LaTeX problem with the following LaTeX fragment: The function computes: \[ e \leftarrow (((x||a) + (y||b)) \oplus y,\\ r \leftarrow x + y \] The result should then be in ...
7
votes
2answers
2k views

Hide all images, listings and equations?

is there any way to hide all images, equations and all listings (embedded by using lstlisting package) manually by setting a certain command in the preamble? It would just be interesting to see how ...
4
votes
2answers
276 views

A problem about \xxxdisplayskip

I try to decrease the \abovedisplayskip and \belowdisplayskip to 3pt for save paper while equation including "large" math formulas has less sep between surrounding text than "normal" math formulas, ...
11
votes
4answers
21k views

Avoid large spaces between text and equations

I use the options \renewcommand{\baselinestretch}{1.25} \setlength{\parskip}{0pt} \setlength{\parindent}{0pt} in the preamble of my document and most of the time the document looks like intended. ...
5
votes
3answers
4k views

An equation skip problem — amsmath package and \above/belowdisplayskip

I have been puzzled by a problem about math equation skip for days. I set the \lineskiplimit, \lineskip, \abovedisplayskip and others length macros before and after equations all to zero, but there ...
6
votes
1answer
362 views

How to prevent \baselinestretch from affecting the math mode?

Changing \baselinestretch will affect the distance between two adjacent rows. How to avoid this? \documentclass{book} \usepackage[a6paper,vmargin=15mm,hmargin=5mm]{geometry} \usepackage[english]{...
3
votes
1answer
811 views

Breaking formulas before and after binary operators

Page 195 of the TeXBook reads: Although formulas within a paragraph always break after binary operations and relations, displayed formulas always break before binary operations and relations. ...
5
votes
1answer
903 views

Using the displaymath shorthand \[ \] for equation or align instead

I want to be able to use the \[ ... \] shorthand to enter either the equation or align environment instead of the displaymath environment. Is it possible to do this? I know you can define new commands,...
4
votes
2answers
533 views

Text containing math above and below equilibrium sign won't compile (using mhchem)

Why won't this compile? I suspect the math inside the []s are preventing compilation. If so how do I make this work? Thanks. \documentclass[12pt]{article} \usepackage[version=3]{mhchem} \begin{...
5
votes
3answers
780 views

Right-aligned constraints for equation

I'm looking to write an equation (using gather), with some constraints on the right-hand side. Ideally, I'd like the equations to be horizontally-aligned with one another (i.e. have centers line-up ...
23
votes
2answers
3k views

Typesetting Right-to-Left math

UPDATE: I've managed to produce something that is aesthetically correct, however with a lot of "hardcoding" and trial and error to manually measure my spaces. Not to mention that I have to write my ...
14
votes
5answers
8k views

Diagonal strikeout starting too low and ending too high

I want to strikeout an equation with diagonal line but I've not managed to get the diagonal line to draw as I want. The closest I've gotten is via the first example in Frédéric's answer of \cancel ...
9
votes
2answers
4k views

Reduce white space before and after multicols environment

I wonder how to reduce the vertical space before and after a multicols environment. I have something like below \begin{multicols}{3} { \begin{equation}\sum F_x = 0\end{equation} \begin{...
38
votes
4answers
82k 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
331 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
1k 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
560 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
621 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
421 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
365 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 ...
23
votes
1answer
9k 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
1k 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
125 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
653 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
5k 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
3k 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
297 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 ...
4
votes
1answer
1k 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 ...
60
votes
3answers
86k 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
159 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
6k 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} \usepackage{...
3
votes
2answers
364 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
4k 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
316 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 ...
8
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" ...
10
votes
2answers
19k 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
1k 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 \newtheorem{thm}[...
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 ...