{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.
6
votes
2answers
55 views
Wrong vertical space in theorem environment closed by an equation
It happens that LaTeX, to fill a page vertically, adds extra spaces around equation environments (and other vertical spaces). Now suppose I have a theorem environment (using amsthm) which ends with an ...
0
votes
1answer
41 views
Equation problems
So I am trying to insert an equation. The output seems to be correct, but I get some error messages.
\begin{equation}
\centering
\label{eg:homogeneity2}
\begin{align}
H(C) = - ...
3
votes
1answer
42 views
Highlight referenced equation number
I have to give a talk, and I am using a LaTeX paper that I will write onto the blackboard. However, it is quite annoying to write all equation numbers on the blackboard, but I do want to have them all ...
12
votes
3answers
2k views
Chemistry Equations
I have the following Chemistry equation:
2LiOH(s) + CO2(g) -> Li2CO3(s) + H2O
And I have the following LaTeX code:
\ce{2LiOH_{(s)} + CO_{2(g)} -> Li_{2}CO_{3(s)}+ H_{2}O_{(g)}}
But I ...
1
vote
1answer
59 views
Using split to break a long equation
I am trying to break a long equation over multiple lines. It is here as follows:
\begin{equation}
\begin{split}
L(\textbf{q})=&\prod_{t=0}^{36}{q_{1}^{iB(t)sB(t+1)+iC(t)sC(t+1)}\\
&\quad\cdot ...
5
votes
3answers
64 views
Putting a header above the cases in an equation
This question is best illustrated by an example. Consider the following code
Further we can show that
\begin{equation*}
P_{v}(T) =
...
6
votes
5answers
13k views
How to align a set of multiline equations
I am trying to align a set of long equations, that are themselves align environments as most of them are spreading on multiple lines.
Currently I just have a sequence of align environments, with ...
2
votes
2answers
51 views
How to adjust the blank space between the top of the left curly brace and the contents?
I want to type a system of equations delimited by the left curly brace. And I tried using the \left{ with aligned, and cases, and array, and numcases. But there are some difference between the results ...
8
votes
1answer
95 views
Change the size of only a part/subset of a single equation
For example, I'd like to do:
$Q^{r<1}$
but with the r<1 having a much smaller font size than the Q. Of course r<1 will naturally have a smaller size since it is a superscript, but I want ...
10
votes
2answers
2k views
what's a replacement for \lefteqn in the align environment?
I would like to avoid the use of eqnarray.
I would like to use the align environment instead.
However, I have an equation that I specify currently the following way:
\begin{eqnarray}
...
1
vote
1answer
75 views
point-and-click open source javascript equation editor for latex?
Does anyone have experience with a good open source equation editor for online use? I'm not interested in WYSIWYG (What are the Open source WYSIWYG Independent Web Equation Editors available on ...
8
votes
1answer
143 views
Automated generation of equation key
I am looking for a way to automatically create the legend for an equation (let's say embedded in the align environment).
What I'm currently using is a semi automated to fully manual way. Let me ...
2
votes
4answers
96 views
Putting row of dots in an equation
Is it possible create a system of equations that will look like this:
aX(x_0)+bX(x_0)+cX(x_0)=A
dX(x_1)+eX(x_1)+fX(x_1)=B
.........................
gX(x_n)+hX(x_n)+iX(x_n)=B
I tried with this:
...
4
votes
1answer
133 views
Size Math font – Define different sizes for Display and Text Equations globally
I have a rather long document with plenty of maths and equations. As the equations are quite long I have chosen to use 8pt for equations in the display mode instead of the 10pt normal size.
...
3
votes
0answers
77 views
Is it possible to reprint an equation without actually rewriting it? [duplicate]
I have an equation like:
\begin{equation} \label{whatever}
x+y=1
\end{equation}
I want to write it again, keeping the same number. I know I could do the following:
\begin{equation}
x+y=1 ...
3
votes
1answer
55 views
Equation and image in a row
I have example (defined as \newtheorem{example}{Example}[section]) and inside
I have four-level equation of same size as an image ABC.png that I want to put on the right from the equation. But it is ...
3
votes
3answers
75 views
How to simply center equations using eqnarray*?
So I have this code here:
\begin{eqnarray*}
x + (y - 2)^4 = w^2 \\
(x - 9)^2 + y_2^2 = w^2 \\
x + (y - 2)^4 = w^2 = (x - 9)^2 + y_2^2 \\
\end{eqnarray*}
As you can see, I get the ...
5
votes
1answer
62 views
Annotated equations
I need many of my equations to have annotations stating their domain of validity, or certain conditions for which the equation is true. Preferably, these would be flush right against the equation ...
6
votes
2answers
100 views
Missing final brackets (in one equation { and in other - ]) in the equations
This is my first question on tex.stackexchange, so the formatting will be terrible.
I've got a problem with three lengthy equations - the closing brackets, in all three formulas, are not displayed.
...
2
votes
2answers
55 views
How to label text with equation number?
I'm trying to put equation numbers next to text as if said text was an equation. If I use \text{} in an align* environment, it typesets the text right-aligned and the whole environment centered, but ...
1
vote
1answer
47 views
Two columns of equations, aligned and just one number per column
I'm writing a two-column document, and I want to display two sets of large equations floating at the top. Each equation set should be aligned within the same column, and only the two top equations ...
1
vote
2answers
85 views
Why LaTex only prints the first page of a document?
I'm writing my first document with Tex and encountered problem(s) with it. At the moment I can only get the first page printed out :/ I'd appreciate enormously if anyone could help or give hints for ...
3
votes
1answer
76 views
Discretionary equation breaking at a particular symbol
I have long equations that I want LaTeX to break automatically. After some extensive searching I have been unable to work out how to achieve this effect. I have breqn in my package list, however it ...
1
vote
1answer
70 views
Compiler error: “Missing $ inserted” [closed]
I have got the following equation in Latex. During compilation, the compiler complains about "Missing $ inserted". Unfortunately I am not able to find any error. Any ideas?
\begin{dmath} ...
0
votes
0answers
50 views
Numbering all equations [duplicate]
How can I number the equations of a document all at once?
I've tried to find an option in LyX but I didn't find any.
3
votes
3answers
88 views
How to write ':' and '_' in equation? [closed]
\begin{equation}
\label{eq:policy}
\(\text{[DIP:10.1.0.17] $\rightarrow$ F $\rightarrow$ L}\)
\end{equation}
Gives me many errors like ! Missing $ inserted and Bad math environment delimiter. How do ...
16
votes
2answers
285 views
Colored underbraces for annotating equations
I am trying to implement my previous Powerpoint presentation in beamer.
I have a figure like
I want to create something like this in beamer.
I wrote a equation as follows but I couldn't write the ...
12
votes
2answers
3k views
Multiple subequation labels in one \ref
I'm trying to write a macro that puts subequations' labels in parentheses in a compact form. For example, if I have
\begin{subequations}
\begin{align}
y - ax &= b \label{subeq1}\\
x^2 + ...
21
votes
10answers
992 views
Best typesetting of formula
Consider the following example.
Code
\documentclass{article}
\usepackage{amsmath}
\newcommand*\mathsetfont{\mathbf}
\newcommand*\DeclareMathSet[1]{%
\expandafter\newcommand\csname ...
12
votes
2answers
79 views
Input manually a number into \eqref
Often while writing papers I find the need to cite particular equations from other papers. For example, the landmark paper by Einstein, Newton, and White (2015) lays out the theory of everything in ...
8
votes
2answers
903 views
Change equation font to Times New Roman?
How would I change equation font in the \begin{equation} environment to Times? For instance, I use this code in LaTeX:
\begin{equation}
\begin{split}
{L_{CML}}\left( \theta \right) ...
8
votes
2answers
81 views
How to move the equation numbers to bottom lines?
\documentclass[preview,border=12pt,varwidth]{standalone}
\usepackage[a4paper,margin=1cm]{geometry}
\usepackage{mathtools}
\begin{document}
\abovedisplayskip=0pt\relax
\begin{align}
...
2
votes
0answers
97 views
LaTeX is not compiling consistently
I am really new to LaTeX, so it's possible I'm making some egregious error that I'm not aware of, but my documents are compiling inconsistently. By that I mean it compiles correctly maybe one in ...
2
votes
1answer
121 views
How to number an inline-math equation?
I want to add an equation number in a formula, but I've got an error: "You can't use `\eqno' in math mode.". This is my code:
$e_{33} = 0 \eqno(4.4)$
How I can fix it?
9
votes
3answers
316 views
How can I number a few equations together
i would like to write few equations, but all the equations will get only once numbered and in the middle (right side) of the equations. e.q. if i write 3 equations, the number will be to the right of ...
3
votes
1answer
54 views
How to cross reference with \renewcommand{\theequation}?
I change the default numbering of the equation. Instead of default "1" on the right side I put "Eq. (1)". The number inside the parentesis automatically changes.
But in the cross reference i need ...
1
vote
1answer
74 views
Prevent multiple equation numbers when using \allowdisplaybreak with align
I have a very long equation of the following format
\begingroup
\allowdisplaybreaks
\begin{align}
a &= very long expression here\\
+ & another long expression here\\
+ & another long ...
6
votes
3answers
101 views
How to align 'parts' of these equations?
I have a set of equations given by the following code:
\begin{equation}
\label{eqn:eraserStart}
\max \, d
\end{equation}
\begin{equation}
a_t \in \{0,1\} \, \forall t \in T
\end{equation}
...
1
vote
1answer
73 views
How to use \displaybreak?
I have a very long equation
\begin{equation*}
\begin{aligned}
multiple line equation...
\end{aligned}
\end{equation}
But just using the above code causes the whole equation to start from a ...
4
votes
2answers
32 views
how to align texts in equation cases
I need to make an equation case with text following it. That text should be displayed in the middle of the two cases. This is my code:
\begin{eqnarray}\label{eq13}
a_k =
\begin{cases}
1 & ...
5
votes
1answer
47 views
Edit space for overbraces in equation
I would like to use \overbraces and \underbraces in my equation. However, when I make the text for \overbraces too long, the \overbrace doesn't contain the correct part.
...
0
votes
3answers
70 views
Bullet and equations or itemize and equation
I am using the following command.
\documentclass{12 pt}{article}
\begin{document}
$\bullet$ $A = B$
\end{document}
Here, I need to show the both bullet and equation by the number like ...
3
votes
2answers
58 views
How to wrap a long equation in Latex
I have a very big equation and using split or multiline is not helping. How do i wrap it and how do i make sure thatRHS of the eqn is always on the right side of equal to ('=') even when line is ...
1
vote
2answers
51 views
Spacing between a special character and text
Why do I get output like this ?
Why is the alignment varying if I embed the special characters like lambda and eta ?
code sample 1:
\begin{gather}
\label{eq:Highest spatial frequency}
\frac{2 ...
6
votes
2answers
94 views
Equations and defining equation variables
I have a main equation that should be numbered and now I want to define the variables of the equations which may contain another set of equations. For example please have a look;
code:
\begin{align}
...
8
votes
2answers
166 views
How to format Maxwell equations?
Is there a variant of split environment from amsmath package which would allow for two aligned equations in a row? I want to format two pairs of Maxwell equations in two rows and put single equation ...
5
votes
1answer
103 views
Typesetting of volume integral
This question has been bugging me for a long time: How do I properly typeset volume integrals? I would like to use the convention often used in Physics: d^3x=dV and \int dx f(x) instead of \int f(x) ...
4
votes
2answers
59 views
Custom cross-reference formats (e.g. “Equation 1” instead of just “1”) [duplicate]
I have an equation system set up as below. When I reference it however, ie. with \ref{eqn:surfacetension}, it only prints the number '1', and not 'Equation 1'. How can I modify the code to do that? I ...
0
votes
0answers
80 views
Numbered equation makes small sum operator
I am using the followig:
\chapter{Theoretical framework}
\section{Econometric framework}
\begin{equation}
{r^{h}_{t+1}}=
\alpha+\beta x_{t} + u^{h}_{t}
\end{equation}
%random test equationn
...
11
votes
4answers
3k views



