我希望在文档的“签名”页脚部分手动添加指南名称。我正在使用文档类报告,此页面构成了我论文的承接部分。
我附上了代码以供参考。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\begin{document}
\begin{center}
\textbf{\LARGE CERTIFICATE \ FROM \ GUIDE}
\end{center}
\vspace{0.5in}
I certify that the thesis entitled \textit{"How to add the name on signature footer"} submitted by mnuizhre for the award of SE degree, embodies original work done by him under my guidance.
\\
\\
This work has not been submitted to this or any other institute for the award of any other degree.
\newline
\newline
\vspace{2in}
\parbox{2in}{{\color{gray}\rule{1in}{1pt}}\\%
Date}\hfill\parbox{2in}
%\\
{{\color{gray}\rule{2in}{2pt}}\\%
Dr. Rorty Mick, \vfill Professor, \vfill Doofenshmirtz E Inc. \\\mbox{}}
\end{document}
在写有 Rorty Mick 博士的那行上方,我想输入他的名字,即 Rorty Mike,因为目前没有他的签名。
谢谢。
答案1
这是一个可能的解决方案,其中对代码进行了一些改进(例如,引号)。
根据需要调整垂直空间。
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
\begin{document}
\thispagestyle{empty}
\begin{center}\LARGE
\textbf{CERTIFICATE FROM GUIDE}
\end{center}
\bigskip
I certify that the thesis entitled \textit{``How to add the name on signature footer''} submitted by mnuizhre for the award of SE degree, embodies original work done by him under my guidance.
\medskip
This work has not been submitted to this or any other institute for the award of any other degree.
\vfill
\noindent
\parbox[t]{2in}{%
\vphantom{Rorty}\\[-.5\baselineskip] %% to adjust vertical space
{\color{gray}\rule{1in}{1pt}}\\
Date%
} \hfill
\parbox[t]{2in}{%
Rorty Mick\\[-.5\baselineskip]
{\color{gray}\rule{2in}{1pt}}\\%
Dr.\ Rorty Mick,\\
Professor,\\
Doofenshmirtz E Inc.
}
\end{document}