-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmacros.tex
33 lines (30 loc) · 891 Bytes
/
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
% JOURNALS
\def\apj{ApJ}
\def\apjs{ApJS}
\def\apjl{ApJL}
\def\aap{A{\&}A}
\def\aaps{A{\&}AS}
\def\mnras{MNRAS}
\def\aj{AJ}
\def\araa{ARAA}
\def\pasp{PASP}
\def\nat{Nature}
\def\prd{Phys.\ Rev.\ D}
% MISC
\def\eg{{\it e.g.}\xspace}
\def\ie{{\it i.e.}\xspace}
\def\cf{{\it c.f.}\xspace}
\def\etal{et~al.\xspace}
% CROSS-REFERENCES
\def\Sref#1{Section~\ref{#1}\xspace}
\def\Fref#1{Figure~\ref{#1}\xspace}
\def\Tref#1{Table~\ref{#1}\xspace}
\def\Eref#1{Equation~\ref{#1}\xspace}
\def\Eqref#1{Eq.~(\ref{#1})\xspace}
% COMMENTING
\newcommand{\phil}[1]{\textcolor{blue}{\bf PJM: #1}}
\newcommand{\chris}[1]{\textcolor{blue}{\bf CJL: #1}}
\newcommand{\leigh}[1]{\textcolor{blue}{\bf LDF: #1}}
\newcommand{\todo}[2]{{\bf \it TODO: #1: #2}}
\newcommand{\query}[2]{{\it \textcolor{red}{Q: #1: #2}}}
\newcommand{\answer}[2]{{\it \textcolor{blue}{A: #1: #2}}}