Article View: comp.text.tex
Article #1822Form Feeds in verbatim files, Solution
From: David Russell
Date: Fri, 28 Aug 1992 18:58
Date: Fri, 28 Aug 1992 18:58
30 lines
1431 bytes
1431 bytes
I made the following changes to verbatimfiles.sty in order to get
verbatim files to print as single spacing and recognize form feeds
as a newpage.
--------------------------------------------------------------------
\catcode`\=\active \outer\def{\newpage} % DMR 7-28-92
\def\verbatimfile#1{\begingroup \ssp % \ssp added DMR 7-28-92
\@verbatim \frenchspacing \@vobeyspaces
\input#1 \endgroup
}
--------------------------------------------------------------------
% EXAMPLE:
% \documentstyle[..,verbatimfile,..]{..}
% ..
% \begin{document}
% ..
% \verbatimfile{file.f}
% ..
% \end{document}
ssp provides the single spacing and was previously defined in ucthesis.sty as;
\def\ssp{\def\baselinestretch{1.0}\large\normalsize}
Maybe these changes should be added to the original `verbatim'.sty files
Just thought I would pass on this info.
--
David M. Russell, Mechanical Eng. Dept.
Clarkson University, Potsdam, NY 13676
(315) 268-9806
russell@sun.soe.clarkson.edu
Technical Details
Message-ID:
<1992Aug28.185838.28108@news.clarkson.edu>Path:
arc1-ca.pugleaf.net!sparky!uunet!clarkson!newsShow Full Headers
Complete Article Headers
Newsgroups: comp.text.tex Path: arc1-ca.pugleaf.net!sparky!uunet!clarkson!news From: russell@sun.soe.clarkson.edu (David Russell) Subject: Form Feeds in verbatim files, Solution Message-ID: <1992Aug28.185838.28108@news.clarkson.edu> Lines: 30 Sender: news@news.clarkson.edu Nntp-Posting-Host: sun.soe.clarkson.edu Organization: Clarkson University Date: Fri, 28 Aug 1992 18:58:38 GMT