[texhax] Re: irregular boundaries

William Adams wadams at atlis.com
Fri Jun 6 16:44:39 CEST 2003


I just tried that and I got the error message ``! You can't use 
`\spacefactor' in vertical mode.''

So of course, one must wrap the preamble stuff in \makeatletter and 
\makeatother as follows:

\makeatletter
\newenvironment{widecenter}{%
     \bgroup
     \@flushglue = 0pt plus 1fil minus \textwidth
     \begin{center}%
       \hfuzz = \maxdimen
       \ignorespaces % IMPORTANT: so space after \begin{widecenter} is 
gobbled
}{%
     \end{center}%
     \egroup
}
\makeatother


William
--
William Adams, publishing specialist
voice - 717-731-6707 | Fax - 717-731-6708
www.atlis.com



More information about the texhax mailing list