-
Notifications
You must be signed in to change notification settings - Fork 1
/
YGTemplate.sty
61 lines (58 loc) · 1.75 KB
/
YGTemplate.sty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
% Author: Y.Galanakis
% W: ygalanak.github.io
% Date: June 2020
%-------------------------------------------------------
\ProvidesPackage{YGTemplate}
\usepackage{fontspec}
\usepackage[english]{babel}
%\usepackage[utf8x]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{a4wide}
\usepackage[usenames,dvipsnames]{xcolor}
\usepackage{graphicx}
\usepackage{tabularx}
\usepackage{caption, subcaption}
\usepackage{fnpct}
\usepackage{kpfonts} % for nice fonts
\usepackage{tikz,pgfplots,pgfplotstable}
\usepackage{fontawesome}
\usepackage{psfrag}
\usetikzlibrary{intersections,patterns,pgfplots.fillbetween}
\usetikzlibrary{decorations.pathreplacing}
\usepackage{booktabs} % for nice tables
\usepackage{bm} % for bold math
\usepackage{rotating}
\definecolor{MyBlue}{rgb}{0,0,0.3}
\definecolor{MyRed}{rgb}{0.4,0,0.1}
\definecolor{MyGreen}{rgb}{0,0.4,0}
\usepackage[bookmarks=true,bookmarksnumbered=true,colorlinks=true,linkcolor=MyBlue,citecolor=MyRed,filecolor=MyBlue,urlcolor=MyGreen]{hyperref}
\usepackage[colorinlistoftodos]{todonotes}
\usepackage{natbib}
\usepackage{paralist}
\usepackage{multicol}
\usepackage{longtable}
\usepackage{multirow}
\usepackage{lscape}
\usepackage{chngcntr}
\usepackage[hang,flushmargin]{footmisc}
\usepackage{datetime}
\usepackage{threeparttable}
\usepackage{diagbox}
\newdateformat{monthyeardate}{%
\monthname[\THEMONTH], \THEYEAR}
\newcounter{ltfootnote}
\renewcommand{\theltfootnote}{\alph{ltfootnote}}
\makeatletter
\newenvironment{ltfootnotes}
{\let\c@footnote\c@ltfootnote
\let\thefootnote\theltfootnote
\setcounter{ltfootnote}{0}}
{}
\makeatother
\DeclareCaptionFont{MyBlue}{\color{MyBlue}}
\captionsetup{
labelfont={bf,MyBlue},
}
\usepackage{sectsty}
\sectionfont{\color{MyBlue}} % sets colour of sections
\subsectionfont{\color{MyBlue}}