![首页日期的绝对定位](https://linux22.com/image/259232/%E9%A6%96%E9%A1%B5%E6%97%A5%E6%9C%9F%E7%9A%84%E7%BB%9D%E5%AF%B9%E5%AE%9A%E4%BD%8D.png)
我正在尝试修复我的硕士论文的字体页面布局。正如您在上传的图片中看到的那样,日期没有放在页面底部。
我尝试使用\vspace
或\vfill
命令将其向下移动,但结果要么没有移动,要么将其移动到下一页。
是否有一些说明将其放在页面的最底部?如果我尝试设置文本的绝对定位,执行此操作的命令是什么?
请注意,我使用示例文本放置日期,而不是使用命令\date
并将标题设为 1。这是首页的代码:
\documentclass[12pt,oneside,a4paper]{book}
\usepackage{graphicx}
\usepackage{setspace}
\begin{document}
\frontmatter
\begin{titlepage}
\begin{figure}[t]
\centering
\includegraphics[scale=0.35]{./images/Logo_Unisi_2012.jpg}
\end{figure}
\begin{center}
{\large UNIVERSITY OF SIENA} \medskip \\
{\large DEPARTMENT OF ENGINEERING} \vspace*{0.5cm} \\
{\Large Master Thesis in Computer Science Engineering} \vspace*{2.0cm} \\
\doublespacing
{\huge \textbf{This is the long title of my Master thesis}} \vspace*{2.3cm}
\end{center}
\begin{minipage}[t]{0.5\textwidth}
\begin{flushleft}
{\large \textit{Author}:\vspace*{0.5cm} \\ Me
}
\end{flushleft}
\end{minipage}%
%
\begin{minipage}[t]{0.5\textwidth}
\begin{flushright}
{\large \textit{Supervisor}:\vspace*{0.5cm} \\ Him \\
}
\vspace*{0.5cm}
{\large \textit{Advisors}:\vspace*{0.5cm}\\First\vspace*{0.1cm}\\Second\vspace*{0.1cm}\\Third\\
}
\end{flushright}
\end{minipage}%
\begin{center}
\begin{minipage}[b]{0.5\textwidth}
\vfill
\begin{center}
{\large 10 December 2012}
\end{center}
\begin{center}
{\large Academic Year 2011/2012}
\end{center}
\end{minipage}%
\end{center}
\thispagestyle{empty}
\end{titlepage}
\end{document}
答案1
有很多方法可以改变底线:
删除
\begin{center}...\end{center}
周围的内容minipage
以避免环境添加的额外空间center
。将 的宽度更改minipage
为完整文本宽度。\vspace{\fill}
填充可用空间,无需猜测数量。用于
\enlargethispage
获取更大的文本主体高度。\vspace
末尾minipage
带有负值。
例子:
\documentclass{report}
\usepackage{setspace}
\usepackage{showframe}
\begin{document}
\begin{titlepage}
\enlargethispage{\footskip}
\setlength{\parindent}{0pt}
\begin{center}
\onehalfspacing
\large
UNIVERSITY OF SIENA\\
DEPARTMENT OF ENGINEERING
\vspace{5mm}
\Large
Master Thesis in Computer Science Engineering
\vspace{20mm}
\huge
\textbf{This is the long title of my Master thesis}
\end{center}
\vspace{23mm}
\begin{minipage}[t]{0.5\textwidth}
\raggedright
\onehalfspacing
\large
\textit{Author}:\\[.5\baselineskip]
Me
\end{minipage}%
\begin{minipage}[t]{0.5\textwidth}
\raggedleft
\onehalfspacing
\large
\textit{Supervisor}:\\[.5\baselineskip]
Him
\vspace{5mm}
\textit{Advisors}:\\[.5\baselineskip]
First\\
Second\\
Third
\end{minipage}%
\vspace{\fill}
\begin{minipage}[b]{\textwidth}
\centering
\onehalfspacing
\large
10 December 2012\\
Academic Year 2011/2012
\vspace{-20mm}
\end{minipage}%
\end{titlepage}
\end{document}