Fix latex format
This commit is contained in:
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
\hypersetup{linkcolor=black}
|
\hypersetup{linkcolor=black}
|
||||||
\listoffigures
|
\listoffigures
|
||||||
\addcontentsline{toc}{chapter}{\listfigurename}
|
\addcontentsline{toc}{chapter}{\listfigurename}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
{
|
{
|
||||||
\hypersetup{linkcolor=black}
|
\hypersetup{linkcolor=black}
|
||||||
\listoftables
|
\listoftables
|
||||||
\addcontentsline{toc}{chapter}{\listtablename}
|
\addcontentsline{toc}{chapter}{\listtablename}
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -3,20 +3,26 @@
|
|||||||
\definechangesauthor[color=RawSienna]{CP}
|
\definechangesauthor[color=RawSienna]{CP}
|
||||||
\newcommand{\CP}[1]{\comment[id=CP]{#1}}
|
\newcommand{\CP}[1]{\comment[id=CP]{#1}}
|
||||||
|
|
||||||
% Footnotes
|
|
||||||
\usepackage[hang]{footmisc}
|
|
||||||
\setlength{\footnotemargin}{3mm} % Margin between footnote number and text
|
|
||||||
|
|
||||||
% Images
|
% Images
|
||||||
\usepackage{graphicx}
|
\usepackage{graphicx}
|
||||||
\usepackage{caption} % Point references to the figure not the caption
|
\usepackage{caption} % Point references to the figure not the caption
|
||||||
\usepackage[export]{adjustbox} % For valign in subfigs
|
\usepackage[export]{adjustbox} % For valign in subfigs
|
||||||
|
|
||||||
% Includes
|
% Includes
|
||||||
|
\usepackage{bookmark} % Manage bookmarks
|
||||||
\usepackage{import} % Allow relative paths
|
\usepackage{import} % Allow relative paths
|
||||||
\usepackage{pdfpages} % Include PDFs
|
\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{
|
\hypersetup{
|
||||||
bookmarksnumbered = true, % Include section numbers in bookmarks
|
bookmarksnumbered = true, % Include section numbers in bookmarks
|
||||||
bookmarksopen = true, % Auto-open bookmarks
|
bookmarksopen = true, % Auto-open bookmarks
|
||||||
@@ -35,10 +41,6 @@
|
|||||||
\setlist{nolistsep} % No space before and after lists
|
\setlist{nolistsep} % No space before and after lists
|
||||||
\setitemize{noitemsep} % No space between items in itemize
|
\setitemize{noitemsep} % No space between items in itemize
|
||||||
|
|
||||||
% References
|
|
||||||
\usepackage{bookmark} % Manage bookmarks
|
|
||||||
\usepackage{etoc} % Local table of contents
|
|
||||||
|
|
||||||
% Tables
|
% Tables
|
||||||
\usepackage{booktabs} % Better tables
|
\usepackage{booktabs} % Better tables
|
||||||
\usepackage{makecell} % For multi-line cells in tables
|
\usepackage{makecell} % For multi-line cells in tables
|
||||||
@@ -51,7 +53,3 @@
|
|||||||
retain-explicit-plus=true, % Keep + in numbers
|
retain-explicit-plus=true, % Keep + in numbers
|
||||||
uncertainty-mode=separate % Separate uncertainty with +- instead of ()
|
uncertainty-mode=separate % Separate uncertainty with +- instead of ()
|
||||||
}
|
}
|
||||||
|
|
||||||
% Others
|
|
||||||
\usepackage[autostyle]{csquotes} % For quotes
|
|
||||||
\usepackage[dvipsnames]{xcolor} % More colors
|
|
||||||
@@ -8,14 +8,14 @@
|
|||||||
% Typography
|
% Typography
|
||||||
\usepackage{iftex}
|
\usepackage{iftex}
|
||||||
\ifluatex
|
\ifluatex
|
||||||
\usepackage{libertinus-otf}
|
\usepackage{libertinus-otf}
|
||||||
\else
|
\else
|
||||||
\usepackage{mathtools} % Math improvements
|
\usepackage{mathtools} % Math improvements
|
||||||
\usepackage{libertinus} % Libertinus font for text and math
|
\usepackage{libertinus} % Libertinus font for text and math
|
||||||
\usepackage[T1]{fontenc} % Use T1 font encoding
|
\usepackage[T1]{fontenc} % Use T1 font encoding
|
||||||
\usepackage{textcomp} % Additional symbols
|
\usepackage{textcomp} % Additional symbols
|
||||||
\usepackage[varqu, varl]{inconsolata} % Better monospace font (with alternative "quote" [varqu] and "l" [varl])
|
\usepackage[varqu, varl]{inconsolata} % Better monospace font (with alternative "quote" [varqu] and "l" [varl])
|
||||||
%\usepackage{libertinust1math} % Libertinus math font
|
%\usepackage{libertinust1math} % Libertinus math font
|
||||||
\fi
|
\fi
|
||||||
|
|
||||||
\usepackage[english]{babel} % Typographical rules
|
\usepackage[english]{babel} % Typographical rules
|
||||||
|
|||||||
@@ -93,7 +93,7 @@
|
|||||||
labelfont={sf,bf,up}, % sans-serif, bold, upright
|
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]%
|
\begin{table}[#1]%
|
||||||
\centering%
|
\centering%
|
||||||
\caption[#3]{#3#4}%
|
\caption[#3]{#3#4}%
|
||||||
|
|||||||
Reference in New Issue
Block a user