Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save hasantahir/a9065a12e873b6d80a33656ec3dd1425 to your computer and use it in GitHub Desktop.
Save hasantahir/a9065a12e873b6d80a33656ec3dd1425 to your computer and use it in GitHub Desktop.
Will Robertson's: LaTeX-templates: [ LaTeX Preamble - Font Choices ]
%% LaTeX Preamble - Font choices
%% Each block selects new math, roman (serif), sans serif, and typewriter fonts.
%% Delete or comment out all but one to make your choice.
% Fourier for math | Utopia (scaled) for rm | Helvetica for ss | Latin Modern for tt
\usepackage{fourier} % math & rm
\usepackage[scaled=0.875]{helvet} % ss
\renewcommand{\ttdefault}{lmtt} %tt
% Latin Modern (similar to CM with more characters)
\usepackage{lmodern} % math, rm, ss, tt
\usepackage[T1]{fontenc}
% Palatino for rm and math | Helvetica for ss | Courier for tt
\usepackage{mathpazo} % math & rm
\linespread{1.05} % Palatino needs more leading (space between lines)
\usepackage[scaled]{helvet} % ss
\usepackage{courier} % tt
\normalfont
\usepackage[T1]{fontenc}
% Euler for math | Palatino for rm | Helvetica for ss | Courier for tt
\renewcommand{\rmdefault}{ppl} % rm
\linespread{1.05} % Palatino needs more leading
\usepackage[scaled]{helvet} % ss
\usepackage{courier} % tt
\usepackage{euler} % math
%\usepackage{eulervm} % a better implementation of the euler package (not in gwTeX)
\normalfont
\usepackage[T1]{fontenc}
% Times for rm and math | Helvetica for ss | Courier for tt
\usepackage{mathptmx} % rm & math
\usepackage[scaled=0.90]{helvet} % ss
\usepackage{courier} % tt
\normalfont
\usepackage[T1]{fontenc}
% !! COMMERICAL FONT !! Lucida Bright (w/expert package)
\usepackage[T1]{fontenc}
\usepackage[expert,vargreek,altbullet]{lucidabr}
%% END Font choices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment