1
2
3
4
5
6
7
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
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
|
\documentclass[10pt,a4paper,final,makeidx,twosides]{article}
\usepackage{amsmath}
\usepackage{tabularx}
\usepackage{ulem}
\usepackage{boxedminipage}
\usepackage{listings}
\usepackage{caption}
%\captionsetup{figurename=Figure, tablename=Table}
\renewcommand{\captionfont}{\small}
\renewcommand{\captionlabelfont}{\bfseries}
\usepackage[protrusion=true,draft=false,final,verbose=true,babel=true]{microtype}
\def\dashuline{\bgroup
\ifdim\ULdepth=\maxdimen % Set depth based on font, if not set already
\settodepth\ULdepth{(j}\advance\ULdepth.4pt\fi
\markoverwith{\kern.15em
\vtop{\kern\ULdepth \hrule width .3em}%
\kern.15em}\ULon}
\def\dotuline{\bgroup
\ifdim\ULdepth=\maxdimen % Set depth based on font, if not set already
\settodepth\ULdepth{(j}\advance\ULdepth.4pt\fi
\markoverwith{\begingroup
\advance\ULdepth0.08ex
\lower\ULdepth\hbox{\kern.15em .\kern.1em}%
\endgroup}\ULon}
\makeatletter
\newcommand{\ack}[1]{\let\save@makefntext\@makefntext%
\def\@makefntext##1{\parindent0em##1}\footnotetext{#1}%
\let\@makefntext\save@makefntext}
\makeatother
\title{The \textbf{bigints} package}
\author{Merciadri Luca}
\date{\today}
\usepackage{makeidx}
%% - HYPERREF PACKAGE - ** MUST be LAST ONE **
\usepackage[a4paper,bookmarks=true,bookmarksnumbered=true,bookmarksopen=true,bookmarksopenlevel=1,breaklinks=true,colorlinks=true,final,menucolor=red,pdfauthor={Merciadri Luca},pdfcreator={Merciadri Luca},pdfkeywords={math},pdftitle={The bigints package},pdfsubject={(La)TeX},pdftoolbar=true]{hyperref}
\hypersetup{urlcolor=red,linkcolor=blue,citecolor=blue,colorlinks=true}
\usepackage{breakurl}
%% -- INDEX GENERATION ACTIVATION --
\makeindex
%% -- INDEX GENERATION ACTIVATION --
\makeatletter
\newcommand{\bigint}{\@ifnextchar_\@bigintsub\@bigintnosub}
\def\@bigintsub_#1{\def\@int@subscript{#1}\@ifnextchar^\@bigintsubsup\@bigintsubnosup}
\def\@bigintsubsup^#1{\mathop{\text{\Huge$\int_{\text{\normalsize$\scriptstyle\kern-0.35em\@int@subscript$}}^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits}
\def\@bigintsubnosup{\mathop{\text{\Huge$\int_{\text{\normalsize$\scriptstyle\@int@subscript$}}$}}\nolimits}
\def\@bigintnosub{\@ifnextchar^\@bigintnosubsup\@bigintnosubnosup}
\def\@bigintnosubsup^#1{\mathop{\text{\Huge$\int^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits}
\def\@bigintnosubnosup{\mathop{\text{\Huge$\int$}}\nolimits}
\newcommand{\bigints}{\@ifnextchar_\@bigintssub\@bigintsnosub}
\def\@bigintssub_#1{\def\@int@subscript{#1}\@ifnextchar^\@bigintssubsup\@bigintssubnosup}
\def\@bigintssubsup^#1{\mathop{\text{\huge$\int_{\text{\normalsize$\scriptstyle\kern-0.35em\@int@subscript$}}^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits}
\def\@bigintssubnosup{\mathop{\text{\huge$\int_{\text{\normalsize$\scriptstyle\@int@subscript$}}$}}\nolimits}
\def\@bigintsnosub{\@ifnextchar^\@bigintsnosubsup\@bigintsnosubnosup}
\def\@bigintsnosubsup^#1{\mathop{\text{\huge$\int^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits}
\def\@bigintsnosubnosup{\mathop{\text{\huge$\int$}}\nolimits}
\newcommand{\bigintss}{\@ifnextchar_\@bigintsssub\@bigintssnosub}
\def\@bigintsssub_#1{\def\@int@subscript{#1}\@ifnextchar^\@bigintsssubsup\@bigintsssubnosup}
\def\@bigintsssubsup^#1{\mathop{\text{\LARGE$\int_{\text{\normalsize$\scriptstyle\kern-0.25em\@int@subscript$}}^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits}
\def\@bigintsssubnosup{\mathop{\text{\LARGE$\int_{\text{\normalsize$\scriptstyle\@int@subscript$}}$}}\nolimits}
\def\@bigintssnosub{\@ifnextchar^\@bigintssnosubsup\@bigintssnosubnosup}
\def\@bigintssnosubsup^#1{\mathop{\text{\LARGE$\int^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits}
\def\@bigintssnosubnosup{\mathop{\text{\LARGE$\int$}}\nolimits}
\newcommand{\bigintsss}{\@ifnextchar_\@bigintssssub\@bigintsssnosub}
\def\@bigintssssub_#1{\def\@int@subscript{#1}\@ifnextchar^\@bigintssssubsup\@bigintssssubnosup}
\def\@bigintssssubsup^#1{\mathop{\text{\Large$\int_{\text{\normalsize$\scriptstyle\kern-0.20em\@int@subscript$}}^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits}
\def\@bigintssssubnosup{\mathop{\text{\Large$\int_{\text{\normalsize$\scriptstyle\@int@subscript$}}$}}\nolimits}
\def\@bigintsssnosub{\@ifnextchar^\@bigintsssnosubsup\@bigintsssnosubnosup}
\def\@bigintsssnosubsup^#1{\mathop{\text{\Large$\int^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits}
\def\@bigintsssnosubnosup{\mathop{\text{\Large$\int$}}\nolimits}
\newcommand{\bigintssss}{\@ifnextchar_\@bigintsssssub\@bigintssssnosub}
\def\@bigintsssssub_#1{\def\@int@subscript{#1}\@ifnextchar^\@bigintsssssubsup\@bigintsssssubnosup}
\def\@bigintsssssubsup^#1{\mathop{\text{\large$\int_{\text{\normalsize$\scriptstyle\kern-0.15em\@int@subscript$}}^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits}
\def\@bigintsssssubnosup{\mathop{\text{\large$\int_{\text{\normalsize$\scriptstyle\@int@subscript$}}$}}\nolimits}
\def\@bigintssssnosub{\@ifnextchar^\@bigintssssnosubsup\@bigintssssnosubnosup}
\def\@bigintssssnosubsup^#1{\mathop{\text{\large$\int^{\text{\normalsize$\scriptstyle#1$}}$}}\nolimits}
\def\@bigintssssnosubnosup{\mathop{\text{\large$\int$}}\nolimits}
\makeatother
\begin{document}
\maketitle
\tableofcontents
\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.
\section{Use}
\subsection{Loading the Package}
To \textit{load the package}, please use
\begin{center}
\begin{verbatim}
\usepackage{bigints}
\end{verbatim}
\end{center}
Please note that this package loads the package `\verb amsmath .' Consequently, you do not need to load \verb amsmath ~after having called \verb bigints .
\subsection{Available Options}
The set of options is currently empty.
\newpage
\section{Examples}
\subsection{Possible Calls}
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\\
\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$\\
\end{tabular}
\caption{Possible calls of this package.}
\label{tab:exuse}
\end{center}
\index{\texttt{bigint}}
\index{\texttt{bigints}}
\index{\texttt{bigintss}}
\index{\texttt{bigintsss}}
\index{\texttt{bigintssss}}
\end{table}
\subsection{Practical Examples}
\subsubsection{Matrices With Five Rows}
Compare
\[
\int_{t_i}^{t_f}\begin{pmatrix}\frac{a(1-b)-cd-e \frac{\mathrm dW_s}{\mathrm dt}}{k}\\ f-gh\\ -i+j k+l\\ -m+n\\ m-n \end{pmatrix}\,\mathrm dt\quad\text{~to~}\quad\bigint_{t_i}^{t_f}\begin{pmatrix}\frac{a(1-b)-cd-e \frac{\mathrm dW_s}{\mathrm dt}}{k}\\ f-gh\\ -i+j k+l\\ -m+n\\ m-n \end{pmatrix}\,\mathrm dt.
\]
To achieve
\begin{center}
\begin{boxedminipage}{\textwidth}
\[
\bigint_{t_i}^{t_f}\begin{pmatrix}\frac{a(1-b)-cd-e \frac{\mathrm dW_s}{\mathrm dt}}{k}\\ f-gh\\ -i+j k+l\\ -m+n\\ m-n \end{pmatrix}\,\mathrm dt
\]
\end{boxedminipage}
\end{center}
you simply need to use \verb \bigint ~at the place of \verb \int ~before the matrix.
\subsubsection{Matrices With Four Rows}
Compare
\[
\int_{t_i}^{t_f}\begin{pmatrix}\frac{a(1-b)-cd-e \frac{\mathrm dW_s}{\mathrm dt}}{k}\\ f-gh\\ -i+j k+l\\ -m+n\end{pmatrix}\,\mathrm dt\quad\text{~to~}\quad\bigints_{t_i}^{t_f}\begin{pmatrix}\frac{a(1-b)-cd-e \frac{\mathrm dW_s}{\mathrm dt}}{k}\\ f-gh\\ -i+j k+l\\ -m+n \end{pmatrix}\,\mathrm dt.
\]
To achieve
\begin{center}
\begin{boxedminipage}{\textwidth}
\[
\bigints_{t_i}^{t_f}\begin{pmatrix}\frac{a(1-b)-cd-e \frac{\mathrm dW_s}{\mathrm dt}}{k}\\ f-gh\\ -i+j k+l\\ -m+n \end{pmatrix}\,\mathrm dt
\]
\end{boxedminipage}
\end{center}
you simply need to use \verb \bigints ~at the place of \verb \int ~before the matrix.
\subsubsection{Matrices With Three Rows}
Compare
\[
\int_{t_i}^{t_f}\begin{pmatrix}\frac{a(1-b)-cd-e \frac{\mathrm dW_s}{\mathrm dt}}{k}\\ f-gh\\ -i+j k+l \end{pmatrix}\,\mathrm dt\quad\text{~to~}\quad\bigintss_{t_i}^{t_f}\begin{pmatrix}\frac{a(1-b)-cd-e \frac{\mathrm dW_s}{\mathrm dt}}{k}\\ f-gh\\ -i+j k+l \end{pmatrix}\,\mathrm dt.
\]
To achieve
\begin{center}
\begin{boxedminipage}{\textwidth}
\[
\bigintss_{t_i}^{t_f}\begin{pmatrix}\frac{a(1-b)-cd-e \frac{\mathrm dW_s}{\mathrm dt}}{k}\\ f-gh\\ -i+j k+l \end{pmatrix}\,\mathrm dt
\]
\end{boxedminipage}
\end{center}
you simply need to use \verb \bigintss ~at the place of \verb \int ~before the matrix.
\subsubsection{Matrices With Two Rows}
Compare
\[
\int_{t_i}^{t_f}\begin{pmatrix}\frac{a(1-b)-cd-e \frac{\mathrm dW_s}{\mathrm dt}}{k}\\ f-gh \end{pmatrix}\,\mathrm dt\quad\text{~to~}\quad\bigintsss_{t_i}^{t_f}\begin{pmatrix}\frac{a(1-b)-cd-e \frac{\mathrm dW_s}{\mathrm dt}}{k}\\ f-gh \end{pmatrix}\,\mathrm dt.
\]
To achieve
\begin{center}
\begin{boxedminipage}{\textwidth}
\[
\bigintsss_{t_i}^{t_f}\begin{pmatrix}\frac{a(1-b)-cd-e \frac{\mathrm dW_s}{\mathrm dt}}{k}\\ f-gh \end{pmatrix}\,\mathrm dt
\]
\end{boxedminipage}
\end{center}
you simply need to use \verb \bigintsss ~at the place of \verb \int ~before the matrix.
\subsubsection{Matrices With One Row}
Compare
\[
\int_{t_i}^{t_f}\begin{pmatrix}\frac{a(1-b)-cd-e \frac{\mathrm dW_s}{\mathrm dt}}{k} \end{pmatrix}\,\mathrm dt\quad\text{~to~}\quad\bigintsss_{t_i}^{t_f}\begin{pmatrix}\frac{a(1-b)-cd-e \frac{\mathrm dW_s}{\mathrm dt}}{k} \end{pmatrix}\,\mathrm dt.
\]
To achieve
\begin{center}
\begin{boxedminipage}{\textwidth}
\[
\bigintssss_{t_i}^{t_f}\begin{pmatrix}\frac{a(1-b)-cd-e \frac{\mathrm dW_s}{\mathrm dt}}{k} \end{pmatrix}\,\mathrm dt
\]
\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.
\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}
%\end{lstlisting}
\section{Limitations}
This package has currently no limitation.
\section{Remarks}
Not yet.
\section{Bugs}
Not yet.
\section{Version History}
\begin{enumerate}
\item \verb v1.0 : package is introduced to the \LaTeX{} world.
\end{enumerate}
\section{Contact}
If you have any question concerning this package (limitations, bugs, \ldots), please contact me at \href{mailto:Luca.Merciadri@student.ulg.ac.be}{Luca.Merciadri@student.ulg.ac.be}.
\section{Credits}
Thanks to \verb pg ~for his related trick, in the message on
\begin{center}
\url{http://www.les-mathematiques.net/phorum/read.php?10,472951}.
\end{center}
\newpage
\phantomsection
\printindex
\end{document}
|