Skip to main content

New answers tagged

0 votes

System of equations with left curly bracket

As an alternative, you could also consider using the \begin{alignedat}{} environment. You can choose the number of "alignment points" in your equation (the argument of the command), which I ...
PhysicsProgrammer's user avatar
0 votes
Accepted

how can I auto number quantikz

This illustrates how to use newfloat to create float type Quantikz. Using the caption package you can even make the caption look like an equation number. \documentclass[12pt,reqno]{report} \...
John Kormylo's user avatar
  • 81.2k
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
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
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
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
0 votes

Spacing between equations in columns in Beamer

With exploiting amsmath package, which loaded by beamer document class and using pifont package for check marks and X cross marks you can write your slide with quite shorter code: \documentclass[...
Zarko's user avatar
  • 300k
0 votes

Spacing between equations in columns in Beamer

You can avoid much of vertical space by removing the empty lines in your source code: \documentclass[xcolor={svgnames}]{beamer} \usepackage{tikz} \newcommand{\tikzxmark}{% \tikz[scale=0.23] { \...
samcarter_is_at_topanswers.xyz'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
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.1k
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
0 votes

How to left align chemical equations with tags?

If you don't use amsmath environments for math formulas, but just for chemical equations, you can use fleqn. \documentclass{article} \usepackage[fleqn]{amsmath} \usepackage[version=4]{mhchem} \...
egreg's user avatar
  • 1.1m
0 votes

Drawing intersection over union in equation

I have modified the previous answer. \begin{equation} \label{eq:iou} IoU = \frac{\text{area of overlap}}{\text{area of union}}= \frac{ \tikz{\fill[draw=blue, very thick, fill=blue!5] (0,0) ...
Hasan Masum's user avatar
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
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
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
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.2k
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
0 votes

Mixing chemistry reaction and mathematics in equation

You need to make the aligned to have zero width. In the following I use \DeclareUnicodeCharacter{00B0}{} in order to remove weird warnings: if you really want E° you should give an appropriate ...
egreg's user avatar
  • 1.1m
1 vote

How to set equivalent transformations?

The following solution should address most (all?) of your questions. Oh, | and \vert are equivalent; \mid isn't appropriate here. \documentclass{article} \usepackage{amsmath} \begin{document} \...
Mico's user avatar
  • 515k

Top 50 recent answers are included