Fix latex format
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
{
|
||||
\hypersetup{linkcolor=black}
|
||||
\listoffigures
|
||||
\addcontentsline{toc}{chapter}{\listfigurename}
|
||||
\listoffigures
|
||||
\addcontentsline{toc}{chapter}{\listfigurename}
|
||||
}
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
{
|
||||
\hypersetup{linkcolor=black}
|
||||
\listoftables
|
||||
\addcontentsline{toc}{chapter}{\listtablename}
|
||||
\hypersetup{linkcolor=black}
|
||||
\listoftables
|
||||
\addcontentsline{toc}{chapter}{\listtablename}
|
||||
}
|
||||
|
||||
@@ -3,20 +3,26 @@
|
||||
\definechangesauthor[color=RawSienna]{CP}
|
||||
\newcommand{\CP}[1]{\comment[id=CP]{#1}}
|
||||
|
||||
% Footnotes
|
||||
\usepackage[hang]{footmisc}
|
||||
\setlength{\footnotemargin}{3mm} % Margin between footnote number and text
|
||||
|
||||
% Images
|
||||
\usepackage{graphicx}
|
||||
\usepackage{caption} % Point references to the figure not the caption
|
||||
\usepackage[export]{adjustbox} % For valign in subfigs
|
||||
|
||||
% Includes
|
||||
\usepackage{bookmark} % Manage bookmarks
|
||||
\usepackage{import} % Allow relative paths
|
||||
\usepackage{pdfpages} % Include PDFs
|
||||
|
||||
\usepackage{hyperref} % Hyperlinks
|
||||
% Formatting
|
||||
\usepackage[autostyle]{csquotes} % For quotes
|
||||
\usepackage[dvipsnames]{xcolor} % More colors
|
||||
|
||||
% Footnotes
|
||||
\usepackage[hang]{footmisc}
|
||||
\setlength{\footnotemargin}{3mm} % Margin between footnote number and text
|
||||
|
||||
% Links
|
||||
\usepackage{hyperref}
|
||||
\hypersetup{
|
||||
bookmarksnumbered = true, % Include section numbers in bookmarks
|
||||
bookmarksopen = true, % Auto-open bookmarks
|
||||
@@ -35,10 +41,6 @@
|
||||
\setlist{nolistsep} % No space before and after lists
|
||||
\setitemize{noitemsep} % No space between items in itemize
|
||||
|
||||
% References
|
||||
\usepackage{bookmark} % Manage bookmarks
|
||||
\usepackage{etoc} % Local table of contents
|
||||
|
||||
% Tables
|
||||
\usepackage{booktabs} % Better tables
|
||||
\usepackage{makecell} % For multi-line cells in tables
|
||||
@@ -51,7 +53,3 @@
|
||||
retain-explicit-plus=true, % Keep + in numbers
|
||||
uncertainty-mode=separate % Separate uncertainty with +- instead of ()
|
||||
}
|
||||
|
||||
% Others
|
||||
\usepackage[autostyle]{csquotes} % For quotes
|
||||
\usepackage[dvipsnames]{xcolor} % More colors
|
||||
@@ -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
|
||||
|
||||
@@ -93,7 +93,7 @@
|
||||
labelfont={sf,bf,up}, % sans-serif, bold, upright
|
||||
}
|
||||
|
||||
\RenewDocumentEnvironment{tab}{O{htbp} m m o}{% #1 = position, #2 = label, #3 = title, #4 = additional caption
|
||||
\RenewDocumentEnvironment{tab}{O{htbp} m m O{}}{% #1 = position, #2 = label, #3 = title, #4 = additional caption
|
||||
\begin{table}[#1]%
|
||||
\centering%
|
||||
\caption[#3]{#3#4}%
|
||||
|
||||
Reference in New Issue
Block a user