This repository has been archived by the owner on Jul 15, 2019. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 13
/
Copy pathshogun_tutorial.cls
53 lines (47 loc) · 1.58 KB
/
shogun_tutorial.cls
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
% Permission is granted to copy, distribute and/or modify this document
% under the terms of the GNU Free Documentation License, Version 1.3
% or any later version published by the Free Software Foundation;
% with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts.
% A copy of the license is included in the section entitled "GNU
% Free Documentation License".
%
% Written (C) 2012 Heiko Strathmann
% Written (C) 2012 Sergey Lisitsyn
\ProcessOptions \relax
\LoadClass{book}
\ProvidesPackage{shogun_tutorial}
\RequirePackage[a4paper]{geometry}
\RequirePackage[T1]{fontenc}
\RequirePackage[sc]{mathpazo}
\RequirePackage{lastpage}
\RequirePackage{fancyhdr}
\fancypagestyle{firstpage}{%
\fancyhf{}
\renewcommand{\headrulewidth}{0pt}
\renewcommand{\footrulewidth}{0pt}
}
\fancypagestyle{followingpage}{%
\fancyhf{}
\fancyhead[L]{\leftmark}
\fancyhead[R]{\thepage~of~\pageref{LastPage}}
\renewcommand{\headrulewidth}{1pt}
\renewcommand{\footrulewidth}{1pt}
}
\pagestyle{followingpage}
\RequirePackage[utf8]{inputenc}
\RequirePackage[colorlinks=true]{hyperref}
\RequirePackage{amssymb}
\RequirePackage{amsmath}
\RequirePackage{fancyvrb}
\RequirePackage{psfrag}
\RequirePackage{graphicx}
\RequirePackage{caption}
\RequirePackage{subcaption}
\RequirePackage{todonotes}
\RequirePackage[toc,page]{appendix}
\RequirePackage[square]{natbib}
\RequirePackage{booktabs}
\RequirePackage{algorithmic,algorithm}
\numberwithin{algorithm}{chapter}
\newcommand{\shogunclass}[1]{\href{http://www.shogun-toolbox.org/doc/en/latest/classshogun_1_1#1.html}{\texttt{#1}}}
\newcommand{\shogun}{\textsf{SHOGUN}}