{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
4answers
194 views

How can I nicely align a single split equation?

I'd like to align my equation to that it (and its label) fit on three lines. MWE \documentclass[11pt]{article} \usepackage{amsmath} \usepackage{amssymb} \usepackage{xfrac} \usepackage{transparent} ...
2
votes
1answer
3k views

Two double-line equations need double left brackets

I have four lines of equations. The first two and the second two need to be grouped by a left bracket, and all four need to be grouped by one overall left bracket. I am using an array within an ...
1
vote
2answers
1k views

Equation number position in a new line

How do I put the number of each equation in the new line (not the same line with the equation, located in the next line on the right) This is required for all the equations in my thesis (which I ...
9
votes
1answer
2k views

How can I an place a figure next to an equation?

I'm new to LaTeX. This is my first script, an exercise. I'm try to place a 4 figures (SCfigure) I already charted with KmPlot next to its correspondent equations, but they always appear on the next ...
0
votes
1answer
97 views

Choose which rows in multi-line equation to assign numbers to [duplicate]

If i do: \begin{align} a = b \\ b = c \\ c = d \\ \end{align} The output will be like: (1) a = b (2) b = c (3) c = d If I use algin* instead. No row will be ...
15
votes
4answers
2k views

Good typesetting practice for long equations

I have the following (quite horrible) equation in my thesis: \begin{align*} \frac{\partial^2}{\partial t_1^2} f(t_0,t_1) = ( \delta+2t_0+2t_1)^{\alpha( w-t_0+t_1 )-1} \cdot \bigl( ...
0
votes
1answer
749 views

Issues aligning equations

I thought I was doing everything correctly, but clearly not. I want my equations (all whether I use \begin{flalign} or \begin{equation}) to be aligned each other (have the same indent), and then when ...
7
votes
1answer
3k views

Add Overbrace to describe a column of matrix

I want to add some over-braces to a matrix to get the following output: However, this this what I managed to get: I don't know how to get the neuron 1 and neuron 2 headings...I was thinking of ...
12
votes
1answer
200 views

First reference to equation underlined

In these days I'm writing at my Bachelor's Thesis and I've got a new problem. I have to underline the first reference to figures, tables and equations. By searching in the Internet I've already found ...
2
votes
1answer
111 views

Equation number displaying problem

I used \eqref to reference two different equations (\eqref{eq1} and \eqref{eq2}) but it displays the same strange shape as shown below in the image. The equation numbers are 1 & 2, any help?
11
votes
1answer
2k views

What is the advantage of using the equation environment in latex?

My flatmate uses \flalign for all of his equations in LaTeX and after thinking about it, it makes sense. Is the \equation environment not just more restrictive? Is there ever an advantage to using the ...
3
votes
1answer
6k views

How would one have an equation for an exponent?

How can I write 2^((n-1)/3) or anything similar in LaTeX? I am new to the whole thing, but I tried giving it a shot and it doesn't look the way I want it too. It looks like I am taking the 2 to the ...
1
vote
1answer
23k views

How to left-align using eqnarray in latex

Now, first of all let me get something clear: I do not ask for any reasons why align is btter than eqnarray. All I ask is a simple way to make this work, using eqnarray (It's obviously possible, but ...
22
votes
1answer
30k views

What is the difference between \eqref and \ref?

Is there any difference between \eqref and \ref? I used both of them in my document using the package classicthesis and saw no difference in the result. Is there any specific situation in which I ...
2
votes
0answers
91 views

Produce parentheses around number of equation [duplicate]

Is there any direct command which can help me to put the number of a equation in the parentheses, for example if I write the following: \begin{equation} \label{eq:1} this is my equation ...
1
vote
1answer
71 views

Error in equation [closed]

I wrote the code of this image but it doesn't work? Any help \begin{equation} F(n) = \left\{ \begin{array}{l l} n/2 & \quad \text{if $n$ is even}\\ -(n+1)/2 & \quad \text{if $n$ ...
4
votes
1answer
7k views

Adding tabs between two parts of one equation

I need to add a tab between after the semicolon in the equation shown below: \begin{equation} Thr = 4\sigma_n;\sigma_n = median \left(\frac{|x|}{0.6745}\right) \end{equation} How can I do this?
0
votes
1answer
161 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
247 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, ...
6
votes
1answer
299 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 ...
15
votes
2answers
774 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} $ ...
3
votes
1answer
1k 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
158 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
3answers
282 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
78 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 ...
13
votes
2answers
41k 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
1k 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
252 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} ...
35
votes
3answers
102k 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
201 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 ...
23
votes
1answer
575 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, βˆƒ 𝛿 > ...
10
votes
1answer
14k 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
435 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 ...
5
votes
2answers
1k 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
756 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
631 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
45 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
160 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{ ...
11
votes
2answers
1k 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
232 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
31 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
252 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
5k 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
996 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 ...
9
votes
2answers
632 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 ...
5
votes
2answers
651 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 ...
5
votes
1answer
3k 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
652 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 ...
7
votes
2answers
3k 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
4k 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 ...