Fix latex format
This commit is contained in:
@@ -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
|
||||
@@ -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