标题页文本居中问题及其他问题

标题页文本居中问题及其他问题

以下是与我的标题页相关的代码:

\documentclass[a4paper,12pt]{book}
\usepackage{amsmath, amsthm, amssymb}
\usepackage{url}
\usepackage[algoruled,vlined]{algorithm2e}
\usepackage{graphicx,subfigure}

% for nice tables
\usepackage{booktabs}
% end for nice tables

% for using color names
\usepackage[usenames,dvipsnames]{color}
% end for using color names

% for nicer figure captions
\usepackage[font=small,format=plain,labelfont=bf,up,textfont=it,up]{caption}
% end for nicer figure captions


% fancy headers and footers
\usepackage{fancyhdr}
\pagestyle{fancy}
\renewcommand{\headrulewidth}{0.1pt} % for upper line
\renewcommand{\footrulewidth}{0.1pt} % for lower line
\fancyhead[LE,RO]{\itshape \nouppercase \rightmark}
\fancyhead[LO,RE]{\itshape \nouppercase \leftmark}
\fancyfoot[C]{\thepage}

\usepackage{colortbl}

% for multirow option in the tables
\usepackage{multirow}



\usepackage[semicolon]{natbib}

\usepackage{fancybox}

\usepackage{xcolor}
\usepackage{framed}

\newcommand{\HRule}{\rule{\linewidth}{0.5mm}}

\newenvironment{myfancybox}{%
  \def\FrameCommand{\fboxsep=\FrameSep \fcolorbox{black}}%
  \color{black}\MakeFramed {\FrameRestore}}%
{\endMakeFramed}





%\bibliographystyle{plain} %Choose a bibliograhpic style

\usepackage{sectsty}
\allsectionsfont{\itshape}

% for height of the heading 
 \setlength{\headheight}{15pt}

\parskip1ex
\begin{document}

 \begin{titlepage}
 \quad
  \vspace{2cm}
 \quad
 \begin{center}
 {\fontsize{70}{70}\selectfont \textbf{
  Word1\\
  %\vspace{2mm}
  Word Word\\
  \vspace{2mm}
  Word Word Word}
 }

 {\large text text text text
     text text text text text text text text
     text text text text text text text text
     text text text text text text text text}  


\end{center}
\pagestyle{plain}
\end{titlepage}

\end{document}

问题是我的标题中的“Word 1”与第二行相距甚远。另一个问题是整个文本实际上并未居中。在我的预览中,它向左移动。我该如何调整标题页以使其具有正确的标题和居中文本?我的目的是让标题页接近此:http://algo2.iti.kit.edu/documents/DementievDiss.pdf 我将非常感激有关如何实现此类标题页的帮助。

答案1

使用标准 LaTeX 命令来做到这一点有点困难,因此一些低级 TeX 会派上用场。

\documentclass[a4paper,12pt]{book}
\usepackage{graphicx,array}
\begin{document}

\begin{titlepage}
\hrule height0pt % fix a starting point
\vskip 0pt minus 1000pt % back up how much it's needed

\raggedright % no indentation

\hspace*{\dimexpr(\paperwidth-\textwidth)/2 - \oddsidemargin - 1in - \hoffset\relax}% shift to center
\hbox to 0pt{% make a zero width box
\vbox to \textheight{\centering % this is the main part
%%%
\vspace*{\fill}
\hrule
\vspace{1.5cm}

\textsc{Brutus C. Dull}

\vspace{1.5cm}

{\Large\bfseries Applied Tetrapiloctomy\\
for GPS Systems\par}

\vspace{1cm}

\hrule

\vspace{\stretch{5}}

\parbox{2.5cm}{
  \raisebox{-.5\height}{\includegraphics[width=2.5cm]{example-image-1x1}}}
\hfill
\parbox{\dimexpr\textwidth-3.5cm\relax}{
\raggedright\large\sffamily Dissertation zur Erlangung des Grades
des Doktors der Ingenieurwissenschaften (Dr.-Ing.)
der Naturwissenschaftlich-Technischen Fakult\"aten
der Universit\"at des Saarlandes\par
\medskip
\hrule
\medskip
\hspace*{\fill}Saarbr\"ucken, 2006\par
}\par
}%end of \vbox
\hss}%end of \hbox

\vskip 0pt minus 1000pt % some space for accommodating the whole thing
\hrule height0pt % fix an end point
\end{titlepage}

\end{document}

相关内容