| 1 |
|
| 2 |
% Setup for letter paper with SAND report spacings and margins |
| 3 |
\setlength{\textwidth}{6in} |
| 4 |
\setlength{\oddsidemargin}{0.5in} |
| 5 |
\setlength{\evensidemargin}{0.0in} |
| 6 |
\setlength{\marginparwidth}{1.0in} |
| 7 |
\addtolength{\marginparwidth}{-\marginparsep} |
| 8 |
\setlength{\textheight}{9in} |
| 9 |
\addtolength{\textheight}{-\footskip} |
| 10 |
\addtolength{\textheight}{-\headheight} |
| 11 |
\addtolength{\textheight}{-\headsep} |
| 12 |
\setlength{\topmargin}{0.0in} |
| 13 |
\setlength{\parskip}{2ex} |
| 14 |
|
| 15 |
\newcommand{\makearticle}{ |
| 16 |
\date{} |
| 17 |
\maketitle |
| 18 |
} |
| 19 |
|
| 20 |
\newcommand{\CoverFont}[3]{ |
| 21 |
\fontencoding{OT1} |
| 22 |
\fontfamily{phv} |
| 23 |
\fontseries{#1} |
| 24 |
\fontshape{n} |
| 25 |
\fontsize{#2}{#3} |
| 26 |
\selectfont |
| 27 |
} |
| 28 |
|
| 29 |
\newcommand{\SANDreleaseval}{Unlimited Release} |
| 30 |
\newcommand{\SANDrelease}[1]{\renewcommand{\SANDreleaseval}{#1}} |
| 31 |
|
| 32 |
\newcommand{\SANDsupersedVar}{\\} |
| 33 |
\newcommand{\SANDsupersedBox}{} |
| 34 |
\newlength{\adjustsupersed} |
| 35 |
\setlength{\adjustsupersed}{1.0in} |
| 36 |
\newcommand{\SANDsupersed}[2]{ |
| 37 |
\renewcommand{\SANDsupersedVar}{ |
| 38 |
\vspace{0.125in}\\ |
| 39 |
Supersedes #1 \\ |
| 40 |
dated #2 |
| 41 |
} |
| 42 |
\renewcommand{\SANDsupersedBox}{ |
| 43 |
\mbox{\begin{tabular}{c} |
| 44 |
Supersedes #1 \\ |
| 45 |
dated #2 |
| 46 |
\end{tabular}} |
| 47 |
} |
| 48 |
\setlength{\adjustsupersed}{1.5in} |
| 49 |
} |
| 50 |
|
| 51 |
\newcommand{\makeSANDreport}[3]{ |
| 52 |
|
| 53 |
% Some measurements to format the title page properly |
| 54 |
\newlength{\textwidththird} |
| 55 |
\newlength{\topheight} |
| 56 |
\newlength{\topleftwidth} |
| 57 |
\newlength{\topmiddlewidth} |
| 58 |
\newlength{\toprightwidth} |
| 59 |
\setlength{\textwidththird}{2in} |
| 60 |
\addtolength{\textwidththird}{-\fboxsep} |
| 61 |
\addtolength{\textwidththird}{-\fboxsep} |
| 62 |
\setlength{\topleftwidth}{\the\textwidththird} |
| 63 |
\setlength{\topmiddlewidth}{\the\textwidththird} |
| 64 |
\setlength{\toprightwidth}{\the\textwidththird} |
| 65 |
\addtolength{\topleftwidth}{-3em} |
| 66 |
\addtolength{\topmiddlewidth}{+4em} |
| 67 |
\addtolength{\toprightwidth}{-3em} |
| 68 |
|
| 69 |
% We want a blank line between paragraphs |
| 70 |
\setlength{\parskip}{2ex} |
| 71 |
|
| 72 |
{ |
| 73 |
\pagestyle{empty} |
| 74 |
\newlength{\coverindent} |
| 75 |
\setlength{\coverindent}{1em} |
| 76 |
\setlength{\parindent}{0em} |
| 77 |
|
| 78 |
|
| 79 |
% |
| 80 |
% Front Cover |
| 81 |
% |
| 82 |
\addtolength{\headheight}{-0.625in} |
| 83 |
\hspace*{-0.5in} |
| 84 |
\begin{minipage}[t]{6.0in} |
| 85 |
{ |
| 86 |
\CoverFont{b}{18}{20pt} |
| 87 |
SAND REPORT |
| 88 |
\vspace{0.125in}\\ |
| 89 |
\CoverFont{m}{12}{14pt} |
| 90 |
#1\\ |
| 91 |
\SANDreleaseval\\ |
| 92 |
Printed #2 |
| 93 |
\SANDsupersedVar |
| 94 |
|
| 95 |
\vspace{0.25in} |
| 96 |
\CoverFont{b}{24}{28pt} |
| 97 |
\parbox[t]{\textwidth}{ |
| 98 |
\raggedright |
| 99 |
\thetitle |
| 100 |
} |
| 101 |
|
| 102 |
|
| 103 |
\vspace{0.75in} |
| 104 |
\CoverFont{m}{12}{14pt} |
| 105 |
#3 |
| 106 |
|
| 107 |
\vspace{0.25in} |
| 108 |
\CoverFont{m}{8}{10pt} |
| 109 |
\selectfont |
| 110 |
Prepared by\\ |
| 111 |
Sandia National Laboratories\\ |
| 112 |
Albuquerque, New Mexico 87185 and Livermore, California 94550\\ |
| 113 |
\\ |
| 114 |
Sandia is a multiprogram laboratory operated by Sandia Corporation,\\ |
| 115 |
a Lockheed Martin Company, for the United States Department of Energy's\\ |
| 116 |
National Nuclear Security Administration under Contract DE-AC04-94-AL85000.\\ |
| 117 |
\\ |
| 118 |
Approved for public release; further dissemination unlimited.\\ |
| 119 |
|
| 120 |
\includegraphics{figures/snllineblk} |
| 121 |
} |
| 122 |
\end{minipage} |
| 123 |
|
| 124 |
% |
| 125 |
% Back cover |
| 126 |
% |
| 127 |
\newpage |
| 128 |
\hspace{1.0in} |
| 129 |
\begin{minipage}[t]{5.0in} |
| 130 |
\fontencoding{OT1} |
| 131 |
\fontfamily{pnc} |
| 132 |
\fontseries{m} |
| 133 |
\fontshape{n} |
| 134 |
\fontsize{9}{11pt} |
| 135 |
\selectfont |
| 136 |
|
| 137 |
Issued by Sandia National Laboratories, operated for the |
| 138 |
United States Department of Energy by Sandia Corporation. |
| 139 |
\vspace{\baselineskip} |
| 140 |
|
| 141 |
{\fontsize{11}{13pt}\fontseries{b}\selectfont NOTICE:} |
| 142 |
This report was prepared |
| 143 |
as an account of work sponsored by an agency of |
| 144 |
the United States Government. Neither the United |
| 145 |
States Government, nor any agency thereof, nor any |
| 146 |
of their employees, nor any of their contractors, |
| 147 |
subcontractors, or their employees, make any warranty, |
| 148 |
express or implied, or assume any legal liability or |
| 149 |
responsibility for the accuracy, completeness, or |
| 150 |
usefulness of any information, apparatus, product, |
| 151 |
or process disclosed, or represent that its use |
| 152 |
would not infringe privately owned rights. Reference |
| 153 |
herein to any specific commercial product, process, |
| 154 |
or service by trade name, trademark, manufacturer, or |
| 155 |
otherwise, does not necessarily constitute or imply |
| 156 |
its endorsement, recommendation, or favoring by the |
| 157 |
United States Government, any agency thereof, or any |
| 158 |
of their contractors or subcontractors. The views and |
| 159 |
opinions expressed herein do not necessarily state |
| 160 |
or reflect those of the United States Government, |
| 161 |
any agency thereof, or any of their contractors. |
| 162 |
\vspace{\baselineskip} |
| 163 |
|
| 164 |
Printed in the United States of America. This report has |
| 165 |
been reproduced directly from the best available copy. |
| 166 |
\vspace{\baselineskip} |
| 167 |
|
| 168 |
Available to DOE and DOE contractors from\\ |
| 169 |
\begin{tabular}{ll} |
| 170 |
\hspace*{\coverindent} & U.S. Department of Energy \\ |
| 171 |
& Office of Scientific and Technical Information \\ |
| 172 |
& P.O. Box 62 \\ |
| 173 |
& Oak Ridge, TN 37831 \\ |
| 174 |
& \\ |
| 175 |
\end{tabular} |
| 176 |
\\ |
| 177 |
\begin{tabular}{lll} |
| 178 |
\hspace*{\coverindent} & Telephone: & (865) 576-8401\\ |
| 179 |
& Facsimile: & (865) 576-5728\\ |
| 180 |
& E-Mail: & [email protected]\\ |
| 181 |
& Online ordering: & http://www.doe.gov/bridge\\ |
| 182 |
\end{tabular} |
| 183 |
\vspace{\baselineskip} |
| 184 |
\vspace{0.25in} |
| 185 |
|
| 186 |
Available to the public from\\ |
| 187 |
\begin{tabular}{ll} |
| 188 |
\hspace*{\coverindent} & U.S. Department of Commerce \\ |
| 189 |
& National Technical Information Service \\ |
| 190 |
& 5285 Port Royal Rd \\ |
| 191 |
& Springfield, VA 22161 \\ |
| 192 |
& \\ |
| 193 |
\end{tabular} |
| 194 |
\\ |
| 195 |
\begin{tabular}{lll} |
| 196 |
\hspace*{\coverindent} & Telephone: & (800) 553-6847 \\ |
| 197 |
& Facsimile: & (703) 605-6900 \\ |
| 198 |
& E-Mail: & [email protected] \\ |
| 199 |
& Online ordering: & http://www.ntis.gov/help/ordermethods.asp?loc=7-4-0\#online \\ |
| 200 |
\end{tabular} |
| 201 |
\vspace{\baselineskip} |
| 202 |
\vspace{0.125in} |
| 203 |
|
| 204 |
\includegraphics[width=0.75in]{figures/DOEbwlogo} |
| 205 |
\end{minipage} |
| 206 |
\newpage |
| 207 |
\addtolength{\headheight}{0.5in} |
| 208 |
} |
| 209 |
|
| 210 |
\date{} |
| 211 |
\newpage |
| 212 |
\begin{center} |
| 213 |
#1\\ |
| 214 |
\SANDreleaseval\\ |
| 215 |
Printed #2\\ |
| 216 |
\bigskip |
| 217 |
\SANDsupersedBox |
| 218 |
\end{center} |
| 219 |
\bigskip |
| 220 |
|
| 221 |
\begin{center} |
| 222 |
\let \footnote \thanks |
| 223 |
{\LARGE \bf \thetitle\par} |
| 224 |
\vskip 1.5em |
| 225 |
{\large |
| 226 |
\lineskip .5em% |
| 227 |
\begin{tabular}[t]{c} |
| 228 |
\theauthor |
| 229 |
\end{tabular}\par |
| 230 |
} |
| 231 |
\end{center} |
| 232 |
\par |
| 233 |
\vskip 1.5em |
| 234 |
} |
| 235 |
|
| 236 |
\newcommand{\SANDdistInternal}[4]{ |
| 237 |
\item[#1] MS \makebox[6ex][r]{#2}\\ |
| 238 |
\mbox{} |
| 239 |
\hspace{1em} \parbox[t]{2.0in}{#3, \mbox{#4}} |
| 240 |
} |
| 241 |
|
| 242 |
\newcommand{\SANDdistExternal}[2]{ |
| 243 |
\item[#1] \parbox[t]{2.1in}{#2} |
| 244 |
} |
| 245 |
|
| 246 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 247 |
|
| 248 |
%vectors |
| 249 |
\newcommand{\E}{\overrightarrow {E}} |
| 250 |
\newcommand{\B}{\bf{B}} |
| 251 |
\newcommand{\Jb}{\overrightarrow {J}} |
| 252 |
\newcommand{\A}{\overrightarrow {A}} |
| 253 |
\newcommand{\jv}{\overrightarrow {j}} |
| 254 |
\newcommand{\vv}{\overrightarrow {v}} |
| 255 |
|
| 256 |
%vector operators |
| 257 |
\newcommand{\del}{\nabla} |
| 258 |
\newcommand{\lap}{\nabla^2} |
| 259 |
\newcommand{\deld}{\del \cdot} |
| 260 |
\newcommand{\curl}{\del \times} |
| 261 |
\newcommand{\vxB}{\vv \times \B} |
| 262 |
|
| 263 |
%partial derivatives |
| 264 |
\newcommand{\dBdt}{\frac{\partial{\B}}{\partial{t}} } |
| 265 |
\newcommand{\dBdx}{\frac{\partial{\B}}{\partial{x}} } |
| 266 |
\newcommand{\dEdt}{\frac{\partial{\E}}{\partial{t}} } |
| 267 |
|
| 268 |
%Equations |
| 269 |
\newcommand{\beq}{\begin{equation}} |
| 270 |
\newcommand{\eeq}{\end{equation}} |
| 271 |
\newcommand{\beqn}{\begin{eqnarray*}} |
| 272 |
\newcommand{\eeqn}{\end{eqnarray*}\beq \eeq } |
| 273 |
|
| 274 |
\def \la{\langle} |
| 275 |
\def \ra{\rangle} |
| 276 |
\def \lp{\left(} |
| 277 |
\def \rp{\right)} |
| 278 |
\def \lb{\left[} |
| 279 |
\def \rb{\right]} |
| 280 |
\def \lc{\left\{} |
| 281 |
\def \rc{\right\}} |
| 282 |
\def \om{\omega} |
| 283 |
\def \oom{\frac{1}{\omega}} |
| 284 |
\def \ha{\frac{1}{2}} |
| 285 |
\def \sA{{\bf A}} |
| 286 |
\def \su{{\bf u}} |
| 287 |
\def \sb{{\bf b}} |
| 288 |
\def \sr{{\bf r}} |
| 289 |
\def \pD{D^{(\pi)}} |
| 290 |
\def \pC{C^{(\pi)}} |
| 291 |
\def \pL{C_L^{(\pi)}} |
| 292 |
\def \pU{C_U^{(\pi)}} |
| 293 |
|
| 294 |
\def\bI{{\bf I}} |
| 295 |
\def\bJ{{\bf J}} |
| 296 |
\def\bA{{\bf A}} |
| 297 |
\def\bE{{\bf E}} |
| 298 |
\def\bD{{\bf D}} |
| 299 |
\def\bB{{\bf B}} |
| 300 |
\def\bH{{\bf H}} |
| 301 |
\def\bS{{\bf S}} |
| 302 |
\def\bT{{\bf T}} |
| 303 |
\def\bv{{\bf v}} |
| 304 |
\def\bx{{\bf x}} |
| 305 |
\def\be{{\bf e}} |
| 306 |
\def\ba{{\bf a}} |
| 307 |
\def\Bf{{\bf f}} |
| 308 |
\def\bg{{\bf g}} |
| 309 |
|
| 310 |
|
| 311 |
\newcommand{\hf}{\frac{1}{2}} |
| 312 |
%\newcommand{\ip1}{i+1} |
| 313 |
%\newcommand{\im1}{i-1} |
| 314 |
%\newcommand{\jp1}{j+1} |
| 315 |
%\newcommand{\jm1}{j-1} |
| 316 |
|
| 317 |
\newcommand{\HRule}{\rule{\linewidth}{1mm}} |
| 318 |
\renewcommand{\theequation}{\thesection.\arabic{equation}} |
| 319 |
|
| 320 |
|
| 321 |
% The altdescription environment is a modification of the description |
| 322 |
% environment used to define math nomenclature, acronyms, etc. Use |
| 323 |
% \begin{altdescription}{longest item} |
| 324 |
% \item{short item} blah blah |
| 325 |
% \item{longest item} blah blah |
| 326 |
% \end{altdescription} |
| 327 |
% The argument is typically the longest typeset item value. This environment |
| 328 |
% takes an optional argument which is a length value. It adds length to the |
| 329 |
% distance from the item values to their descirptions, such as 5em or 10pt. |
| 330 |
% |
| 331 |
\newenvironment{altdescription}[2][0pt] |
| 332 |
{\begin{list}{}% |
| 333 |
{\renewcommand\makelabel[1]{##1\hfil}% |
| 334 |
\settowidth\labelwidth{\makelabel{#2}}% |
| 335 |
\addtolength\labelwidth{#1}% |
| 336 |
\setlength\leftmargin{\labelwidth}% |
| 337 |
\addtolength\leftmargin{\labelsep}% |
| 338 |
\setlength\itemsep{-\parsep}}}% |
| 339 |
{\end{list}} |
| 340 |
|
| 341 |
|
| 342 |
% The twocolumntable command is mainly used to hide the differences between |
| 343 |
% the commands that produce nice output in PDF/DVI and in HTML. Usage: |
| 344 |
% \twocolumntable{This is the caption text.\label{tablabel}}{ |
| 345 |
% % put tabular environment here |
| 346 |
% } |
| 347 |
% The first argument is the caption text, which should include the label. |
| 348 |
% The second argument is the contents of the table. An optional argument |
| 349 |
% allows the column specification to be passed into the "tabularx" |
| 350 |
% environment, which defaults to "|l|l|X|". |
| 351 |
% |
| 352 |
\latexhtml{ |
| 353 |
\newcommand{\twocolumntable}[3][|l|X|]% |
| 354 |
% use the column specifiers (if given) for PDF and DVI output |
| 355 |
{\begin{table}[ht]% |
| 356 |
\centering% |
| 357 |
\caption{#2}% |
| 358 |
\bigskip% |
| 359 |
\begin{tabularx}{\linewidth}{#1} #3 \end{tabularx}\end{table}} |
| 360 |
}{ |
| 361 |
\newcommand{\twocolumntable}[3][|l|X|]% |
| 362 |
% do not use the column specifiers for latex2html output |
| 363 |
{\begin{table}[ht]% |
| 364 |
\begin{makeimage}\end{makeimage}% |
| 365 |
\centering% |
| 366 |
\caption{#2}% |
| 367 |
\bigskip% |
| 368 |
\begin{tabularx}{\linewidth}{|l|X|} #3 \end{tabularx}\end{table}} |
| 369 |
} |
| 370 |
|
| 371 |
|
| 372 |
% The threecolumntable command is mainly used to hide the differences between |
| 373 |
% the commands that produce nice output in PDF/DVI and in HTML. Usage: |
| 374 |
% \threecolumntable{This is the caption text.\label{tablabel}}{ |
| 375 |
% % put tabular environment here |
| 376 |
% } |
| 377 |
% The first argument is the caption text, which should include the label. |
| 378 |
% The second argument is the contents of the table. An optional argument |
| 379 |
% allows the column specification to be passed into the "tabularx" |
| 380 |
% environment, which defaults to "|l|l|X|". |
| 381 |
% |
| 382 |
\latexhtml{ |
| 383 |
\newcommand{\threecolumntable}[3][|l|l|X|]% |
| 384 |
% use the column specifiers (if given) for PDF and DVI output |
| 385 |
{\begin{table}[ht]% |
| 386 |
\centering% |
| 387 |
\caption{#2}% |
| 388 |
\bigskip% |
| 389 |
\begin{tabularx}{\linewidth}{#1} #3 \end{tabularx}\end{table}} |
| 390 |
}{ |
| 391 |
\newcommand{\threecolumntable}[3][|l|l|X|]% |
| 392 |
% do not use the column specifiers for latex2html output |
| 393 |
{\begin{table}[ht]% |
| 394 |
\begin{makeimage}\end{makeimage}% |
| 395 |
\centering% |
| 396 |
\caption{#2}% |
| 397 |
\bigskip% |
| 398 |
\begin{tabularx}{\linewidth}{|l|l|X|} #3 \end{tabularx}\end{table}} |
| 399 |
} |
| 400 |
|
| 401 |
\latexhtml{ |
| 402 |
\newcommand{\mthreecolumntable}[3][|X|l|X|]% |
| 403 |
% use the column specifiers (if given) for PDF and DVI output |
| 404 |
{\begin{table}[ht]% |
| 405 |
\centering% |
| 406 |
\caption{#2}% |
| 407 |
\bigskip% |
| 408 |
\begin{tabularx}{\linewidth}{#1} #3 \end{tabularx}\end{table}} |
| 409 |
}{ |
| 410 |
\newcommand{\mthreecolumntable}[3][|X|l|X|]% |
| 411 |
% do not use the column specifiers for latex2html output |
| 412 |
{\begin{table}[ht]% |
| 413 |
\begin{makeimage}\end{makeimage}% |
| 414 |
\centering% |
| 415 |
\caption{#2}% |
| 416 |
\bigskip% |
| 417 |
\begin{tabularx}{\linewidth}{|l|l|X|} #3 \end{tabularx}\end{table}} |
| 418 |
} |
| 419 |
|
| 420 |
|
| 421 |
% The fourcolumntable command is mainly used to hide the differences between |
| 422 |
% the commands that produce nice output in PDF/DVI and in HTML. Usage: |
| 423 |
% \fourcolumntable{This is the caption text.\label{tablabel}}{ |
| 424 |
% % put tabular environment here |
| 425 |
% } |
| 426 |
% The first argument is the caption text, which should include the label. |
| 427 |
% The second argument is the contents of the table. An optional argument |
| 428 |
% allows the column specification to be passed into the "tabularx" |
| 429 |
% environment, which defaults to "|l|l|l|X|". |
| 430 |
% |
| 431 |
\latexhtml{ |
| 432 |
\newcommand{\fourcolumntable}[3][|l|l|l|X|]% |
| 433 |
% use the column specifiers (if given) for PDF and DVI output |
| 434 |
{\begin{table}[ht]% |
| 435 |
\centering% |
| 436 |
\caption{#2}% |
| 437 |
\bigskip% |
| 438 |
\begin{tabularx}{\linewidth}{#1} #3 \end{tabularx}\end{table}} |
| 439 |
}{ |
| 440 |
\newcommand{\fourcolumntable}[3][|l|l|l|X|]% |
| 441 |
% do not use the column specifiers for latex2html output |
| 442 |
{\begin{table}[ht]% |
| 443 |
\begin{makeimage}\end{makeimage}% |
| 444 |
\centering% |
| 445 |
\caption{#2}% |
| 446 |
\bigskip% |
| 447 |
\begin{tabularx}{\linewidth}{|l|l|l|X|} #3 \end{tabularx}\end{table}} |
| 448 |
} |
| 449 |
|
| 450 |
|
| 451 |
% The twocolumnlongtable command is mainly used to hide the differences |
| 452 |
% between the commands that produce nice output in PDF/DVI and in HTML. Usage: |
| 453 |
% \twocolumnlongtable{This is the caption text.\label{mytablelabel}}{ |
| 454 |
% % tabular environment here |
| 455 |
% } |
| 456 |
% The first argument is the caption text, which should include the label. |
| 457 |
% The second argument is the contents of the table. An optional argument |
| 458 |
% allows the column specification to be passed into the "longtable" |
| 459 |
% environment, which defaults to "|l|l|". |
| 460 |
% |
| 461 |
\latexhtml{ |
| 462 |
% use longtable for PDF and DVI output |
| 463 |
\newcommand{\twocolumnlongtable}[3][|l|l|]% |
| 464 |
{\begin{longtable}{#1}% |
| 465 |
\caption{#2}% |
| 466 |
\endfirsthead% |
| 467 |
\hline% |
| 468 |
\multicolumn{2}{|l|}{\small\slshape continued from previous page} \\ \hline% |
| 469 |
\endhead% |
| 470 |
\multicolumn{2}{|r|}{\small\slshape continued on next page} \\ \hline% |
| 471 |
\endfoot% |
| 472 |
\hline% |
| 473 |
\endlastfoot% |
| 474 |
#3 % |
| 475 |
\end{longtable} } |
| 476 |
}{ |
| 477 |
% use table with tabularx for latex2html output |
| 478 |
\newcommand{\twocolumnlongtable}[3][|l|X|]% |
| 479 |
{\begin{table}[ht]% |
| 480 |
\begin{makeimage} \end{makeimage}% |
| 481 |
\caption{#2}% |
| 482 |
\begin{tabularx}{\linewidth}{|l|X|}% |
| 483 |
\centering% |
| 484 |
#3 % |
| 485 |
\end{tabularx}\end{table} } |
| 486 |
} |
| 487 |
|
| 488 |
|
| 489 |
% The threecolumnlongtable command is mainly used to hide the differences |
| 490 |
% between the commands that produce nice output in PDF/DVI and in HTML. Usage: |
| 491 |
% \threecolumnlongtable{This is the caption text.\label{mytablelabel}}{ |
| 492 |
% % tabular environment here |
| 493 |
% } |
| 494 |
% The first argument is the caption text, which should include the label. |
| 495 |
% The second argument is the contents of the table. An optional argument |
| 496 |
% allows the column specification to be passed into the "longtable" |
| 497 |
% environment, which defaults to "|l|l|l|". |
| 498 |
% |
| 499 |
\latexhtml{ |
| 500 |
% use longtable for PDF and DVI output |
| 501 |
\newcommand{\threecolumnlongtable}[3][|l|l|l|]% |
| 502 |
{\begin{longtable}{#1}% |
| 503 |
\caption{#2}% |
| 504 |
\endfirsthead% |
| 505 |
\hline% |
| 506 |
\multicolumn{3}{|l|}{\small\slshape continued from previous page} \\ \hline% |
| 507 |
\endhead% |
| 508 |
\multicolumn{3}{|r|}{\small\slshape continued on next page} \\ \hline% |
| 509 |
\endfoot% |
| 510 |
\hline% |
| 511 |
\endlastfoot% |
| 512 |
#3 % |
| 513 |
\end{longtable} } |
| 514 |
}{ |
| 515 |
% use table with tabularx for latex2html output |
| 516 |
\newcommand{\threecolumnlongtable}[3][|l|l|X|]% |
| 517 |
{\begin{table}[ht]% |
| 518 |
\begin{makeimage} \end{makeimage}% |
| 519 |
\caption{#2}% |
| 520 |
\begin{tabularx}{\linewidth}{|l|l|X|}% |
| 521 |
\centering% |
| 522 |
#3 % |
| 523 |
\end{tabularx}\end{table} } |
| 524 |
} |
| 525 |
|
| 526 |
|
| 527 |
% The fourcolumnlongtable command is mainly used to hide the differences |
| 528 |
% between the commands that produce nice output in PDF/DVI and in HTML. Usage: |
| 529 |
% \fourcolumnlongtable{This is the caption text.\label{mytablelabel}}{ |
| 530 |
% % tabular environment here |
| 531 |
% } |
| 532 |
% The first argument is the caption text, which should include the label. |
| 533 |
% The second argument is the contents of the table. An optional argument |
| 534 |
% allows the column specification to be passed into the "longtable" |
| 535 |
% environment, which defaults to "|l|l|l|l|". |
| 536 |
% |
| 537 |
\latexhtml{ |
| 538 |
% use longtable for PDF and DVI output |
| 539 |
\newcommand{\fourcolumnlongtable}[3][|l|l|l|l|]% |
| 540 |
{\begin{longtable}{#1}% |
| 541 |
\caption{#2}% |
| 542 |
\endfirsthead% |
| 543 |
\hline% |
| 544 |
\multicolumn{4}{|l|}{\small\slshape continued from previous page} \\ \hline% |
| 545 |
\endhead% |
| 546 |
\multicolumn{4}{|r|}{\small\slshape continued on next page} \\ \hline% |
| 547 |
\endfoot% |
| 548 |
\hline% |
| 549 |
\endlastfoot% |
| 550 |
#3 % |
| 551 |
\end{longtable} } |
| 552 |
}{ |
| 553 |
% use table with tabularx for latex2html output |
| 554 |
\newcommand{\fourcolumnlongtable}[3][|l|l|l|X|]% |
| 555 |
{\begin{table}[ht]% |
| 556 |
\begin{makeimage} \end{makeimage}% |
| 557 |
\caption{#2}% |
| 558 |
\begin{tabularx}{\linewidth}{|l|l|l|X|}% |
| 559 |
\centering% |
| 560 |
#3 % |
| 561 |
\end{tabularx}\end{table} } |
| 562 |
} |