Fix some compilation warnings #60
|
@ -5,7 +5,7 @@
|
||||||
%% https://github.com/PetteriAimonen/latex-datasheet-template/
|
%% https://github.com/PetteriAimonen/latex-datasheet-template/
|
||||||
%%
|
%%
|
||||||
%% --------------------------------------------------------------------------
|
%% --------------------------------------------------------------------------
|
||||||
%%
|
%%
|
||||||
%% This work may be distributed and/or modified under the
|
%% This work may be distributed and/or modified under the
|
||||||
%% conditions of the LaTeX Project Public License, either version 1.3
|
%% conditions of the LaTeX Project Public License, either version 1.3
|
||||||
%% of this license or (at your option) any later version.
|
%% of this license or (at your option) any later version.
|
||||||
|
@ -13,11 +13,11 @@
|
||||||
%% http://www.latex-project.org/lppl.txt
|
%% http://www.latex-project.org/lppl.txt
|
||||||
%% and version 1.3 or later is part of all distributions of LaTeX
|
%% and version 1.3 or later is part of all distributions of LaTeX
|
||||||
%% version 2003/12/01 or later.
|
%% version 2003/12/01 or later.
|
||||||
%%
|
%%
|
||||||
%% This work has the LPPL maintenance status "maintained".
|
%% This work has the LPPL maintenance status "maintained".
|
||||||
%%
|
%%
|
||||||
%% This Current Maintainer of this work is Petteri Aimonen.
|
%% This Current Maintainer of this work is Petteri Aimonen.
|
||||||
%%
|
%%
|
||||||
%% This work consists of the file datasheet.cls and the example
|
%% This work consists of the file datasheet.cls and the example
|
||||||
%% document example.tex.
|
%% document example.tex.
|
||||||
|
|
||||||
|
@ -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
|
||||||
|
}
|
|
@ -16,6 +16,7 @@
|
||||||
|
|
||||||
\usepackage{tikz}
|
\usepackage{tikz}
|
||||||
\usepackage{pgfplots}
|
\usepackage{pgfplots}
|
||||||
|
\pgfplotsset{compat=1.18}
|
||||||
\usepackage{circuitikz}
|
\usepackage{circuitikz}
|
||||||
\usepackage{pifont}
|
\usepackage{pifont}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue