home.social

#latextips — Public Fediverse posts

Live and recent posts from across the Fediverse tagged #latextips, aggregated by home.social.

  1. Do you want to make a better use of the real estate of your PDF preview pane/tab/window when using a LaTeX format with wide white margins? Add something like

    \newlength\hreduction
    \hreduction = 2in
    \newlength\vreduction
    \vreduction = 1.5in
    \addtolength{\paperwidth}{-\hreduction}
    \addtolength{\paperheight}{-\vreduction}
    \addtolength{\evensidemargin}{-0.5\hreduction}
    \addtolength{\oddsidemargin}{-0.5\hreduction}
    \addtolength{\topmargin}{-0.333\vreduction}

    in the preamble of your file and comment it out before submitting/shipping. You only need to customise the values of \hreduction and \vreduction to suit your needs.
    #latextips