GraemeMcRae (talk | contribs) No edit summary |
GraemeMcRae (talk | contribs) No edit summary |
||
Line 1: | Line 1: | ||
− | {{LsymTop|{{PAGENAME}}}} |
+ | {{LsymTop|{{lcfirst:{{PAGENAME}}}}}} |
TeX has <code>\int</code> as the integral sign. Integral expressions are formed from the use of sub- and superscript, the judicious use of spacing, and simply writing out the differential. For example, a standard integral in LaTeX looks like |
TeX has <code>\int</code> as the integral sign. Integral expressions are formed from the use of sub- and superscript, the judicious use of spacing, and simply writing out the differential. For example, a standard integral in LaTeX looks like |
||
Revision as of 06:40, 15 October 2010
Template:LsymTop
TeX has \int
as the integral sign. Integral expressions are formed from the use of sub- and superscript, the judicious use of spacing, and simply writing out the differential. For example, a standard integral in LaTeX looks like
\int_a^b \! f(x) \, \mathrm{d}x.
Note the use of \mathrm{d}
to make a Roman "d" which distinguishes it from the product of variables d and x. Note, too, the use of \! to bring the function closer to the integral sign and the \, to push the differential farther away. Without them, the integral looks like
which, although logically identical, is less legible and rankles the aesthetic sensibilities of many.
Examples
You can also treat the integral as a sum-class symbol with the \limit
command. This is most useful for double and triple integrals. For example,
\iint\limits_D \, \mathrm{d}x\,\mathrm{d}y \quad \iiint\limits_E \, \mathrm{d}x\,\mathrm{d}y\,\mathrm{d}z
where D and E are regions that satisfy the requirements.
And let's not forget the closed path integral.
\oint \! \nabla f \, \mathrm{d}t = 0