您好,我正在使用 overleaf 撰写论文,但我很难将签名下方的点与页面右侧水平对齐。如果有人知道如何做到这一点,我将不胜感激。提前致谢。
\newpage
\thispagestyle{empty}
\addcontentsline{toc}{section}{FINAL APPROVAL FOR THESIS}
\begin{center}
\textbf{FINAL APPROVAL FOR THESIS}
\end{center}
This thesis titled \textquotedblleft .. .. .. .." has been prepared and submitted by ... .. .. in partial fulfillment of the requirements in \textquotedblleft aa bb cc" for the Degree of Doctor of Philosophy (PhD) in Mathematics has been examined and approved on 12/08/2022.
\\[2cm]
\begin{tabular}{lclp{3cm}}
\textbf{\underline{Committee Members}} \qquad \qquad && \textbf{\underline{Title, Name and Surname}} & \textbf{\underline{Signature}} \\[1cm]
Supervisor :&&aa bb &\dotfill \\[0.3cm]
Member :&&cc dd &\dotfill \\[0.3cm]
Member :&& aa bb &\dotfill \\[0.3cm]
Member :&&aa bb & \dotfill \\[0.3cm]
Member :&&aa bb & \dotfill \\[0.3cm]
Member :&&aa bb & \dotfill \\[0.3cm]
\end{tabular}
\\[3cm]
\normalsize
\bigskip
\bigskip
\bigskip
$\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \
\begin{array}{c}
\text{aa bb}\\
\text{Director of Graduate School of Sciences}%
\end{array}%
$
\normalsize
答案1
以下是初步的分析和解决方案,其中也显示了一些潜在的问题。
就您的代码而言,遗憾的是我们遗漏了相关的前言。因此我加入了一些标准。如您在屏幕截图中看到的,结果各不相同“一点点”取决于字体大小(显示)、文档类(未显示)和包(目前未知)。
我的主要修改,请参见% <<<
代码:
- 使用包几何来展示如何将空间用于各种内容
- 使用 4 个
\newcommand
宏来获取更短的表项 - 删除了多余的列,
\quadd
并且 p{width}
用 3 条语句替换格式代码- 对齐代码以提高可读性(和预防故障)
3 个p{width}
语句可让您将左侧放置在每列中,而宽度则决定下一列的开始位置。(我在这里忽略了列间分隔。)
? 或许您会在评论中澄清我的问题,关于您的签名对齐应该是什么样的?
\documentclass[10pt]{article}% << fontsize 10 pt
\usepackage{geometry}
\geometry{showframe} % <<< just to show the current settings
% ~~~ abbreviations, for better read-ability ~~~~~~~~~
\newcommand\first[1]{\textbf{\underline{#1}}}
\newcommand\firstcm[0]{\first{Committee Members}}
\newcommand\firsttns[0]{\first{Title, Name and Surname}}
\newcommand\firstsig[0]{\first{Signature}}
\begin{document}
My suggestion:
\begin{tabular}{p{4.6cm}p{4.8cm}p{2.6cm}}% <<< p starts left, for indicated widths
%\begin{tabular}{lll}
\firstcm{} & \firsttns{} & \first{Signature} \\[1cm]
Supervisor : & Sam, Ghost &\dotfill \\[0.3cm]
Member : & Charly Chaplin &\dotfill \\[0.3cm]
Member : & Lady Gaga &\dotfill \\[0.3cm]
Member : &aa bb & \dotfill \\[0.3cm]
Member : &aa bb & \dotfill \\[0.3cm]
Member : &aa bb & \dotfill \\[0.3cm]
\end{tabular}
\\[3cm]
Your approach:
\begin{tabular}{lclp{3cm}}
\textbf{\underline{Committee Members}} \qquad \qquad && \textbf{\underline{Title, Name and Surname}} & \textbf{\underline{Signature}} \\[1cm]
Supervisor :&&aa bb &\dotfill \\[0.3cm]
Member :&&cc dd &\dotfill \\[0.3cm]
Member :&& aa bb &\dotfill \\[0.3cm]
Member :&&aa bb & \dotfill \\[0.3cm]
Member :&&aa bb & \dotfill \\[0.3cm]
Member :&&aa bb & \dotfill \\[0.3cm]
\end{tabular}
\\[3cm]
\end{document}