LaTeX

Avoid hyphenization

\pretolerance=10000
\tolerance=2000 
\emergencystretch=10pt

Line numbers

See more details here.

\usepackage{lineno}
\linenumbers