[PDF] Users Guide for the amsmath Package (Version 2.1)





Previous PDF Next PDF



How to add equation numbers and referring to them in Word

2020?6?16? Latex offers automatic equation numbering and referencing. Therefore Latex is convenient for documents with lots of equations. However



Users Guide for the amsmath Package (Version 2.0)

Except for split each environment has both starred and unstarred forms



Physical Review Style and Notation Guide

2012?3?8? Equation numbering . ... pendix the equations are numbered separately. For the ... numbering equations is used. J. *Footnotes and reference ...



REVTEX 4.1 Authors Guide - American Physical Society

Numbering displayed equations The REVTEX system for LATEX began its development ... Because REVTEX 4.1 is based upon LATEX 2? it in-.



Users Guide for the amsmath Package (Version 2.1)

This is most effective when equation numbers are on the right. 3.11 Equation numbering. 3.11.1 Numbering hierarchy. In LATEX if you wanted to have equations 



The autonum package

2015?1?18? With LATEX the user has to decide manually to not number an equation ... As default



Users Guide for the amsmath Package (Version 2.1)

This is most effective when equation numbers are on the right. 3.11 Equation numbering. 3.11.1 Numbering hierarchy. In LATEX if you wanted to have equations 



REVTEX 4 Command and Options Summary

Invoke emergency processing to avoid the LATEX error Number equations by section. ... Display multiple equations with no equation number- ing at all.



Equation Numbering in Plain IjEX A = A

tomatic equation numbering with (limited) forward i.e. as long as there are no numbered equations ... This method of equation numbering is limited.



How to Typeset Equations in LATEX

2017?9?29? All other possibilities of typesetting simple equations have disadvantages: • The displaymath-environment offers no equation-numbering. To add ...

User's Guide for theamsmathPackage

(Version 2.1)

American Mathematical Society, L

ATEX Project

1999-12-13

(revised 2002-02-25, 2016-11-14, 2018-04-05, 2019-10-14,

2020-02-18)This ifile is maintained by the L

ATEX Project team.

Bug reports can be opened (categoryamslatex) at

https://latex-project.org/bugs/. iiCONTENTS

Contents

1 Introduction 1

2 Options for theamsmathpackage 2

3 Displayed equations 3

3.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 3

3.2 Single equations . . . . . . . . . . . . . . . . . . . . . . . . . . . 4

3.3 Split equations without alignment . . . . . . . . . . . . . . . . . 4

3.4 Split equations with alignment . . . . . . . . . . . . . . . . . . . 6

3.5 Equation groups without alignment . . . . . . . . . . . . . . . . . 7

3.6 Equation groups with mutual alignment . . . . . . . . . . . . . . 7

3.7 Alignment building blocks . . . . . . . . . . . . . . . . . . . . . . 9

3.8 Adjusting tag placement . . . . . . . . . . . . . . . . . . . . . . . 9

3.9 Vertical spacing and page breaks in multiline displays . . . . . . 10

3.10 Interrupting a display . . . . . . . . . . . . . . . . . . . . . . . . 10

3.11 Equation numbering . . . . . . . . . . . . . . . . . . . . . . . . . 11

4 Miscellaneous mathematical features 12

4.1 Matrices . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 12

4.2 Math spacing commands . . . . . . . . . . . . . . . . . . . . . . . 13

4.3 Dots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 14

4.4 Nonbreaking dashes . . . . . . . . . . . . . . . . . . . . . . . . . 14

4.5 Accents in math . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

4.6 Roots . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

4.7 Boxed formulas . . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

4.8 Over and under arrows . . . . . . . . . . . . . . . . . . . . . . . . 15

4.9 Extensible arrows . . . . . . . . . . . . . . . . . . . . . . . . . . . 15

4.10 AiÌifiÌixing symbols to other symbols . . . . . . . . . . . . . . . . . 16

4.11 Fractions and related constructions . . . . . . . . . . . . . . . . . 16

4.12 Continued fractions . . . . . . . . . . . . . . . . . . . . . . . . . . 17

4.13 Smash options . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

4.14 Delimiters . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17

5 Operator names 19

5.1 Deifining new operator names . . . . . . . . . . . . . . . . . . . . 19

5.2\modand its relatives . . . . . . . . . . . . . . . . . . . . . . . . . 20

6 The\textcommand 20

CONTENTSiii

7 Integrals and sums 21

7.1 Multiline subscripts and superscripts . . . . . . . . . . . . . . . . 21

