我找到了一个标题页模板,需要对其进行一些编辑,这给我带来了一些问题。该模板仅包含一个作者姓名。但是我必须在其中输入三个姓名。当我一个接一个地输入姓名时,前两个姓名会出现在第一行,最后一个姓名会出现在第二行。那么我的问题是,是否有任何方法可以编辑此模板,以便有三个作者姓名框相互叠放?
%------------------------------------------------------------
\newcommand*{\Forside}
{\begingroup % Create the command for including the title page in the document
\newpage
\thispagestyle{empty}
\hbox{ % Horizontal box
\hspace*{0.2\textwidth} % Whitespace to the left of the title page
\rule{1pt}{\textheight} % Vertical line
\hspace*{0.05\textwidth} % Whitespace between the vertical line and title page text
\parbox[b]{0.75\textwidth}{ % Paragraph box which restricts text to less than the width of the page
{\noindent\Huge\bfseries Future Power Systems}\\[2\baselineskip] % Title
{\large \textit{How large a wind farm can be installed onto an existing grid, and which regulations are to be taken into account}}\\[4\baselineskip] % Tagline or further description
{\Large \textsc{NAME 1, NAME 2, NAME 3}} % Author name
\vspace{0.5\textheight} % Whitespace between the title block and the publisher
{\noindent \includegraphics[scale=0.3]{figures/logo.pdf}}\\[\baselineskip] % Publisher and logo
}}
\endgroup}
%\includegraphics[scale=0.4,clip=true,trim=0cm 9.5cm 15cm 9cm]{figures/ASE_logo.pdf}
%----------------------------------------------------------------------------------------
答案1
可以将这三个名称放在不同的行上,方法是在每个名称后面加上 ,并在以 开头的组末尾\\
添加 。\par
\Large
段落的形状直到段落结束才会冻结。由于您使用了字体开关(\Large
),因此您需要结束段落以便为最后一行正确设置基线跳过,然后\par
执行此操作。