summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/logbox
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-11-04 23:23:09 +0000
committerKarl Berry <karl@freefriends.org>2011-11-04 23:23:09 +0000
commit53614d3ad7e989dd7cc187c2980aed8044688be7 (patch)
tree170ec3110e800553746a9f0175a74a8ac7e6c875 /Master/texmf-dist/tex/latex/logbox
parent6eb9c55c6ddc7cea3ec34504995d1f4fe301d7f8 (diff)
new latex package logbox (1nov11)
git-svn-id: svn://tug.org/texlive/trunk@24499 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/logbox')
-rw-r--r--Master/texmf-dist/tex/latex/logbox/logbox.sty60
1 files changed, 60 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/logbox/logbox.sty b/Master/texmf-dist/tex/latex/logbox/logbox.sty
new file mode 100644
index 00000000000..5601523cc90
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/logbox/logbox.sty
@@ -0,0 +1,60 @@
+%%
+%% This is file `logbox.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% logbox.dtx (with options: `package')
+%%
+%% This is a generated file.
+%%
+%% logbox : 2011/03/26 v1.0 - e-TeX showbox facilities (FC)
+%%
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either
+%% version 1.3 of this license or (at your option) any later
+%% version. The latest version of this license is in
+%% http://www.latex-project.org/lppl.txt
+%%
+%% This work consists of the main source file logbox.dtx
+%% and the derived files:
+%% logbox.sty, logbox.ins, logbox.drv,
+%% and: logbox.pdf
+%%
+%% logbox : 2011/03/26 v1.0 - e-TeX showbox facilities (FC)
+%% Copyright (C) 2011 by FC <florent.chervet @t free.fr>
+%%
+\NeedsTeXFormat{LaTeX2e}[2005/12/01]
+\ProvidesPackage{logbox}
+ [2011/03/26 v1.0 - e-TeX showbox facilities for exploration (FC)]
+\protected\def\logbox {\begingroup \afterassignment\logb@x@log \count@ }
+\def\logb@x@log {\ifnum\tracingoutput>0 \ifnum\showboxdepth<2 \showboxdepth=2 \fi
+ \ifnum\showboxbreadth<10 \showboxbreadth=10 \fi
+ \else \showoutput \fi
+ \message {^^Jlogbox: \the\count@ \on@line^^J}\expandafter \scrollmode
+ \expandafter \showbox \expandafter \count@ \expandafter
+ \interactionmode\the\interactionmode \endgroup
+}% \logb@x@log
+\protected\def\dimbox {\begingroup \afterassignment\logb@x@dim \count@ }
+\def\logb@x@dim {\nfss@text
+ {\ifhbox\count@ hbox\else\ifvbox\count@ vbox\else box\fi\fi
+ \the\count@: \ifvoid\count@ void\else wd=\the\wd\count@\
+ ht=\the\ht\count@\
+ dp=\the\dp\count@\
+ tot=\the\dimexpr\ht\count@ +\dp\count@ \relax\fi }\endgroup
+}% \logb@x@dim
+\protected\def\viewbox {\begingroup \@ifstar
+ {\def\logb@x@ {\@@par\copy\count@ }\afterassignment\logb@x@view \count@ }
+ {\let\logb@x@ \relax \afterassignment\logb@x@view \count@ }}
+\def\logb@x@view {\dimbox\count@ \logb@x@ \logb@x@log }
+\protected\def\Viewbox {\@ifstar \logb@x@View \logb@x@View }
+\long\def\logb@x@View #1{\begingroup \setbox0=\hbox {{#1}}\viewbox*0\endgroup }
+\def\ShowGroups {\expandafter \scrollmode \expandafter \showgroups \expandafter
+ \interactionmode\the\interactionmode \relax }
+\def\ShowLists {\expandafter \scrollmode \expandafter \showlists \expandafter
+ \interactionmode\the\interactionmode \relax }
+\def\ShowIfs {\expandafter \scrollmode \expandafter \showifs \expandafter
+ \interactionmode\the\interactionmode \relax }
+\endinput
+%%
+%% End of file `logbox.sty'.