Use libertinus-otf with luatex
This commit is contained in:
@@ -6,14 +6,22 @@
|
|||||||
\linespread{1.15}
|
\linespread{1.15}
|
||||||
|
|
||||||
% Typography
|
% Typography
|
||||||
\usepackage{mathtools} % Math improvements
|
\usepackage{iftex}
|
||||||
\usepackage[T1]{fontenc} % Use T1 font encoding
|
\ifluatex
|
||||||
|
\usepackage{libertinus-otf}
|
||||||
|
\else
|
||||||
|
\usepackage{mathtools} % Math improvements
|
||||||
|
\usepackage{libertinus} % Libertinus font for text and math
|
||||||
|
\usepackage[T1]{fontenc} % Use T1 font encoding
|
||||||
|
\usepackage{textcomp} % Additional symbols
|
||||||
|
\usepackage[varqu, varl]{inconsolata} % Better monospace font (with alternative "quote" [varqu] and "l" [varl])
|
||||||
|
%\usepackage{libertinust1math} % Libertinus math font
|
||||||
|
\fi
|
||||||
|
|
||||||
\usepackage[english]{babel} % Typographical rules
|
\usepackage[english]{babel} % Typographical rules
|
||||||
\usepackage[varqu, varl]{inconsolata} % Better monospace font (with alternative "quote" [varqu] and "l" [varl])
|
|
||||||
\usepackage{libertinus} % Libertinus font for text and math
|
|
||||||
\usepackage{microtype} % Micro-typography improvements (slightly more compact, better to read)
|
\usepackage{microtype} % Micro-typography improvements (slightly more compact, better to read)
|
||||||
|
|
||||||
% Use sans-serif font for sections
|
% Use sans-serif font for sectionss
|
||||||
\usepackage{sectsty}
|
\usepackage{sectsty}
|
||||||
\chapterfont{\sffamily}
|
\chapterfont{\sffamily}
|
||||||
\allsectionsfont{\sffamily}
|
\allsectionsfont{\sffamily}
|
||||||
|
|||||||
Reference in New Issue
Block a user