![添加主管时出现问题,一些列在页面右侧,一些列在页面左侧](https://linux22.com/image/368256/%E6%B7%BB%E5%8A%A0%E4%B8%BB%E7%AE%A1%E6%97%B6%E5%87%BA%E7%8E%B0%E9%97%AE%E9%A2%98%EF%BC%8C%E4%B8%80%E4%BA%9B%E5%88%97%E5%9C%A8%E9%A1%B5%E9%9D%A2%E5%8F%B3%E4%BE%A7%EF%BC%8C%E4%B8%80%E4%BA%9B%E5%88%97%E5%9C%A8%E9%A1%B5%E9%9D%A2%E5%B7%A6%E4%BE%A7.png)
我正在使用以下模板: 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
最终的标题页如下所示: