diff options
author | Karl Berry <karl@freefriends.org> | 2010-02-27 00:35:41 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-02-27 00:35:41 +0000 |
commit | 34b5700c7ec2fecd85ab683769032cfa188ecb10 (patch) | |
tree | 7723e1e8770797a20623af90fa3f8b5a431421d4 /Master/texmf-dist/doc/latex/bigints/bigints.tex | |
parent | 9bf63f594ba22d81d8ce6ef2f94e32e9ee493bcf (diff) |
bigints update (26feb10)
git-svn-id: svn://tug.org/texlive/trunk@17223 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/bigints/bigints.tex')
-rwxr-xr-x | Master/texmf-dist/doc/latex/bigints/bigints.tex | 60 |
1 files changed, 56 insertions, 4 deletions
diff --git a/Master/texmf-dist/doc/latex/bigints/bigints.tex b/Master/texmf-dist/doc/latex/bigints/bigints.tex index 63ca5a29223..385cb47a741 100755 --- a/Master/texmf-dist/doc/latex/bigints/bigints.tex +++ b/Master/texmf-dist/doc/latex/bigints/bigints.tex @@ -1,3 +1,4 @@ + \documentclass[10pt,a4paper,final,makeidx,twosides]{article} \usepackage{amsmath} @@ -92,6 +93,42 @@ \def\@bigintssssnosub{\@ifnextchar^\@bigintssssnosubsup\@bigintssssnosubnosup} \def\@bigintssssnosubsup^#1{\mathop{\text{\large$\int^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits} \def\@bigintssssnosubnosup{\mathop{\text{\large$\int$}}\nolimits} + +\newcommand{\bigoint}{\@ifnextchar_\@bigointsub\@bigointnosub} +\def\@bigointsub_#1{\def\@oint@subscript{#1}\@ifnextchar^\@bigointsubsup\@bigointsubnosup} +\def\@bigointsubsup^#1{\mathop{\text{\Huge$\oint_{\text{\normalsize$\scriptstyle\kern-0.35em\@oint@subscript$}}^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits} +\def\@bigointsubnosup{\mathop{\text{\Huge$\oint_{\text{\normalsize$\scriptstyle\@oint@subscript$}}$}}\nolimits} +\def\@bigointnosub{\@ifnextchar^\@bigointnosubsup\@bigointnosubnosup} +\def\@bigointnosubsup^#1{\mathop{\text{\Huge$\oint^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits} +\def\@bigointnosubnosup{\mathop{\text{\Huge$\oint$}}\nolimits} +\newcommand{\bigoints}{\@ifnextchar_\@bigointssub\@bigointsnosub} +\def\@bigointssub_#1{\def\@oint@subscript{#1}\@ifnextchar^\@bigointssubsup\@bigointssubnosup} +\def\@bigointssubsup^#1{\mathop{\text{\huge$\oint_{\text{\normalsize$\scriptstyle\kern-0.35em\@oint@subscript$}}^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits} +\def\@bigointssubnosup{\mathop{\text{\huge$\oint_{\text{\normalsize$\scriptstyle\@oint@subscript$}}$}}\nolimits} +\def\@bigointsnosub{\@ifnextchar^\@bigointsnosubsup\@bigointsnosubnosup} +\def\@bigointsnosubsup^#1{\mathop{\text{\huge$\oint^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits} +\def\@bigointsnosubnosup{\mathop{\text{\huge$\oint$}}\nolimits} +\newcommand{\bigointss}{\@ifnextchar_\@bigointsssub\@bigointssnosub} +\def\@bigointsssub_#1{\def\@oint@subscript{#1}\@ifnextchar^\@bigointsssubsup\@bigointsssubnosup} +\def\@bigointsssubsup^#1{\mathop{\text{\LARGE$\oint_{\text{\normalsize$\scriptstyle\kern-0.25em\@oint@subscript$}}^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits} +\def\@bigointsssubnosup{\mathop{\text{\LARGE$\oint_{\text{\normalsize$\scriptstyle\@oint@subscript$}}$}}\nolimits} +\def\@bigointssnosub{\@ifnextchar^\@bigointssnosubsup\@bigointssnosubnosup} +\def\@bigointssnosubsup^#1{\mathop{\text{\LARGE$\oint^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits} +\def\@bigointssnosubnosup{\mathop{\text{\LARGE$\oint$}}\nolimits} +\newcommand{\bigointsss}{\@ifnextchar_\@bigointssssub\@bigointsssnosub} +\def\@bigointssssub_#1{\def\@oint@subscript{#1}\@ifnextchar^\@bigointssssubsup\@bigointssssubnosup} +\def\@bigointssssubsup^#1{\mathop{\text{\Large$\oint_{\text{\normalsize$\scriptstyle\kern-0.20em\@oint@subscript$}}^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits} +\def\@bigointssssubnosup{\mathop{\text{\Large$\oint_{\text{\normalsize$\scriptstyle\@oint@subscript$}}$}}\nolimits} +\def\@bigointsssnosub{\@ifnextchar^\@bigintsssnosubsup\@bigointsssnosubnosup} +\def\@bigointsssnosubsup^#1{\mathop{\text{\Large$\oint^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits} +\def\@bigointsssnosubnosup{\mathop{\text{\Large$\oint$}}\nolimits} +\newcommand{\bigointssss}{\@ifnextchar_\@bigointsssssub\@bigointssssnosub} +\def\@bigointsssssub_#1{\def\@oint@subscript{#1}\@ifnextchar^\@bigointsssssubsup\@bigointsssssubnosup} +\def\@bigointsssssubsup^#1{\mathop{\text{\large$\oint_{\text{\normalsize$\scriptstyle\kern-0.15em\@oint@subscript$}}^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits} +\def\@bigointsssssubnosup{\mathop{\text{\large$\oint_{\text{\normalsize$\scriptstyle\@oint@subscript$}}$}}\nolimits} +\def\@bigointssssnosub{\@ifnextchar^\@bigointssssnosubsup\@bigointssssnosubnosup} +\def\@bigointssssnosubsup^#1{\mathop{\text{\large$\oint^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits} +\def\@bigointssssnosubnosup{\mathop{\text{\large$\oint$}}\nolimits} \makeatother \begin{document} @@ -103,7 +140,7 @@ \newpage \section{Introduction} -This package (\verb v1.0 ) \textit{helps you to} write big integrals when needed. For example, you may want to write standard integrals before a matrix, but if you find them too small, you can use bigger integrals thanks to this package. +This package (\verb v1.1 ) \textit{helps you to} write big integrals when needed. For example, you may want to write standard integrals before a matrix, but if you find them too small, you can use bigger integrals thanks to this package. @@ -129,13 +166,18 @@ Possible function calls are listed at Table \ref{tab:exuse}. \begin{table}[!h] \begin{center} \begin{tabular}{ccc} -Integral's command & Standard \texttt{\textbackslash int} & Integral's command's output\\ +Integral's command & Standard command & Integral's command's output\\ \hline \texttt{\textbackslash bigint} & $\displaystyle\int$ & $\displaystyle\bigint$\\ \texttt{\textbackslash bigints} & $\displaystyle\int$ & $\displaystyle\bigints$\\ \texttt{\textbackslash bigintss} & $\displaystyle\int$ & $\displaystyle\bigintss$\\ \texttt{\textbackslash bigintsss} & $\displaystyle\int$ & $\displaystyle\bigintsss$\\ \texttt{\textbackslash bigintssss} & $\displaystyle\int$ & $\displaystyle\bigintssss$\\ +\texttt{\textbackslash bigoint} & $\displaystyle\oint$ & $\displaystyle\bigoint$\\ +\texttt{\textbackslash bigoints} & $\displaystyle\oint$ & $\displaystyle\bigoints$\\ +\texttt{\textbackslash bigointss} & $\displaystyle\oint$ & $\displaystyle\bigointss$\\ +\texttt{\textbackslash bigointsss} & $\displaystyle\oint$ & $\displaystyle\bigointsss$\\ +\texttt{\textbackslash bigointssss} & $\displaystyle\oint$ & $\displaystyle\bigointssss$\\ \end{tabular} \caption{Possible calls of this package.} \label{tab:exuse} @@ -145,6 +187,11 @@ Integral's command & Standard \texttt{\textbackslash int} & Integral's command' \index{\texttt{bigintss}} \index{\texttt{bigintsss}} \index{\texttt{bigintssss}} +\index{\texttt{bigoint}} +\index{\texttt{bigoints}} +\index{\texttt{bigointss}} +\index{\texttt{bigointsss}} +\index{\texttt{bigointssss}} \end{table} \subsection{Practical Examples} @@ -232,18 +279,22 @@ To achieve \end{boxedminipage} \end{center} you simply need to use \verb \bigintssss ~at the place of \verb \int ~before the matrix. This is here a matter of taste, as both symbols are typographically acceptable. +\paragraph{} +The same concept can be used for integrals on closed contours, such as the standard \verb \oint . You simply need to use \verb \bigoint , \verb \bigoints , \verb \bigointss , \verb \bigointsss ~and \verb \bigointssss . \newpage \section{Implementation} + Here is the code of \verb bigints.sty : \lstset{language=TEX, basicstyle=\tiny, keywordstyle=\bfseries, commentstyle=\itshape, keywords={}, emph={}, emphstyle=\bfseries, numbers=left, stringstyle=\ttseries, showstringspaces=false, stepnumber=2, numbersep=5pt, showspaces=false, showtabs=false, backgroundcolor=\color{white}} %\begin{lstlisting}[frame=single] -\lstinputlisting[lastline=80]{bigints.forlisting} +\lstinputlisting[lastline=95]{bigints.forlisting} %\end{lstlisting} +%\newpage \section{Limitations} This package has currently no limitation. @@ -255,7 +306,8 @@ Not yet. \section{Version History} \begin{enumerate} - \item \verb v1.0 : package is introduced to the \LaTeX{} world. + \item \verb v1.0 : package is introduced to the \LaTeX{} world, +\item \verb v1.1 : new commands (\verb \bigoint , \verb \bigoints , \verb \bigointss , \verb \bigointsss ~and \verb \bigointssss ) are available. \end{enumerate} |