[texhax] How to truncate lines in a fancyvrb

Donald Arseneau asnd at triumf.ca
Mon Jun 11 08:21:26 CEST 2007


Niall Mansfield <texhax at uit.co.uk> writes:

> One little problem remains: truncation seems to behave differently
> around a space character. 

Just the truncation marker.  If you don't use one there is no
difference.  Otherwise you'll need to specially define the verbatim
active-space to allow breaks before *and* after, instead of just 
before.  That could be:

\makeatletter

\def\FV at Space{\hskip\z at skip\hbox{}\ \hbox{}\hskip\z at skip}

or 

\renewcommand\FV at Space{\hspace{0pt}\mbox{}\ \mbox{}\hspace{0pt}}

\makeatother

-- 
Donald Arseneau                          asnd at triumf.ca


More information about the texhax mailing list