Hi all,
I have an official titlepage i have to use for my thesis. I used the correct logos and so on, but if I use \input in my main file, the title page is not centered and it seems not all of it is on it.
While my friend who uses the exact same code as me, sees the titlepage as centered. Is it because a different userpackage or what can be the cause of this?
If you want I can upload the code of the titlepage to see if there's any problem in that document.
Page Layout ⇒ Title page not in center
Title page not in center
- Attachments
-
- rsz_screensakke.png (155.19 KiB) Viewed 11004 times
NEW: TikZ book now 40% off at Amazon.com for a short time.

- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Title page not in center
Right now, there is just not enough information to give any specific reasons.
You can try boiling down your code to a minimal working example and add
You can try boiling down your code to a minimal working example and add
\listfiles
to the very first line of the code. In the log-file is a summary of all the used packages (and their version), so you can compare with your friends run. Or you can share your minimalised code here using the code-button. This way, you can also really simply check the code by clicking on »open in wrightlatex«, which will be just above your code.The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Title page not in center
Code: Select all
Code, edit and compile here:
\begin{titlepage}\selectfont\sffamily%\addtolength{\oddsidemargin}{-.875in}\vspace*{-2.5cm}\begin{flushleft}\hspace*{-1.75cm}\includegraphics[width=8cm]{Vubsymbool}\\\end{flushleft}\vspace*{-1cm}\begin{leftbar}\hspace*{0.3cm}FACULTEIT INGENIEURSWETENSCHAPPEN\\\vspace{2cm}\hspace*{0.5cm}\huge\textbf{Experimentele bepaling van de\\\hspace*{0.5cm}karakteristieken van een kleine\\\hspace*{0.5cm}straalmotor}\\\vspace{1cm}\noindent\rule{8cm}{0.4pt}\\\\\vspace{0.25cm}\hspace*{0.5cm}\LARGE\textbf{Sander Janssens}\\\noindent\rule{8cm}{0.4pt}\\\begin{flushleft}\mdseries\hspace*{0.5cm}\largePromotor: Prof.~S. Bram\\\hspace*{0.5cm}\largeCo-promotor: S. Kubera en L. Vercammen\\\vspace{0.5cm}
I wonder if it's not the usepackages I use in my main file which are the cause of this.
Code: Select all
Code, edit and compile here:
\usepackage{amssymb,amsmath,nccmath,graphicx}\usepackage[section]{placeins}\usepackage{fixltx2e}\usepackage{titlesec}\usepackage{hyperref}\usepackage{fancyhdr}\pagestyle{headings}\usepackage{caption}\usepackage{nomencl}\usepackage{graphicx}\usepackage[scale=0.7]{geometry}\usepackage[utf8]{inputenc}\usepackage{epstopdf}\usepackage{textcomp}
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Title page not in center
You did not provide a minimal working example, so i can't test anything. Please follow the link above.
One additional tip: try adding
btw: package hyperref is usually the last to be loaded.
One additional tip: try adding
\usepackage{showframe}
to see how your textblock is laid down on the page.btw: package hyperref is usually the last to be loaded.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Title page not in center
For better understanding, i constructed a little example:
You can click on »open in writelatex« to see the output.
Code: Select all
Code, edit and compile here:
\documentclass{article}\usepackage{geometry}\geometry{outer=10cm,showframe}\begin{document}\begin{center}\Huge Hello\end{center}\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.