
I am writing a report using LaTeX. I would like to change the font to be typewriter. Once, I did this, the typesetting is affected. That is, the sentences are not fall in the same margins also, I got a spaces between words. could someone help me please? What is the good way to change the font without affecting the typesetting?
Here is the packages that I use:
\documentclass{article}[12pt]
\usepackage[utf8]{inputenc}
\usepackage[margin=0.45in]{geometry}
\usepackage[utf8]{inputenc}
\usepackage{nomencl}
\usepackage[T1]{fontenc}
\renewcommand{\familydefault}{\ttdefault}
\usepackage{lipsum}
\begin{document}
My document here.
\lipsum
\end{document}
\renewcommand{\familydefault}{\ttdefault}. I get this problem. – Silver Feb 12 '18 at 06:44\renewcommand{\familydefault}{\ttdefault}is a font changing instruction, in the very end, which influences the typesetting of course. What are the......supposed to be? – Feb 12 '18 at 06:46.... – Silver Feb 12 '18 at 06:52