-
Notifications
You must be signed in to change notification settings - Fork 1
/
G3DDoxygen.sty
37 lines (31 loc) · 1020 Bytes
/
G3DDoxygen.sty
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
% Useful graphics LaTex macros from G3D
\newcommand{\Lo}{{L_\mathrm{o}}}
\newcommand{\Li}{{L_\mathrm{i}}}
\newcommand{\Le}{{L_\mathrm{e}}}
\newcommand{\n}{\hat{n}}
\newcommand{\w}{\hat{w}}
\newcommand{\wi}{{\hat{w}_\mathrm{i}}}
\newcommand{\wo}{{\hat{w}_\mathrm{o}}}
\newcommand{\wh}{{\hat{w}_\mathrm{h}}}
\newcommand{\wm}{{\hat{w}_\mathrm{m}}}
\newcommand{\sphere}{{\mathbf{S}^2}}
\newcommand{\hemi}{{\mathbf{S}^2_+}}
\newcommand{\reals}{\mathbf{R}}
\newcommand{\bools}{\mathbf{B}}
\newcommand{\complexes}{\mathbf{C}}
\newcommand{\integers}{\mathbf{Z}}
\newcommand{\bigO}{\mathrm{O}}
\newcommand{\round}{\mathrm{round}}
\newcommand{\clamp}{\mathrm{clamp}}
\newcommand{\atan}{\mathrm{atan}}
\newcommand{\normalize}[1]{S\left(#1\right)}
% Transpose
\newcommand{\T}{\mathsf{\!T}}
% Units
\newcommand{\m}{\mathrm{m}}
\newcommand{\W}{\mathrm{W}}
\newcommand{\sr}{\mathrm{sr}}
\newcommand{\rad}{\mathrm{rad}}
\newcommand{\radiance}{\W\!/\!(\m^2 \sr)}
\newcommand{\frequency}{\mathrm{f}}
\newcommand{\degrees}{{^\circ}}