Skip to main content
The 2024 Developer Survey results are live! See the results
11 votes
Accepted

What's the best way to line up equals on a line of text?

You can use aligned environment with t option: \documentclass{article} \usepackage{upgreek,amsmath} \begin{document} Le périmètre d'un cercle. L'aire d'un cercle. L'aire $\mathcal{A}$ d'un disque de ...
hair-splitter's user avatar
7 votes
Accepted

Vertical alignment of equations in column environment

Issue a \strut with each of the \items to ensure they take up the same vertical space, and then use a \vphantom for the larger term in the right-hand equation. \documentclass[aspectratio=169]{beamer} ...
Werner's user avatar
  • 608k
5 votes
Accepted

add an apostrophe to equation number having a distant scope

Something like this? \documentclass{article} % or some other suitable document class \usepackage{amsmath}. % for 'align' environment and '\tag' macro \usepackage{bm} % for '\bm' macro; don'...
Mico's user avatar
  • 515k
4 votes

add an apostrophe to equation number having a distant scope

I'd make a few fixes to your code, besides adding the “variant equation numbers”. Don't rely on current equation numbers when defining a \label \left(\begin{array}{l}...\end{array}\right) is more ...
egreg's user avatar
  • 1.1m
3 votes
Accepted

Equation Misalignment with Springer Nature LaTeX Template Using [iicol] Option

It's not misaligned: the equation is too long to fit. Use multlined from mathtools. I also added siunitx which not only eases numeric input, but ensures uniformity across the document. \documentclass[...
egreg's user avatar
  • 1.1m
3 votes

Move the equation to left side inside split environment

Because when I am using split alignment inside the equation, it centers in the middle of the page. The LaTeX default is to center-set all displayed equations -- not just the ones that contain a split ...
Mico's user avatar
  • 515k
2 votes

setting an equation using text *and* margin

There are three mistakes with your code: The addmargin environment provides an optional and a mandatory argument, but you are trying to use two mandatory arguments. As the name already says, the ...
cabohah's user avatar
  • 14.2k
2 votes

What's the best way to line up equals on a line of text?

This uses flalign*. The first uses paragraph spacing, while the second uses equation spacing. \documentclass{article} \usepackage{upgreek} \usepackage{amsmath} \begin{document} Le périmètre d'un ...
John Kormylo's user avatar
  • 81.3k
2 votes
Accepted

Move the equation to left side inside split environment

I guess you want multline. \documentclass[12pt,a4paper]{article} \usepackage[T1]{fontenc} \usepackage[ %width=1.00in, %height=0.80in, left=0.80in, right=0.80in, top=0.80in, bottom=1.00in ]...
egreg's user avatar
  • 1.1m
1 vote
Accepted

Label equation terms and reference them with \eqref{...}

You can set these labels manually in the following way: Extract the original \label-making capability from amsmath as it overrides/ignores \labels within an unnumbered equation environment (like \[......
Werner's user avatar
  • 608k
1 vote

Label equation terms and reference them with \eqref{...}

Something like this? \documentclass{article} \usepackage{amsmath} % for \overbrace and \eqref macros \newcommand\eqbox[1]{% \refstepcounter{equation}\label{#1}(\theequation)} \begin{document} \...
Mico's user avatar
  • 515k
1 vote

Why does Latex produce this error and how to fix it?

It's a hmm feature of the amsmath nested accent handling. \documentclass{article} \usepackage{amsmath} \begin{document} \begin{align} \dot{\hat{a}}&=...\\ \dot{\hat{a}\ExpandArgs{c}\...
David Carlisle's user avatar
1 vote
Accepted

what can be the code of this series which takes 3 values

Use the cases environment. \begin{equation} \begin{cases} \binom{n}{k}\binom{D(\alpha-k)+n}{n} & \text{if } \alpha-k\geq0 \\ 0 & \text{if } \frac{-n}{D}\leq\alpha-k<0 \\ ...
invalidsyntax_'s user avatar
1 vote

How to control the width of equations?

Your equation is to long that can fit in the text area regardless that you use font size \footnotesize. Possible solution is to break your equation into two lines as suggested in nice @Sebastiano ...
Zarko's user avatar
  • 300k
1 vote

align* but show one equation number at the end

The environment {DispWithArrows} of witharrows, which is similar to {align} provides a key tagged-lines to control which lines will be tagged. With tagged-lines=last, only the last line is tagged. \...
F. Pantigny's user avatar
  • 43.2k

Only top scored, non community-wiki answers of a minimum length are eligible