Code

l2l, l2l_scanner: Typeset all of the document in two column mode.
[lm2latex.git] / src / l2l.c
index 963ec57c4935a62c3881a45b82cbc9edf4d1b8ea..840f630acc0e437fd9c9adde6662bc03a20d3f02 100644 (file)
--- a/src/l2l.c
+++ b/src/l2l.c
@@ -47,7 +47,7 @@ write_tex_preamble(FILE *out)
        assert(out);
 
        fprintf(out,
-"\\documentclass[11pt,a4paper,twoside]{article}\n"
+"\\documentclass[11pt,a4paper,twoside,twocolumn]{article}\n"
 "\n"
 "\\usepackage{ifpdf}\n"
 "\n"
@@ -86,6 +86,7 @@ write_tex_preamble(FILE *out)
 "\\setlength{\\parskip}{6pt}\n"
 "\n"
 "\\renewcommand{\\captionfont}{\\footnotesize}\n"
+"\\setcounter{secnumdepth}{-1}\n"
 "\n"
 "\\renewcommand{\\headrulewidth}{0.4pt}\n"
 "\\renewcommand{\\footrulewidth}{0pt}\n"