我正在尝试设计我的论文的标题页。我将标题置于顶部中央。现在我想要两列文本位于页面底部。例如:
导师:____Prof. Smart_______________作者:____Mr. Me
教员:_______经济学_______________学生编号:_1234567
(抱歉,我刚开始使用 Latex 和 Markdown)。\twocolumn 似乎不太合适,我只能使用 \tinypage。有没有一种优雅的方法来做到这一点?
答案1
尝试这个:
% This goes in the preamble of your document
\usepackage{tabularx}
\vspace*{\fill} % Push the following table to the bottom of the page
\begin{tabularx}{\textwidth}{llXll}
Supervisor: & Prof. Smart & & Author: & Me \\
Faculty: & Economics & & Student ID: & 1234567 \\
\end{tabularx}
答案2
有很多不同的方法。如果你说“优雅”是指优雅的 LaTex,那我就不用担心了:这是一个标题页,所以你可以根据需要进行调整。如果你说“优雅”是指“看起来不错”,我个人喜欢第一个表格版本,它对齐合理,没有使用完整文本宽度。但这实际上只是一个个人喜好问题。
\documentclass{report}
\usepackage{multicol}
\usepackage{tabularx}
\begin{document}
\begin{titlepage}
\begin{center}
\Large
Life, the Universe, and Everything:\\The Problem Solved
\bigskip
\normalsize
Thesis submitted in partial satisfaction of the requirements for
the degree of Master of the Universe
\medskip
27 March 2019
\end{center}
\vfill
\noindent Professor: Professor Smart\hfill Author: Magnificent Me
\noindent Faculty: Faculty of Economics\hfill ID: 666-6666-666
\begin{center}
\begin{tabular}{rlp{1cm}rl}
Professor: & Professor Smart & & Author: & Magnificent Me \\
Faculty: & Faculty of Economics & & ID: & 666-6666-666
\end{tabular}
\end{center}
\noindent\begin{minipage}{0.5\textwidth}
Professor: Professor Smart
Faculty: Faculty of Economics
\end{minipage}%
\begin{minipage}{0.5\textwidth}
\flushright
Author: Magnificent Me
ID: 666-6666-666
\end{minipage}
\begin{center}
\noindent\begin{minipage}{0.4\textwidth}
Professor: Professor Smart
Faculty: Faculty of Economics
\end{minipage}%
\qquad
\begin{minipage}{0.4\textwidth}
Author: Magnificent Me
ID: 666-6666-666
\end{minipage}
\end{center}
\begin{tabularx}{\textwidth}{rlXrl}
Professor: & Professor Smart & & Author: & Magnificent Me \\
Faculty: & Faculty of Economics & & ID: & 666-6666-666
\end{tabularx}
\bigskip
\noindent\begin{minipage}{0.5\textwidth}
Professor: Professor Smart
Faculty: Faculty of Economics
\end{minipage}%
\begin{minipage}{0.5\textwidth}
Author: Magnificent Me
ID: 666-6666-666
\end{minipage}
\begin{multicols}{2}
\noindent Professor: Professor Smart
\noindent Faculty: Faculty of Economics
\noindent Author: Magnificent Me
\noindent ID: 666-6666-666
\end{multicols}
\end{titlepage}
\end{document}