forked from jeremyhansen/rooksguide-cplusplus
-
Notifications
You must be signed in to change notification settings - Fork 0
/
utils-commands.tex
50 lines (40 loc) · 1.64 KB
/
utils-commands.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
\newcommand{\Comment}[1] {}
\newcommand{\LevelA}[1] {\part{#1}}
\newcommand{\LevelB}[1] {\chapter{#1}}
\newcommand{\LevelC}[1] {\chapter{#1}}
\newcommand{\LevelD}[1] {\section{#1}}
\newcommand{\LevelE}[1] {\subsection{#1}}
\Comment { %LevelX
\newcommand{\LevelA}[1] {\chapter{#1}}
\newcommand{\LevelB}[1] {\section{#1}}
\newcommand{\LevelC}[1] {\subsection{#1}}
\newcommand{\LevelD}[1] {\subsubsection{#1}}
} % End LevelX Comment.
\newcommand{\ToCComment}[1] {\subsubsection{#1}}
\newcommand{\Picture}[3] {
\begin{center}
\ToCComment{#1}
\includegraphics#2{#3}
\textbf{#1}
\end{center}
}
\newcommand{\Code}[1] {\texttt{#1}}
\newcommand{\Keyword}[1] {\textbf{#1}\index{#1}}
\newcommand{\ceol} {\\} % Code end-of-line.
\newcommand{\book}[1] {\emph{#1}}
\newcommand{\Cry} {(':}
\newcommand{\Fr}[1] {\textbf{#1}}
\newcommand{\Frownie} {\frownie}
%\newcommand{\Heart} {$\varheart$ } % From arev package
\newcommand{\Heart} {♥} % Heisted from a graphic.
\newcommand{\RTLKissie} {*-:}
\newcommand{\Kissie} {:-*}
\newcommand{\Laughie} {:-D}
\newcommand{\leol} {\\}
\newcommand{\lparen} {)}
\newcommand{\rparen} {(}
\newcommand{\seol} {\\}
\newcommand{\Smiley} {\smiley}
\newcommand{\teol} {\\ \hline}
%\newcommand{\ThumbsUp} {\HandLeftUp} % bbding package Fists
\newcommand{\ThumbsUp} {\rightthumbsup} % dingbat package Fists (better)