我正在使用以下模板: https://da.sharelatex.com/templates/thesis/laursen's-thesis
我想将主管添加到静态部分,因为我与两个部门合作,所以我希望部门 Y 的主管位于页面右侧,部门 X 的主管位于页面左侧,但在同一行。例如,我希望它如何:
Supervisors:
Department X; Department Y;
A.B. W.K.
C.D. L.J
我该怎么做?我该如何更改字母大小?
静态部分现在如下所示:
\def\thesistypeabbr{MSc.}
\def\thesistype {Master of Science in Engineering}
\def\thesistitle {Bacteria}
\def\thesisauthor {Me}
\Supervisors{Department X; A.B. and C.D.\\ Department Y; W.K. and L.J.}
\def\thesislocation{City}
\def\papersize {a4paper}
\def\showtrims {false}
\def\showtodos {true}
\def\confidential {false}
答案1
我只能猜测,因为你没有告诉我们\documentclass
你使用了哪些包。但以下方法可能有效:
\Supervisors{%
\begin{tabular*}{\textwidth}{@{}l@{\extracolsep{\fill}}l@{}}
Department X; & Department Y;\\
A.B. & W.K.\\
C.D. & L.J.
\end{tabular*}%
}
使用您的模板,我将其中包含的内容更改./prefrontmatter/titlepage.tex
为以下内容(使用注释标记更改):
%!TEX root = ../Thesis.tex
\thispagestyle{empty} % No page numbers
\calccentering{\unitlength}
\begin{adjustwidth*}{\unitlength}{-\unitlength}
\begin{adjustwidth}{-0.5cm}{-0.5cm}
\sffamily
\begin{flushright}
\thesistypeabbr{} Thesis\\*[0cm]
\thesistype{}\\
\end{flushright}
\vspace*{\fill}
\noindent
\includegraphics[width=0.75\textwidth]{DTU-Compute-B-UK}\\*[0.5cm]
\HUGE \thesistitle{}\\*[0.2cm]
\Huge \thesissubtitle{}\\*[1.2cm]
\parbox[b]{0.5\linewidth}{%
\LARGE
\thesisauthor{}\\*[0.6cm]% <------------------ change
\Large
% <Inserted>
\begin{tabular*}{\linewidth}{@{}l@{\extracolsep{\fill}}l@{}}
Supervisors:\\
Department X; & Department Y;\\
A.B. & W.K.\\
C.D. & L.J.
\end{tabular*}\\*[0.6cm]
% </Inserted>
\thesislocation{} \the\year
}
\hfill\includegraphics[scale=0.7]{DTU-logo-CMYK}
\end{adjustwidth}
\end{adjustwidth*}
\normalfont
\normalsize
最终的标题页如下所示: