-
Notifications
You must be signed in to change notification settings - Fork 2
/
phage3protocol.cls
56 lines (45 loc) · 1.29 KB
/
phage3protocol.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
54
55
56
% phage.cls
%
% A LaTeX2e document class for preparing textbooks
%%% E. Rasche
%%% Center for Phage Technology
%%% Texas A&M University
\def\fileversion{3.0}
\def\filedate{2015/01/19}
\ProvidesClass{phage3protocol}[\filedate~Protocol style ``Phage'' by E. Rasche]
\LoadClass{memoir}
\input{common}
\input{vc.tex}
\input{common_memoir_extra}
\input{headings_common}
\setheadfoot{\onelineskip}{4\onelineskip}
\settrimmedsize{11in}{8.5in}{}
%\settypeblocksize{6in}{3in}{*}
%\setlrmarginsandblock{*}{2cm}{4}
%\setmarginnotes{1.5cm}{5cm}{.5cm}
%\checkandfixthelayout%
\input{bacteria.tex}
%\input{extra/shortcuts.tex}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% Title Page
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\makeatletter
\def\@maketitle{
{\Huge \@title}
\vfill
{\Large \bfseries \color{red} \@title}
{\scshape Teacher:} \@author ~ at \@date \par
\smallskip \hrule \bigskip }
\makeatother
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
% FINALIZING: seriously do not mess with. Hyperref + cleveref are **picky**
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage[breaklinks]{hyperref}
% make figure caption hyperlinks go to top of figure http://stackoverflow.com/q/4023925/
\usepackage[font=small]{caption}
\usepackage{subcaption}
\usepackage{cleveref}
\renewcommand{\chaptername}{Laboratory}
\pagestyle{dev}
\input{common_end}