Skip to content

Commit

Permalink
Change to teletype font with more distinguishable boldface variant
Browse files Browse the repository at this point in the history
  • Loading branch information
henrikt-ma committed Mar 28, 2021
1 parent f9857e9 commit 4a84072
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions mlsshared.sty
Expand Up @@ -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}
Expand Down

0 comments on commit 4a84072

Please sign in to comment.