{"id":1185,"date":"2022-08-02T19:15:32","date_gmt":"2022-08-02T19:15:32","guid":{"rendered":"https:\/\/www.highsund.com\/?p=1185"},"modified":"2022-09-06T17:49:57","modified_gmt":"2022-09-06T17:49:57","slug":"squeezing-space-with-latex","status":"publish","type":"post","link":"https:\/\/www.highsund.com\/en\/2022\/08\/02\/squeezing-space-with-latex\/","title":{"rendered":"Squeezing space in LaTeX"},"content":{"rendered":"

This article is reproduced from https:\/\/robjhyndman.com\/hyndsight\/squeezing-space-with-latex\/<\/a>, and can be deleted if requested. <\/em><\/strong><\/p>\n

I\u2019ve been writing a grant application with a 10-page limit, and as usual it is difficult to squeeze everything in. No, I can\u2019t just change the font as it has to be 12 point with at least 2 cm margins on an A4 page. Fortunately, LaTeX is packed full of powerful features that help in squeezing it all in. Here are some of the tips I\u2019ve used over the years.<\/p>\n

Make your text block as big as possible. The simplest way to do that is using the geometry package:<\/p>\n

    \\usepackage[text={16cm,24cm}]{geometry}<\/code><\/pre>\n

Use a compact font such as Times Roman:<\/p>\n

    \\usepackage{mathptmx}<\/code><\/pre>\n

Remove the spacing between paragraphs and have a small paragraph indentation<\/p>\n

    \\setlength{\\parskip}{0cm}\n    \\setlength{\\parindent}{1em}<\/code><\/pre>\n

Remove space around section headings.<\/p>\n

    \\usepackage[compact]{titlesec}\n    \\titlespacing{\\section}{0pt}{2ex}{1ex}\n    \\titlespacing{\\subsection}{0pt}{1ex}{0ex}\n    \\titlespacing{\\subsubsection}{0pt}{0.5ex}{0ex}<\/code><\/pre>\n

Beware of enumerated and itemized lists. Instead, replace them with compact lists.<\/p>\n

    \\usepackage{paralist}\n\n    \\begin{compactitem}\n    \\item ...\n    \\end{compactitem}\n    \\begin{compactenum}\n    \\item ...\n    \\end{compactenum}<\/code><\/pre>\n

If you are allowed, switching to double column can save heaps of space.<\/p>\n

    \\usepackage{multicols}\n\n    \\begin{multicols}{2}\n    ...\n    \\end{multicols}<\/code><\/pre>\n

If the rules say 12pt, you can usually get away with 11.5pt without anyone noticing:<\/p>\n

    \\begin{document}\\fontsize{11.5}{14}\\rm<\/code><\/pre>\n

When you get desperate, you can squeeze the inter-line spacing using<\/p>\n

    \\linespread{0.9}<\/code><\/pre>\n

There is also a savetrees<\/code><\/a> package which does a lot of squeezing, but the results don\u2019t always look nice, so it is better to try one or more of the above tricks instead.<\/p>\n

A few more tricks are explained here<\/a> and here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"

This article is reproduced from https:\/\/robjhyndman.com\/hyndsight\/squeezing-space-with-latex\/, and can be deleted if requested. I\u2019ve been writing a grant application with a 10-page limit, and as usual it is difficult to squeeze everything in. No, I can\u2019t just change the font as it has to be 12 point with at least 2 cm margins on an A4 … <\/p>\n