Why the compiler ignores the command \noindent?

I am writing my master thesis on LaTeX. I should say that I had not used it before and everything is new for me. I was doing fine until I got some troubles when compiling the command \noindent and \hline.

I want my title page to end with an horizontal line at the bottom and the place where I am working and the date right above it. There is a very nice blank space from the supervisor's name to the bottom margin which the compiler just ignores and places the name of the city and the line in the next page. The frame of the page tells me that there is still space for placing text. Needless to say, I loaded the geometry with [showframe].

Moreover, I get an error message because of \hline which says >misplaced \noalign.

I had to modify the location of the vertical margin as well as the height of the body's box. Might that be the reason why the last line jumps into the next page?

%--------Code in the main.tex file, prior to any page-----------%
\documentclass[12pt]{report}

\usepackage[utf8]{inputenc}
\usepackage{graphicx}   %loads the graphics package, necessary for pictures
%\usepackage{fancyhdr}
%\usepackage{float}
\usepackage[showframe]{geometry}   %allows to change margins and distances within the page's frame
%\usepackage{wallpaper}
\usepackage{framed}     %to make frames, such as in the title page and abstract
\usepackage{hyperref}
\graphicspath{{images/}}    %Direction where LaTeX will look for the images.
\usepackage{tabto}
\usepackage{lipsum}
\usepackage{booktabs}

\begin{document}

%-----------Here the Title Page starts, in a different .tex file-----------%

\begin{titlepage}

%% COMMANDS DEFINED FOR THE USER
\newcommand\textline[4][t]{%
\par\smallskip\noindent\parbox[#1]{.333\textwidth}{\large\raggedright\texttt{}#2}%
\parbox[#1]{.333\textwidth}{\large\centering\textbf{#3}}%
\parbox[#1]{.333\textwidth}{\raggedleft\texttt{#4}}\par\smallskip%
}

\newcommand\specialtxtl[4][t]{%
\par\smallskip\noindent\parbox[#1]{.2\textwidth}{\large\raggedright\texttt{}#2}%
\parbox[#1]{.6\textwidth}{\LARGE\centering\textbf{#3}}%
\parbox[#1]{.2\textwidth}{\raggedleft\texttt{#4}}\par\smallskip%
}
%------------------------------------------------%

\setlength{\voffset}{-2.5cm} %---This commands here are for changing the margin of the page, so the image can be placed up there. They must be before \begin{center} otherwise they don't work.

\setlength{\textheight}{690pt}  %height of the box where the text is placed.

\begin{center}

\begin{figure}[h]
\hspace*{-3.0cm}
\end{figure}

\vspace{0.0cm}

\LARGE
\begin{framed}      %----Frame around the tile-----
\vspace{1cm}
\vspace{1cm}
\end{framed}

\LARGE
\vspace{.5cm}
\textbf{Master Thesis}

%------------------------------------------------%

\vspace{.5cm}
\textline[t]{Submitted by:}{\LARGE My Name}{}

\textline[t]{Matriculation Number:}{\LARGE 123456789}{}

\vspace{.5cm}

\specialtxtl[t]{at:}{Master's program}{}

\textbf{"Aerospace Engineering"}

\vspace{1.0cm}
\specialtxtl[t]{Supervisor:}{Name Name}{}
\textbf{\LARGE Name Name}

\vspace{\fill}
\LARGE
\raggedright Stuttgart, 19/03/2015
\rule{\textwidt}{.5pt}

\end{center}
\end{titlepage}

%-------------------------------------------------------------%

\chapter*{Abstract}  %--From here is just the template of the thesis, table of content and chapters.
Standard standard standard standard standard standard standard standard standard

\chapter{Aknowledgement}
I want to thank...

\tableofcontents

\chapter{Introduction}
Standard Standard standard standard standard standard

\end{document}


I would appreciate so much some help. Thank you.

Voyager

• \hline is only used inside a tabular. Use \rule{\textwidth}{.5pt} instead. – John Kormylo Mar 23 '15 at 0:55
• I doubt you want to use figure. figure is a float. It tells LaTeX to move the contents to the 'best position' according to its algorithm. Unless you want your title graphic to be moved elsewhere if LaTeX thinks best, you don't want to make it a float. – cfr Mar 23 '15 at 0:55
• \noindent does not take an argument \noindent{Stuttgart, 19/03/2015} is same as \noindent Stuttgart, 19/03/2015 and it is not ignored but the effect is not visible as paragraph indentation is set to 0pt in a center environment. – David Carlisle Mar 23 '15 at 9:24
• \texttt{} selects monospace font but then always typesets nothing in that font. What was the intention there? – David Carlisle Mar 23 '15 at 10:42
• @Voyager Please make it so we can copy-paste-compile to reproduce the issue. That code will certainly not compile. As for the logo, just don't use figure. But really, you will save time and frustration if you stop and read up on the basics. – cfr Mar 23 '15 at 18:48

This is cleaned up a very little. Note that I really have no idea what you are trying to do so I doubt very much that my answer will help you do it!

\documentclass[12pt]{report}

\usepackage[utf8]{inputenc}
\usepackage[demo]{graphicx}
\usepackage[showframe]{geometry}
\usepackage{framed}

\newcommand\textline[4][t]{%
\par\smallskip\noindent\parbox[#1]{.333\textwidth}{\large\raggedright\texttt{}#2}%
\parbox[#1]{.333\textwidth}{\large\centering\textbf{#3}}%
\parbox[#1]{.333\textwidth}{\raggedleft\texttt{#4}}\par\smallskip%
}

\newcommand\specialtxtl[4][t]{%
\par\smallskip\noindent\parbox[#1]{.2\textwidth}{\large\raggedright\texttt{}#2}%
\parbox[#1]{.6\textwidth}{\LARGE\centering\textbf{#3}}%
\parbox[#1]{.2\textwidth}{\raggedleft\texttt{#4}}\par\smallskip%
}

\begin{document}
\newgeometry{headheight=0pt,textheight=690pt}% doubt your really want voffset=-25mm as it pushes the content off the page
\begin{titlepage}
\centering
\hspace*{-3.0cm}

\LARGE
\begin{framed}
\vspace{1cm}
\vspace{1cm}
\end{framed}

\LARGE
\vspace{.5cm}
\textbf{Master Thesis}

\vspace{.5cm}
\textline[t]{Submitted by:}{\LARGE My Name}{}

\textline[t]{Matriculation Number:}{\LARGE 123456789}{}

\vspace{.5cm}

\specialtxtl[t]{at:}{Master's program}{}

\textbf{Aerospace Engineering''}

\vspace{1.0cm}
\specialtxtl[t]{Supervisor:}{Name Name}{}
\textbf{\LARGE Name Name}

\vspace{\fill}
\LARGE
\raggedright Stuttgart, 19/03/2015
\rule{\textwidth}{.5pt}
\end{titlepage}
\restoregeometry

\chapter*{Abstract}
Standard standard standard standard standard standard standard standard standard

\chapter{Aknowledgement}
I want to thank...

\tableofcontents

\chapter{Introduction}
Standard Standard standard standard standard standard

\end{document}