welcome: please sign in
location: Diff for "Computer/Latex/FontAlternatives"
Differences between revisions 9 and 19 (spanning 10 versions)
Revision 9 as of 2019-01-11 18:28:34
Size: 1474
Editor: leif
Comment:
Revision 19 as of 2019-01-17 15:46:37
Size: 5358
Editor: leif
Comment:
Deletions are marked like this. Additions are marked like this.
Line 3: Line 3:
=== Font Groups that Work with both Pdflatex and Lualatex ===
Line 5: Line 5:
<h3><a class="attachment" href="/Computer/Latex/FontAlternatives?action=AttachFile&amp;do=get&amp;target=fourier.pdf" title="fourier.pdf">Fourier</a></h3> <h4><a class="attachment" href="/Computer/Latex/FontAlternatives?action=AttachFile&amp;do=get&amp;target=fourier.pdf" title="fourier.pdf">Fourier</a></h4>
Line 10: Line 10:
%%%%%%%%%%%%%%%%%%% fourier, for pdflatex and luatex %%%%%%%%% %%%%%%%%%%%%%%%%%%% fourier, for pdflatex and lualatex %%%%%%%%%
Line 19: Line 19:
<h3><a class="attachment" href="/Computer/Latex/FontAlternatives?action=AttachFile&amp;do=get&amp;target=fouriernc.pdf" title="fouriernc.pdf">FourierNC</a></h3> <h4><a class="attachment" href="/Computer/Latex/FontAlternatives?action=AttachFile&amp;do=get&amp;target=fouriernc.pdf" title="fouriernc.pdf">FourierNC</a></h4>
Line 32: Line 32:

{{{#!html
<h4><a class="attachment" href="/Computer/Latex/FontAlternatives?action=AttachFile&amp;do=get&amp;target=schoolbook.pdf" title="schoolbook.pdf">Schoolbook</a></h4>
}}}

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

{{{#!html
<h4><a class="attachment" href="/Computer/Latex/FontAlternatives?action=AttachFile&amp;do=get&amp;target=newtx.pdf" title="newtx.pdf">Newtx</a></h4>
}}}

This font group uses a clone of Times New Roman as text font and suitable math characters.
{{{
%%%%%%%%%%%% Fontgroup Newtx, for pdflatex and luatex %%%%%%%%%%%%%%%%%%%%%%
\usepackage[T1]{fontenc}
\usepackage[helvratio=0.85]{newtxtext}
\usepackage[varg,varvw,cmbraces,varbb]{newtxmath}
\usepackage[mono,narrow,varl,varqu,scale=0.98]{inconsolata}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
}}}

{{{#!html
<h4><a class="attachment" href="/Computer/Latex/FontAlternatives?action=AttachFile&amp;do=get&amp;target=lmodern.pdf" title="lmodern.pdf">Lmodern</a></h4>
}}}
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 ===
{{{#!html
<h4><a class="attachment" href="/Computer/Latex/FontAlternatives?action=AttachFile&amp;do=get&amp;target=stixtwoLua.pdf" title="stixtwoLua.pdf">Stix Two</a></h4>
}}}
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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
}}}

{{{#!html
<h4><a class="attachment" href="/Computer/Latex/FontAlternatives?action=AttachFile&amp;do=get&amp;target=scholaLua.pdf" title="scholaLua.pdf">Tex Gyre Schola</a></h4>
}}}
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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
}}}

{{{#!html
<h4><a class="attachment" href="/Computer/Latex/FontAlternatives?action=AttachFile&amp;do=get&amp;target=pagellaLua.pdf" title="pagellaLua.pdf">Tex Gyre Pagella</a></h4>
}}}
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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
}}}

LaTeX Font Alternatives

Font Groups that Work with 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.

%%%%%%%%%%%% Fontgroup Newtx, for pdflatex and luatex %%%%%%%%%%%%%%%%%%%%%%
\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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

Computer/Latex/FontAlternatives (last edited 2022-06-10 10:02:17 by leif)