{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
32 views

Set colour of equations when using preview package

I use the preview package to export a pdf containing only my equations by putting the following in the preamble \usepackage[active,tightpage,displaymath,textmath]{preview} ...
1
vote
4answers
991 views

Begin Array in LaTex

Tried the equation in the image below with the following codes, but was encountering errors. Please can anybody be kind enough to help. Thanks. \begin{array} {p^'}_0\left( t \right) = - \lambda ...
1
vote
3answers
65 views

How to do group of this equations?

Here (P1) denotes problem 1 and (P2) denotes problem 2. (D1) and (D2) denotes their relaxations. I want to pose the question whether the relaxations may or may not be equal. I am familiar with writing ...
6
votes
2answers
656 views

How can I write these chemical reaction equations?

Trying to write a thesis, and I need some reaction equations. How can I write this in LaTeX?
2
votes
3answers
78 views

How can systems be side by side with an arrow between them

Here's my problem : I'd like to a write many equivalent systems of equations. Therefore, I'd like the first to be at the left, then an arrow (\Leftrightarrow, for example, since they're equivalent ...
1
vote
1answer
52 views

Aligned and \left \right [duplicate]

The following aligned equation gives an error 'Extra }, or forgotten \right.': \begin{equation} \begin{aligned} U&=\mathbb{R}^{M N}\\ V&=\mathbb{R}^{2 M N}\\ W&=\mathbb{R}^{4 M N}\\ ...
6
votes
3answers
195 views

why does something disappear in the aligned environment?

I noticed a strange behaviour with the aligned environment: \begin{equation}\label{eq:direct_limit} \begin{aligned} [x] + [y] & := [\eta_{ik}(x) + \eta_{jk}(y)],\\ [x] \cdot r & := [x \cdot ...
7
votes
1answer
273 views

Changing font size in equations changes superscript size in text (LATeX)

I used \DeclareMathSizes{12}{20}{14}{10} to make my equations larger than the default output of LATeX (the parameters mean, as far as I understand, {font size}{equation regular text size}{equation ...
2
votes
1answer
63 views

Using IEEEeqnarray environment in multiline equation

I am trying to get my equation $\begin{equation}\label{form explicitely} F_{\mathfrak{B}}(x,y)=\frac{((t^3-2t^2p+t(q+p^2)+r-pq)}{f^2}x^3+ \frac{((-3t^2+4tp- (p^2+q))}{f}x^2y+(3t-2p)xy^2-fy^3 ...
3
votes
1answer
95 views

How to customize numbering in IEEEeqnarraybox?

I want a equation like this Code is below But now I can't number equations like the above as without using \cdot and (1) etc. manually. I'm so confused. Please help. Thank you. ...
1
vote
1answer
73 views

Force equation number to be right aligned

I'm trying to typeset some basic equations with proper numbering. I simply want a single equation to have a right aligned number in the two column environment that I'm using. I tried three approaches, ...
0
votes
0answers
16 views

Is there a way to change behaviour of a (math)command depending on the display style? [duplicate]

I want to define a command that changes behaviour depending on weather it is written in inline or disply mode. For example I want to define \backlim, such that it prints \lim_\leftarrow when used in ...
1
vote
2answers
215 views

Equation signs disappeared

I really hope someone can help me, because I'm soon submitting my master thesis and suddenly this happend: All minus/plus/equal-signs have disappeared from my equations! They have been there all the ...
0
votes
1answer
45 views

Equation with note and tag

Given the following set of equations as an example: `... \begin{align} x &= y^2 + 3 \\ y + 3 &= 11 \end{align}` The equations will be center aligned with respect to the "=" sign and ...
1
vote
0answers
87 views

Numbering of equations in chemfig

This might be a stupid question, but how do I number my equations in chemfig? I've drawn this rather complicated equation in chemfig, but I have no idea how to number it. I was hoping to have it ...
4
votes
3answers
570 views

Left-align all equations in a block

align environment without any explicit alignments points (given by &) right justifies the equations in the block. They can be left justified by putting & at the beginning of each equation. Is ...
4
votes
2answers
2k views

Arrows chemical equations

I want to write the following equation; note the arrow underneath BaSO_4 and the H_2O over the \longrightarrow. Is that possible with the chemist package, which I already use for my chemical ...
3
votes
1answer
64 views

Equation causes overfull hbox

I have the following code, which causes an overfull line. I don't know how to fix this. Any ideas? \documentclass{elsarticle} \usepackage[math-style=TeX]{unicode-math} \usepackage{amsmath} ...
2
votes
3answers
92 views

Customize equation numbering for Equation environment?

I want to manually label equation number ? For example I want to label this equation 3.1 instead of (1) which automatically pops up. Is it also possible in split environment as well or not ? ...
0
votes
1answer
92 views

How to insert mathematical formula /equation in Zotero's note?

I've been exploring several reference manager by now and ends up using Zotero, because it's simplicity. previously i had mostly been using Citavi, Citavi had this feature of storing mathematical ...
1
vote
0answers
88 views

how to generate Mathematica code into more-appealing LaTeX code?

Subscript[R, c] (Subscript[m, d] (g+Overscript[y, ¨]) sin(Subscript[\[Alpha], c]+Subscript[\[Theta], 1])+Subscript[k, d] cos(Subscript[\[Alpha], c]+Subscript[\[Theta], 1]) (Subscript[d, c] ...
1
vote
1answer
117 views

Formatting of equations

I have the following equation: But my professor want it to be like this (photoshoped): He told me, I should use something like "left equation" or so.. I tried the following: \begin{equation*} ...
3
votes
1answer
43 views

Number equations like subsections

I would like for equations to share the same counter as subsections. For example if my document is: \documentclass{article} \begin{document} \section{A} \begin{equation} 1+1=2 \end{equation} ...
9
votes
5answers
596 views

Mathematica equations to LaTeX but equation is too long, how to split it?

I am new user of LaTeX. I have a problem of splitting long equation which I generate by Mathematica. I tried to use \\, multiline, and split commands but it gives error. Is there way to export ...
1
vote
1answer
54 views

Numbered equations with additional text part 2

I would like to have numerated equations with some additional text added, where the numbering automatically increases for any next equation, with the possibility to add a different text for any ...
2
votes
1answer
101 views

Numbered equations with additional text

I would like use the following enumeration of equations: x+y=z (1.1) some text Where this enumeration is, say, given on the right side of equation. It ...
5
votes
3answers
77 views

catcodes vs. autonum

I'm trying to make certain equations with large amounts of special characters more readable by playing with catcodes. This works: \documentclass[12pt]{book} \begin{document} $$ \catcode`X\active ...
3
votes
1answer
44 views

In LyX, how to put the equation number on the left (instead of the right)?

I'm writing an article in LyX v.2.0.6 and am quite new to it. All numbered equations have the equation numbering appearing on the right of the equation. I should, however, place them on the left. Does ...
24
votes
10answers
1k views

Best typesetting of formula

Consider the following example. \documentclass{article} \usepackage{amsmath} \newcommand*\mathsetfont{\mathbf} \newcommand*\DeclareMathSet[1]{% \expandafter\newcommand\csname ...
3
votes
1answer
36 views

Equation sub-numbering [duplicate]

How can I label my equations as: a = b+c (1(a)) d = f+g (1(b)) Please advice as I have used simple labeling structure \label but don't know how to handle the letters.
3
votes
1answer
140 views

How to combine paragraphs of text with equations using \shortintertext and 'align'

I commented that I'm solving problems to make a book of basic math (or precalculus). In the environment or region of solving an exercise I want to combine paragraphs of text (using \shortintertext) ...
2
votes
2answers
384 views

Vertical space between align and alignat environments

I have a problem with the vertical space between align (1) and alignat (2). How can I reduce this space to the same vertical space as before (1)? How can I completely erase the vertical space? I know ...
1
vote
1answer
103 views

Why is $ required around \oplus in a math environment?

I wrote the following: \begin{equation*} \begin{tabular}{c|c|c} P & Q & P \oplus Q \\ \hline \text{T} & \text{T} & \text{F} \\ \text{T} & \text{F} & \text{T} \\ \text{F} & ...
5
votes
2answers
105 views

line break in equation

How do I get the line to break in an equation like in the example below between starName=name and birthdate=1960. \begin{document} $\Pi_{movieTitle} \sigma_{starName = name \wedge birthDate = ...
9
votes
3answers
115 views

what is the correct way to typeset equations with a leading indicator/marker on each

I am using \begin{align*} to typeset set of equations. I want to say that the first one applies to case of dimension [T] (time), and the second for [L] (length) and the third for [M] (mass). I want ...
209
votes
8answers
14k views

Why is \[ … \] preferable to $$ … $$?

I've heard that you should use \[ ... \] for displayed equations instead of $$ ... $$, but why is that? I'd assumed that it's so that you can more easily tell which are starting and which are ending ...
0
votes
1answer
81 views

Changing vertical spacing between equations

I'd like to reduce vertical spacing between dmath equations. I don't know how spacing works here. I tried changing line spacing with setspace but to no effect. This is meant to be a formula sheet with ...
9
votes
2answers
197 views

Tikz figure inside equation with braces that are too large

I'm currently trying to include a tree, visualized using Tikz-qtree and Tikz into an equation. The problem I'm having is that the curly braces are way too large. The code I'm using at the moment is: ...
4
votes
1answer
63 views

Hidden reference to equation

How to make a hidden reference to an equation, such that \mathtoolsset{showonlyrefs=true} is overridden (assuming it is active)? Alternatively, how to switch off showonlyrefs temporarily (regardless ...
7
votes
2answers
169 views

How do I color one line of a display equation?

I want to color only one line of this display equation: \begin{align*} i_{fb} &= - \frac{v_o}{Z_F} \\ F(s) = \frac{i_{fb}}{v_o} &= - \frac{1}{Z_F} \\ \color{red} F(s) &= - \frac{1 + ...
2
votes
1answer
61 views

Issue with arabxetex and equation numbers

There seems to be some issue with printing equation numbers when using the arabxetex package. Here is a minimal example: \documentclass{article} \usepackage{arabxetex} % %\usepackage{bidi} % ...
3
votes
2answers
58 views

How to align terms in alignat environment (follow-up)

This is follow-up on the similar question. I still cannot figure out where to put ampersands on alignat environments. :( Here is what I generated. To enhace the readability, I want to customize ...
5
votes
1answer
444 views

problem when writing an equation with latex: missing delimiter (. inserted) \end{equation}

I tried this and that, but could not solve this problem. Here is the code that produces this error: \begin{equation} o=g(h)=\left\{\begin{array}{rcl} 1 & if & h < 0 \\ 0 & if ...
6
votes
2answers
74 views

Tabbing/horizontal placement with labeled equations

I have a string of equations, each with a label that I would like to format nicely. I want the equation labels to be at the same horizontal position and the start of the equation to be at the same ...
3
votes
1answer
64 views

Placing an object at the end of the line

I'm new in LaTeX and I'm currently faced with a problem of placing an object at the end of the line. E.g. {equation} (1.1) I wish to place (1.1) at the end of the line, and I've searched around ...
31
votes
3answers
17k views

align* but show one equation number at the end

I am using align*, but I still need an equation number. I know one solution is to use align and add \nonumber to all lines but the last. Is there a 'lazy' way to do it? I searched a little and found ...
1
vote
1answer
55 views

Equations with several identities

I want to write a simple single line equation of this kind: a = b + c = d + e + f. However, when I try to add the second identity ( = ), everything on its right side does not appear in the results. ...
13
votes
1answer
125 views

How can we detect that we are right after display math mode? (for vertical spacing)

I need a "\smartmedskip" feature/macro in plain TeX which is in usual identical to \medskip, however, if we are right after display math mode, then it should be just "disabled", i.e. it should then ...
2
votes
3answers
418 views

Is there an easier way to type math symbols than adding them with LaTex? [closed]

I want to add math symbols to my texts, but i can't get Latex to work, are there other ways to type math symbols?
4
votes
6answers
3k views

How can I auto adjust a equation to appear in the entire page? (Scale to equations, is this exist?)

If I have a document like this: \documentclass[landscape, 12pt]{report} \usepackage[landscape]{geometry} \usepackage[utf8x]{inputenc} \usepackage[T1]{fontenc} \usepackage{amsmath, amssymb, ...