我打算以以下两种不同且独立的格式制作签名页。
当前代码在顶部显示人员姓名,在底部显示签名行。我想获得如右图所示的图像,如右图所示。
\newpage
\begin{center}{\Large\bf Signature Page}\end{center}
\vspace{0.3cm}
sometext here sometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext heresometext here.
\vfill
\newcommand{\namesigdate}[2][5cm]{%
\begin{minipage}{#1}
#2 \vspace{1.5cm}\hrule\smallskip
\end{minipage}
}
\noindent \namesigdate{Mr.X} \ \hfill \namesigdate[5cm]{Mr.Y}
\\
\\
\vspace{1.5cm}\smallskip \\ \\
\noindent \namesigdate{Mr.XY} \ \hfill \namesigdate[5cm]{Mr.YY}
\\
\\
Date 2019May05
\\
答案 0 :(得分:4)
\bf
已贬值。请考虑使用\textbf
和\bfseries
。\section
,并使用titlesec
对部分进行一些设置。\documentclass{article}
\usepackage[margin=1in]{geometry}
\usepackage{lipsum}
\newcommand\signature[2]{% Name; Department
\noindent\begin{minipage}{5cm}
\noindent\vspace{3cm}\par
\noindent\rule{5cm}{1pt}\par
\noindent\textbf{#1}\par
\noindent#2%
\end{minipage}}
\newcommand\insertdate[1][\today]{\vfill\begin{flushright}#1\end{flushright}}
\begin{document}
\begin{center}
% This is not a good practice, but as I don't know "Signature Page" is a section
% or not, I have no alternatives
\Large\bfseries Signature Page
\end{center}
\lipsum[1]
\signature{Mr. A}{ABC Department}\hfill\signature{Mr. B}{DEF Department}
\signature{Mr. C}{ABC Department}\hfill\signature{Mr. D}{DEF Department}
\signature{Mr. E}{ABC Department}\hfill\signature{Mr. F}{DEF Department}
\insertdate[May 5, 2019] % Default it will print today
\end{document}
稍作改动,您将获得第二个。
\documentclass{article}
\usepackage[margin=1in]{geometry}
\usepackage{lipsum}
\newcommand\signature[2]{% Name; Department
\begin{center}\begin{minipage}{5cm}
\centering
\vspace{3cm}\par
\rule{5cm}{1pt}\par
\textbf{#1}\par
#2%
\end{minipage}\end{center}}
\newcommand\insertdate[1][\today]{\vfill\begin{flushright}#1\end{flushright}}
\begin{document}
\begin{center}
% This is not a good practice, but as I don't know "Signature Page" is a section
% or not, I have no alternatives
\Large\bfseries Signature Page
\end{center}
\lipsum[1]
\signature{Mr. A}{ABC Department}
\signature{Mr. C}{ABC Department}
\signature{Mr. E}{ABC Department}
\insertdate[May 5, 2019] % Default it will print today
\end{document}
快乐的TeXing!并考虑去TeX.SE寻找更多有经验的LaTeX用户。