如何让 texttt{} 中写的内容环绕在边缘?

如何让 texttt{} 中写的内容环绕在边缘?

我在里面写的内容


\usepackage[english]{babel}

\usepackage[letterpaper,top=2cm,bottom=2cm,left=3cm,right=3cm,marginparwidth=1.75cm]{geometry}

\title{Your Paper}
\author{You}

\begin{document}
\maketitle
I want the below block to wrap around the margin without overshooting it.  When you compile you can see that it goes beyound the margin. I think it might due some default \texttt{\\texttt} property. 

\texttt{ ( \{ dfadfasfadfa, ddfadfas, dfadfa, dafjakdf, djflakjdfa, kdjflakjdj ,              dkfjadfaaddafa faffadfad fafljfdfadf \}, djfadjfkadfafda,  \{kdfja, akdfjalkd, kdjfaljdfa, kjldajfa \}, dfadfa dfa, dfadfa )}.



\end{document}

超出边缘然后进入下一行。 在此处输入图片描述

相关内容