General ⇒ Increasing file size of a latex document
Increasing file size of a latex document
1) The increase is spread over every page of the document evenly
2) The increase is spread over the page evenly (so it is not clustered at the top or bottom of the page)
3) No visual changes to the document
The increase in file size also needs to be arbitrary. Any help appreciated
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Increasing file size of a latex document
I think you need to be a little clearer about what you want. Increasing "file size" suggests to me that you want it to take up more space on your hard drive. I can't imagine why you'd want that.ballchri wrote:I need to increase the file size in a LaTeX document, without changing the visual appearance or structure of the document. Ideally
1) The increase is spread over every page of the document evenly
2) The increase is spread over the page evenly (so it is not clustered at the top or bottom of the page)
3) No visual changes to the document
The increase in file size also needs to be arbitrary. Any help appreciated
I suppose what you're really after is to make the text bigger, but you didn't make it clear whether you wanted the page size increased too, or just reduced margins.
Assuming the latter, probably what I'd do is just compile the file as is (to pdf), then create a separate latex document that calls the pdfpages package with the scale option to include the original pdf but scale it larger, e.g.:
Code: Select all
\documentclass{article}
\usepackage{pdfpages}
\begin{document}
\includepdf[scale=1.2,pages=-]{inputfile.pdf}
\end{document}
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Increasing file size of a latex document
You have chosen very misleading expressions in the title of this thread to describe what you wanna do. When I think of file size, terms like kilobytes or megabytes come to my mind. In the case that you mean modifications to the page geometry (type area), the suggestion of frabjous goes into the right direction.ballchri wrote:I need to increase the file size in a LaTeX document, without changing the visual appearance or structure of the document. [...]
The increase in file size also needs to be arbitrary. Any help appreciated
Best regards and welcome to the board
Thorsten
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Re: Increasing file size of a latex document
Re: Increasing file size of a latex document
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Increasing file size of a latex document
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10