welcome: please sign in

Upload page content

You can upload content for the page named below. If you change the page name, you can also upload content for another page. If the page name is empty, we derive the page name from the file name.

File to load page content from
Page name
Comment

location: Computer / Latex / FontAlternatives

LaTeX Font Alternatives

Font Groups for both Pdflatex and Lualatex

Fourier

This font group uses an Adobe Utopia clone for the text font and a specially designed math font called Fourier for the maths.

%%%%%%%%%%%%%%%%%%% fourier, for pdflatex and lualatex %%%%%%%%%
\usepackage{fourier}  
\usepackage[matchlowercase]{tgheros}
\usepackage{dsfont}\AtBeginDocument{\let\mathbb=\mathds}
\DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n}
\usepackage[mono,narrow,varl,varqu,scale=0.96]{inconsolata}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

FourierNC

This font group uses New Century Schoolbook (TeX Gyre Schola) as the text font and Fourier as the maths font.

%%%%%%%%%%%%% fouriernc, for pdflatex and lualatex %%%%%%%%%%%%%%%
\usepackage{fouriernc}
\usepackage[matchlowercase,oldspacing]{tgschola}
\usepackage[matchlowercase]{tgheros}
\usepackage{dsfont} \AtBeginDocument{\let\mathbb=\mathds}
\DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{b}{n}
\usepackage[mono,narrow,varl,varqu,scale=0.98]{inconsolata}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Schoolbook

%%%%%%%%% schoolbook, for pdflatex and lualatex %%%%%%%%%%%
\usepackage{schoolbook}
\usepackage[mono,narrow,varl,varqu]{inconsolata}
\usepackage{dsfont}\let\mathbb\mathds
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Newtx

This font group uses a clone of Times New Roman as text font and suitable math characters. If you are running lualatex, please use the fontgroup Termes instead. They should look the same.

%%%%%%%%%%%% Fontgroup Newtx, for pdflatex %%%%%%%%%%%%%%%%%%%%%%
\usepackage[T1]{fontenc}
\usepackage[helvratio=0.85]{newtxtext}
\usepackage[varg,varvw,cmbraces,varbb]{newtxmath}
\usepackage[mono,narrow,varl,varqu,scale=0.98]{inconsolata}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Lmodern

A modern version of the traditional Computer Modern font.

%%%%%%%%%%%% lmodern, for pdflatex and lualatex %%%%%%%%%%%%%
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage[matchlowercase]{tgheros}
\usepackage[mono,narrow,varl,varqu,scale=0.95]{inconsolata}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Font Groups that Require Lualatex

Stix Two

The Stix Two font group is a complete text and mathematical font in OpenType.

%%%%%%%%%%%%%%%%%% Stix Two, only lualatex %%%%%%%%%%%%%%%%
\usepackage{unicode-math}
\setmainfont{Stix Two Text}
\setmathfont{Stix Two Math}[Scale=MatchLowercase]
\setsansfont{TeX Gyre Heros}[Scale=MatchLowercase]
\setmonofont{inconsolatan}[Scale=MatchLowercase,StylisticSet={1,3}]
\DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Tex Gyre Schola

The Tex Gyre Schola group is based on a clone of New Century Schoolbook, including suitable math characters.

%%%%%%%%%%%%% Tex Gyre Schola, only lualatex %%%%%%%%%%%%%%%%%%
\usepackage{unicode-math}
\setmainfont{Tex Gyre Schola}[Scale=0.97]
\setmathfont{Tex Gyre Schola Math}[Scale=MatchLowercase]
\setmathfont[range={\int,\iint}]{Stix Two Math}
\setsansfont{TeX Gyre Heros}[Scale=MatchLowercase]
\setmonofont{inconsolatan}[Scale=MatchLowercase,StylisticSet={1,3}]
\DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{b}{n}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Tex Gyre Pagella

The Pagella font group is based on a clone of Palatino including suitable math characters.

%%%%%%%%%%%%% Tex Gyre Pagella, only lualatex %%%%%%%%%%%%%%%%%%
\usepackage{unicode-math}
\setmainfont{Tex Gyre Pagella}
\setmathfont{Tex Gyre Pagella Math}[Scale=MatchLowercase]
\setmathfont[range={\int,\iint}]{Stix Two Math}
\setsansfont{TeX Gyre Heros}[Scale=MatchLowercase]
\setmonofont{inconsolatan}[Scale=MatchLowercase,StylisticSet={1,3}]
\DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{b}{n}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Tex Gyre Termes

The Tex Gyre Termes group is a clone of Times New Roman, and is a complete text and mathematical font in OpenType.

%%%%%%%%%%%%%%%  Fontgroup Termes, only lualatex %%%%%%%%%%%%%%%%%
\usepackage{unicode-math}
\setmainfont{Tex Gyre Termes}
\setmathfont{Tex Gyre Termes Math}
\setmathfont[range={\int,\iint}]{Stix Two Math}
\setsansfont{TeX Gyre Heros}[Scale=MatchLowercase]
\setmonofont{inconsolatan}[Scale=MatchLowercase,StylisticSet={1,3}]
\DeclareMathAlphabet{\mathcal}{OMS}{cmsy}{m}{n}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%