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

1
vote
1answer
2k views

split and intertext

I was wondering if there is a way of introducing intertext within a split environment. I would like to be able to write something like \documentclass{article}[10pt] \usepackage{amsmath, hyperref, ...
12
votes
3answers
38k views

How can I decrease spaces between equations?

\documentclass[12pt,a4paper]{mwrep} \renewcommand\baselinestretch{1.5} \begin{document} \chapter{Test} Text text text text text text text text text text \begin{equation} 1 + 2 + 3 = 6 ...
6
votes
1answer
9k views

Reference to a manually numbered equation

I want my equation's number to be "1'". I have done so through \tag{1'}. But now I don't know how to refer it in my document. Is there a method to call it or numbering equations like 1, 1', 1''?
6
votes
1answer
3k views

Emulate \hfill in LaTeX equations?

I have a set of equations, where each line consists of a formula and an explanation (info about indices). Now, let's say the structure looks like this: \newcommand{\lw}{\linewidth} \begin{align*} ...
21
votes
2answers
6k views

Period after math-mode equation

If I write If $x \rightarrow y$, then $y \rightarrow z$. it looks fine. But if the sentence is more involved and formulas longer, I tend to change $...$ to \[...\]. In many cases I think the result ...
14
votes
2answers
4k views

inserting sentences between subequations

My apologies for asking so many questions here. I want to introduce a sentence in between 2 subequations which is not in math mode. Here is the code that I am using: ...
21
votes
1answer
18k views

Placing equation numbers on the right

I am new to TeX and am using scribtex to write a maths paper. When I put the followng code, the equation number is automatically displayed on the left, instead of in the right as is usually done. What ...
10
votes
4answers
18k views

side-by-side equations, with equation numbers for each

The align command from amsmath allows me to put two equations side-by-side: \begin{align} x = y && a = b \end{align} Unfortunately for my purposes, this shows both equations under one ...
6
votes
5answers
2k views

Breaking up an equation in the align* environment

I'm trying to produce the following formatting without use of all the \quad commands to get the last equation to align nicely across the break up (a(x), b(x), and c(x) are actually really long ...
11
votes
2answers
802 views

Which is the preferred command for equations in LaTeX?

While browsing some of the older questions I learned that I should not use $$. I also learned that I blamed LaTeX for obscure error messages that can be prevented by using \( and \). I started to ...
32
votes
3answers
76k views

How to write a function (piecewise) with bracket outside?

How to write this Piecewise function using LaTeX? I tried $ \begin{array}{cc} \{ & \begin{array}{cc} 0 & x\leq 0 \\ \frac{100-x}{100} & 0\leq x\leq 100 \\ 0 ...
7
votes
1answer
23k views

New line in math mode and indent this line

How can I have a indented new line in math mode? The line after \newindentedline should be indented and start in a new line. \[ X \subset Y \Rightarrow \forall x \in X: x \in Y \newindentedline ...
2
votes
2answers
5k views

Narrower columns in align environment

How to set the column width in the align environment. I've got a align environment to demonstrate how to do division by hand so the columns always contain only one number, but the columns are much ...
6
votes
6answers
2k views

An enumeration of equations with aligned equal signs

I'd like to have something like the following: \begin{enumerate} \item $1 + 1 = 2$ \item $1 = 2 - 1$ \end{enumerate} The thing is, I'd also like the equals signs to be aligned. But I'd like the ...
3
votes
1answer
1k views

Putting equations next to each other when there's room (i.e. math mode in subfigure)

I have a group of multiline formulas (with \begin{split}) of varying heights and widths in a float and there's a lot of unused horizontal space. I'd like the equations to go next to each other when ...
2
votes
1answer
1k views

Equation-reference with cleveref

I am using cleveref, which seems to be working fine, except for my equation references, which are referenced as ??. My equation is: \begin{equation}\label{ex2eqn} Y_{t} = \epsilon_t + 1.8Y_{t-1} + ...
11
votes
4answers
7k views

abovedisplayskip vs abovedisplayshortskip

What is the difference between these two? http://en.wikibooks.org/wiki/TeX/abovedisplayskip http://en.wikibooks.org/wiki/TeX/abovedisplayshortskip I don't know why, but it seems to work unusually. ...
12
votes
3answers
866 views

Replace the `$$ … $$` macro with the `\[ … \]` macros? - Prefer the way LaTeX lays it out, but `$` are faster to write

Is there a way to replace the $$ ... $$ macro with the \[ ... \] macros? (and replace inline mathmode as well) I realised the only way I can write the \sum_{i=1}^{10} t_i is between the \[ ... \] ...
8
votes
2answers
1k views

Defining a new command for making functional lines / package

As you have probably guessed from the title my mother tounge is not English. Therefore I have no idea if "Functional lines" is the correct term for what I am looking for. Basically I am looking to ...
7
votes
2answers
1k views

Equations in the margin: automatic flush right or left?

How can I automatically have equations in a \marginnote aligned flush left or right in a two-sided document? A previous question suggested to make equations flush left by using flalign* and extra ...
2
votes
2answers
59 views

Error in built output

This is difficult for me with all these $ signs. Now, where is the problem in the following MWE? \documentclass{article}% \usepackage{amsmath}% \usepackage{amsfonts}% \usepackage{amssymb}% ...
2
votes
1answer
73 views

Error from equation

Below is a MWE. While the pdf output seems ok, TeXniccenter displays error in the equation line. Not able to understand what's wrong. Happens even when I put in the code to close the curly brackets. ...
9
votes
1answer
9k views

Error in align environment - runaway argument? [duplicate]

Possible Duplicate: Blank lines in align environment \documentclass[12pt,a4paper]{article} \usepackage[version=3]{mhchem} \usepackage{siunitx} \begin{document} \begin{align*} \ce{K_a} ...
1
vote
1answer
1k views

Is it possible to move an equation number in the equation environment? [duplicate]

Possible Duplicate: Changing the apperance of equation numbers with amsmath I would like to move an equation number from its default position a little bit left. (I learned to move an ...
10
votes
2answers
658 views

Automatically number inequalities

I have a long chain of inequalities and I would like to add some explanation for some of the steps under those inequalities. I have seen people do this like \stackrel{(i)}{\leq}. This is what I would ...
17
votes
6answers
3k views

Which equations should be numbered? [closed]

Is the best practice to number all equations, or just those that will be referred to?
25
votes
4answers
5k views

Sharing alignment between equations in two different items

In the following minimal example, I have two equations inside an itemize environment, with an item per equations. Each equation is defined in its own equation environment. \documentclass{article} ...
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 ...
6
votes
3answers
559 views

Uneven vertical spacing displaymath

I would like to ask you why we have uneven vertical skips between the first two and last two vectors, coming from the source: \documentclass{article} \begin{document} \[(a,b,c,d,e,f,g,h)\] ...
20
votes
1answer
2k views

Changing the appearance of equation numbers with amsmath

For equations in my document, I use the facilities of the amsmath package. In order to make the equation numbers more eye-catching, I want them to be in boldface and a little bit indented to the ...
10
votes
3answers
6k views

Modify \eqref command

I want to edit the \eqref command so that \eqref will produce Eq. (1), for example, instead of (1). Of course, I could define \newcommand{\reff}{Eq.~\eqref} but then I lose my editor's ability to ...
1
vote
2answers
99 views

Something goes wrong after this line but I don't know what

\[ \begin{split} &( \frac{21! \cdot 2^3}{3! 18! \cdot 4^{18}} + \frac{21! \cdot 2^2}{2! 2! 17! \cdot 5^2 \cdot 4^{17}} \\ & + \frac{21! \cdot 2}{4! 16! \cdot 5^4 \cdot 4^{16}} + ...
6
votes
4answers
4k views

Adding vertical space in a multi-line equation while using IEEEeqnarray

how can I add vertical space between lines in an equation while using IEEEeqnarray?
10
votes
3answers
344 views

“Escaping” Linux kernel version in latex

I'm trying to include a kernel version info (i.e. \texttt{2.6.40.4-5.fc15.x86_64}) in my LaTeX document. However, LaTeX keeps trying to put it into "math-text" ("Missing $ inserted" and so on). How ...
5
votes
3answers
193 views

What's wrong with my file? Equations aligning right, symbols not showing half way through

OK, this is my first attempt at writing my homework in LaTex, and it's frustrating as hell. First, I defined unit vectors "uv" and bold vectors "bv" like so: \newcommand{\bv}{\mathbf} ...
16
votes
2answers
9k views

Too much space at the top of a beamer block when using multilined math environment

I would like to place two math lines in a beamer block, as two separately centered lines. I know that I could do this using two distinct equation environments, but it would be nicer to use a single ...
3
votes
1answer
6k views

Add an equation at the bottom of a two-column article

How can I place a two-column equation (a large equation that does not fit in one column) at the bottom of a page?
3
votes
1answer
2k views

fleqn and \eqno together?

It seems that I can not use together fleqn option [to move the equations to the left] and \leqno [to give a hand-made label to equations]. Any suggestions?
5
votes
1answer
858 views

Right aligned first column in a cases environment

Is there a simple way to obtain a right aligned first column in the cases environment. As far as I can see, mathtools does not add such an option. (This question might be read as a request for ...
3
votes
1answer
416 views

Automatically breaking formulas [duplicate]

Possible Duplicate: How can I split an equation over two lines I am trying to compile my papers into Kindle readable PDF files. I can get pretty good outputs by just changing the height and ...
5
votes
2answers
5k views

Formula out of margin

I got some issues while writing a formula in LaTeX. I have to print this in my document: \textit{P3ACM}: $ \left \langle \left \langle ( 09.00, 18.00 ) , \{ Monday, Tuesday, Wednesday, Thursady, ...
4
votes
5answers
894 views

Dynamic LaTeX typing and compiling

Is there a program or application that lets me type in the LaTeX language, and on another part of the screen have the compiled output appear? Of course this would be for simple LaTeX code, obviously ...
6
votes
1answer
488 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: ...
23
votes
1answer
23k 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
256 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
416 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 ...
11
votes
3answers
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 ...