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

3
votes
1answer
118 views

How to include chapter number in equation numbers

I am trying to change the equation number style in classicthesis package. I followed the answers given in here but it does not affect the equation style. I want to include the chapter number in the ...
0
votes
1answer
51 views

Can't use \left. … \right| in a custom environment

I'm writing a Hebrew (RTL) document with equations and I compile it with xelatex. The equation numbers are wrong and I have found that placing \LTR tag before the equation fix this. I have created an ...
2
votes
2answers
64 views

The multi-line equation with explanation is too wide

The original question provides a good answer for how to add explanations to the multi-line equations. However, my problem is that the explanations have too long space to the corresponding equations, ...
5
votes
1answer
51 views

boxed equation but framed only some sides

I need to box part of an equation, but I need the frame to be open one side. In the following MWE I would need the left part of the equation not to have the right frame of the box and the right part ...
0
votes
0answers
51 views

Different line spacing in textmode and mathmode

At first I was using \linespread{2} but my research told me to use the package setspace. I did this and everything is fine however in align* environments, my equations get double spaced also which ...
15
votes
2answers
229 views

How to remove an unwanted white space at the last end of a horizontal curly brace?

You can see there is an unwanted white space at the last term below. \documentclass[border=12pt]{standalone} \usepackage{amsmath} \begin{document} $ ...
2
votes
1answer
113 views

Spacing between equation and text inconsistent due to large equations

I've read through answers to similar question but I still have the same problem. Essentially, I have some large equations and they are in the form \documentclass{article} \usepackage{amsmath} ...
3
votes
1answer
61 views

Aligning parts of equations

So this is a continuation of my previous question but I didn't know if I should edit that post and ask a new question or just post a new question entirely. Anyway, I have this bit of latex: ...
1
vote
4answers
183 views

Questions on basic LaTeX typesetting in mathematics

I have one or two elementary questions on basic LaTeX typesetting: I know putting $$...$$ sign puts the mathematical expression in the middle (center), but what if I also want to center the ...
3
votes
1answer
46 views

Does align environment (or an alternative) have an option to choose left, center or right alignment?

I have quite a long set of equations, written in an array environment, but I can't seem to get it to split so that it is spread over multiple pages. I could use the align environment, but I can't seem ...
0
votes
0answers
52 views

Text label update automatically as the equation number changes [closed]

I am writing a report and while writing my equation numbers might change but I want my labels in the text to change automatically as the equation numbers get changed. For example I have this minimum ...
3
votes
2answers
141 views

Align multiline equation with expression after equal sign

I am trying to align a multiline equation using array within the equation but it turns out it doesn't do very well. The code I am using is as follows: \begin{equation}\ \begin{array}{lcl} ...
1
vote
0answers
181 views

Integrating equation into Google Docs [closed]

I'm just wondering whether or not it is possible to have LaTeX equations inside my Google doc? At the moment, I'm including images of the equation which isn't really the desired method I would like to ...
5
votes
1answer
43 views

How can I add a section reference to equation labels in an unnumbered section?

I have an unnumered section in a document, defining notation for the further contents. Since it's unnumbered, the equations within are labelled: '(1)', etc. For example: \documentclass[12pt]{book} ...
0
votes
0answers
64 views

Missing math symbols in print [closed]

I am writing a paper using some conference specific style and using TeX Live (pdflatex) as my distribution on Linux Mint 14 64. When I compile my document, on screen everything looks fine. When ...
8
votes
3answers
6k 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 ...
4
votes
1answer
112 views

Which display-style math environments allow both new lines and respond to additions of infinite horizontal space?

Consider the following example: \documentclass{article} \usepackage{amsmath} \begin{document} This is a really long line of text to show where the margins of the page are. This is a really long line ...
2
votes
3answers
148 views

equations that are too large to fit on one line

I have an equation that is too long to fit on one line: x = a + b + c + d + e + f as an example of what it looks like. What is the correct way to handle this? Do i break it up over multiple lines? ...
19
votes
1answer
276 views

Unicode in the equations: pros and cons

Is there any pros and cons for using of Unicode (and vice versa) in LaTeX equations? Consider two examples: \lim_{h→0}∫_{x_0}^{x_0 + h}\frac{f(t)}{h} = f(x_0) x_0 ⇔ ∀ 𝜀 > 0, ∃ 𝛿 > ...
7
votes
1answer
2k views

How to change equation numbering style

Here is my MWE: \documentclass[a4paper, 12pt]{report} \usepackage{amssymb, amscd} \begin{document} \chapter{Test} \begin{table}[h] \center \caption{Test} ...
1
vote
1answer
118 views

Floating lines in align environment

I'm using the align environment to align some equations, and I would like to insert some comments between them. The problem is that I'm using & to align the equals, and because my comments don't ...
4
votes
3answers
132 views

Vertically aligned \underbracket's in an equation

\[ \underbracket[0.5pt]{\left( \begin{array}{c} a \\ b \end{array} \right)}_{v_1} \qquad \underbracket[0.5pt]{\left( \begin{array}{c} a \\ b \\ c \end{array} \right)}_{v_2} \] gives I would like ...
10
votes
1answer
214 views

Bad position equation number Lualatex

If a math display is too wide, then the \eqno appears on the next line on the left instead of on the right as it should. Does anyone know how to solve this problem? This is an example: ...
2
votes
2answers
202 views

How to align equations in the equation environment?

I have been looking on how to align equations and I have seen numerous examples with \align and \flalign, however whenever I try to use these in the equation environment, I get an error. I would like ...
0
votes
0answers
37 views

How to provide the explanations of a math equation? [duplicate]

How can I write the following equation with its explanation in latex ?
1
vote
2answers
71 views

