summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/boxhandler/boxhandler.sty
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2006-08-14 16:32:27 +0000
committerKarl Berry <karl@freefriends.org>2006-08-14 16:32:27 +0000
commit5c86817e60f4e9a307477a8521ddcc4ab7acd578 (patch)
treef200f377c3d21cddbbf981172c4ef055fb25ded5 /Master/texmf-dist/tex/latex/boxhandler/boxhandler.sty
parente99673991ca59f0537ae4db3e19d12e5d0ac3941 (diff)
boxhandler update (31jul06)
git-svn-id: svn://tug.org/texlive/trunk@1954 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/boxhandler/boxhandler.sty')
-rw-r--r--Master/texmf-dist/tex/latex/boxhandler/boxhandler.sty49
1 files changed, 47 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/boxhandler/boxhandler.sty b/Master/texmf-dist/tex/latex/boxhandler/boxhandler.sty
index 136171eaacc..083fd3b311e 100644
--- a/Master/texmf-dist/tex/latex/boxhandler/boxhandler.sty
+++ b/Master/texmf-dist/tex/latex/boxhandler/boxhandler.sty
@@ -30,7 +30,7 @@
%% arlcaptions.sty.
%%
\ProvidesPackage{boxhandler}
-[2006/04/24 v1.03
+[2006/07/29 v1.10
Flexible Captioning Styles and Deferred Box/List Printing]
\NeedsTeXFormat{LaTeX2e}
%% Examples of a number of calls provided in this style are given below,
@@ -77,6 +77,21 @@
%%| |\\
%%|\ReciteFigure[h]{\figcapii}{\figii}{\figcapwdthii} |\\
%%
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{pbox}
\newcounter{TableIndex} \setcounter{TableIndex}{0}
@@ -186,6 +201,21 @@
\end{table}
}
+\newcommand\nextTable[1][h]{
+ \ifnum \arabic{TableClearedIndex} < \arabic{TableIndex}{
+ \addtocounter{TableClearedIndex}{1}
+%% \TableBoxLabel : tbli, tblii, tbliii, tbliv, etc.
+%% \TableCaptionLabel : tblcapi, tblcapii, tblcapiii, tblcapiv, etc.
+%% \TblCaptionWidthLabel: tblcapwdthi, tblcapwdthii, tblcapwdthiii,etc.
+ \def\TableBoxLabel{tbl\roman{TableClearedIndex}}
+ \def\TableCaptionLabel{tblcap\roman{TableClearedIndex}}
+ \def\TblCaptionWidthLabel{tblcapwdth\roman{TableClearedIndex}}
+ \ReciteTable[#1]{\csname\TableCaptionLabel\endcsname}
+ {\csname\TableBoxLabel\endcsname}
+ {\csname\TblCaptionWidthLabel\endcsname}
+ }\fi
+}
+
\newcommand\clearTables{
\clearpage
\clearlistoftables
@@ -263,6 +293,21 @@
\end{figure}
}
+\newcommand\nextFigure[1][h]{
+ \ifnum \arabic{FigureClearedIndex} < \arabic{FigureIndex}{
+ \addtocounter{FigureClearedIndex}{1}
+%% \FigureBoxLabel: : figi, figii, figiii, figiv, etc.
+%% \FigureCaptionLabel : figcapi, figcapii, figcapiii, figcapiv, etc.
+%% \FigCaptionWidthLabel: figcapwdthi, figcapwdthii, figcapwdthiii,etc.
+ \def\FigureBoxLabel{fig\roman{FigureClearedIndex}}
+ \def\FigureCaptionLabel{figcap\roman{FigureClearedIndex}}
+ \def\FigCaptionWidthLabel{figcapwdth\roman{FigureClearedIndex}}
+ \ReciteFigure[#1]{\csname\FigureCaptionLabel\endcsname}
+ {\csname\FigureBoxLabel\endcsname}
+ {\csname\FigCaptionWidthLabel\endcsname}
+ }\fi
+}
+
\newcommand\clearFigures{
\clearpage
\clearlistoffigures
@@ -454,7 +499,7 @@
}
}
-%% TO RETAIN BACKWARD COMPATIBILITY WITH THE PREDECESSOR TO boxtable,
+%% TO RETAIN BACKWARD COMPATIBILITY WITH THE PREDECESSOR TO boxhandler,
%% THE FOLLOWING ASSIGNMENTS ARE MADE.
\let\arltable\bxtable
\let\arlfigure\bxfigure