Fix latex format
This commit is contained in:
@@ -8,14 +8,14 @@
|
||||
% Typography
|
||||
\usepackage{iftex}
|
||||
\ifluatex
|
||||
\usepackage{libertinus-otf}
|
||||
\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
|
||||
\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
|
||||
@@ -42,10 +42,10 @@
|
||||
\fancyfoot[C]{\thepage} % Page number in the center of the footer
|
||||
|
||||
\appto\mainmatter{
|
||||
\renewcommand{\chaptermark}[1]{\markboth{\chaptername~\thechapter~--\ #1}{}} % Chapter formatting
|
||||
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} % Section formatting
|
||||
\fancyhead[LO]{\small\nouppercase{\leftmark}} % Chapter in the left on odd pages
|
||||
\fancyhead[RE]{\small\nouppercase{\rightmark}} % Section in the right on even pages
|
||||
\renewcommand{\chaptermark}[1]{\markboth{\chaptername~\thechapter~--\ #1}{}} % Chapter formatting
|
||||
\renewcommand{\sectionmark}[1]{\markright{\thesection.\ #1}} % Section formatting
|
||||
\fancyhead[LO]{\small\nouppercase{\leftmark}} % Chapter in the left on odd pages
|
||||
\fancyhead[RE]{\small\nouppercase{\rightmark}} % Section in the right on even pages
|
||||
}
|
||||
|
||||
\setlength{\headheight}{14pt}
|
||||
@@ -54,4 +54,4 @@
|
||||
\hfuzz=20pt
|
||||
\vfuzz=20pt
|
||||
\hbadness=2000
|
||||
\vbadness=\maxdimen
|
||||
\vbadness=\maxdimen
|
||||
|
||||
Reference in New Issue
Block a user