diff options
author | Karl Berry <karl@freefriends.org> | 2019-07-19 20:42:34 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-07-19 20:42:34 +0000 |
commit | 5abfca443b064af0c3d64883243452ef36ab2483 (patch) | |
tree | 769bc61991f3913774e4ec45376d7afa9a703a4c /Master/texmf-dist/source/latex/esint/esint.dtx | |
parent | 516dc40bd15f5f8038b09fb686b7edefeaea20f4 (diff) |
esint (19jul19)
git-svn-id: svn://tug.org/texlive/trunk@51679 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex/esint/esint.dtx')
-rw-r--r-- | Master/texmf-dist/source/latex/esint/esint.dtx | 86 |
1 files changed, 45 insertions, 41 deletions
diff --git a/Master/texmf-dist/source/latex/esint/esint.dtx b/Master/texmf-dist/source/latex/esint/esint.dtx index 3d797795a5f..c5b2ad0da34 100644 --- a/Master/texmf-dist/source/latex/esint/esint.dtx +++ b/Master/texmf-dist/source/latex/esint/esint.dtx @@ -1,10 +1,11 @@ %\iffalse % -%esint.dtx version 1.1 January 2005 +%esint.dtx version 1.2b 2019/07/19 % % %Eddie Saudrais -%http://perso.wanadoo.fr/eddie.saudrais +%http://www.phylam.org +%e.saudrais@wanadoo.fr % % %<*driver> @@ -18,35 +19,30 @@ \end{document} %</driver> %\fi -%\title{Alternate integrals signs with \LaTeXe{}} +%\title{Alternate integral signs with \LaTeX{}} %\author{Eddie Saudrais} -%\date{version 1.1 01/20/2005} +%\date{version 1.2b 07/11/2019} %\maketitle %\MakeShortVerb{\|} %\begin{abstract} -%The package \textsf{esint.sty} allows you to use new integrals symbols. +%The package \textsf{esint.sty} allows you to use new integral symbols. %\end{abstract} -%\section{Installation} -%Run \LaTeXe{} on esint.ins to generate files: -%\begin{enumerate} -%\item -%Put \textsf{esint.sty} on TEXINPUT. +%\section{License} +%The LATEX Project Public LiÂcense +%\section{Using esint} +%Load the package with \verb|\usepackage{esint}|, and enjoy! +%\begin{itemize} %\item -%Put \textsf{uesint.fd} on TEXINPUT, for example with \textsf{esint.sty}. +%BE CAREFUL: if you are using \texttt{amslatex}, you must load +%\texttt{esint} AFTER \texttt{amslatex}. %\item -%Put \textsf{esint10.mf}, \textsf{mathint.mf} and \textsf{bigint.mf} on MFINPUT. -%\end{enumerate} -% -%Run \MF{} on esint10.mf file to generate esint10.tfm files: +%This package is available with two options: intimits and intnolimits. % -%\verb|mf \mode=localfont; input esint10.mf| +%When loading with \verb+\usepackage[nointlimits]{esint}+ (default), \verb+\[\int_0^1f(x)dx\]+ gives \[\int_0^1f(x)dx\] % -%Put \textsf{esint10.tfm} on the right place. -%\section{Using esint} -%Load the package with \verb|\usepackage{esint}|, and enjoy! +%When loading width \verb+\usepackage[intlimits]{esint}+, \verb+\[\int_0^1f(x)dx\]+ gives \[\int\limits_0^1f(x)dx\]. % -%BE CAREFUL: if you are using \texttt{amslatex}, you must load -%\texttt{esint} AFTER \texttt{amslatex}. +%\end{itemize} % %Available integrals signs: @@ -61,7 +57,7 @@ %&&\\ %\verb+\iiiint+ & $\iiiint$ & $\displaystyle \iiiint$\\ %&&\\ -%\verb+\dotsint+ & $\dotsint$ & $\displaystyle \dotsint$ +%\verb+\idotsint+ & $\idotsint$ & $\displaystyle \idotsint$ %\end{tabular} %\begin{tabular}{c c c} @@ -90,12 +86,13 @@ %\verb+\landdownint+ & $\landdownint$ & $\displaystyle \landdownint$ %\end{tabular} %\StopEventually{} +% %You can customize the space between integral sign in multiple %integrals. You have to modify lines 12 and 13 of the \texttt{esint10.mf} %file: \texttt{tdec\#} and \texttt{ddec\#} are spaces between %signs. If you modify \texttt{esint10.mf}, delete %\texttt{esint10.tfm}, the generated \texttt{*.pk} files, and run -%\MF{} on \texttt{esint10.mf}. +%\MF{} on \texttt{esint10.mf}. Of course, you have to remove pub files: the type 1 version will not be modified! % %\section{Updates} %\begin{itemize} @@ -103,6 +100,8 @@ %20/01/2005: change in esint.fd in order to avoid a problem inside align environment. %Thank's to Eckhard Neber. %Font files (mf, pfb, tfm...) are unchanged. +%\item +%2019/07/19: add intlimits and nointlimits options, and modify \verb+\dotsint+ command as \verb+\idotsint+ to modify all amsmath symbols (request from Frank Mittelbach). %\end{itemize} % %\section{The code} @@ -114,6 +113,10 @@ % \end{macrocode} %To redifine symbols % \begin{macrocode} +\DeclareOption{intlimits}{\let\ilimits@\displaylimits} +\DeclareOption{nointlimits}{\let\ilimits@\nolimits} +\ExecuteOptions{nointlimits} +\ProcessOptions \def\re@DeclareMathSymbol#1#2#3#4{% \let#1=\undefined \DeclareMathSymbol{#1}{#2}{#3}{#4}} @@ -125,39 +128,40 @@ %Definition of the new symbols: % \begin{macrocode} \re@DeclareMathSymbol{\intop}{\mathop}{largesymbolsA}{'001} - \def\int{\intop\nolimits} + \def\int{\intop\ilimits@} \re@DeclareMathSymbol{\iintop}{\mathop}{largesymbolsA}{'003} - \def\iint{\iintop\nolimits} + \def\iint{\iintop\ilimits@} \re@DeclareMathSymbol{\iiintop}{\mathop}{largesymbolsA}{'005} - \def\iiint{\iiintop\nolimits} + \def\iiint{\iiintop\ilimits@} \re@DeclareMathSymbol{\iiiintop}{\mathop}{largesymbolsA}{'007} - \def\iiiint{\iiiintop\nolimits} + \def\iiiint{\iiiintop\ilimits@} \re@DeclareMathSymbol{\dotsintop}{\mathop}{largesymbolsA}{'011} - \def\dotsint{\dotsintop\nolimits} + \def\dotsint{\dotsintop\ilimits@} \re@DeclareMathSymbol{\ointop}{\mathop}{largesymbolsA}{'013} - \def\oint{\ointop\nolimits} + \def\oint{\ointop\ilimits@} \re@DeclareMathSymbol{\oiintop}{\mathop}{largesymbolsA}{'015} - \def\oiint{\oiintop\nolimits} + \def\oiint{\oiintop\ilimits@} \re@DeclareMathSymbol{\sqintop}{\mathop}{largesymbolsA}{'017} - \def\sqint{\sqintop\nolimits} + \def\sqint{\sqintop\ilimits@} \re@DeclareMathSymbol{\sqiintop}{\mathop}{largesymbolsA}{'021} - \def\sqiint{\sqiintop\nolimits} + \def\sqiint{\sqiintop\ilimits@} \re@DeclareMathSymbol{\ointctrclockwiseop}{\mathop}{largesymbolsA}{'027} - \def\ointctrclockwise{\ointctrclockwiseop\nolimits} + \def\ointctrclockwise{\ointctrclockwiseop\ilimits@} \re@DeclareMathSymbol{\ointclockwiseop}{\mathop}{largesymbolsA}{'031} - \def\ointclockwise{\ointclockwiseop\nolimits} + \def\ointclockwise{\ointclockwiseop\ilimits@} \re@DeclareMathSymbol{\varointclockwiseop}{\mathop}{largesymbolsA}{'033} - \def\varointclockwise{\varointclockwiseop\nolimits} + \def\varointclockwise{\varointclockwiseop\ilimits@} \re@DeclareMathSymbol{\varointctrclockwiseop}{\mathop}{largesymbolsA}{'035} - \def\varointctrclockwise{\varointctrclockwiseop\nolimits} + \def\varointctrclockwise{\varointctrclockwiseop\ilimits@} \re@DeclareMathSymbol{\fintop}{\mathop}{largesymbolsA}{'037} - \def\fint{\fintop\nolimits} + \def\fint{\fintop\ilimits@} \re@DeclareMathSymbol{\varoiintop}{\mathop}{largesymbolsA}{'041} - \def\varoiint{\varoiintop\nolimits} + \def\varoiint{\varoiintop\ilimits@} \re@DeclareMathSymbol{\landupintop}{\mathop}{largesymbolsA}{'043} - \def\landupint{\landupintop\nolimits} + \def\landupint{\landupintop\ilimits@} \re@DeclareMathSymbol{\landdownintop}{\mathop}{largesymbolsA}{'045} - \def\landdownint{\landdownintop\nolimits} + \def\landdownint{\landdownintop\ilimits@} +\let\idotsint\dotsint % \end{macrocode} % \begin{macrocode} %</package> @@ -887,7 +891,7 @@ pos5(curve,180); pos5'(curve,0); z5'=z5; pos6(stem,0); pos7(vair,-90); pos8(hair,-180); pos9(curve,-180); pos70(vair,-90); pos80(hair,-180); pos90(curve,-180); rt x1r=hround(w-u-tdec); x9=w-tdec-x1; x7=w-tdec-x3=3u; -x90=x9+tdec;x70=x7+tdec; % on décalle de 10u +x90=x9+tdec;x70=x7+tdec; % on décalle de 10u y90=y9;y80=y8;y70=y7; x10=x1+tdec;x30=x3+tdec; y10=y1;y30=y3; |