[texhax] Boxes and indents

Stefan Björk stefan at raggmunk.nu
Thu Jan 27 21:46:13 CET 2005

Hello (again),

> Try this (it should be obvious how to modify it):
> \makeatletter
> \newcommand{\infobox}[1]{%
>   \fbox{\vbox{\noindent #1}}\vspace*{\baselineskip}\@afterheading
> }
> \makeatother

Thank you! The \noindent in the \vbox was embarassingly (?) simple, but 
the \@afterheading is new to me. It works - but I have to figure out how 
to fix all the "overfull \vbox" complaints that I get from TeX.


More information about the texhax mailing list