I wanted to modify the margins of my LaTeX document. Here's the commande I wrote:
% Margins
\renewcommand{\baselinestretch}{1.5}
\setmarginsrb{4.5cm}{2.5cm}{3.5cm}{2.5cm}{0pt}{0pt}{0pt}{0pt}
\begin{document}
I set "0pt" to the last 4 parameters because I didn't want to change their values from default.
The command seems to work when I compile, but I have an error:
The control sequence at the end of the top line of your error message was never \def'ed. If you have misspelled it (e.g.,
\hobx'), type
I' and the correct spelling (e.g., `I\hbox'). Otherwise just continue, and I'll forget about whatever was undefined.
Also it created a new page at the beginning of my document with "4.5cm2.5cm3.5cm2.5cm0pt0pt0pt0pt".
Code: http://pastebin.com/X6d7jFPe
How can I fix that?
\documentclass{...}
and ending with\end{document}
.hyperref
last, don't load packages (array
) twice, don't usevmargin
butgeometry
, usexcolor
instead ofcolor
or use none, aseso-pic
loads the former.