{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
3answers
121 views

How to write a two line function definition? (With domain/codomain on one line, and element/mapsto/element on the other.)

How can I write this to look as neat as this: Edit: What I have tried so far \begin{eqnarray*} M_f : \pi_1(S \backslash \{y_1, \cdots, y_n\}, y) &\rightarrow& \text{Bij}(f^{-1}(y)) \\ ...
14
votes
3answers
637 views

align vs. equation: Which way is typograpically preferred?

The main differences between align and equation are the spaces and that align cannot be used with split, as far as I know. What would be, from a typographic point of view, the preferred practice? ...
2
votes
2answers
43 views

Long equation linebreak

I am trying to write a long equation and I dont want it to go out of the page so im trying to make a linebreak. I've been looking around on how to do it but I cant get it to work for one of my ...
4
votes
1answer
27 views

Write the code for large formula in terms of smaller chunks [duplicate]

I am wondering if it is possible that for large formulas in order to avoid confusion during code typing, we break it into variables. For example the formula below could be confusing during typing the ...
2
votes
1answer
73 views

Arrows pointing to equation

From my MWE below, I wanted to get this effect: How can I have the text show up in different lines as shown above? Here is my code: \documentclass{book} ...
3
votes
1answer
83 views

Arrow pointing to text in equation

This question is building from the question asked here and answered by Mr. Gonzalo Medina I am now trying to get this effect: \documentclass{book} \usepackage{amsmath,amsfonts,amssymb,amsthm} ...
1
vote
0answers
44 views

Equation label and align [duplicate]

I'm using Lyx and I have problem with equations. I would like to add label to equation, but somehow I can't add label if formula is in table or float. Ok, I can take them outside and then I can label ...
2
votes
2answers
83 views

Multi-page equation with only a single equation number

I understand that environments such as equation would not allow page break while align will. But I want an equation box that only comes with one equation number and it spans over multiple pages. How ...
0
votes
0answers
23 views

How to align a set of equations in the left yet retaining the auto-numbering? [duplicate]

I have found many codes through which equations can be aligned in the left but the problem is it assigns either a single number to all the equations or no numbering at all. I want something like fleqn ...
3
votes
1answer
46 views

Geometry and Equation centering: strange behavior

I have found a strange "bug", where my equations do not seem to be aligned correctly when using the geometry package. I try to explain this behavior in more detail using this MWE: \documentclass[ ...
3
votes
1answer
48 views

Avoid pagebreak between equation and label

I have a very long equation which barely fits into one line, but the label does not and is positioned one line below. The problem is that if the equation is at the end of a page, the labels is moved ...
3
votes
1answer
43 views

Can't generate png with Error: Erroneous nesting of equation structures

i am trying to generate pdf file from latex document with formula below \documentclass[border=2pt]{standalone} \usepackage{amsmath} \usepackage{varwidth} \begin{document} ...
5
votes
2answers
481 views

How to represent the following math equation (border matrix) in Latex?

I am frustrated in setting the above attached picture to my manuscript. All things are feasible by using the \begin{cases} or matrices environment. The placing of T1, T2, ... , Tn and V1, V2, ..., ...
2
votes
2answers
215 views

Unwanted white space in parentheses

I'm trying to write an equation and I used left and right to adjust parentheses. Unfortunately, there is too much white space in the top of parentheses. Is there any way to reduce the white space? ...
0
votes
0answers
16 views

Writing an equation. [duplicate]

I would like to know how I can write this image in latex code. thank you. I tried to use pipe grep to put the limits, but it did not work.
5
votes
2answers
195 views

Huge braces showing Integration by Parts (Calculus) on the middle of the equation

I saw somebody do this one time and I thing it is a great idea to show an integration by parts for Calculus exercises. How can I achieve this result? Do you have other methods to show Integration ...
2
votes
1answer
83 views

Chemical equation with radiation arrow

I would like to to write the following equation in my document in latex. I am using \usepackage[version=3]{mhchem}. How can I write that in latex to get a similar outcome? (The arrow can be shorter ...
2
votes
1answer
31 views

Eqnarray cannot handle lines starting with a bracket

I just noticed this, but it seem obvious. A construct like this \begin{IEEEeqnarray*}{rCl} a & = & b \\ [c]_d & = & \ldots \end{IEEEeqnarray*} Does not compile because latex ...
2
votes
1answer
33 views

How to deal with underbrace inside parentheses?

I have the following equation: J_\pi(x_0)=\left(\underbrace{g_N(x_N)}_{\mathclap{\substack{\text{Terminal} \\\text{cost}}}}+\underbrace{\sum_{k=0}^{N-1}g_k(x_k,u_k,w_k)}_ ...
5
votes
1answer
69 views

How to decrease vertical whitespace before and after an equation

I want to decrease the vertical space before and after an equation. But the effect should not be global! So I just want to change a the vertical space of a part of my equations. Here is an example of ...
3
votes
1answer
53 views

Putting a full stop in the end of an equation makes equation number appear one line below

I'm having a problem. I am writing my thesis in physics, so I use a lot of equations. Since equations are to be treated as part of a sentence they include punctuation in the end. I have all the ...
1
vote
1answer
29 views

Hierarchical annotation on latex equation

I have this code: p = \Big[ \big[(v^\alpha _1, v^\beta _1), (v^\gamma _1, v^\delta _1, w_1)\big], \big[(v^\alpha_2, v^\beta_2), (v^\gamma _2, v^\delta _2, w_2)\big], ... , \big[(v^{\omega-1} _n, v ...
2
votes
1answer
113 views

Numbering color in align environment

I have a long series of equations in an align environment and I want to highlight only the last one (final result) using \color{red}. However, the label number stays black (unlike to what happen in ...
1
vote
1answer
35 views

Left align single equation in gather

How do I left align a single equation in gather environment? \begin{gather} a=1 \\ % How to left align this? b=2 \\ \end{gather}
1
vote
0answers
42 views

How to change equation numbering globally? [duplicate]

I would like to change equation numbering like: (1a) (1b) (1c). How should I do this? My code is like this: \begin{equation} first equation with number(1a) \end{equation} \begin{equation} first ...
0
votes
1answer
81 views

Number equation as 0.1 instead of 1

I am using book class for my thesis. I have a preface which is before the first chapter. In this preface, all sections are numbered like 0.1 etc. However, equations are numbered as 1 instead of 0.1, ...
2
votes
1answer
93 views

Adding a subscript to a character forces a new line

in order to use subscript, the format used is: \[ A_{k} \] But whenever I use this, it puts the expression in a new line. But I don't want it to be placed in a new line, what should I do.
4
votes
2answers
97 views

\tiny can't change the font size of the symbol such as \sum in equation

I want to change the font size of the equation, but it seems that the large symbol in equation such as \sum can't be changed. Why would that happen ? This is my AWE \documentclass{article} ...
1
vote
0answers
42 views

Equation format

I have equation which is like industry-adjusted leverage which I write in following way \vspace{-0.14 in} \begin{equation} \label{equation 5} \begin{split} Industry-adjusted \ ...
1
vote
1answer
63 views

Top-aligning equations in multicols

Using the multicols environment works fine to make to columns in the middle of a document with text. But it doesn't seem to work in the same way with an align environment Code snippet and example ...
0
votes
1answer
158 views

How to write equations in beamer?

I'm having errors when I try to write an equation with beamer package. The rest of the document works fine, so I'm only posting the relevant part : \documentclass{beamer} \usetheme{Dresden} ...
0
votes
0answers
30 views

Algebraic Exapansion guide arrows [duplicate]

So I am writing up notes for Algebraic expansion and thought about putting guide arrows as the following. At the moment I only have the equation itself produced by the following code. ...
4
votes
1answer
80 views

Aligning multiple sets of equations equally with one case per set

Using LaTeX, how could I achieve the below: Note how the left equations are aligned around the = which can be achieved using align*. The right case with the center text can likewise be achieved ...
0
votes
2answers
70 views

Please how can I write this equation in latex?

Please how can I write this equation in latex?
18
votes
2answers
448 views

Example in which `$$…$$` gets wrong spacing

The use of \[...\] vs. $$...$$ is discussed in Why is \[ ... \] preferable to $$ ... $$? and What are the differences between $$, \[, align, equation and displaymath?. It seems like \[...\] has ...
2
votes
1answer
60 views

Problem with aligned environments in an enumerate environment

I wonder how I can take this code $\begin{enumerate} \item $\begin{aligned} \int\frac{dx}{\sin x\cos x}&=\int\frac{d(\sin x)}{\sin x(1-\sin^2 x)}\\ &=\int\left [\frac{1}{\sin ...
3
votes
2answers
77 views

Separate equations on separate lines

I'm new to laTex and I've started writing my first article with it. I have a number of equations to display, and I'm stuck at the most fundamental level. All the equations that I type are displayed in ...
1
vote
1answer
22 views

Aligning equation number while writing text within equation

I am using text with in aligned environment as \begin{equation} \begin{aligned} \Vert \Vert^2_F&= tr\{()\}\\ &=\Vert\Vert_F^2\\ \shortintertext{which after differentiation gives} ...
1
vote
1answer
38 views

How do I place equation numbers before the equation in align environment?

I am doing a proof homework that requires this special composition. The equation numbers need to come before the equation, i.e. on the left of the equation. It should look something like this: ...
0
votes
1answer
117 views

How to use danish letters in equation/align?

How to use æ, ø, å in LaTeX align? \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[danish]{babel} \usepackage{amsmath, amssymb, amsfonts} \begin{document} \begin{align} æ,ø,å ...
1
vote
1answer
55 views

Split equation problem in cheatsheet?

I was trying to prepare a cheat sheet using the template posted by xport (Preparing cheat sheets) However when I try to use "\begin{split}" I get an error \begin{split} on input line...ended by ...
13
votes
3answers
262 views

In the equation environment, how do I align an equation, AND an image AND the equation number?

I am trying to add an image adjacent to an equation in the equation environment. When I use the code below, the equation and the image are aligned but the equation number jumps to the next line. If I ...
1
vote
0answers
47 views

I always get missing $ when using \begin{equation} [duplicate]

I am currently writing my master's thesis on LaTeX, and I keep getting problems each time I use the \begin{equation} syntax, this is what I'm using \begin{equation} DTW(X,Y)= ...
2
votes
2answers
72 views

Underbraces in formula pointing to text part 2

This post is building from the post found here developed by Gonzalo Medina. How to get the same equation to behave correctly on two different pages? In my code, the under braces do not fall in the ...
0
votes
1answer
21 views

Break line for value in power within a gather

\documentclass{article} \begin{document} \begin{gather} \left\{ \begin{aligned}\label{5} A&=\omega(4-i)[\lambda(2^{\omega(1.2-\textup{r})})\vee\\ &\qquad{}\lambda(2^{\omega({\lvert ...
1
vote
2answers
51 views

Subscript in molecule over reaction arrow

I am writing a report that requires chemical reactions to be numbered and have used the following code to do so: \documentclass[12pt,a4paper]{article} \usepackage{amsmath} \usepackage{chemformula} ...
2
votes
1answer
78 views

Creating List of Equations

I want to create list of equations, I used: \documentclass[final]{york-thesis} \usepackage{tocloft} \begin{document} \makefrontmatter \newcommand{\listequationsname}{List of Equations} ...
2
votes
1answer
48 views

Alignment of equation using latex

% !TeX spellcheck = en_US \documentclass[11pt,twoside]{book} \usepackage{amsmath} \usepackage{array,tabularx} \newenvironment{conditions*} {\par\vspace{\abovedisplayskip}\noindent ...
1
vote
1answer
83 views

problem-with-parenthesis-of-equation-label?

I'm new to LaTeX, trying to label an equation by this code: \documentclass[a4paper,12pt,fleqn]{report} \usepackage{xepersian} \usepackage{amsmath} \begin{document} ...
1
vote
3answers
54 views

Wide equations in enumerate

When inside an enumerate or itemize, I noticed that my displayed equations (most of which are pretty long) don't use the full text width, but instead are indented - due to being inside a list ...