New answers tagged equations
0
votes
Aligning long Equations
My advice is as follows. It's improved from @Mico 's solution:
add the indentation by \hptantom of the first line of the equations;
add the indentation by \hptantom of the third line of the equations;...
1
vote
Aligning long Equations
Here's my suggestion.
Observe that I've replaced all four instances of | with \bigm\vert and manually increased the sizes of the opening and closing parentheses in each line. I'd also place the final ...
3
votes
Aligning long Equations
I'd use something like this
Note I changed your conditional |'s to \mid's to give them better spacing. The normal | kinda drowns
Edit: Missed the \cdot, this is exactly why one never ends a displayed ...
5
votes
Vertical spacing around plain display math vs `amsmath` environments such as `gather`
The space above a math display is either \abovedisplayskip or \abovedisplayshortskip depending on whether the last line of the previous paragraph overlaps the equation.
However AMS alignments are ...
6
votes
How to add a left-hand brace to this system of equations?
With {DispWithArrows} of witharrows.
\documentclass[12pt,a4paper]{article}
\usepackage{witharrows}
\usepackage{amsmath}
\begin{document}
\begin{DispWithArrows}<>
a_1x + b_1y + c_1z &= ...
7
votes
Accepted
How to add a left-hand brace to this system of equations?
The following solution employs the empheq package and its eponymous environment.
Note that it's not necessary to employ {alignat}{3} for the equations at hand -- align will do just fine.
\...
2
votes
Accepted
How convert equation environment to dmath environment automatically?
First of all, you want dmath, not dmath*.
\documentclass[12pt,notitlepage]{article}
\usepackage{amsmath}
\usepackage{breqn}
\ExplSyntaxOn
\RenewDocumentEnvironment{equation}{b}
{
\...
1
vote
How to represent the following math equation (border matrix) in Latex?
With {NiceArray} of nicematrix.
\documentclass{article}
\usepackage{nicematrix}
\begin{document}
\[
\renewcommand\arraystretch{1.5}
ETC_{ij}=
\begin{NiceArray}{c\left\lbrace cccc}[first-row,...
3
votes
Accepted
How to align 4 equations and enumerate them
Just add another & to have the descriptions left-aligned and use the subequations environment to obtain a sub-numbering for the set of equations:
\documentclass[12pt]{article}
\usepackage{...
5
votes
Accepted
Numbering individual cases
One way is to employ raisebox for moving comment condition for the second and third and ˙TikZ library tikzmark for drawing curly brace. In this are used decorations.pathreplacing and calligraphy ...
7
votes
Accepted
Smoothing a gaussian curve in tikz
Why not just add the two bell curves together?
\documentclass[margin=10pt]{standalone}
\usepackage{tikz}
\begin{document}
\begin{tikzpicture}[
declare function={gauss(\x)=3*exp(-(\x/3)^2);},
...
4
votes
Smoothing a gaussian curve in tikz
Adaptations
added another plot in between, reusing the gauss function, and scaled and moved it
plot[domain=-4:4, samples=100] (.125*\x+4.5, {3.39 - gauss(.15*\x)})
added some code comments
used ...
8
votes
Make single-dollar equation wrap
An old-style implementation:
\documentclass{article}
\usepackage{amsmath}
\makeatletter
\newcommand{\lon}[1]{% list of numbers
\ifmmode
\if@display
\ERROR
\else
\lon@{#1}%
\...
5
votes
Make single-dollar equation wrap
You already got good LaTeX advice here by Mico, so I feel free to add here a way to do it in ConTeXt lmtx, with the help of penalties.
To easily be able to turn it on and off, we define below Pmath, a ...
15
votes
Accepted
Make single-dollar equation wrap
I would argue that your approach to inputting the numbers is faulty. What you're conveying to your readers is a collection of individual numbers; this makes the commas part of the textual or sentence ...
0
votes
How to Break Long Equation which Exceed Page Width
There are many ways to do that. Here you have some of them:
You can use the \begin{split} environment. The \begin{split} environment allows you to split a long formula into multiple lines. The ...
1
vote
Long equations break with split or multlined
First proposal
The math fonts clearly clash with the text font.
\documentclass{IEEEtran}
\usepackage{amsmath,amssymb}
\usepackage{lipsum}
\DeclareMathOperator*{\E}{E}
\begin{document}
\lipsum[1][1-...
1
vote
Change equation using beamer without reformatting slide
An easy way to avoid vertical shifts in your frame is to use a [t]op aligned frame
to avoid horizontal jumping from adding the box around your formula, you could already draw it in the previous slide, ...
1
vote
Equation layout when using figure* for long equations occupying two colums
You have not provided the full MWE and we have no information on which document class is in use. If it's the standard article, here's a link to a solution on how to put wide floats in two-column ...
1
vote
last few lines not showing in the pdf
The align environment contains several lines that are very wide -- too wide, in fact, to fit within the text block. The main issue, though, is the material has so many lines that it simply cannot fit ...
3
votes
Accepted
PMI formula throws error
To use the \llbracket and \rrbracket macros, it's necessary to load either the stmaryrd or the fourier package. (Loading the fourier math package will also affect other parts of math typography in ...
0
votes
underbrace matrix inside brackets
With {NiceArray} of nicematrix.
\documentclass{article}
\usepackage{nicematrix}
\begin{document}
$\begin{NiceArray}{([ccc][c])}
a & b & c & x_1 \\
d & e & f & x_2 \\
g &...
Top 50 recent answers are included
Related Tags
equations × 5998align × 1071
math-mode × 882
amsmath × 663
numbering × 503
horizontal-alignment × 420
spacing × 324
cross-referencing × 264
formatting × 192
vertical-alignment × 157
labels × 151
split × 145
beamer × 135
line-breaking × 135
subequations × 133
tables × 131
matrices × 126
alignment × 122
cases × 114
errors × 108
brackets × 102
arrays × 101
environments × 95
tikz-pgf × 93
symbols × 92