لاتک این کار را بطور اتوماتیک انجام میدهد. برای نمونه:
\documentclass{article}
\usepackage[showframe]{geometry}
\begin{document}
this is this is this is this is this this is this is is this is this is this is this is supercalifragilisticexpialidocious
\end{document}
و این هم خروجی: