-
Notifications
You must be signed in to change notification settings - Fork 0
/
a4a.sty
59 lines (56 loc) · 1.61 KB
/
a4a.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
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
\ProvidesPackage{a4a}
\usepackage{hyperref}
\usepackage{authblk}
\usepackage[utf8x]{inputenc}
\usepackage[english]{babel}
\usepackage[authoryear]{natbib}
\usepackage{amsmath}
\usepackage{float}
\usepackage{geometry}
\geometry{verbose, a4paper, tmargin=3cm, bmargin=2cm, lmargin=2cm, rmargin=3cm}
\usepackage{parskip}
\usepackage{amssymb}
\usepackage{setspace}
\onehalfspacing
\usepackage{graphicx}
\usepackage{subfig}
\usepackage[bottom]{footmisc}
\usepackage{color}
\usepackage{longtable}
\usepackage{textcomp}
% Define some handy formatting
%\newcommand{\initiative}[1]{{\texttt{#1}}}
\newcommand{\code}[1]{{\texttt{#1}}}
\newcommand{\R}{{\texttt{R}}{}}
\newcommand{\FLR}{{\texttt{FLR}}{}}
\newcommand{\ADMB}{{\texttt{ADMB}}{}}
\newcommand{\aFa}{{\texttt{a4a}}{}}
\newcommand{\E}[1]{\text{E}\left[#1\right]}
\newcommand{\Var}[1]{\text{Var}\left[#1\right]}
\newcommand{\MSE}{{\texttt{MSE}}{}}
\newcommand{\HCR}{{\texttt{HCR}}{}}
\newcommand{\OM}{{\texttt{OM}}{}}
\newcommand{\MP}{{\texttt{MP}}{}}
\newcommand{\OEM}{{\texttt{OEM}}{}}
\newcommand{\IEM}{{\texttt{IEM}}{}}
\newcommand\midtilde@raisedtilde[1][.5]{\raisebox{#1ex}{\texttildelow}}
\def\midtilde@normaltilde{\texttildelow}
\newcommand\midtilde%
{%
\expandafter\in@\expandafter{\f@family}%
{cmr,cmss,cmtt,cmm,cmsy,cmx,%
lmr,lmss,lmtt,lmm,lmsy,lmx,%
pxr,pxss,pxm,pxsy,pxx,%
txr,txss,txm,txsy,txx}%
\ifin@%
\midtilde@raisedtilde%
\else%
\expandafter\in@\expandafter{\f@family}%
{pxtt,txtt}%
\ifin@%
\midtilde@raisedtilde[.35]%
\else%
\midtilde@normaltilde%
\fi%
\fi%
}