[texhax] Re: adding a command after every single LaTeX output line ?

Robin Fairbairns Robin.Fairbairns at cl.cam.ac.uk
Fri Sep 19 16:03:46 CEST 2003

this is completely inappropriate to the tetex list, which is about
specific matters related to a distribution.  redirected to texhax,
where you're even more likely to encounter "radical" thinkers, i would

> I'm trying to create a draft environment, but instead of doubling 
> \baselinestretch I want to put another command before or after each 
> line of output. In pdflatex thsi should be a \TextField in a form, 
> in plain paper output it should be a \rule or an \fbox.
> Obviously this does not work by redefining \baselinestretch. 
> But, which command would I have to redefine to achieve my goal ? 
> BTW, changing \cr results in chaos, and \strut is only added at 
> top and bottom of page.

the "line of output" is a concept that doesn't exist at the
programming interface.  the nearest i can think of, that uses that
sort of thing is the lineno package (ctan macros/latex/contrib/lineno)


More information about the texhax mailing list