I use Helvetica as the font for my document (helvet package). Now I need some parts to be printed in typwriter face, e.g. via \ttfamily. However, as long as I use the fontenc package with the T1 option the text generated turns out to be pixelated (upper text normal, lower \ttfamily).
With \usepackage[T1]{fontenc}:

Without \usepackage[T1]{fontenc}:

MWE:
\documentclass{article}
\usepackage{lipsum}
\usepackage[scaled=0.95]{helvet}
% required to use sans-serif in normal text
\renewcommand{\familydefault}{\sfdefault}
\usepackage[T1]{fontenc} & <-- comment/uncomment this line
\begin{document}
\noindent
normal: {I'm Batman and Superman} \\
ttfamily: {\ttfamily I'm Batman and Superman}
\end{document}
I assume it's related to the fact that helvet has no serif-fonts, but \ttfamily tries to select one. Is there any way around this? I thought about redefining \ttfamily with (another?) monospace font, but couldn't yet figure out how exactly to do this properly.
\usepackage{lmodern}to the mix, before\usepackage[scaled=0.95]{helvet}. – Steven B. Segletes Apr 03 '17 at 15:16fontencis used or not – Apr 03 '17 at 15:17updmapon a command line. – Ulrike Fischer Apr 03 '17 at 16:16cm-superjust for this purpose now ;-) – Apr 03 '17 at 16:18\pdfmapfile{-cm-super-t1.map}. – Ulrike Fischer Apr 03 '17 at 16:24