[Tex/LaTex] How to use the ENTIRE A4 page in LateX

fullpagefullwidth

Can someone please provide the code that makes me use the entire A4 page? I don't want it to be pretty, I just want to use the entire A4 page.

Right now I have the following three lines which doesn't do the job for me.

\documentclass{article} 
\usepackage{fullpage}
\usepackage[pass]{geometry}

Best Answer

As indicated in my comment, the paper can be specified as an optional argument to \documentclass and the margin can be specified as an optional argument to \usepackage{geometry}. In my MWE, I have also included \pagestyle{empty}, to eliminate the use of page numbering, which itself creates a bit of blank space.

Now whether your printer can print such a page is another question, as most printers require a certain minimal margin.

\documentclass[a4paper]{article}
\usepackage[margin=0pt]{geometry}
\usepackage{lipsum}
\pagestyle{empty}
\begin{document}
\lipsum[1-20]
\end{document}

enter image description here

Related Question