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 ...
4
votes
Multi-Line Equation Alignment Across 5 Lines
I'd use split and vertically align all the + signs. A local command easily does the job, and \pder vastly simplifies the input.
\documentclass{article}
\usepackage{amsmath}
\newcommand{\pder}[2][]{\...
3
votes
Submatrices with in a pmatrix
The package nicematrix has tools designed to address that kind of problem.
\documentclass{article}
\usepackage{nicematrix}
\begin{document}
$P = \begin{pNiceArray}[margin]{c@{\qquad}ccc}
0 & \...
3
votes
Accepted
align env - some symbols are non-italic?
The commands \rm, \it, \bf and similar two-letter font changing commands have been deprecated for almost 30 years. Moreover, they didn't take arguments, being declarations. The correct syntax 30 years ...
3
votes
Accepted
Insert equation labels inside a tikz(cd) diagram
The easiest solution would be where the tikzcd is using an unnumbered display math environment, i.e. equation* or \[ … \] and we will just place nodes with the equation number in it.
This seems to be ...
3
votes
Multi-Line Equation Alignment Across 5 Lines
...just shifted the alignment within the aligned environment:
\documentclass{article}
\usepackage{amsmath}
\begin{document}
\begin{equation}
\begin{aligned}
\frac{\partial}{\partial t}&\...
2
votes
\tag is not allowed in eqnarray
You asked,
Is there a solution to this?
Short answer: Yes.
Slightly longer answer: Don't use eqnarray environments. Instead, be sure to load the amsmath package and to use align environments.
...
2
votes
Adjust default spacing of elements in math mode
You need to employ the Plain-TeX \def directive instead of the LaTeX \renewcommand directive. That said, I would define the new version of \int to take two arguments rather than three, as the version ...
1
vote
Accepted
Breaking Long Radical Over Multiple Lines
Rather than splitting the contents of the radical I'd use a fractional exponent. By nesting split inside align, you get the equation numbers centered between the lines.
Don't use pxfonts, that's ...
1
vote
Breaking Long Radical Over Multiple Lines
Instead of creating superlong lines (vinculi?) which span two lines, I suggest you switch to [...]^{1/2} notation, with the opening bracket on one line and the ]^{1/2} term on the other.
I would also ...
1
vote
align env - some symbols are non-italic?
You can use the fixdif package, which redefines \d macro in math mode.
\documentclass{article}
\usepackage{fixdif}
\usepackage{amsmath}
\begin{document}
\begin{align*}
\d x_{\tau} &= R(u) v \d\...
1
vote
Accepted
Small fractions in the iopart document class
You can define \tfrac as {\textstyle\frac{a}{b}} if amsmath is not usable.
1
vote
= is not rendered at all and \neq as /
Going top-to-bottom:
it's a bad idea to silence warnings, in general;
in the particular case, classicthesis is no longer really compatible with scrrprt, use book instead;
there is no adrianstyle in ...
1
vote
= is not rendered at all and \neq as /
As @WillieWong explained in a comment, it does not make sense to first load Palatino, Beramono, eulermath and than use lmodern to switch from these fonts. If you want to use the Latin Modern fonts, ...
1
vote
Accepted
How can I add a dot under Chinese characters and paragraph?
If you're using xelatex, you can use \CJKunderdot of the xeCJKfntef package (documented with xeCJK).
\documentclass{ctexbook}
\usepackage{amsmath}
\usepackage{indentfirst}
\usepackage{xeCJKfntef}
\...
1
vote
Accepted
Adjust default spacing of elements in math mode
Assuming you really want to do this, it is a job for \RenewDocumentCommand and its embellishment argument type.
\documentclass{article}
\usepackage{amsmath}
\makeatletter
\RenewDocumentCommand{\int}{...
1
vote
Multi-Line Equation Alignment Across 5 Lines
In addition to shifting the alignment point in the first row to the left, you may want to rearrange the additive terms on the RHS so that it becomes immediately clear that 15 of the 17 terms can be ...
Only top scored, non community-wiki answers of a minimum length are eligible
Related Tags
amsmath × 3363math-mode × 963
equations × 663
align × 591
spacing × 210
horizontal-alignment × 191
symbols × 151
matrices × 151
math-operators × 125
mathtools × 124
numbering × 103
vertical-alignment × 83
fonts × 81
cross-referencing × 80
cases × 74
errors × 70
macros × 67
theorems × 64
arrays × 59
tikz-pgf × 58
formatting × 55
environments × 54
alignat × 53
line-breaking × 50
alignment × 48