Fix some compilation warnings

This commit is contained in:
architeuthidae 2024-10-27 12:36:05 +01:00
parent c9b68e38b6
commit 8312ff762e
2 changed files with 22 additions and 15 deletions

View File

@ -40,17 +40,12 @@
\RequirePackage{threeparttable} \RequirePackage{threeparttable}
% Align figure and table captions to left. % Align figure and table captions to left.
\RequirePackage[font=bf, skip=5pt, justification=raggedright, format=hang, singlelinecheck=off]{caption} \RequirePackage[font=bf,
skip=5pt,
% Format hyperlinks as blue and set PDF title based on \title{} in the document. justification=raggedright,
\RequirePackage[pdfusetitle]{hyperref} format=hang,
\hypersetup{ singlelinecheck=off,
pdftex, hypcap=false]{caption}
breaklinks=true,
colorlinks=true,
linkcolor=.,
urlcolor=blue
}
% Configure page margins % Configure page margins
\RequirePackage{geometry} \RequirePackage{geometry}
@ -124,6 +119,17 @@
% No numbering for section titles % No numbering for section titles
\setcounter{secnumdepth}{0} \setcounter{secnumdepth}{0}
% Section and subsection spacing
\usepackage{titlesec} \usepackage{titlesec}
\titlespacing*{\section}{0pt}{.2ex}{.2ex} \titlespacing*{\section}{0pt}{.2ex}{.2ex}
\titlespacing*{\subsection}{0pt}{.2ex}{.2ex} \titlespacing*{\subsection}{0pt}{.2ex}{.2ex}
% Format hyperlinks as blue and set PDF title based on \title{} in the document.
% Hyperref must be loaded last (in particular after titlesec)
\RequirePackage[pdfusetitle]{hyperref}
\hypersetup{
breaklinks=true,
colorlinks=true,
linkcolor=.,
urlcolor=blue
}

View File

@ -16,6 +16,7 @@
\usepackage{tikz} \usepackage{tikz}
\usepackage{pgfplots} \usepackage{pgfplots}
\pgfplotsset{compat=1.18}
\usepackage{circuitikz} \usepackage{circuitikz}
\usepackage{pifont} \usepackage{pifont}