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

6
votes
1answer
435 views

Equation tag in twoside-mode outer

At the moment I thinking about the following think. When I use the twoside mode to write a book I want to print the number of the equation outer. I can modify it manually with these two commands: ...
21
votes
1answer
20k views

One column equation in twocolumn document class

I am writing a paper (revtex4-1, reprint documentclass which I believe uses twocolumn) and need to have a long equation that needs to break the two column format. I've seen answers to this question ...
7
votes
1answer
249 views

Get \ref for equations working like \cite for contiguous references

When referencing a list of equations like see Eq.12, 13, 14 and 15 the \cite command behaviour, which allows a single list of references, should be preferred I think. Is there something equivalent for ...
2
votes
1answer
1k views

Compilation error for discontinuous function definition

I am trying to render the following discontinuous function definition with the LaTeX code: \begin{equation} f(x) = \left\{ \begin{array}{lr} 0,5x & \text{for x} \in [0, 10] \\ ...
2
votes
1answer
411 views

Selective equation numbering in LaTeX [duplicate]

Possible Duplicate: How do I number equations only if they are referred to in the text? I would like to number only the equations I actually refer in a manuscript. I know plenty of ways to ...
10
votes
2answers
3k views

Why doesn't lineno number a paragraph when it is followed by an indented equation?

While searching for the source of missing line numbers, I realized that paragraphs followed immediately by an equation have no line number, but this is fixed when a space is included, e.g. the ...
6
votes
1answer
2k views

How to make all math equations bold by default?

I am using the bm package which provides the \bm command to boldify equations. However, all my equations need to be bold, and I find using the \bm command tedious. Is there a way to make the ...
9
votes
1answer
1k views

\overbrace split accross multiple lines

Is there a way to split the overbrace so that it appears in two halves over a multi-line equation. Something like /-----------Overbrace Label---- Equation over which to place ...
7
votes
2answers
744 views

Centering the align environment on the middle column

I have a set of aligned equations that I would like to provide an \implies for down the left hand side. I used this originally: \begin{align} (x-1)^2 &= -1 \\ x-1 &= \pm i \\ ...
4
votes
1answer
3k views

How to move the whole block of {align*} to the left?

I use {align*} a lot, it seems that the block of {align*} are automatically centered. How could I move the block to the left margin?
2
votes
2answers
2k views

How to label an optimization problem with a label such as (P)?

I am trying to write an optimization problem in my document, and for convenience, to define a label to refer to it. I don't want to refer to it as equation (3), which I know how to do, I want to ...
1
vote
2answers
979 views

Splitting a long equation with a curly brace for the equations in two lines

The equation that I have pasted below is very long. I want the first equation (e34a) after dw^2/dx^2 to be split in two lines with a common curly brace for the equation in two lines. My code is ...
3
votes
2answers
7k views

How can I break a long equation?

Upon compiling, one of my equations extends out of my column width in my final output. Options I tried-- breqn package asks for expl3.sty file which the compiler is unable to locate, (would have ...
3
votes
1answer
655 views

Aligning twice in eqnarray

I do have the following equations wich are aligned on the equal sign. Would it be possible to also align them on the R? \begin{eqnarray} \delta O_{1x} &=& R \, ^E\omega_x \, \delta t ...
22
votes
2answers
16k views

Multi-page equations — problem

I have a very long derivation, that needs to look like: A = B \\ = C \\ = D \\ etc. The derivation spans across many lines. I'm looking for a way to typeset it so that when it reaches the end of ...
1
vote
2answers
297 views

How to add a sequential number on the right hand of a mathematical formula?

I often use $$...$$ to write mathematical formulae. I would like to know how to add a sequential number on the right hand of the formulae. I want them to be right adjusted at the right edge of the ...
0
votes
2answers
546 views

How to draw this figure?

The figure in the attached image contains mathematical formulae, some of which are aligned, also it is rounded by a box, could anyone tell me how to draw that? Thank you very much!
3
votes
1answer
555 views

How to center the tag for a multiline diagram?

I have a diagram, say five lines, the tag (equation numbering) is in the first line, this is not I want. How to force the tag stay in the middle line? Thanks in advance!
1
vote
2answers
2k views

Presenting a long linear regression equation

I am using the following code to have a long linear regression model in my two-column latex file. I have used figure * to avoid the overlapping of the equation with the second column. However, it ...
2
votes
1answer
125 views

Superpose a subscript and the rest of a formula

I have a formula in the equation environment that goes like Foo = \bigcup_{x \in veryveryveryverylongdescription} Bar(x) Because the state space's description is long, the Bar(x) is rejected far ...
2
votes
1answer
337 views

Styling long equations - is there any convention ?

I was wondering if there is any convention for styling long mathematical equation ? I have an exuation which originaly took more than a pagewidth so I splited it using eqnarray however I think it ...
2
votes
3answers
10k views

how to insert multi line equation in the tabular environment?

How can insert multi line equation in the tabular environment? For example see the following code that can show my request. \begin{tabular}{rrr} &a &b\\ &u=\begin{cases} 0;& ...
2
votes
1answer
2k views

How to left justify equations in IEEEeqnarray environment?

I have an document that use both IEEEeqnarray and normal equation environment. The equation is set to be left justified with \usepackage[fleqn]{amsmath} However IEEEeqnarray is centered. How to ...
1
vote
2answers
1k views

Command for paragraph indentation after equations

I want to write two new commands \eqend and \eqcntd so that when I put the command at the end of an equations, The \eqend command puts a "." after the equation and forces the next paragraph to ...
2
votes
1answer
330 views

Increasing spacing between the rows of a table containing both equations and words

Below is some code I am working with. \begin{tabular}{l|m{4.75in}} Equation 1 & $y^{10} + x^{6} + 7x^{3} + 6y^{11}$\\\hline Equation 2 & $\begin{alignedat}{1}(n + 1)^{2}u_{n + 3} &+ ...
0
votes
3answers
827 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
434 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: ...
10
votes
2answers
5k 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). ...
2
votes
1answer
2k 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
544 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 ...
2
votes
1answer
117 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 ...
1
vote
1answer
152 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
248 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
250 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, ...
6
votes
4answers
15k 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
3k 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
328 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} ...
3
votes
1answer
681 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
804 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 ...
4
votes
2answers
504 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} ...
5
votes
3answers
654 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 ...
21
votes
2answers
2k 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 ...
12
votes
5answers
6k 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 ...
6
votes
2answers
3k 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} ...
26
votes
2answers
56k 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
286 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
982 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 ...