-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathmacros.tex
44 lines (37 loc) · 1.28 KB
/
macros.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
% Variables that should be changed to reflect your target
\newcommand{\CompanyName}{\textsc{company~name}}
\newcommand{\OrganizationName}{\textsc{organization~name}}%G:DRPP
\newcommand{\IdentityManagementGroup}{\textsc{Identity Management Group}}%G:DSAP
\newcommand{\CertificateAuthority}{\textsc{Certificate~Authority}}%G:DSAP
\newcommand{\ProperSupportOrganization}{\textsc{Proper Support Organization}}%SS:LSP
\newcommand{\EquipmentDisposalTeam}{\textsc{Equipment Disposal Team}}%SS:TEDP
% Changes that have been made from the original text (substitute "old" for "new")
\usepackage{ulem}
\newcommand{\oldnew}[2]{\sout{#1}\uline{#2}}
\newcommand{\del}[1]{\oldnew{#1}{}}
\newcommand{\ins}[1]{\oldnew{}{#1}}
% Inline commenting
\newcommand{\hide}[1]{}% REMarkably simple
% Annoyance characters
\newcommand{\quot}{\char34}
\newcommand{\pound}[1]{\char35{}#1}
\newcommand{\dollar}[1]{\char36{}#1}
\newcommand{\percent}[1]{#1\char37}
\newcommand{\apos}{\char39}
\newcommand{\at}{\char64}
% Glossry entries and/or URLs
\newcommand{\FIPS}[1]{\ifthenelse{% If
\equal{#1}{}%
}{% Then
\gls{fips}%
}{% Else
\href{http://csrc.nist.gov/publications/PubsFIPS.html\##1}{FIPS #1}%
}}
\newcommand{\RFC}[1]{\ifthenelse{% If
\equal{#1}{}%
}{% Then
\gls{rfc}%
}{% Else
\href{https://tools.ietf.org/html/rfc\##1}{RFC #1}%
}}
%