pdf 中的字符串过长导致溢出

pdf 中的字符串过长导致溢出

我对 latex/.tex 文件非常陌生。请帮忙。

我正在创建一个包含一些信息的 PDF 文件,文件末尾有一个名为 的占位符signature。签名是一个非常长的字符串,中间没有空格。例如: qwertyuiiuytrdsdfghjkiuyfdcvbnjkiuytfdcvbnmkjhgfdcvbnjhgfdcvbnjhgfcvbnjhgvcqwertyuiiuytrdsdfghjkiuyfdcvbnjkiuytfdcvbnmkjhgfdcvbnjhgfdcvbnjhgfcvbnjhgvcqwertyuiiuytrdsdfghjkiuyfdcvbnjkiuytfdcvbnmkjhgfdcvbnjhgfdcvbnjhgfcvbnjhgvcqwertyuiiuytrdsdfghjkiuyfdcvbnjkiuytfdcvbnmkjhgfdcvbnjhgfdcvbnjhgfcvbnjhgvcqwertyuiiuytrdsdfghjkiuyfdcvbnjkiuytfdcvbnmkjhgfdcvbnjhgfdcvbnjhgfcvbnjhgvcqwertyuiiuytrdsdfghjkiuyfdcvbnjkiuytfdcvbnmkjhgfdcvbnjhgfdcvbnjhgfcvbnjhgvcqwertyuiiuytrdsdfghjkiuyfdcvbnjkiuytfdcvbnmkjhgfdcvbnjhgfdcvbnjhgfcvbnjhgvcqwertyuiiuytrdsdfghjkiuyfdcvbnjkiuytfdcvbnmkjhgfdcvbnjhgfdcvbnjhgfcvbnjhgvcqwertyuiiuytrdsdfghjkiuyfdcvbnjkiuytfdcvbnmkjhgfdcvbnjhgfdcvbnjhgfcvbnjhgvc

此字符串在 pdf 中溢出。我尝试使用tabularxmboxhbox其他标签来解决这个问题,但仍然不起作用。

以下是我的 .tex 文件

\begin{document}

\begin{tabularx}{\textwidth}{@{}>{\columncolor{white}}p{0.5\textwidth}  @{}>{\columncolor{white}}p{0.5\textwidth}}
\textbf{Name}& \placeholder{.name} \\
\textbf{Client reference}& \placeholder{.clientReference} 
\end{tabularx}

\vspace*{2em}

By signing this document I confirm the following declarations vis-à-vis Scalable Capital:
\begin{itemize}
    \item[$\bullet$] I act in my own name and for my own account.
\end{itemize}

\medskip

\begin{tabularx}{\textwidth}{@{}>{\columncolor{white}}p{1\textwidth}} \bfseries
    This document has been generated on the basis of the data entered by you on \placeholder{.date} at \placeholder{.time} .
\end{tabularx}

\medskip

\begin{tabularx}{\textwidth}{@{}>{\columncolor{white}}p{1\textwidth}}
The is another text
\end{tabularx}

\vspace*{2em}

\rule{\textwidth}{0.5pt}\\

\begin{tabularx}{\textwidth}{@{}>{\columncolor{white}}p{1\textwidth}}
\placeholder{.signature}\\
\end{tabularx}


\rule{\textwidth}{0.5pt}\\
\placeholder{.signature}\\
\rule{\textwidth}{0.5pt}

\end{document}

请问有什么建议吗?

相关内容