我已经用这种简单的方式编写了我的论文标题页,但我想让“导师”和“学生”这两个词在同一行(当然一个在页面的左侧,一个在右侧,但在同一行),并且“学生姓名和姓氏”和“导师姓名和导师”也同样如此。我不知道该怎么做。有什么建议吗?谢谢
\thispagestyle{empty}
\begin{center}
\includegraphics[scale=0.5] {logo.png}\\
\vspace{1cm}
\Large{Name of the University}\\
\Large{Name of the department}\\
\vspace{.5cm}
\normalsize{Master degree in ...}\\
\vspace{1cm}
\Large{Title}
\end{center}
\vspace{3cm}
\begin{flushleft}
Supervisor\\
Supervisor's name and surname\\
\end{flushleft}
\begin{flushright}
Student \\
Student's name and surname
\end{flushright}
\vfill
\begin{center}
\vspace{2cm}
Academic year 2019/2020
\end{center}
```
答案1
用于tabularx
:
\documentclass[11pt]{report}
\usepackage{tabularx}
\usepackage{graphicx}
\begin{document}
\thispagestyle{empty}
\begin{center}
\includegraphics[scale=0.5] {TasmanianDevil}\\
\vspace{1cm}
\Large{Name of the University}\\
\Large{Name of the department}\\
\vspace{.5cm}
\normalsize{Master degree in ...}\\
\vspace{1cm}
\Large{Title}
\end{center}
\vspace{3cm}
\begin{tabularx}{\linewidth}{@{}X >{\raggedleft\arraybackslash}X@{}}
Supervisor & Student \\
Supervisor's name and surname & Student's name and surname
\end{tabularx}
\vfill
\begin{center}
\vspace{2cm}
Academic year 2019/2020
\end{center}
\end{document}