Formatting of an array of equations (left alignment)

I have the following text in a matrix environment. Is there a better way to format it, say with each column being left ordered, and how can this be done? $$ \begin{matrix} \Gamma^{i}_{\mbox{ ...
9
votes
2answers
133 views

Text mode commands/symbols in math mode

I am fairly new to LaTeX, and have run into a problem with commands apparently only available in text mode, where I would like to use them in math mode as well (e.g. integrated in equations). One of ...
4
votes
1answer
108 views

Add \par only if last paragraph did not end with displayed math

Background: I have named "sections" (sections for rest of this question) which are conditionally displayed or suppressed based on parameters. To simplify the test case below, these are controlled by ...
0
votes
0answers
28 views

Global label in a LaTeX “align” [duplicate]

I use \begin{align} \label{blah} ... \end{align} in order to do equations of multiple lines. Unfortunately the equation number (coming from label{blah}) is not centered vertically in the middle of ...
2
votes
2answers
81 views

Minimal work example for darray from breqn

I was trying to use the darray environment from the breqn package but hadn't success on it. As a mwe I would like to replace the eqnarray below by the darray. \documentclass{article} ...
5
votes
1answer
101 views

Big Equation into several lines in beamer

I have a very big equation and I tried to seperate that equation into different lines using the following code but the spacing is very big. Can anyone suggest what would be the best way to save space ...
9
votes
2answers
141 views

A large amount of text below the sum or product sign

I want some advice about how to format it better if I have to write a long text below a $\sum$ or a $\prod$ sign. Basically I want to explain the restriction over which the sum or the product is being ...
8
votes
2answers
96 views

Align subscripts vertically

I would like to align the subscripts in an expression such as this one: \documentclass{article} \usepackage{amsmath} \begin{document} $$\sup_{f\in\mathcal H}\lim_{\epsilon\downarrow ...
4
votes
2answers
114 views

Some problems using LyX RTL with equations

I'm really new to the whole LyX(2.0.5.1) thing I'm usually using LibreOffice Writer and it's Latex like "formulas". But I've heard so many good things about LyX, so I've decided to give it a try but ...
4
votes
1answer
173 views

Problems with eqalign

The following will not compile with LaTeX. Can you give advice, please? \documentclass[12pt]{article} \usepackage{amsmath,amsthm,amssymb} \begin{document} $$\eqalign{a_1&=1+2+3\cr a_1+a_2 ...
4
votes
1answer
96 views

Naming equations with breqn

I know that the tag command from amsmath should be used to name equations (see below a mwe). \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} c^2 &= a^2 + b^2 ...
5
votes
2answers
658 views

Simple Beamer Template for Total Beginners

Is there a template that allows me to create slides with only some simple formulas at most?
1
vote
0answers
134 views

“File ended while scanning use of \align*” [closed]

This is really odd. I have ended all environments. Triple checked them. When I add this last bit of equations using the align* environment, all kinds of errors appear. Predominantly, in this case ...
1
vote
1answer
117 views

Get rid of the word “equation” in cross references

I'm using the thesis template that comes with LyX and whenever I make a cross reference for an equation it comes along with the word "Equation XX.YY" and I just want the number "XX.YY". The document ...
4
votes
2answers
276 views

Can you use arabic letters in equations?

Making equations with greek letters is easy -- for example, $2 \gamma = 1$. But is there any way to do it with arabic letters -- something like $2 \gim = 1$? I've run out of greek letters in my ...
5
votes
1answer
49 views

Producing several overlines of the same height throughout a formula

Above is an example produced by S\overline{n}=\overline{n+1}. The overlines are not aligned vertically, which is highly undesirable. Is there any way to produce overlines of the same height ...
1
vote
2answers
85 views

Equation number not on the extreme right?

I am trying to number the equation in my thesis. All of the equation numbers are being displayed correctly on the extreme right (of the text area). However, in one equation, I am facing a little ...
6
votes
1answer
135 views

Indent math blocks?

I want all math blocks \begin{math} in my document to be intended automatically, like it's the case with \begin{itemize}. Can anyone please give me a hint on how to do this? Thanks :-)
5
votes
2answers
2k views

What are the Open source WYSIWYG Independent Web Equation Editors available on LaTeX/MathML

I am looking for a solution of an Equation Editor to be added to my site. The equation editor should be open source, WYSIWYG (users should be able to type out Equations as if in MS Equation Editor or ...
2
votes
1answer
638 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] \\ ...
1
vote
1answer
79 views

Latex: Equal spacing between equations on a page [duplicate]

I am writing a short quiz for my students in latex, however I am having trouble with the spacing. The two equations I have are: $\int sin^3(x)cos^{\frac{3}{2}}(x)dx$ \vspace{20pc} $\int ...
2
votes
1answer
62 views

Equal spacing between equations on a page

I am writing a short quiz for my students in LaTeX, however I am having trouble with the spacing. The two equations I have are: $\int sin^3(x)cos^{\frac{3}{2}}(x)dx$ \vspace{20pc} $\int ...
3
votes
1answer
137 views

Smartly omit chapter number in equation numbering

In my thesis I use chapters, sections and subsection. I like to have my equations numbered with respect to section, but I want the displayed equations numbers not to include the chapter number. ...
38
votes
2answers
2k views

How do I number equations only if they are referred to in the text?

I have a paper where all equations are numbered, but I want to number equations only if they are actually referred to in the .tex file using \ref{}. How can I make that happen? Alternatively, how can ...
2
votes
2answers
84 views

Problem with cross referencing using gather environment

I am using gather environment to write bunch of equations. When I try to cross-reference those equations, the equation number doesn't show up. Here is my code \documentclass[12 pt]{article} ...

1 2 3 4 5 17