Use libertinus-otf with luatex
This commit is contained in:
@@ -6,14 +6,22 @@
|
||||
\linespread{1.15}
|
||||
|
||||
% Typography
|
||||
\usepackage{mathtools} % Math improvements
|
||||
\usepackage[T1]{fontenc} % Use T1 font encoding
|
||||
\usepackage{iftex}
|
||||
\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[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)
|
||||
|
||||
% Use sans-serif font for sections
|
||||
% Use sans-serif font for sectionss
|
||||
\usepackage{sectsty}
|
||||
\chapterfont{\sffamily}
|
||||
\allsectionsfont{\sffamily}
|
||||
|
||||
Reference in New Issue
Block a user