This might be a silly question but I cannot find a way to solve it. Below is a MWE:
\documentclass{article}
\usepackage[margin=1in]{geometry}
\usepackage{blindtext}
\begin{document}
\ttfamily
What can we do in this case? What should we do about this? What can we do in this case? What should we do about this?
\blindtext
\end{document}
The result is like this:
As you can see, the right side is completely misaligned. I've tried to set the \hyphenpenalty but it seems to be useless.
How should one fix this?


pdflatex. – Jinwen Nov 26 '20 at 07:43