-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathstyle.tex
100 lines (85 loc) · 1.95 KB
/
style.tex
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
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
\usepackage[a4paper, margin=1in, top=0.7in, columnsep=2cm]{geometry}
\usepackage[yyyymmdd,hhmmss]{datetime}
\usepackage{hyperref}
\usepackage{cool}
\usepackage{fancyhdr}
\usepackage{amsthm}
\usepackage[makeroom]{cancel}
\usepackage{mathpazo}
\usepackage[scaled=0.95]{helvet}
\usepackage{courier}
\linespread{1.05} % Palatino looks better with this
\usepackage{titling}
\setlength{\droptitle}{-5em} % This is your set screw
\setlength{\parindent}{0ex}
\setlength{\parskip}{0.5em}
\hypersetup{
colorlinks,
linkcolor={red!30!black},
citecolor={blue!50!black},
urlcolor={blue!80!black}
}
\newtheoremstyle{defstyle}% <name>
{6pt}% <Space above>
{6pt}% <Space below>
{}% <Body font>
{}% <Indent amount>
{}% <Theorem head font>
{:}% <Punctuation after theorem head>
{.5em}% <Space after theorem headi>
{\thmname{\textbf{#1}}\thmnumber{ #2}\thmnote{ (\textsc{#3})}}
\theoremstyle{defstyle}
\newcounter{axiom} \numberwithin{axiom}{section}
\newcounter{examplec} \numberwithin{examplec}{section}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{elemma}[theorem]{Lemma}%[section]
\newtheorem{eclaim}[theorem]{Claim}
\newtheorem{eaxiom}[axiom]{Axiom}
\newtheorem{definition}[theorem]{Definition}
\newtheorem{example}[theorem]{Example}
\newcommand\claim[1]{
\begin{eclaim}
#1
\end{eclaim}
\bigskip
}
\newcommand\nclaim[2]{
\begin{eclaim}[#1]
#2
\end{eclaim}
\bigskip
}
\newcommand\defn[2]{
\begin{definition}[#1]
{}
#2
\end{definition}
\medskip
}
\newcommand\axiom[2]{
\begin{eaxiom}[#1]
#2
\end{eaxiom}
\medskip
}
\newcommand\lemma[3]{
\begin{elemma}[#1]
#2
\end{elemma}
\begin{proof}
#3
\end{proof}
\medskip
}
\pagestyle{fancy}
\lhead{}
\chead{}
\rhead{}
\lfoot{\footnotesize {\yyyymmdddate\today} at \currenttime}
\cfoot{}
\rfoot{\thepage}
\renewcommand{\headrulewidth}{0.0pt}
\renewcommand{\footrulewidth}{0.0pt}
\usepackage{graphicx}
\usepackage{float} % use [H] for placing
\graphicspath{ {figures/} }