forked from wbsnipes/ASDChapter
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path26Snipes_macros.tex
More file actions
85 lines (62 loc) · 1.96 KB
/
26Snipes_macros.tex
File metadata and controls
85 lines (62 loc) · 1.96 KB
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
\usepackage{url}
\usepackage{anysize}
\usepackage{graphicx}
\usepackage{listings}
\usepackage{exercise,chngcntr}
\usepackage{listings}
\usepackage{color}
\usepackage{graphicx}
%http://en.wikibooks.org/wiki/LaTeX/List_Structures#Inline_lists
\usepackage{paralist}
% The following commands make LaTeX not consider the periods in a few
% abbreviations as periods at the end of sentences.
\newcommand*{\eg}{e.g.,\@}
%
\newcommand*{\ie}{i.e.\@}
%
\makeatletter
%
\makeatother
% The following commands should be used to define key and value pairs.
\newcommand{\Def}[2]{\expandafter\newcommand\csname rmk-#1\endcsname{#2}}
%
\newcommand{\Use}[1]{\csname rmk-#1\endcsname}
% Wraps notes on what needs to get fixed.
\newcommand{\Fix}[1]{\textcolor{red}{[#1]}}
% Wraps junk text.
\newcommand{\Comment}[1]{}
% Wraps good text that needs to be excluded, e.g., due to space limits.
\newcommand{\Space}[1]{}
\newcommand{\FigRef}[1]{Figure~\ref{#1}}
\newcommand{\SecRef}[1]{Section~\ref{#1}}
\newcommand{\Code}[1]{\texttt{#1}}
\graphicspath{{26Snipes_Images/}}
\DeclareGraphicsExtensions{.pdf, .png, .ps, .PNG} % NOT .jpg because it throws away the detail.
\definecolor{dkgreen}{rgb}{0,0.6,0}
\definecolor{gray}{rgb}{0.5,0.5,0.5}
\definecolor{mauve}{rgb}{0.58,0,0.82}
\lstset{frame=tb,
language=Java,
aboveskip=3mm,
belowskip=3mm,
showstringspaces=false,
columns=flexible,
basicstyle={\small\ttfamily},
numbers=none,
numberstyle=\tiny\color{gray},
keywordstyle=\color{blue},
commentstyle=\color{dkgreen},
stringstyle=\color{mauve},
breaklines=true,
breakatwhitespace=true,
tabsize=3
}
\marginsize{1in}{1in}{1in}{1in}
\newcommand\CodingSpectator{CodingSpectator}
\newcommand\Fluorite{Fluorite}
\newcommand\CodingTracker{CodingTracker}
\newcommand\Performed{\texttt{performed}}
\newcommand\Canceled{\texttt{canceled}}
\newcommand\Unavailable{\texttt{unavailable}}
\Def{NumberOfEclipseAutomatedRefactorings}{33}
\Def{NumberOfCodingSpectatorSupportedRefactorings}{23}