Sunteți pe pagina 1din 3

AT X 2 Alternate integrals signs with L E Eddie Saudrais version 1.

1 01/20/2005
Abstract The package esint.sty allows you to use new integrals symbols.

Installation
1. Put esint.sty on TEXINPUT. 2. Put uesint.fd on TEXINPUT, for example with esint.sty. 3. Put esint10.mf, mathint.mf and bigint.mf on MFINPUT.

A Run L TEX 2 on esint.ins to generate les:

Run METAFONT on esint10.mf le to generate esint10.tfm les: mf \mode=localfont; input esint10.mf Put esint10.tfm on the right place.

Using esint

Load the package with \usepackage{esint}, and enjoy! BE CAREFUL: esint must be loaded AFTER amslatex Available integrals signs: Commande textstyle displaystyle \int

\iint

\iiint

\iiiint

\dotsint

\oint

\oiint

"

\varoiint

\sqint

\sqiint

\ointctrclockwise # % $ & You can customize the space between in

\ointclockwise

\varointclockwise

\varointctrclockwise

\fint

\landupint

\landdownint

tegral sign in multiple integrals. You have to modify lines 12 and 13 of the esint10.mf le: tdec# and ddec# are spaces between signs. If you modify esint10.mf, delete esint10.tfm, the generated *.pk les, and run METAFONT on esint10.mf.

Updates
20/01/2005: change in esint.fd in order to avoid a problem inside align environment. Thanks to Eckhard Neber. Font les (mf, pfb, tfm...) are unchanged.

4
1

The code

The package identies himself


package \NeedsTeXFormat{LaTeX2e} 3 \ProvidesPackage{esint}
2

To redine symbols

\def\re@DeclareMathSymbol#1#2#3#4{% \let#1=\undefined 6 \DeclareMathSymbol{#1}{#2}{#3}{#4}}


4 5

Denition of the symbol font:


7

\DeclareSymbolFont{largesymbolsA}{U}{esint}{m}{n} \re@DeclareMathSymbol{\intop}{\mathop}{largesymbolsA}{001} \def\int{\intop\nolimits} \re@DeclareMathSymbol{\iintop}{\mathop}{largesymbolsA}{003} \def\iint{\iintop\nolimits} \re@DeclareMathSymbol{\iiintop}{\mathop}{largesymbolsA}{005} \def\iiint{\iiintop\nolimits} \re@DeclareMathSymbol{\iiiintop}{\mathop}{largesymbolsA}{007} \def\iiiint{\iiiintop\nolimits} \re@DeclareMathSymbol{\dotsintop}{\mathop}{largesymbolsA}{011} \def\dotsint{\dotsintop\nolimits} \re@DeclareMathSymbol{\ointop}{\mathop}{largesymbolsA}{013} \def\oint{\ointop\nolimits} \re@DeclareMathSymbol{\oiintop}{\mathop}{largesymbolsA}{015} \def\oiint{\oiintop\nolimits} \re@DeclareMathSymbol{\sqintop}{\mathop}{largesymbolsA}{017} \def\sqint{\sqintop\nolimits} \re@DeclareMathSymbol{\sqiintop}{\mathop}{largesymbolsA}{021} \def\sqiint{\sqiintop\nolimits} \re@DeclareMathSymbol{\ointctrclockwiseop}{\mathop}{largesymbolsA}{027} \def\ointctrclockwise{\ointctrclockwiseop\nolimits} \re@DeclareMathSymbol{\ointclockwiseop}{\mathop}{largesymbolsA}{031} \def\ointclockwise{\ointclockwiseop\nolimits} \re@DeclareMathSymbol{\varointclockwiseop}{\mathop}{largesymbolsA}{033} \def\varointclockwise{\varointclockwiseop\nolimits} \re@DeclareMathSymbol{\varointctrclockwiseop}{\mathop}{largesymbolsA}{035} \def\varointctrclockwise{\varointctrclockwiseop\nolimits} \re@DeclareMathSymbol{\fintop}{\mathop}{largesymbolsA}{037} \def\fint{\fintop\nolimits} \re@DeclareMathSymbol{\varoiintop}{\mathop}{largesymbolsA}{041} \def\varoiint{\varoiintop\nolimits} \re@DeclareMathSymbol{\landupintop}{\mathop}{largesymbolsA}{043} \def\landupint{\landupintop\nolimits} \re@DeclareMathSymbol{\landdownintop}{\mathop}{largesymbolsA}{045} \def\landdownint{\landdownintop\nolimits} /package fdle

Denition of the new symbols:


8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43

Font denition le:


44 45 46 47 48 49

\ProvidesFile{uesint.fd} \DeclareFontFamily{U}{esint}{} \DeclareFontShape{U}{esint}{m}{n}{ <-> esint10 }{} /fdle

S-ar putea să vă placă și