我的论文审批页面模板用于\hspace
在每个陪审员的姓名和虚线之间留一个空格。如何在输出中右对齐虚线(不使用\hspace
)?手动调整空格以对齐虚线看起来有点困难。
以下是我的 MWE:
\documentclass[a4paper,12pt]{report}
\usepackage{fbe}
\begin{document}
%% your title will be written here be careful for the capital letters
\title{ABC}
%% write your name here
%% only first letter of name and surname is capital
%% other letters are lower case
\author{X Y}
%% write your department here
\department{Computer Engineering}
% write your
\supervisor{Prof. A B\hspace{46mm}........................................}
\cosuperii{Prof. C D\hspace{34mm}........................................}
\examineri{Assoc. Prof. E F\hspace{46mm}........................................}
\examinerii{Assist. Prof. G H\hspace{34mm}........................................}
\dateofapproval{..../..../2019}
%\dateofapproval{Day.Month.Year}
%% use for Ph.D theses otherwise comment it
\makephdtitle % For Ph.D. theses
%% uncomment if it is a graduate thesis
% \makemsctitle % For Proposals
\pagenumbering{roman}
\makeapprovalpage
\pagenumbering{arabic}
\end{document}
我无法添加響鳴我在模板中使用的包。
答案1
在没有指示的情况下fbe.sty
,最简单的建议是将每个组件放在固定宽度的框中。这样您就可以控制它们的宽度和间距:
\supervisor{\makebox[20em][l]{Prof.\ A B \hfill \makebox[7em]{\dotfill}}}
\cosuperii {\makebox[20em][l]{Prof.\ C D \hfill \makebox[7em]{\dotfill}}}
\examineri {\makebox[20em][l]{Assoc.\ Prof.\ E F \hfill \makebox[7em]{\dotfill}}}
\examinerii{\makebox[20em][l]{Assist.\ Prof.\ G H \hfill \makebox[7em]{\dotfill}}}
在上面的例子中,您需要摆弄长度20em
(如果您的名字/头衔较长,则增加长度)和7em
(更改签名行的长度)。