diff --git a/mlsshared.sty b/mlsshared.sty index 707259678..e8a541c00 100644 --- a/mlsshared.sty +++ b/mlsshared.sty @@ -6,6 +6,15 @@ % characters to also produce an \allowbreak{} following the directory separator. \newcommand{\filename}[1]{\mbox{\textsf{#1}}} +% Pick a tt font that meets all of the following requirements: +% - Not too wide (to reduce need for manual breaking of long lines) +% - Has boldface variant that is distinctively heavier than its medium weight variant. +% - Medium weight variant is heavy enough to not make non-black colors blend too much with the +% white background due to anti-aliasing and similar effects. +% Warning: Note that changing to a font with different width -- especially a wider one -- means +% that existing manual line breaks are potentially becoming out of place. +\usepackage{newtxtt} + \usepackage{listings} \usepackage{color} \usepackage[table]{xcolor}