2

Problem

Context

I was trying to make a multi-column document, but found that the content wasn't being displayed properly as there was a display equation spilling over into the other column. My first solution (which worked) was to use the geometry package to set the paperwidth and paperheight to be the values for A4-paper * 1.5 (315mm and 445.5mm, respectively). This worked perfectly and I am happy with the layout of the document, but I would like the exported PDF to still be A4 sized (sort of like what Adobe Acrobat's pre-flight fixups do).

This is where I am hitting a dead end. I've tried googling this, but to no avail. Some suggest using the pdfpages package to load it in as a separate PDF file and just scale it down from there, but I would like to keep this in a single TeX file, if possible.

The actual problem

How can I shrink the entire document, which has been enlarged to 1.5x A4-paper, back down to A4-paper size, but keeping the layout and formatting of the enlarged (1.5xA4-paper size) document??

Minimum Reproducible Example

\documentclass[12pt,titlepage]{article}

\usepackage[margin=2cm, paperwidth=315mm, paperheight=445.5mm]{geometry}

\usepackage{multicol}

\usepackage{xspace} \usepackage{microtype}

\usepackage{lipsum} \usepackage{siunitx}

\title{MRE - Resizing entire document} \author{BrightBulb123}

\begin{document}

\maketitle

\begin{multicols}{2}

    \section{Introduction}

    \lipsum[1-2]

    $$\frac{F_{\text{g}_{\text{Earth-Mars}}}}{F_{\text{g}_{\text{Earth-Sun}}}}\times100=\frac{\num{3.0e+16}}{\num{3.4e+22}}\times100\approx\num{8.8e-05}\%=0.000088\%$$  % troublesome equation

    \lipsum[2-5]

\end{multicols}

\end{document}

Screenshots

What I had before

MRE showcasing the display math formula spilling over to the neighbouring column.

What I have now (enlarged page size)

MRE showcasing the enlarged page and the how the formula doesn't spill into the neighbouring column now.

Essentially, what I want is to just shrink down that second image to A4-paper size.


Edits

Edit 1

I want to clarify that it doesn't matter if it looks ugly or illegible at first glance. This is just a personal project of mine, not something that I will be showcasing professionally.

I just want to see how to do it from within the document's code itself, without using any external tools.

Edit 2

This post is similar to what I want to do (I'm just doing it backwards (shrinking instead of expanding)).

  • So, if that works, you will have reduced your font-size in the end? // May be it's good to post a few screenshots so we can better follow your problem description? // Just wondering why you don't use one of the ams packages or similar, available on ctan? – MS-SPO Apr 30 '23 at 08:17
  • @MS-SPO Yes, I'll end up reducing the overall font size in the compiled PDF.
  • // 2. I'll try to add screenshots to clarify my request.

    // 3. I'm using AMS packages to add symbols and environments in my actual document. Please recommend a specific package to guide me further as to what you mean in the context of resizing the page. The provided code does not require them as it compiled fine without them.

    – BrightBulb123 Apr 30 '23 at 09:22
  • 2
    If you don't care that the font then gets smaller, why don't you write directly in 10 or 9pt as the main size? – Ulrike Fischer Apr 30 '23 at 12:03
  • 1
    Or use \small, \footnotesize, \scriptsize, or \tiny? – John Kormylo Apr 30 '23 at 12:38