So I first tried to create that front page in LaTeX directly but failed miserably (I don’t know much LaTeX) but I realized that there was a other solution that would mean less work for me: I made a PDF out of the front page, read it in my LaTeX-file and then wrote ID numbers and other info ”on top” of the PDF. This results in a front page that follows the rules.
However, to be able to place to PDF so it looked OK I needed to change the geometry from the standard size … but of course this messes up the page width on the rest of the exam which make it look horrible (lines are too long).
So I’m looking for advise on how to solve this. The first solution that come to my mind is ”change the geometry on the first page only” but unfortunately my LaTeX knowledge is too weak to figure out how to do this.
What I have is the following:
To change the geometry I use
Code: Select all
\geometry{a4paper,textwidth=17.5cm,textheight=26.5cm}
Code: Select all
\thispagestyle{empty}
\setlength{\unitlength}{1cm}
\begin{picture}(16.5,24.5)
\put(-2.5,-4){\fbox{\includegraphics{kodblad.pdf}}}
\put(12,23.5){\makebox(4,1){\large \studentKod}}
\put(3,7){\makebox(10,1){\large \tentaNamn}}
\end{picture}
\newpage
1 - Can I change the geometry on the first page only?
2 - Is that the best solution or is there a better way of doing this?