-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathstylesheet.tex
66 lines (49 loc) · 1.68 KB
/
stylesheet.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
% Stylesheet
% Keep quotation marks consistent
\newcommand{\q}[1]{\quot{}#1\quot{}}
% Set to "{}" to show how stupid you are; set to "{,}" to show how snobby you are.
\newcommand{\oxford}{,}
% "et cetera"
% <http://latex-alive.tumblr.com/post/827168808/correct-punctuation-spaces>
\makeatletter
\newcommand\etc{etc\@ifnextchar.{}{.\@}}
\makeatother
% "et cetera"
\makeatletter
\newcommand\eg{e.g.\@ifnextchar.{}{.\@}}
\makeatother
% "id est"
\makeatletter
\newcommand\ie{i.e.\@ifnextchar.{}{.\@}}
\makeatother
% "versus"
\makeatletter
\newcommand\vs{vs.\@ifnextchar.{}{.\@}}
\makeatother
% Include the "-" if you're old-fasioned; omit the "-" if you're newfangled.
\newcommand{\email}{e-mail}
\newcommand{\Email}{E-mail}
\newcommand{\cdrom}{CD-ROM}
\newcommand{\hypertext}{hyper-text}
\newcommand{\Hypertext}{Hyper-text}
\newcommand{\HyperText}{Hyper-Text}
\newcommand{\cellphone}{cell-phone}
\newcommand{\Cellphone}{Cell-phone}
\newcommand{\smartphone}{smart-phone}
\newcommand{\Smartphone}{Smart-phone}
\newcommand{\wifi}{Wi-Fi}
\newcommand{\preshared}{pre-shared}
\newcommand{\Preshared}{Pre-shared}
\newcommand{\PreShared}{Pre-Shared}
\newcommand{\passthrough}{pass-through}
\newcommand{\Passthrough}{Pass-through}
\newcommand{\handheld}{hand-held}
\newcommand{\Handheld}{Hand-held}
% Insert a "~" if you believe these should be two words; "-" if you believe these should be a compunded-word; or collapse it if you like runon words.
\newcommand{\smartcard}{smart~card}
\newcommand{\plaintext}{plain~text}
\newcommand{\Plaintext}{Plain~text}
\newcommand{\backdoor}{back~door}
\newcommand{\timezone}{time~zone}
% Intradocument links
\newcommand{\see}[1]{\hyperref[#1]{\ref{#1} \textsl{\nameref{#1}}}}