Skip to content

Commit 717b8aa

Browse files
author
Clément
committed
Reorganized packages.
1 parent bcd8e0d commit 717b8aa

File tree

3 files changed

+21
-19
lines changed

3 files changed

+21
-19
lines changed

md_version/main.pdf

0 Bytes
Binary file not shown.

md_version/templates/head_b.tex

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,7 @@
1515
% https://tex.stackexchange.com/a/297655
1616
\usepackage[english]{datetime2} % To extract the month and year from the date.
1717
\usepackage{chngcntr} % To obtain a "global numbering" of tables and figures.
18-
\usepackage{xpatch}
19-
20-
% Package to display images
21-
\usepackage{graphicx}
18+
\usepackage{xpatch} % To patch some commands, for the title page.
2219
% Option to set maximum width, courtesy of https://github.com/jgm/pandoc-templates/blob/master/default.latex.orig
2320
\makeatletter
2421
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}

md_version/templates/head_c.tex

Lines changed: 20 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -100,21 +100,6 @@
100100
}
101101
}
102102

103-
% For sideways figures and landscape pages.
104-
\usepackage{pdflscape}
105-
106-
% For proper quotations.
107-
\usepackage{csquotes}
108-
109-
% For math. environments
110-
\usepackage{mathtools}
111-
\usepackage{amsthm}
112-
113-
% For the BibTex logo, courtesy of https://tex.stackexchange.com/a/198472
114-
\def\BibTeX{\textrm{B\kern-.05em\textsc{i\kern-.025em b}\kern-.08em T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
115-
116-
\newtheorem{theorem}{Theorem}
117-
118103
%%%%%%%%%%%%%%%%%%%%%
119104
% Code Presentation %
120105
%%%%%%%%%%%%%%%%%%%%%
@@ -341,3 +326,23 @@
341326
addtotoc={1, #5, 1, #4, #2} % We add an entry to the table of content.
342327
]{#3}
343328
}
329+
330+
%%%%%%%%%
331+
% Misc. %
332+
%%%%%%%%%
333+
334+
% To set maximum width and height, courtesy of https://github.com/jgm/pandoc-templates/blob/master/default.latex.orig
335+
\makeatletter
336+
\def\maxwidth{\ifdim\Gin@nat@width>\linewidth\linewidth\else\Gin@nat@width\fi}
337+
\def\maxheight{\ifdim\Gin@nat@height>\textheight\textheight\else\Gin@nat@height\fi}
338+
\makeatother
339+
340+
\usepackage{pdflscape} % For sideways figures and landscape pages.
341+
\usepackage{csquotes} % For proper quotations.
342+
\usepackage{mathtools} % For math. environments
343+
\usepackage{amsthm} % For math. environments
344+
345+
% For the BibTex logo, courtesy of https://tex.stackexchange.com/a/198472
346+
\def\BibTeX{\textrm{B\kern-.05em\textsc{i\kern-.025em b}\kern-.08em T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
347+
348+
\newtheorem{theorem}{Theorem}

0 commit comments

Comments
 (0)