7.2 The\sidesetcommand . . . . . . . . . . . . . . . . . . . . . . . 21

7.3 Placement of subscripts and limits . . . . . . . . . . . . . . . . . 22

7.4 Multiple integral signs . . . . . . . . . . . . . . . . . . . . . . . . 22

8 Commutative diagrams 23

9 Using math fonts 23

9.1 Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23

9.2 Recommended use of math font commands . . . . . . . . . . . . 24

9.3 Bold math symbols . . . . . . . . . . . . . . . . . . . . . . . . . . 24

9.4 Italic Greek letters . . . . . . . . . . . . . . . . . . . . . . . . . . 25

10 Error messages and output problems 25

10.1 General remarks . . . . . . . . . . . . . . . . . . . . . . . . . . . 25

10.2 Error messages . . . . . . . . . . . . . . . . . . . . . . . . . . . . 26

10.3 Warning messages . . . . . . . . . . . . . . . . . . . . . . . . . . 32

10.4 Wrong output . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32

11 Additional information 33

11.1 Compatibility with other packages . . . . . . . . . . . . . . . . . 33

11.2 Converting existing documents . . . . . . . . . . . . . . . . . . . 33

11.3 Technical notes . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

11.4 Getting help . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 34

11.5 Of possible interest . . . . . . . . . . . . . . . . . . . . . . . . . . 34

References 35

Index 36

1 - 1 -

Introduction

Theamsmathpackage is a LATEX package that provides miscellaneous enhance- ments for improving the information structure and printed output of documents that contain mathematical formulas. Readers unfamiliar with L

ATEX should re-

fer to [3]. If you have an up-to-date version of L

ATEX, theamsmathpackage is

normally provided along with it. Upgrading when a newer version of theams- mathpackage is released can be done viahttp://mirror.ctan.org/macros/ latex/required/amsmath.zip. This documentation describes the features of theamsmathpackage and dis- cusses how they are intended to be used. It also covers some ancillary packages: amsbsy amsopn amsxtra amscd amstext These all have something to do with the contents of math formulas. For information on extra math symbols and math fonts, see [8] andhttps:// www.ams.org/tex/amsfonts.html. For documentation of theamsthmpack- age or AMS document classes (amsart,amsbook, etc.) see [9] or [7] andhttps: //www.ams.org/tex/author-info.html.

If you are a long-time L

ATEX user and have lots of mathematics in what you write, then you may recognize solutions for some familiar problems in this list ofamsmathfeatures: •A convenient way to deifine new 'operator name' commands analogous to \sinand\lim, including proper side spacing and automatic selection of the correct font style and size (even when used in sub- or superscripts). •Multiple substitutes for theeqnarrayenvironment to make various kinds of equation arrangements easier to write. •Equation numbers automatically adjust up or down to avoid overprinting on the equation contents (unlikeeqnarray). •Spacing around equals signs matches the normal spacing in theequation environment (unlikeeqnarray). •A way to produce multiline subscripts as are often used with summation or product symbols. •An easy way to substitute a variant equation number for a given equation instead of the automatically supplied number. •An easy way to produce subordinate equation numbers of the form (1.3a) (1.3b) (1.3c) for selected groups of equations. Theamsmathpackage is distributed together with some small auxiliary pack- ages: amsmathPrimary package, provides various features for displayed equations and other mathematical constructs.

22. OPTIONS FOR THEAMSMATHPACKAGE

amstextProvides a\textcommand for typesetting a fragment of text inside a display. amsopnProvides\DeclareMathOperatorfor deifining new 'operator names' like \sinand\lim. amsbsyFor backward compatibility this package continues to exist but use of the newerbmpackage that comes with LATEX is recommended instead. amscdProvides aCDenvironment for simple commutative diagrams (no support for diagonal arrows). amsxtraProvides certain odds and ends such as\fracwithdelimsand\ac- centedsymbol, for compatibility with documents created using version 1.1. Theamsmathpackage incorporatesamstext,amsopn, andamsbsy. The fea- tures ofamscdandamsxtra, however, are available only by invoking those packages separately. The independentmathtoolspackage [10] provides some enhancements to amsmath;mathtoolsloadsamsmathautomatically, so there is no need to sep- arately loadamsmathifmathtoolsis used. Somemathtoolsfacilities will be noted below as appropriate. - 2 -

Options for theamsmathpackage

Theamsmathpackage has the following options:

centertags(default) For an equation containing asplitenvironment, place equation numbers vertically centered on the total height of the equation. tbtags'Top-or-bottom tags': For an equation containing asplitenvironment, place equation numbers level with the last (resp. ifirst) line, if numbers are on the right (resp. left). sumlimits(default) Place the subscripts and superscripts of summation sym- bols above and below, in displayed equations. This option also afffects other symbols of the same type - Q,`,N,L, and so forth - but exclud- ing integrals (see below). nosumlimitsAlways place the subscripts and superscripts of summation-type symbols to the side, even in displayed equations. intlimitsLikesumlimits, but for integral symbols. nointlimits(default) Opposite ofintlimits. namelimits(default) Likesumlimits, but for certain 'operator names' such as det, inf, lim, max, min, that traditionally have subscripts placed under- neath when they occur in a displayed equation. nonamelimitsOpposite ofnamelimits.

3.1. INTRODUCTION3

alignedleftspaceyes alignedleftspaceno alignedleftspaceyesifneg To use one of these package options, put the option name in the optional ar- gument of the\usepackagecommand - e.g.,\usepackage[intlimits]{amsmath}. For AMS document classes and any other classes that preloadamsmathdesired options must be speciified with the\documentclass - e.g., Theamsmathpackage also recognizes the following options which are nor- mally selected (implicitly or explicitly) through the\documentclasscommand, and thus need not be repeated in the option list of the\usepackage{amsmath} statement. leqnoPlace equation numbers on the left. reqnoPlace equation numbers on the right. fleqnPosition equations at a ifixed indent from the left margin rather than centered in the text column. Three options have been added to control the space to the left ofaligned andgatheredenvironments. Prior to the 2017 release a thin space was added to the left but not the right of these constructs. This appears to have been an accidental feature of the implementation and was typically corrected by preifixing the environments with\!. The new default behavior is aimed to ensure that the environments do not have a thin space added in most cases, and that existing documents using \!\begin{aligned}continue to work as before. alignedleftspaceyesAlways add\,to the left ofalignedandgathered. alignedleftspacenoNever add\,to the left ofalignedandgathered. alignedleftspaceyesifnegOnly add\,if the environment is preifixed by negative space. (New default behavior.) - 3 -

Displayed equations

3.1 Introduction

Theamsmathpackage provides a number of additional displayed equation struc- tures beyond the ones provided in basic L

ATEX. The augmented set includes:

equation equation* align align* gather gather* alignat alignat* multline multline* flalign flalign* split

43. DISPLAYED EQUATIONS

(Although the standardeqnarrayenvironment remains available, it is better to usealignorequation+splitinstead. Withineqnarray, spacing around signs of relation is not the preferred mathematical spacing, and is inconsistent with that spacing as it appears in other environments. Long lines in this environment may result in misplaced or overprinted equation numbers. This environment also does not support the use of\qedor\qedhereas provided by theorem packages.) Except forsplit, each environment has both starred and unstarred forms, where the unstarred forms have automatic numbering using L

ATEX'sequation

counter. You can suppress the number on any particular line by putting\notag before the end of that line;\notagshould not be used outside a display environ- ment as it will mess up the numbering. You can also override a number with a tag of your own using\tag{⟨label⟩}, where⟨label⟩means arbitrary text such as $*$oriiused to "number" the equation. A tag can reference a diffferent tagged

display by use of\tag{\ref{⟨label⟩}⟨modiifier⟩}where⟨modiifier⟩is optional.

If you are usinghyperref, use\ref*; use of the starred form of\refprevents a reference to a modiified tag containing a nested link from linking to the original display. There is also a\tag*command that causes the text you supply to be typeset literally, without adding parentheses around it.\tagand\tag*can also be used within the unnumbered versions of all theamsmathalignment structures. Some examples of the use of\tagmay be found in the sample ifilestestmath.texand subeqn.texprovided with theamsmathpackage. Thesplitenvironment is a special subordinate form that is used onlyinside one of the others. It cannot be used insidemultline, however.splitsupports only one alignment (&) column; if more are needed,alignedoralignedat should be used. The width of asplitstructure is the full line width. In the structures that do alignment (split,alignand variants), relation symbols have an&before them but not after - unlikeeqnarray. Putting the &after the relation symbol will interfere with the normal spacing; it has to go before. In all multiline environments, lines are divided by\\. The\\shouldnotbe used to end the last line. Using it there will result in unwanted extra vertical space following the display. Inallmath environments (inline or display), blank lines (equivalent to\par) are not permitted, and will result in an error.

3.2 Single equations

Theequationenvironment is for a single equation with an automatically gen- erated number. Theequation*environment is the same except for omitting the number.

1The wrapper\[ ... \]is equivalent toequation*.

3.3 Split equations without alignment

Themultlineenvironment is a variation of theequationenvironment used for equations that don't ifit on a single line. The ifirst line of amultlinewill be at1 Basic LATEX doesn't provide anequation*environment, but rather a functionally equiv- alent environment nameddisplaymath.

3.3. SPLIT EQUATIONS WITHOUT ALIGNMENT5

Table 3.1.Comparison of displayed equation environments (vertical lines in- dicating nominal margins) \begin{equation*} a=b \end{equation*}a=b\begin{equation} a=b \begin{split} a& =b+c-d\\ & \quad +e-f\\ & =g+h\\ & =i \end{split} \end{equation}a=b+c-d +e-f =g+h =i(2)\begin{multline} a+b+c+d+e+f\\ +i+j+k+l+m+n \end{multline}(3)a+b+c+d+e+f +i+j+k+l+m+n\begin{gather} a_1=b_1+c_1\\ a_2=b_2+c_2-d_2+e_2 \end{gather}a

1=b1+c1(4)

a

2=b2+c2-d2+e2(5)\begin{align}

a_1& =b_1+c_1\\ a_2& =b_2+c_2-d_2+e_2 \end{align}a

1=b1+c1(6)

a

2=b2+c2-d2+e2(7)\begin{align}

a_{11}& =b_{11}& a_{12}& =b_{12}\\ a_{21}& =b_{21}& a_{22}& =b_{22}+c_{22} \end{align}a

11=b11a12=b12(8)

a

21=b21a22=b22+c22(9)\begin{flalign*}

a_{11} + b_{11}& = c_{11}& a_{12}& =b_{12}\\ b_{21}& = c_{21}& a_{22}& =b_{22}+c_{22} \end{flalign*}a

11+b11=c11a12=b12

b

21=c21a22=b22+c22

63. DISPLAYED EQUATIONS

the left margin and the last line at the right margin, except for an indention on both sides in the amount of\multlinegap. Any additional lines in between will be centered independently within the display width (unless thefleqnoption is in efffect). Likeequation,multlinehas only a single equation number (thus, none of the individual lines should be marked with\notag). The equation number is placed on the last line (reqnooption) or ifirst line (leqnooption); vertical centering as forsplitis not supported bymultline. It's possible to force one of the middle lines to the left or right with com- mands\shoveleft,\shoveright. These commands take the entire line as an argument, up to but not including the ifinal\\; for example (3.10)A B C D \begin{multline} \framebox[.65\columnwidth]{A}\\ \framebox[.5\columnwidth]{B}\\ \framebox[.65\columnwidth]{D} \end{multline} The value of\multlinegapcan be changed with the usual LATEX commands \setlengthor\addtolength.

3.4 Split equations with alignment

Likemultline, thesplitenvironment is forsingleequations that are too long to ifit on one line and hence must be split into multiple lines. Unlikemultline, however, thesplitenvironment provides for alignment among the split lines, using&to mark alignment points. Unlike the otheramsmathequation structures, thesplitenvironment provides no numbering, because it is intended to be used only inside some other displayed equation structure, usually anequation,align, orgatherenvironment, which provides the numbering. For example: H c=12nn X l=0(-1)l(n-l)p-2X l

1+···+lp=lp

Y i=1 ni l i

·[(n-l)-(ni-li)]ni-li·h

(n-l)2-pX j=1(ni-li)2i .(3.11) H_c&=\frac{1}{2n} \sum^n_{l=0}(-1)^{l}(n-{l})^{p-2} \sum_{l _1+\dots+ l _p=l}\prod^p_{i=1} \binom{n_i}{l _i}\\quotesdbs_dbs14.pdfusesText_20
[PDF] numeri in francese da 1 a 10

[PDF] numerical methods for constrained optimization

[PDF] numero de france bleu nord

[PDF] numero de telefono paris puerto montt

[PDF] numero département de naissance france

[PDF] numéro étranger visa

[PDF] numéro fiscal fiche de paie

[PDF] numéro fiscal perdu

[PDF] numéro fiscal pour étranger

[PDF] numéro fiscal première fois

[PDF] numero france bleu basse normandie

[PDF] nursery school brochure pdf

[PDF] nutrition workplace health promotion

[PDF] nutrition workplace mental health

[PDF] nutrition workplace wellness