And here is the LaTeX to mimic roff output:

%% Sans serif font, virtually no line spacing, small titles, small margins, no 
page numbers
\renewcommand{\familydefault}{\sfdefault}
\linespread{.8}
\usepackage{titlesec}
\titlelabel{\thetitle. }
\titleformat*{\section}{\bf}
\titleformat*{\subsection}{\bf}
\usepackage[margin=2cm]{geometry}
\pagenumbering{gobble}

a...@9srv.net writes:

> Since this has come up on the list several times, to turn my paper
> written with troff's ms macros into an A4 pdf, I did this:
> 
> {echo '.pl 29.7c
> .nr PO 2.2c
> .nr LL 16.6c'
> cat paper.ms} | troff -ms | dpost | ps2pdf '-sPAPERSIZE=a4' > paper.a4.pdf
> 
> I haven't tested it, but I think if you're using non-ms troff you can
> turn the ".nr PO" and ".nr LL" into ".po" and ".ll", respectively, and
> get the same effect.

------------------------------------------
9fans: 9fans
Permalink: 
https://9fans.topicbox.com/groups/9fans/Tab3d12bc0638bb28-Mef5609db17c4f5b368e76d52
Delivery options: https://9fans.topicbox.com/groups/9fans/subscription

Reply via email to