11
votes
Accepted
How to align equations like this?
You want aligned, rather than matrix.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\left.
\begin{aligned}
\frac{dx}{dy} &= a(y-x)+u \\
\frac{dy}{dt} &= -...
10
votes
Adding explanation next to the successive equations in latex
I think it's better to use an alignat or alignat* environment rather than an array environment to display several rows of equations, for two reasons. First, the rows are spaced slightly farther apart ...
8
votes
How to get two matrices/vectors in the same equation?
No blank lines are allowed inside the code for a math display. The outer braces are redundant.
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{bmatrix}
1 &...
8
votes
Accepted
Typsetting a variant of division
A simple array could do the trick, but I have no idea about what it means. First time I see something like that.
Update: added the array package for better rules connections, as suggested in the ...
7
votes
Adding a number in front of a vertical line in bracket equations
(I edited this answer after the OP clarified that the number should actually come after, not before, the vertical line.)
\documentclass{article}
\usepackage{mathtools}
\begin{document}
\begin{...
6
votes
How to align equations like this?
I want to align this equation such that dx/dt all align in the same line
I suggest you load the mathtools package and use a drcases environment.
\documentclass{article}
\usepackage{mathtools} % for '...
6
votes
Multi-line equations in 'aligned' environment with ampersand (&) inside \left-\right parenthesis
You should to try \biggl[ and \biggr] to have symmetrical brackets.
\documentclass[a4paper,12pt]{article}
\usepackage{mathtools,amssymb}
\begin{document}
\begin{equation*}
\begin{aligned}
\ddot{...
6
votes
Multi-line equations in 'aligned' environment with ampersand (&) inside \left-\right parenthesis
I want the beginning of the second line to be aligned with a specific point inside the square brackets of the first line.
Maybe I'm missing something, but to me the long equation (a) has but one ...
6
votes
Accepted
system with parameter $m$
You're using the systeme tag: that's about the systeme package (documentation in French).
\documentclass[12pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage[french]{babel}
\usepackage{amsmath,...
6
votes
Typsetting a variant of division
Using holtpolt package.
\documentclass[a4paper,12pt]{article}
\usepackage{holtpolt}
\usepackage{amssymb}
\begin{document}
\[C_n(x) = \varphi_0[x_0] +\polter{x-x_0}{\varphi_1[x_0,x_1]}+\polter{x-x_1}{\...
5
votes
Accepted
Numbering equations with same counter as theorem environment
You want that theorem and proposition share the equation counter.
\documentclass{amsart}
\numberwithin{equation}{section}
\newtheorem{theorem}[equation]{Theorem}
\newtheorem{proposition}[equation]{...
5
votes
Adding a number in front of a vertical line in bracket equations
You can use nicematrix
\documentclass{article}
\usepackage{amsmath}
\usepackage{nicematrix}
\begin{document}
\[
\begin{NiceArray}{l@{\;\;}l}
A+B=1 & e \\
Ae+Be^2=2e^2
\CodeAfter
\SubMatrix\{{1-...
5
votes
Adding a number in front of a vertical line in bracket equations
\documentclass{article}
\usepackage{amsmath}
\usepackage{tabularray}
\begin{document}
\begin{equation*}
\left\{
\begin{tblr}{columns={colsep=2pt}}
A + B = 1 \\
Ae + Be^2 = 2e^2 \\
\end{tblr}
\...
4
votes
Adding explanation next to the successive equations in latex
Here's a possibility:
\documentclass{article}
\usepackage{array}
\begin{document}
The following equalities establish the associative property for addition.
\[\begin{array}{r @{} >{{}}c<{{}} @{} ...
4
votes
Adding explanation next to the successive equations in latex
With {WithArrows} of the package witharrows.
\documentclass{article}
\usepackage{mathtools} % for \MoveEqLeft
\usepackage{witharrows}
\begin{document}
The following equalities establish the ...
3
votes
Adding a number in front of a vertical line in bracket equations
Another solution with nicematrix.
\documentclass{article}
\usepackage{nicematrix}
\begin{document}
\[
\setlength{\arraycolsep}{2pt}
\begin{NiceArray}{\{l|l}
A+B=1 & 5 \\
Ae+Be^2=2e^2
\end{...
3
votes
Adding explanation next to the successive equations in latex
As starting point is considered @José Carlos Santos answer (+1):
\documentclass{article}
\usepackage{array}
\begin{document}
The following equalities establish the associative property for addition.
\...
3
votes
Accepted
Is there an elegent method to split a long formula like this?
I'd like to suggest that you introduce just one extra line break, and that you do so by encasing the material in the cases environment in an aligned environment. And, I'd use \smashoperator[r] ...
3
votes
How to get two matrices/vectors in the same equation?
This MWE to have the same thickness between the two matrices using the package mtpro2 version lite.
\documentclass{article}
\usepackage{amsmath}
\usepackage[lite]{mtpro2}
\begin{document}
\[
\begin{...
3
votes
can i use resize box in align
Give up with those unreadable long fractions and split the numerators.
In the code below I removed all unnecessary braces.
\documentclass[a4paper,12pt]{book}
\usepackage[T1]{fontenc} % <-- new
\...
3
votes
Accepted
How use flalign to align the equations on the left?
You can use this construction:
\[ \begin{aligned}
& x_{i\Big(\psi_\sigma^{m+1}\big(\varphi_\sigma^{m+1}(0)\big)\Big)}\bot x_{i\Big(\psi_\sigma^{m+1}\big(\varphi_\sigma^{m+1}(1)\big)\Big)}\bot\...
3
votes
Is there an elegent method to split a long formula like this?
I don't think that split and cases are the right tools.
Here I use a two-column array; in the first row the columns are merged and some additional space is added at the end (some visual formatting is ...
2
votes
can i use resize box in align
I wouldn't use resizebox, rather split long numerator in two lines by use of the \splitfrac of mathtools:
(red lines indicate page layout)
Only first three lines:
\documentclass[a4paper,12pt]{book}
\...
2
votes
How to align equations like this?
I had to make some assumptions about document settings, but something like this?
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\left.
\begin{...
2
votes
System of equations
A solution with a customized environment in mathematical expression or equation in the preamble
\newenvironment{system}%
{\left\lbrace\begin{array}{@{}l@{}}}%
{\end{array}\right.}
And in the text for ...
2
votes
How would I write a probability density function?
I found a solution to this using cases:
\documentclass{article} % or some other suitable document class
\usepackage{amsmath} % for 'cases' environment
\begin{document}
\[
\hat{y} = \begin{cases}
...
2
votes
How can I fix breqn replacing \Psi with an overbar?
breqn documentation mentions the issue:
Normally you load the math font before breqn:
Unfortunately fourier is not one of the supported math fonts,
you need to figure out what's going on then create ...
2
votes
Multiple short equations in columns
Like this:
I would instead of multicols use minipages:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
I have a long paragraph here and below this text I want to list some short ...
2
votes
Accepted
Tilde floats above superscript instead of above letter
Welcome to TeX.SE!
Something like this?
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{split}
\Tilde{B}_{k}^{ij} = f(B^{i})_{k} + (1 - \lambda) f(B^{j})_{k}...
2
votes
Accepted
Left align a single text line within a block of math equations
Use \shortintertext{and} (from mathtools), with no following \\
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
equations × 5916align × 1052
math-mode × 868
amsmath × 657
numbering × 500
horizontal-alignment × 413
spacing × 321
cross-referencing × 257
formatting × 191
vertical-alignment × 154
labels × 150
split × 144
line-breaking × 135
beamer × 132
subequations × 132
tables × 129
matrices × 122
alignment × 118
cases × 111
errors × 106
brackets × 101
arrays × 100
tikz-pgf × 92
symbols × 92
environments × 92