Page Layout ⇒ Title page not in center
Title page not in center
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.
- Attachments
-
- rsz_screensakke.png (155.19 KiB) Viewed 10965 times
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
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Title page not in center
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.Title page not in center
Code: Select all
\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}
\large
Promotor: Prof.~S. Bram\\
\hspace*{0.5cm}
\large
Co-promotor: S. Kubera en L. Vercammen\\
\vspace{0.5cm}
\hspace*{0.5cm}
\large
\textbf{Academiejaar 2013-2014}\\
\vspace{0.5cm}
\hspace*{0.5cm}
\normalsize Masterproefscriptie ingediend met het oog op de toekenning van de graad\\ \hspace*{0.5cm}
van Master in de Industri\"{e}le Wetenschappen:\\
\hspace*{0.5cm}
Elektromechanica - Luchtvaarttechnologie
\vspace{0.75cm}
\end{flushleft}
\begin{flushright}
\includegraphics[width=3.5cm]{Vubsymbool2}\\
\thispagestyle{empty}
\end{flushright}
\end{leftbar}
\end{titlepage}
I wonder if it's not the usepackages I use in my main file which are the cause of this.
Code: Select all
\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
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.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Title page not in center
Code: Select all
\documentclass{article}
\usepackage{geometry}
\geometry{outer=10cm,showframe}
\begin{document}
\begin{center}
\Huge Hello
\end{center}
\end{document}