Skip to content

Commit

Permalink
Merge pull request #4 from randombenj/bugfix/change-monospace-font
Browse files Browse the repository at this point in the history
Change monospace font
  • Loading branch information
randombenj authored Sep 26, 2020
2 parents e80073c + 471298d commit f486208
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions modern.cls
Original file line number Diff line number Diff line change
Expand Up @@ -102,12 +102,13 @@
% set sans serif font to Gyre Adventor (https://tug.org/FontCatalogue/texgyreadventor/)
\RequirePackage{tgadventor} % defines '\sfdefault'
% monofont Droid Sans Mono (https://tug.org/FontCatalogue/droidsansmono/)
\RequirePackage[defaultmono]{droidmono} % defines '\ttdefault'
\RequirePackage[ttdefault=true]{AnonymousPro}
%\RequirePackage[defaultmono]{droidmono} % defines '\ttdefault'
\RequirePackage{tgheros} % mainfont and '\rmdefault'

\setmainfont{SourceSerifPro} % sets the roman font
\setsansfont{TEX Gyre Adventor} % sets the sans font
\setmonofont{Droid Sans Mono} % sets the monospace font
\setmonofont{Anonymous Pro} % sets the monospace font

% ------------------------------------------------------------------------------
% DOCUMENT PAGE SIZE
Expand Down

0 comments on commit f486208

Please sign in to comment.