Document Classes ⇒ page size
page size
I have the following LaTeX code:
\documentclass{article}
\usepackage{vaucanson-g}
\begin{document}
\input{diagrams/automaton}
\end{document}
I want to create a PDF which has the size of the diagram in the file diagrams/automaton.tex, so that no empty space exists between the diagram and the page borders. The problem is that when I compile this code, the paper generated is A4 and thus I get a lot of empty space around my diagram.
Thank you in advance,
A.V
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
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm