![如何在每页的底部创建用于签名的文本字段?](https://linux22.com/image/385109/%E5%A6%82%E4%BD%95%E5%9C%A8%E6%AF%8F%E9%A1%B5%E7%9A%84%E5%BA%95%E9%83%A8%E5%88%9B%E5%BB%BA%E7%94%A8%E4%BA%8E%E7%AD%BE%E5%90%8D%E7%9A%84%E6%96%87%E6%9C%AC%E5%AD%97%E6%AE%B5%EF%BC%9F.png)
答案1
这可以通过多种方式实现(建议参考):
\documentclass{article}
\usepackage{geometry}
\geometry{
paper = a4paper,
margin = 1in
}
\usepackage{lipsum}
\newcommand{\signature}[2][8em]{%
\begin{tabular}[t]{ p{#1} p{#1} }
\strut\raggedleft
\raisebox{-.5ex}[0pt][0pt]{\bfseries #2} & \\
\cline{2-2}
& \centering\scriptsize\itshape (signature)
\end{tabular}
}
\begin{document}
\lipsum[1]
\vspace{5\baselineskip}
\mbox{}\hfill
\signature{James Bond}\hfill
\signature{Austin Powers}\hfill
\mbox{}
\end{document}
答案2
我做了一些事情:
\documentclass[a4paper,14pt,oneside,openany]{memoir}
\usepackage{lipsum}
\usepackage{background}
\SetBgContents{
\vspace*{\fill}
{\def\arraystretch{0.6}\tabcolsep=3pt
\noindent\begin{tabular}{ccccc}
\textbf{Tom Brand} & \makebox[1.5in]{\hrulefill} & \makebox[1.5in] & \textbf{Ryan Cruise} & \makebox[1.5in]{\hrulefill}\\
& \small \textit{(signature)} & & & \small \textit{(signature)}
\end{tabular}
}
}
\SetBgScale{1}
\SetBgAngle{0}
\SetBgOpacity{1}
\SetBgColor{black}
\SetBgPosition{current page.south}
\SetBgHshift{0.8cm}
\SetBgVshift{1.3cm}
\begin{document}
\lipsum[1]
\end{document}