Comprehensive TeX Archive Network

Direc­tory macros/latex/contrib/logbox

Package: logbox - e-TeX showbox facilities (FC)
logbox provides facilities to display the contents of boxes in
the log file or print them with their dimensions in the final

For "exploration purpose".

The TeX primitive \showbox stops the compilation.
Looking at the box contents requires to set the \showboxbreadth
and \showboxdepth parameters accordingly.

logbox.sty sets those parameters, the \interactionmode is temporarily
set so that the compilation don't stop and the box description can
finally be explored in the .log file.

As a tracing command, \logbox also works in harmony with the tracing
parameter: \tracingoutput.

Commands provided:

\logbox          : TeX \showbox without stop in the compilation
                                + \showboxbreadth >=  10
                                + \showboxdepth   >=  10

\dimbox          : typeset the type (hbox, vbox or void) of the box
                   and its dimensions in the document.

\viewbox         : \dimbox + \logbox
\viewbox*        : \dimbox + \logbox + inserts the box in the document

\Viewbox         : same as \viewbox but the argument is the box contents
                   rather than the box register.

\ShowGroups      : e-TeX \showgroups without stop in the compilation.

\ShowLists       : e-TeX \showlists without stop in the compilation.

\ShowIfs         : e-TeX \showifs without stop in the compilation.

Copyright (C) 2011 by FC ------------------------------------

Down­load the con­tents of this pack­age in one zip archive (585.6k).

log­box – e- show­box fa­cil­i­ties for ex­plo­ration pur­poses

The com­mand \log­box does \show­box with­out stop­ping the com­pi­la­tion.

The pack­age's main com­mand is \view­box*: the box is type­set (copied) with its di­men­sions, and its con­tents are logged in the .log file.

Li­cense The Project Public Li­cense 1.3
Copy­right2011 Florent Chervet
Main­tainerFlorent Chervet
Con­tained inTeX Live as log­box
MiKTeX as log­box
Topics sup­port for de­vel­op­ment of macros
Guest Book Sitemap Contact Contact Author