我是Latex的新手。我在将委员会成员部分与标题部分对齐时遇到麻烦。我尝试过但无法解决。你能帮我一下吗?
\documentclass[12pt]{report}
\usepackage[top=1in, bottom=1in, left=1.5in, right=1in]{geometry}% change margin size
\usepackage{graphicx}
\usepackage{textgreek}
\usepackage{setspace} % for double spacing pakage
\begin{document}
\begin{titlepage}
\begin{center}
\vspace*{0cm} % moving title a little lower
\doublespacing
{\textsc{Growth and Characterization of and doped $\beta-Ga_{2}O_{3}$ }}\\
by\\
XXXX Mia
%\Large{\textbf{Internal Assessment}}\\
\vfill % vertical spacing maker automatically
\end{center}
\begin{center}
A dissertation submitted to the Graduate Council of\\
XXXX University in partial fulfillment\\
of the requirements for the degree of\\ Doctor of Philosophy\\
with a Major in Material Science, Engineering and Commercialization\\
\today
\end{center}
\vfill
\doublespacing
Committee Members: \\
\indent Prof. xx, Chair\\
\indent Larson \\
\indent Hanks \\
\indent Wilhelmus \\
\indent Chen\\
%\indent $ \today$
\end{titlepage}
\end{document}
答案 0 :(得分:0)
TeX通过定义框来工作。这些框包含任何可见的材料:字符,图像,其他框等。排版软件的任务是根据对内容的分析(添加换行符)或由菜单提供的指令将这些框放置在页面上。用户。
所以你想要的是:
1.把委员会名单放进箱子里
2.将此框放在行上的某处
第一个任务是由minipage
环境完成的。该环境具有一个强制性参数,迷你页面的宽度以及此处不相关的几个可选参数。小型页面是最精细控制排版的最有用的乳胶功能之一。
任务2通过在框周围添加 glue (空格)来完成。我已经使用\hspace{len}
添加了固定长度的空间,但是根据您的需要,其他命令也可能有用:\hfill
将框推到页面的右侧,\begin{center}...\end{enter}
推到页面的右侧将框居中,等等。
\documentclass[12pt]{report}
\usepackage[top=1in, bottom=1in, left=1.5in, right=1in]{geometry}% change margin size
\usepackage{graphicx}
\usepackage{textgreek}
\usepackage{setspace} % for double spacing pakage
\begin{document}
\begin{titlepage}
\begin{center}
\vspace*{0cm} % moving title a little lower
\doublespacing
{\textsc{Growth and Characterization of and doped $\beta-Ga_{2}O_{3}$ }}\\
by\\
XXXX Mia
%\Large{\textbf{Internal Assessment}}\\
\vfill % vertical spacing maker automatically
\end{center}
\begin{center}
A dissertation submitted to the Graduate Council of\\
XXXX University in partial fulfillment\\
of the requirements for the degree of\\ Doctor of Philosophy\\
with a Major in Material Science, Engineering and Commercialization\\
\today
\end{center}
\vfill
\hspace{10cm}%
\begin{minipage}{0.2\linewidth}
\doublespacing
Committee Members: \\
\indent Prof. xx, Chair\\
\indent Larson \\
\indent Hanks \\
\indent Wilhelmus \\
\indent Chen\\
\end{minipage}
%\indent $ \today$
\end{titlepage}
\end{document}