summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/cje
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2017-06-04 23:47:28 +0000
committerKarl Berry <karl@freefriends.org>2017-06-04 23:47:28 +0000
commit6bac2215133832542c828065aac545050e38cfd1 (patch)
treed20464e843c2b6847f96783a4ea860edbd88b74a /Master/texmf-dist/tex/latex/cje
parenta3b4fdac70b493a7f09ffa14c4e0e1a581c0c213 (diff)
cje (2jun17)
git-svn-id: svn://tug.org/texlive/trunk@44454 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/cje')
-rw-r--r--Master/texmf-dist/tex/latex/cje/cje.cls1567
-rw-r--r--Master/texmf-dist/tex/latex/cje/cjenatbib.sty838
-rw-r--r--Master/texmf-dist/tex/latex/cje/cjeupmath.sty125
3 files changed, 2530 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/cje/cje.cls b/Master/texmf-dist/tex/latex/cje/cje.cls
new file mode 100644
index 00000000000..c46f2354c0e
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/cje/cje.cls
@@ -0,0 +1,1567 @@
+%% This is file cje.cls
+%% 2017/04/17 v1.01
+%%
+%% It was developed from `article.cls',
+%% generated with the docstrip utility.
+%%
+%% This file was generated from file(s) of the LaTeX base system.
+%%
+%% The original source files were:
+%% classes.dtx (with options: `article')
+%%
+%% =========
+%%
+%% COPYRIGHT (c) 2017 Canadian Economics Association
+%%
+%% LICENSE
+%% =======
+%%
+%% This work can be distributed and/or modified under the conditions of the LaTeX Project Public License,
+%% either version 1.3 of this license or any later version. The latest version of this license is available at
+%% latex-project.org/lppl.txt. Version 1.3, or later, is part of all distributions of LaTeX version 2005/12/01 or later.
+%%
+%%
+%% This file has the LPPL maintenance status "maintained".
+%%
+%% This file may be distributed only together with a copy of the LaTeX
+%% base system. You may, however, distribute the LaTeX base system without
+%% such generated files.
+%%
+%% The list of all files belonging to the LaTeX base distribution is
+%% given in the file `manifest.txt'. See also `legal.txt' for additional
+%% information.
+%%
+%% The list of derived (unpacked) files belonging to the distribution
+%% and covered by LPPL is defined by the unpacking scripts (with
+%% extension .ins), which are part of the distribution.
+%% \CharacterTable
+%% {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z
+%% Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z
+%% Digits \0\1\2\3\4\5\6\7\8\9
+%% Exclamation \! Double quote \" Hash (number) \#
+%% Dollar \$ Percent \% Ampersand \&
+%% Acute accent \' Left paren \( Right paren \)
+%% Asterisk \* Plus \+ Comma \,
+%% Minus \- Point \. Solidus \/
+%% Colon \: Semicolon \; Less than \<
+%% Equals \= Greater than \> Question mark \?
+%% Commercial at \@ Left bracket \[ Backslash \\
+%% Right bracket \] Circumflex \^ Underscore \_
+%% Grave accent \` Left brace \{ Vertical bar \|
+%% Right brace \} Tilde \~}
+
+\NeedsTeXFormat{LaTeX2e}[1995/12/01]
+\ProvidesClass{cje}
+ [2017/04/17 v1.01 CJE document class]
+
+\newcommand{\@xiiiptvpt}{13.5}%large For author
+\DeclareMathSizes{\@xiiiptvpt}{\@xiiiptvpt}{\@xpt}{\@viipt}
+
+\newcommand{\@xviiipt}{18}%LARGE For title
+\DeclareMathSizes{\@xviiipt}{\@xviiipt}{\@xiipt}{\@xpt}
+
+\newcommand\small{% 9/10
+ \@setfontsize\small\@ixpt\@xpt
+ \abovedisplayskip 5\p@ \@plus 5\p@ \@minus 1\p@
+ \belowdisplayskip \abovedisplayskip
+ \abovedisplayshortskip 3\p@ \@plus 3\p@
+ \belowdisplayshortskip \abovedisplayshortskip
+}
+
+\newcommand\indexsize{\@setfontsize\indexsize\@viiipt\@ixpt}%8/9 CJE
+\newcommand\footnotesize{\@setfontsize\footnotesize\@viiipt\@ixpt}%8/9 CJE
+\newcommand\scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt}%CJE used in Vol line
+\newcommand\tiny{\@setfontsize\tiny\@vpt\@vipt}
+\newcommand\captionsize{\@setfontsize\captionsize\@viiipt{9}}%fig and table captions (8/9)%CJE
+\newcommand\smaller{\@setfontsize\smaller\@viiipt\@ixpt}% for entries in tables (8/9)%CJE
+\newcommand\abstractsize{\@setfontsize\abstractsize\@ixpt{10}}%abstractsize (9/10)%CJE
+\newcommand\sectionsize{\@setfontsize\sectionsize\@xpt{12}}%section heads (10/12)
+\newcommand\large{\@setfontsize\large\@xiiiptvpt{16.5}}%not used
+\newcommand\Large{\@setfontsize\Large\@xiipt{14}}% authors
+\newcommand\LARGE{\@setfontsize\LARGE\@xviiipt{22}}%new, for titlesize (18/22)
+\newcommand\huge{\@setfontsize\huge\@xxpt{25}}
+\newcommand\Huge{\@setfontsize\Huge\@xxvpt{30}}
+
+% define a smallverbatim 9/10
+
+\begingroup \catcode `|=0 \catcode `[= 1
+\catcode`]=2 \catcode `\{=12 \catcode `\}=12
+\catcode`\\=12 |gdef|@xsmallverbatim#1\end{smallverbatim}[#1|end[smallverbatim]]
+|gdef|@sxsmallverbatim#1\end{smallverbatim*}[#1|end[smallverbatim*]]
+|endgroup
+
+\def\@smallverbatim{\topsep=0.5\baselineskip\trivlist\item\relax% leave half a line above and below
+ \if@minipage\else\vskip\parskip\fi
+ \leftskip\@totalleftmargin\rightskip\z@skip
+ \parindent\z@\parfillskip\@flushglue\parskip\z@skip
+ \@@par
+ \@tempswafalse
+ \def\par{%
+ \if@tempswa
+ \leavevmode \null \@@par\penalty\interlinepenalty
+ \else
+ \@tempswatrue
+ \ifhmode\@@par\penalty\interlinepenalty\fi
+ \fi}%
+ \let\do\@makeother \dospecials
+ \obeylines \smallverbatim@font \@noligs
+ \hyphenchar\font\m@ne
+ \everypar \expandafter{\the\everypar \unpenalty}%
+}
+\def\smallverbatim{\@smallverbatim \frenchspacing\@vobeyspaces \@xsmallverbatim}
+\def\endsmallverbatim{\if@newlist \leavevmode\fi\endtrivlist}
+
+\def\smallverbatim@font{\normalfont\abstractsize\ttfamily}
+
+\def\@verbatim{\topsep=0.5\baselineskip\trivlist \item\relax% leave half a line above and below
+ \if@minipage\else\vskip\parskip\fi
+ \leftskip\@totalleftmargin\rightskip\z@skip
+ \parindent\z@\parfillskip\@flushglue\parskip\z@skip
+ \@@par
+ \@tempswafalse
+ \def\par{%
+ \if@tempswa
+ \leavevmode \null \@@par\penalty\interlinepenalty
+ \else
+ \@tempswatrue
+ \ifhmode\@@par\penalty\interlinepenalty\fi
+ \fi}%
+ \let\do\@makeother \dospecials
+ \obeylines \verbatim@font \@noligs
+ \hyphenchar\font\m@ne
+ \everypar \expandafter{\the\everypar \unpenalty}%
+}
+
+\renewcommand\normalsize{%
+ \@setfontsize\normalsize{10pt}{12pt}
+ \abovedisplayskip 6\p@ \@plus 6\p@ \@minus 1\p@
+ \belowdisplayskip \abovedisplayskip
+ \abovedisplayshortskip 3\p@ \@plus 3\p@
+ \belowdisplayshortskip \abovedisplayshortskip
+}
+
+\newif\ifprodtf
+\DeclareOption{prodtf}{\prodtftrue}
+
+\newif\if@proof
+\DeclareOption{proof}{\@prooftrue}
+
+%\newcommand\@ptsize{}
+\newif\if@restonecol
+\newif\if@titlepage
+\newif\if@tablestar
+
+\@titlepagefalse
+%\if@compatibility\else
+%\DeclareOption{a4paper}
+% {\setlength\paperheight {297mm}%
+% \setlength\paperwidth {210mm}}
+%\DeclareOption{a5paper}
+% {\setlength\paperheight {210mm}%
+% \setlength\paperwidth {148mm}}
+%\DeclareOption{b5paper}
+% {\setlength\paperheight {250mm}%
+% \setlength\paperwidth {176mm}}
+%\DeclareOption{letterpaper}
+% {\setlength\paperheight {11in}%
+% \setlength\paperwidth {8.5in}}
+%\DeclareOption{legalpaper}
+% {\setlength\paperheight {14in}%
+% \setlength\paperwidth {8.5in}}
+%\DeclareOption{executivepaper}
+% {\setlength\paperheight {10.5in}%
+% \setlength\paperwidth {7.25in}}
+%\DeclareOption{landscape}
+% {\setlength\@tempdima {\paperheight}%
+% \setlength\paperheight {\paperwidth}%
+% \setlength\paperwidth {\@tempdima}}
+%\fi
+%\if@compatibility
+% \renewcommand\@ptsize{0}
+%\else
+%\DeclareOption{10pt}{\renewcommand\@ptsize{0}}
+%\fi
+%\DeclareOption{11pt}{\renewcommand\@ptsize{1}}
+%\DeclareOption{12pt}{\renewcommand\@ptsize{2}}
+
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% AMS check
+
+% check if the author has AMS Euler fonts installed
+% if they have, attempt to use the 'cjeupmath' package to provide upright math
+
+\newif\iffontfound
+\newcommand\checkfont[1]{%
+ \batchmode
+ \font\test=#1\relax
+ \errorstopmode
+ \fontfoundfalse
+ \ifx\test\nullfont \else \fontfoundtrue\fi
+}
+
+\AtBeginDocument{%
+\ifprodtf\else
+ \checkfont{eurm10}
+ \iffontfound
+ \IfFileExists{cjeupmath.sty}
+ {\typeout{^^JFound AMS Euler Roman fonts on the system,
+ using the 'cjeupmath' package.^^J}%
+ \usepackage{cjeupmath}}
+ {\typeout{^^JFound AMS Euler Roman fonts on the system, but you
+ don't seem to have the}%
+ \typeout{'cjeupmath' package installed. cje.cls can take advantage
+ of these fonts,^^Jif you use the 'cjeupmath' package.^^J}%
+ \providecommand\mathup[1]{##1}%
+ \providecommand\mathbup[1]{##1}%
+ }
+ \else % no AMS fonts
+ \providecommand\mathup[1]{#1}%
+ \providecommand\mathbup[1]{#1}%
+ \providecommand\upi{\pi}%
+ \providecommand\upartial{\partial}%
+ \providecommand\ubpartial{\partial}%
+ \providecommand\ualpha{\alpha}%
+ \providecommand\ubalpha{\alpha}%
+ \providecommand\ubeta{\beta}%
+ \providecommand\ubbeta{\beta}%
+ \providecommand\ugamma{\gamma}%
+ \providecommand\ubgamma{\gamma}%
+ \providecommand\udelta{\delta}%
+ \providecommand\ubdelta{\delta}%
+ \fi
+\fi
+
+% check if the author has AMS symbol fonts installed
+% if they have, attempt to use the 'amssymb' package to provide the AMS symbol characters
+
+\ifprodtf\else
+ \checkfont{msam10}
+ \iffontfound
+ \IfFileExists{amssymb.sty}
+ {\typeout{^^JFound AMS Symbol fonts on the system, using the
+ 'amssymb' package.^^J}%
+ \usepackage{amssymb}%
+ }{}
+ \fi
+\fi
+
+% check if the author has the AMS 'amsbsy' package installed
+% if they have, use it to provide better bold math support (with \boldsymbol).
+
+\ifprodtf\else
+ \IfFileExists{amsbsy.sty}
+ {\typeout{^^JFound the 'amsbsy' package on the system, using it.^^J}%
+ \usepackage{amsbsy}}
+ {\providecommand\boldsymbol[1]{\mbox{\boldmath $##1$}}}
+\fi
+
+% bring amsthm.sty into line with CJE style
+%
+\@ifpackageloaded{amsthm}{%
+\providecommand\proof{}
+%added
+\renewcommand*{\qedsymbol}{\(\blacksquare\)}%
+\renewenvironment{proof}[1][\proofname]{\par
+ \pushQED{\qed}%
+% \normalfont \topsep6\p@\@plus6\p@\relax
+ \normalfont \topsep0.5\baselineskip \@plus 2\p@ \@minus 1\p@\relax%changed
+ \trivlist
+ \item[\hskip\labelsep
+ \itshape
+ #1\@addpunct{.}]\ignorespaces
+}{%
+ \popQED\endtrivlist\@endpefalse
+}
+
+% line space above and below
+\def\@thm#1#2#3{%
+ \ifhmode\unskip\unskip\par\fi
+ \normalfont
+ \trivlist
+ \let\thmheadnl\relax
+ \let\thm@swap\@gobble
+ \thm@notefont{\fontseries\mddefault\upshape}%
+ \thm@headpunct{.}% add period after heading
+ \thm@headsep 5\p@ plus\p@ minus\p@\relax
+ \thm@space@setup
+ #1% style overrides
+ \thm@preskip\baselineskip
+ \thm@postskip\thm@preskip
+ \@topsep \thm@preskip % used by thm head
+ \@topsepadd \thm@postskip % used by \@endparenv
+ \def\@tempa{#2}\ifx\@empty\@tempa
+ \def\@tempa{\@oparg{\@begintheorem{#3}{}}[]}%
+ \else
+ \refstepcounter{#2}%
+ \def\@tempa{\@oparg{\@begintheorem{#3}{\csname the#2\endcsname}}[]}%
+ \fi
+ \@tempa
+}
+
+% and reset:
+\def\[{\relax\ifmmode\@badmath\else\topsep 0.5\baselineskip\begin{trivlist}\item[]\leavevmode
+ \hbox to\linewidth\bgroup$ \displaystyle \hskip\eqn@indent\bgroup\fi}
+\def\]{\relax\ifmmode \egroup $\hfil \egroup \end{trivlist}%
+ \else \@badmath \fi}
+%
+\def\equation{\refstepcounter{equation}\topsep 0.5\baselineskip\trivlist \item[]\leavevmode
+ \hbox to\linewidth\bgroup $ \displaystyle \hskip\eqn@indent}
+\def\endequation{$\hfil \displaywidth\linewidth\@eqnnum\egroup \endtrivlist}
+
+}{}
+
+%\thm@headfont{\normalfont\bfseries}
+ \thm@headfont{\normalfont\scshape}
+
+}
+
+% end of AMS check
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% modify sidewaysfigure to use \fstyle@table
+
+\AtBeginDocument{%
+ \def\hline{\noalign{\ifnum0=`}\fi
+ \vskip 6pt
+% \hrule \@height \arrayrulewidth
+ \if@tablestar
+ {\hbox to \textwidth{\hrulefill}}%
+ \else
+ {\hbox to \textwidth{\hrulefill}}%
+ \fi
+ \vskip 6pt%
+ \futurelet \@tempa\@xhline}
+%
+ \def\doublehrulefill{\leavevmode\leaders\hrule height 0.8pt\hfill\kern\z@}%
+ \def\finalhline{\noalign{\ifnum0=`}\fi%
+ \vskip 6pt
+% \hrule \@height \arrayrulewidth
+ {\hbox to \textwidth{\doublehrulefill}}
+ \vskip 6pt
+ \futurelet \@tempa\@xhline}
+ \def\sidewaysfigure{\@rotfloat{figure}}%\fstyle@figure}%
+ \def\sidewaystable{\@rotfloat{table}%
+ \let\@makecaption=\make@table@caption%line added
+ \begin{tabular}{l}\finalhline\\[-30pt]%
+ \end{tabular}\fstyle@table\setlength\footnotesep{8.5\p@}}%
+
+
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+\setlength\headsep{24pt}%CJE
+\setlength\footskip{22.5pt}%CJE multiple of 9
+\setlength\voffset{0pt}
+\setlength\hoffset{1pc}
+
+\setlength\textwidth{28pc}%CJE
+\setlength\columnsep{6mm}%not used
+\setlength\columnseprule{\z@}%not used
+
+\setlength\oddsidemargin{2pc}
+\setlength\evensidemargin{2pc}
+\setlength\topmargin{2pc}
+\setlength\marginparwidth{6pc}
+\setlength\marginparsep{0.5pc}
+
+\let\cjemarginpar\marginpar
+\renewcommand\marginpar[1]{\cjemarginpar{\raggedright\footnotesize\textbf{#1}}}
+
+\if@compatibility\else
+\DeclareOption{oneside}{\@twosidefalse \@mparswitchfalse}
+\fi
+\DeclareOption{twoside}{\@twosidetrue \@mparswitchtrue}
+\DeclareOption{draft}{\setlength\overfullrule{5pt}}
+\if@compatibility\else
+\DeclareOption{final}{\setlength\overfullrule{0pt}}
+\fi
+\DeclareOption{titlepage}{\@titlepagetrue}
+\if@compatibility\else
+\DeclareOption{notitlepage}{\@titlepagefalse}
+\fi
+\if@compatibility\else
+\DeclareOption{onecolumn}{\@twocolumnfalse}
+\fi
+\DeclareOption{twocolumn}{\@twocolumntrue}
+
+\newif\if@letterp@per
+\DeclareOption{letterpaper}{\@letterp@pertrue}
+
+\newif\if@review
+\DeclareOption{review}{\@reviewtrue}
+
+\DeclareOption{leqno}{\input{leqno.clo}}
+\DeclareOption{fleqn}{\input{fleqn.clo}}
+\DeclareOption{openbib}{%
+ \AtEndOfPackage{%
+ \renewcommand\@openbib@code{%
+ \advance\leftmargin\bibindent
+ \itemindent -\bibindent
+ \listparindent \itemindent
+ \parsep \z@
+ }%
+ \renewcommand\newblock{\par}}%
+}
+\ExecuteOptions{twoside,onecolumn,final}%article.cls settings -- letterpaper,10pt,oneside,
+\ProcessOptions
+
+\normalsize
+
+\setlength\lineskip{1\p@}
+\setlength\normallineskip{1\p@}
+\renewcommand\baselinestretch{}
+\setlength\parskip{0\p@}
+\@lowpenalty 51
+\@medpenalty 151
+\@highpenalty 301
+\setlength\parindent{12pt}
+
+\setcounter{topnumber}{1}
+\renewcommand\topfraction{.9}
+\setcounter{bottomnumber}{1}
+\renewcommand\bottomfraction{.9}
+\setcounter{totalnumber}{4}
+\renewcommand\textfraction{.05}
+\renewcommand\floatpagefraction{.95}
+\setcounter{dbltopnumber}{1}
+\renewcommand\dbltopfraction{.9}
+\renewcommand\dblfloatpagefraction{.9}
+
+ \setlength\floatsep{10.5\p@ \@plus 10.5\p@ \@minus 3\p@}% between stacked floats
+ \setlength\textfloatsep{25\p@ \@plus 13\p@ \@minus 8\p@}% between text and float
+ \setlength\intextsep{13\p@ \@plus 7\p@ \@minus 2\p@}% above and below float when [h] is used
+ \setlength\dblfloatsep{10.5\p@ \@plus 10.5\p@ \@minus 3\p@}% between stacked double-column floats
+\setlength\dbltextfloatsep{25\p@ \@plus 13\p@ \@minus 8\p@}% between text and double-column float
+
+
+% for floats on a separate float page or column:
+
+% one-column mode or single-column floats in two-column mode:
+\@fpsep 13pt plus 0.5fil
+% centre on page
+\@fptop 0pt plus 1fil
+\@fpbot 0pt plus 1fil
+
+% double-column floats in two-column mode.
+\@dblfptop 0pt plus 0fil
+\@dblfpsep 13pt plus 0.5fil
+\@dblfpbot 0pt plus 3fil
+
+
+\newcommand\volume[1]{\gdef\@volume{#1}}
+\gdef\@volume{00}
+
+\newcommand\issueno[1]{\gdef\@issueno{#1}}
+\gdef\@issueno{0}
+
+\newcommand\articleref[1]{\def\@articleref{#1}}
+\edef\@articleref{00000}
+
+\newcommand\dispatch[1]{\def\@dispatch{#1}}
+\edef\@dispatch{01.01.20XX}
+
+\newcommand\noofpages[1]{\def\@noofpages{#1}}
+\edef\@noofpages{00}
+
+\newcommand\journal[1]{\gdef\@journal{#1}}
+\gdef\@journal{Canadian Journal of Economics / \textit{Revue canadienne d'\'economique} \@pubyear~\@volume(\@issueno)}
+
+\newcommand\monthyearen[1]{\gdef\@monthyearen{#1}}
+\gdef\@monthyearen{January 20XX}
+
+\newcommand\monthyearfr[1]{\gdef\@monthyearfr{#1}}
+\gdef\@monthyearfr{Janvier 20XX}
+
+\newcommand\issn[1]{\gdef\@issn{#1}}
+\gdef\@issn{0000-0000}
+
+\newcommand\pubyear[1]{\def\@pubyear{#1}}
+\edef\@pubyear{20XX}
+
+
+\if@letterp@per
+ \setlength\textheight{53\baselineskip}% was 59
+\else
+ \setlength\textheight{43\baselineskip}
+\fi
+\addtolength\textheight{\topskip}
+
+
+\if@review
+ \setlength\textheight{53\baselineskip}% letterpaper length / was 59
+% \addtolength\textheight{2\topskip}
+ \onecolumn
+ \usepackage{lineno}% line numbering package
+ \linenumbers% use continuous numbering
+ %
+ % increase all baselineskips by 2
+ %
+ \renewcommand\small{%
+ \@setfontsize\small\@ixpt{20}%\@xpt
+ \abovedisplayskip 10\p@ \@plus 10\p@ \@minus 2\p@
+ \belowdisplayskip \abovedisplayskip
+ \abovedisplayshortskip 6\p@ \@plus 6\p@
+ \belowdisplayshortskip \abovedisplayshortskip
+ }
+ \renewcommand\indexsize{\@setfontsize\indexsize\@viiipt{18}}%\@ixpt}
+ \renewcommand\scriptsize{\@setfontsize\scriptsize\@viipt{16}}%\@viiipt}
+ \renewcommand\tiny{\@setfontsize\tiny\@vpt{12}}%\@vipt}
+ \renewcommand\captionsize{\@setfontsize\captionsize\@viiipt{18}}%fig and table captions (8/9)
+ \renewcommand\smaller{\@setfontsize\smaller\@viiipt{18}}%\@xpt}% for entries in tables (8/9)
+ \renewcommand\footnotesize{\@setfontsize\footnotesize\@viiipt{18}}%8/9
+ \renewcommand\abstractsize{\@setfontsize\abstractsize\@ixpt{20}}%abstractsize (9/10)
+ \renewcommand\sectionsize{\@setfontsize\sectionsize\@xpt{24}}%section heads (10/12)
+ \renewcommand\large{\@setfontsize\large\@xiiiptvpt{33}}%{16.5}}%not used
+ \renewcommand\Large{\@setfontsize\Large\@xiipt{28}}%new!
+ \renewcommand\LARGE{\@setfontsize\LARGE\@xviiipt{48}}%new!
+ \renewcommand\huge{\@setfontsize\huge\@xxpt{50}}%{25}}
+ \renewcommand\Huge{\@setfontsize\Huge\@xxvpt{60}}%{30}}
+ %
+ \renewcommand\normalsize{%
+ \@setfontsize\normalsize{10pt}{24}%
+ \abovedisplayskip 12\p@ \@plus 12\p@ \@minus 2\p@
+ \belowdisplayskip \abovedisplayskip
+ \abovedisplayshortskip 6\p@ \@plus 6\p@
+ \belowdisplayshortskip \abovedisplayshortskip
+ }
+ %
+ \normalsize
+\fi
+
+\if@proof
+ \usepackage{lineno}% line numbering package
+ \linenumbers% use continuous numbering
+\fi
+
+\mark{{}{}}
+
+\newcommand\authors[1]{\gdef\@shortauthor{#1}\relax}
+
+\newcommand\authorone[2]{\gdef\@authorone
+ {\Large\centering #1\\%
+ \normalsize\centering\textit{#2\strut}\\[4pt]}%
+}
+
+\newcommand\authortwo[2]{\gdef\@authortwo
+ {\Large\centering #1\\%
+ \normalsize\centering\textit{#2\strut}\\[4pt]}%
+}
+
+\newcommand\authorthree[2]{\gdef\@authorthree
+ {\Large\centering #1\\%
+ \normalsize\centering\textit{#2\strut}\\[4pt]}%
+}
+
+\newcommand\authorfour[2]{\gdef\@authorfour
+ {\Large\centering #1\\%
+ \normalsize\centering\textit{#2\strut}\\[4pt]}%
+}
+
+\newcommand\authorfive[2]{\gdef\@authorfive
+ {\Large\centering #1\\%
+ \normalsize\centering\textit{#2\strut}\\[4pt]}%
+}
+
+\newcommand\authorsix[2]{\gdef\@authorsix
+ {\Large\centering #1\\%
+ \normalsize\centering\textit{#2\strut}\\[4pt]}%
+}
+
+\newcommand\authorseven[2]{\gdef\@authorseven
+ {\Large\centering #1\\%
+ \normalsize\centering\textit{#2\strut}\\[4pt]}%
+}
+
+\newcommand\authoreight[2]{\gdef\@authoreight
+ {\Large\centering #1\\%
+ \normalsize\centering\textit{#2\strut}\\[4pt]}%
+}
+
+\newcommand\authornine[2]{\gdef\@authornine
+ {\Large\centering #1\\%
+ \normalsize\centering\textit{#2\strut}\\[4pt]}%
+}
+
+\newcommand\authorten[2]{\gdef\@authorten
+ {\Large\centering #1\\%
+ \normalsize\centering\textit{#2\strut}\\[4pt]}%
+}
+
+%------------------
+
+\gdef\@authorone{\mbox{}}
+\gdef\@authortwo{\mbox{}}
+\gdef\@authorthree{\mbox{}}
+\gdef\@authorfour{\mbox{}}
+\gdef\@authorfive{\mbox{}}
+\gdef\@authorsix{\mbox{}}
+\gdef\@authorseven{\mbox{}}
+\gdef\@authoreight{\mbox{}}
+\gdef\@authornine{\mbox{}}
+\gdef\@authorten{\mbox{}}
+
+\newcommand\shortauthor[1]{\gdef\@shortauthor{#1}}
+\gdef\@shortauthor{}
+
+\renewcommand\title{\@ifnextchar [{\@titletwo}{\@titleone}}
+\def\@titletwo[#1]#2{\gdef\@title{#2}\gdef\@shorttitle{#1}}
+\def\@titleone#1{\gdef\@title{#1}\gdef\@shorttitle{#1}}
+\gdef\@title{\mbox{}}
+
+\newcommand\shorttitle[1]{\gdef\@shorttitle{#1}}
+\gdef\@shorttitle{}
+
+% add catchline to titlepage using 'proof' option
+\if@proof
+ \def\ps@titlepage{\leftskip\z@\let\@mkboth\@gobbletwo\vfuzz=5\p@
+ \def\@oddhead{}%
+ \def\@evenhead{}%
+ \def\@oddfoot{\vbox to 45pt{\vfill%
+ {\footnotesize ISSN:~\@issn~/~\@pubyear~/~pp.\,\pageref{firstpage}--\pageref{lastpage} /
+ \copyright~Canadian Economics Association\hfill\\ \textbf{CAJE / Article ref: \@articleref~/
+ Dispatch date: \@dispatch~/ No. of pages: \@noofpages}}}}
+ \let\@evenfoot\@oddfoot
+ \def\sectionmark##1{}%
+ \def\subsectionmark##1{}%
+ }%
+\else
+ \def\ps@titlepage{\leftskip\z@\let\@mkboth\@gobbletwo\vfuzz=5\p@
+ \def\@oddhead{}%
+ \def\@evenhead{}%
+ \def\@oddfoot{%
+ {\footnotesize ISSN:~\@issn~/~\@pubyear~/~pp.\,\pageref{firstpage}--\pageref{lastpage} /
+ \copyright~Canadian Economics Association\hfill}}
+ \let\@evenfoot\@oddfoot
+ \def\sectionmark##1{}%
+ \def\subsectionmark##1{}%
+ }%
+\fi
+
+% add catchline to rest of pages using 'proof' option
+\if@proof
+ \def\ps@headings{\let\@mkboth\markboth
+ \def\@oddhead{\normalsize\normalfont{\hfill\itshape\@shorttitle\quad\normalfont\thepage}}%
+ \def\@evenhead{\thepage\quad\@shortauthor\hfill}%
+ \def\@oddfoot{\hfill\normalfont\footnotesize\@journal}
+ \def\@evenfoot{\normalfont\footnotesize\@journal\hfill}%
+ \def\sectionmark##1{\markboth{##1}{}}%
+ \def\subsectionmark##1{\markright{##1}}%
+ }%
+\else
+ \def\ps@headings{\let\@mkboth\markboth
+ \def\@oddhead{\normalsize\normalfont{\hfill\itshape\@shorttitle\quad\normalfont\thepage}}%
+ \def\@evenhead{\thepage\quad\@shortauthor\hfill}%
+ \def\@oddfoot{\hfill\normalfont\footnotesize\@journal}
+ \def\@evenfoot{\normalfont\footnotesize\@journal\hfill}%
+ \def\sectionmark##1{\markboth{##1}{}}%
+ \def\subsectionmark##1{\markright{##1}}%
+ }%
+\fi
+
+\def\ps@myheadings{%
+ \let\@oddfoot\@empty\let\@evenfoot\@empty
+ \def\@evenhead{\thepage\hfil\slshape\leftmark}%
+ \def\@oddhead{{\slshape\rightmark}\hfil\thepage}%
+ \let\@mkboth\@gobbletwo
+ \let\sectionmark\@gobble
+ \let\subsectionmark\@gobble
+}
+
+\newcommand\@raggedright{\rightskip=\@flushglue \let\\=\@centercr
+ \parindent\z@}
+\newcommand\@raggedcenter{\centering\rightskip=\@flushglue
+ \let\\=\@centercr}
+
+\def\tabular{\def\@halignto{}
+ \def\hline{\noalign{\ifnum0=`}\fi
+ \vskip 6pt
+% \hrule \@height \arrayrulewidth
+ \if@tablestar
+ {\hbox to \textwidth{\hrulefill}}%
+ \else
+ {\hbox to \textwidth{\hrulefill}}%
+ \fi
+ \vskip 6pt%
+ \futurelet \@tempa\@xhline}
+%
+% double-thick rule (0.8pt)
+\def\doublehrulefill{\leavevmode\leaders\hrule height 0.8pt\hfill\kern\z@}
+%
+ \def\finalhline{\noalign{\ifnum0=`}\fi
+ \vskip 6pt
+% \hrule \@height \arrayrulewidth
+ {\hbox to \textwidth{\doublehrulefill}}
+ \vskip 6pt
+ \futurelet \@tempa\@xhline}
+%
+ \def\@xhline{\ifx\@tempa\hline
+ \vskip -12pt
+ \vskip \doublerulesep
+ \fi
+ \ifnum0=`{\fi}}
+ \def\@arrayrule{\@addtopreamble{\hskip -.5\arrayrulewidth
+% \vrule \@width \arrayrulewidth
+ \hskip .5\arrayrulewidth}}
+\@tabular
+}
+
+% equations, 12pt indent
+\newdimen\eqn@indent
+\eqn@indent=12pt
+
+\def\[{\relax\ifmmode\@badmath\else\topsep 0.5\baselineskip\begin{trivlist}\item[]\leavevmode
+ \hbox to\linewidth\bgroup$ \displaystyle \hskip\eqn@indent\bgroup\fi}
+\def\]{\relax\ifmmode \egroup $\hfil \egroup \end{trivlist}%
+ \else \@badmath \fi}
+
+\def\equation{\refstepcounter{equation}\topsep 0.5\baselineskip\trivlist \item[]\leavevmode
+ \hbox to\linewidth\bgroup $ \displaystyle \hskip\eqn@indent}
+\def\endequation{$\hfil \displaywidth\linewidth\@eqnnum\egroup \endtrivlist}
+
+
+%remove extra space around alignments
+\renewcommand\eqnarray{%
+ \stepcounter{equation}%
+ \def\@currentlabel{\p@equation\theequation}%
+ \global\@eqnswtrue
+ \m@th
+ \global\@eqcnt\z@%Y
+ \tabskip\eqn@indent%Y
+ \let\\=\@eqncr%Y
+ \topsep 0.5\baselineskip
+ \abovedisplayskip\topsep\ifvmode\advance\abovedisplayskip\partopsep\fi
+ \belowdisplayskip\abovedisplayskip
+ \belowdisplayshortskip\abovedisplayskip
+ \abovedisplayshortskip\abovedisplayskip
+ $$\halign to \linewidth\bgroup
+ \@eqnsel\hskip\@centering$\displaystyle\tabskip\z@{##}$
+ &\global\@eqcnt\@ne \hskip 0.75\arraycolsep \hfil${\mskip-8mu##\mskip-3mu}$\hfil%space closed around operator
+ &\global\@eqcnt\tw@ \hskip 0.75\arraycolsep $\displaystyle{##}$\hfil%space closed around operator
+ \tabskip\@centering&\llap{##}\tabskip\z@\cr}
+\def\endeqnarray{\@@eqncr\egroup
+ \global\advance\c@equation\m@ne$$\global\@ignoretrue}%
+
+% THEOREM
+%
+% let theorems be handled by amsthm.sty
+%
+% PROOFs
+%
+% let proofs be handled by amsthm.sty
+
+\newenvironment{proof*}[1][\proofname]{\par
+ \pushQED{}%{\qed}%
+ \normalfont \topsep6\p@\@plus6\p@\relax
+ \trivlist
+ \item[\hskip\labelsep
+ \itshape
+ #1\@addpunct{.}]\ignorespaces
+}{%
+ \popQED\endtrivlist\@endpefalse
+}
+
+% this allows proof boxes to be right-aligned in \[ ... \]
+\newcommand\equationqed[1]{\hbox to\textwidth{%
+ $\displaystyle #1$\hfil\llap{\qedsymbol}\hskip\eqn@indent}}
+
+% this allows proof boxes to be right-aligned in eqnarrays
+\newcommand\arrayqed{\arrayqedtrue}
+\newcommand\arrayqedhere{\arrayqedfalse}
+\newif\ifarrayqed
+
+\def\@@eqncr{\let\reserved@a\relax
+ \ifcase\@eqcnt \def\reserved@a{& & &}\or \def\reserved@a{& &}%
+ \or \def\reserved@a{&}\else
+ \let\reserved@a\@empty
+ \@latex@error{Too many columns in eqnarray environment}\@ehc\fi
+ \reserved@a
+ \if@eqnsw
+ \ifarrayqed
+ \qedsymbol%
+ \else
+ \@eqnnum\stepcounter{equation}%
+ \fi
+ \fi
+ \global\@eqnswtrue\global\@eqcnt\z@\cr}
+%------------------
+
+
+\if@titlepage
+ \newcommand\maketitle{\begin{titlepage}%
+ \let\footnotesize\small
+ \let\footnoterule\relax
+ \let \footnote \thanks
+ \null\vfil
+ \vskip 60\p@
+ \begin{center}%
+ {\LARGE \@title \par}%
+ \vskip 3em%
+ {\large
+ \lineskip .75em%
+ \begin{tabular}[t]{c}%
+ \@author
+ \end{tabular}\par}%
+ \vskip 1.5em%
+ {\large \@date \par}% % Set date in \large size.
+ \end{center}\par
+ \@thanks
+ \vfil\null
+ \end{titlepage}%
+ \setcounter{footnote}{0}%
+ \global\let\thanks\relax
+ \global\let\maketitle\relax
+ \global\let\@thanks\@empty
+ \global\let\@author\@empty
+ \global\let\@date\@empty
+ \global\let\@title\@empty
+ \global\let\title\relax
+ \global\let\authorone\relax
+ \global\let\authortwo\relax
+ \global\let\authorthree\relax
+ \global\let\authorfour\relax
+ \global\let\authorfive\relax
+ \global\let\authorsix\relax
+ \global\let\authorseven\relax
+ \global\let\authoreight\relax
+ \global\let\authornine\relax
+ \global\let\authorten\relax
+ \global\let\date\relax
+ \global\let\and\relax
+}
+\else
+\newcommand\maketitle{\par
+ \begingroup
+ \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
+ \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
+ \long\def\@makefntext##1{%\parindent 1em
+ \noindent
+% \hb@xt@1.8em{%
+% \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
+ {\@textsuperscript{\normalfont\@thefnmark}}##1}%
+ \if@twocolumn
+ \ifnum \col@number=\@ne
+ \@maketitle
+ \else
+ \twocolumn[\@maketitle]%
+ \fi
+ \else
+ \newpage
+ \global\@topnum\z@ % Prevents figures from going at top of page.
+ \@maketitle
+ \fi
+ \thispagestyle{titlepage}\@thanks
+ \endgroup
+ \setcounter{footnote}{0}%
+ \global\let\thanks\relax
+ \global\let\maketitle\relax
+ \global\let\@maketitle\relax
+ \global\let\@thanks\@empty
+ \global\let\@author\@empty
+ \global\let\@date\@empty
+ \global\let\@title\@empty
+ \global\let\title\relax
+ \global\let\author\relax
+ \global\let\date\relax
+ \global\let\and\relax
+}
+\def\@maketitle{%
+ \newpage
+ \null
+ \vspace*{-12\p@}%-8
+ {\let \footnote \thanks
+ \sloppy
+ {\raggedright\normalfont\LARGE\@title\par}%
+ \vskip 12\p@ \@plus 2\p@ \@minus 1\p@
+ {\noindent\@authorone}%
+ {\noindent\@authortwo}%
+ {\noindent\@authorthree}%
+ {\noindent\@authorfour}%
+ {\noindent\@authorfive}%
+ {\noindent\@authorsix}%
+ {\noindent\@authorseven}%
+ {\noindent\@authoreight}%
+ {\noindent\@authornine}%
+ {\noindent\@authorten}%
+ \vskip 5\p@ \@plus 2\p@ \@minus 1\p@
+ \par}%
+ \vskip 8\p@ \@plus 2\p@ \@minus 1\p@
+% abstract
+ {\abstractsize\rmfamily
+ \list{}{\leftmargin0\p@ \rightmargin\leftmargin
+ \parsep\z@ \@plus 1\p@ \listparindent\parindent}%
+ \item[]{\normalfont\textit{Abstract}.}\enskip\ignorespaces \@abstract\par\ignorespaces}%
+ \endlist
+ \vspace{10pt}%baselineskip (9/10)
+% resume
+ {\abstractsize\rmfamily
+ \list{}{\leftmargin0\p@ \rightmargin\leftmargin
+ \parsep\z@ \@plus 1\p@ \listparindent\parindent}%
+ \item[]{\normalfont\textit{R\'esum\'e}.}\enskip\ignorespaces \@resume\par\ignorespaces}%
+ \endlist
+ \mbox{}\par
+% JEL
+ {\normalsize\rmfamily
+ \list{}{\leftmargin0\p@ \rightmargin\leftmargin
+ \parsep\z@ \@plus 1\p@ \listparindent\parindent}%
+ \item[]{}\ignorespaces\normalfont{JEL classification:}\enskip\ignorespaces\@JEL\par\ignorespaces}%
+ \endlist
+ \vskip 30\p@ \@plus 10\p@ \@minus 2\p@
+% acknowledgements footer1
+ \footnotetext{\vbox{%
+ \footnotesize\rmfamily\list{}{\leftmargin12\p@ \rightmargin0\p@
+ \parsep\z@ \@plus 1\p@ \listparindent\parindent}%
+ \item[]{}\raggedright\ignorespaces\mbox{}\@acknowledgements\par\ignorespaces}%
+ \endlist}%
+% printedinCanada footer2,
+ % lines 1 and 2 / scriptsize 7/8?
+ % line 3 / copyright line 9pt (abstractsize)
+ \footnotetext{\vbox{\mbox{}\\*[3pt]%
+ \normalfont\footnotesize\@journal\\
+ \@monthyearen. Printed in Canada / \textit{\@monthyearfr. Imprim\'e au Canada}%\\[10pt]
+ }}%
+}
+\fi
+
+\setcounter{secnumdepth}{3}
+\newcounter {part}
+\newcounter {section}
+\newcounter {subsection}[section]
+\newcounter {subsubsection}[subsection]
+\newcounter {paragraph}[subsubsection]
+\newcounter {subparagraph}[paragraph]
+\renewcommand \thepart {\@Roman\c@part}
+\renewcommand \thesection {\@arabic\c@section}
+\renewcommand\thesubsection {\thesection.\@arabic\c@subsection}
+\renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection}
+\renewcommand\theparagraph {\thesubsubsection.\@arabic\c@paragraph}
+\renewcommand\thesubparagraph {\theparagraph.\@arabic\c@subparagraph}
+\newcommand\part{%
+ \if@noskipsec \leavevmode \fi
+ \par
+ \addvspace{4ex}%
+ \@afterindentfalse
+ \secdef\@part\@spart}
+
+\def\@part[#1]#2{%
+ \ifnum \c@secnumdepth >\m@ne
+ \refstepcounter{part}%
+ \addcontentsline{toc}{part}{\thepart\hspace{1em}#1}%
+ \else
+ \addcontentsline{toc}{part}{#1}%
+ \fi
+ {\parindent \z@ \raggedright
+ \interlinepenalty \@M
+ \normalfont
+ \ifnum \c@secnumdepth >\m@ne
+ \Large\bfseries \partname\nobreakspace\thepart
+ \par\nobreak
+ \fi
+ \huge \bfseries #2%
+ \markboth{}{}\par}%
+ \nobreak
+ \vskip 3ex
+ \@afterheading}
+\def\@spart#1{%
+ {\parindent \z@ \raggedright
+ \interlinepenalty \@M
+ \normalfont
+ \huge \bfseries #1\par}%
+ \nobreak
+ \vskip 3ex
+ \@afterheading}
+
+\newcommand\section{%
+ \@startsection{section}{1}{\z@}%
+ {-18pt\@plus -6pt\@minus -3pt}%
+ {6pt}%
+ {\normalfont\sectionsize\bfseries\@raggedright}}
+
+\newcommand\subsection{%
+ \@startsection{subsection}{2}{\z@}%
+ {-12pt\@plus -6pt \@minus -3pt}%
+ {0.001pt}%
+ {\normalfont\sectionsize\bfseries\itshape\@raggedright}}
+
+\newcommand\subsubsection{%
+ \@startsection{subsubsection}{3}{\z@}%
+ {-12pt\@plus -6pt \@minus -3pt}%
+ {0.001pt}%
+ {\normalfont\sectionsize\itshape\@raggedright}}
+
+\newcommand\paragraph{%
+ \@startsection{paragraph}{4}{\z@}%
+ {-12pt\@plus -6pt \@minus -3pt}%
+ {0.001pt}%
+ {\normalfont\sectionsize\itshape\@raggedright}}
+
+\newcommand\subparagraph{%
+ \@startsection{subparagraph}{5}{\z@}%
+ {12pt\@plus 6pt \@minus 3pt}%
+ {-1em}%
+ {\normalfont\sectionsize\itshape}}
+
+\def\@secappcntformat#1{%
+ \ifappendix \appendixname
+ \ifoneappendix %no 'A'
+ \else
+ ~\fi
+ \fi
+ \ifoneappendix\else
+ \csname the#1\endcsname\relax
+ \fi
+ \ifx\apphe@d\@empty
+ \else
+ \ifappendix :%
+ \else .%
+ \fi
+ \fi
+ \enskip
+}
+
+% change format of numbers to match text
+% \@sect{1NAME}{2LEVEL}{3INDENT}{4BEFORESKIP}{5AFTERSKIP}{6STYLE}[ARG1]{ARG2}
+\def\@sect#1#2#3#4#5#6[#7]#8{% FROM LATEX.LTX
+ \ifnum #2=1
+ \def\@seccntformat##1{\normalfont\bfseries\csname the##1\endcsname.\enskip }
+ \else
+ \ifnum #2=2
+ \def\@seccntformat##1{\normalfont\bfseries\itshape\csname the##1\endcsname.\enskip }
+ \else
+ \ifnum #2=3
+ \def\@seccntformat##1{\normalfont\itshape\csname the##1\endcsname.\enskip }
+ \else
+ \def\@seccntformat##1{\normalfont\itshape\csname the##1\endcsname.\enskip }
+ \fi
+ \fi
+ \fi
+ \ifnum #2>\c@secnumdepth
+ \let\@svsec\@empty
+ \else
+ \refstepcounter{#1}%
+ \ifnum #2>\@ne
+ \protected@edef\@svsec{\@seccntformat{#1}\relax}%
+ \else
+ \def\apphe@d{#8}%
+ \protected@edef\@svsec{\@secappcntformat{#1}\relax}%
+ \fi
+ \fi
+ \@tempskipa #5\relax
+ \ifdim \@tempskipa>\z@
+ \begingroup
+ #6{%
+ \@hangfrom{\hskip #3\relax\@svsec}%
+ \interlinepenalty \@M #8\@@par}%
+ \endgroup
+ \csname #1mark\endcsname{#7}%
+ \ifnum #2=\@ne
+ \addcontentsline{toc}{#1}{%
+ \ifnum #2>\c@secnumdepth \else
+ \ifappendix \appendixname~\csname the#1\endcsname
+ \else \protect\numberline{\csname the#1\endcsname.}#7\fi
+ \fi}%
+ \else
+ \addcontentsline{toc}{#1}{%
+ \ifnum #2>\c@secnumdepth \else
+ \protect\numberline{\csname the#1\endcsname.}#7\fi}%
+ \fi
+ \else
+ \def\@svsechd{%
+ #6{\hskip #3\relax
+ \@svsec #8}%
+ \csname #1mark\endcsname{#7}%
+ \addcontentsline{toc}{#1}{%
+ \ifnum #2>\c@secnumdepth \else
+ \protect\numberline{\csname the#1\endcsname.}%
+ \fi
+ #7}}%
+ \fi
+ \@xsect{#5}}
+
+\if@twocolumn
+ \setlength\leftmargini {14pt}
+\else
+ \setlength\leftmargini {14pt}
+\fi
+\leftmargin \leftmargini
+\setlength\leftmarginii {2.2em}
+\setlength\leftmarginiii {1.87em}
+\setlength\leftmarginiv {1.7em}
+\if@twocolumn
+ \setlength\leftmarginv {.5em}
+ \setlength\leftmarginvi {.5em}
+\else
+ \setlength\leftmarginv {1em}
+ \setlength\leftmarginvi {1em}
+\fi
+\setlength \labelsep {.5em}
+\setlength \labelwidth{\leftmargini}
+\addtolength\labelwidth{-\labelsep}
+\@beginparpenalty -\@lowpenalty
+\@endparpenalty -\@lowpenalty
+\@itempenalty -\@lowpenalty
+\renewcommand\theenumi{\@arabic\c@enumi}
+\renewcommand\theenumii{\@alph\c@enumii}
+\renewcommand\theenumiii{\@roman\c@enumiii}
+\renewcommand\theenumiv{\@Alph\c@enumiv}
+\newcommand\labelenumi{\theenumi.}
+\newcommand\labelenumii{(\theenumii)}
+\newcommand\labelenumiii{\theenumiii.}
+\newcommand\labelenumiv{\theenumiv.}
+\renewcommand\p@enumii{\theenumi}
+\renewcommand\p@enumiii{\theenumi(\theenumii)}
+\renewcommand\p@enumiv{\p@enumiii\theenumiii}
+\newcommand\labelitemi{\raisebox{1pt}{$\scriptstyle\bullet$}}
+\newcommand\labelitemii{\bfseries --}
+\newcommand\labelitemiii{$\circ$}
+\newcommand\labelitemiv{$\diamond$}
+
+\newcommand\makeitemlabel[1]{\hspace\labelwidth\hspace\labelsep\hfill #1}
+
+% ITEMIZE
+%
+\def\itemize{\ifnum \@itemdepth >3 \@toodeep \else
+ \advance\@itemdepth \@ne
+ \edef\@itemitem{labelitem\romannumeral\the\@itemdepth}%
+ \list{\csname\@itemitem\endcsname}%
+ {\topsep 0.5\baselineskip plus 3pt%
+ \def\makelabel##1{\hss\llap{##1}}}
+ \fi
+}
+
+% ENUMERATE -- with optional argument to set left margin
+% DEFAULT is arabic numbering with full point
+
+\def\makeRRlabel#1{\hss\llap{#1}}
+
+\newbox\@dotbox
+\setbox\@dotbox\hbox{.}%
+\def\enumerate{\ifnum \@enumdepth >3 \@toodeep \else
+ \advance\@enumdepth \@ne
+ \edef\@enumctr{enum\romannumeral\the\@enumdepth}%
+ \fi
+ \@ifnextchar [{\@enumeratetwo}{\@enumerateone}%
+}
+\def\@enumeratetwo[#1]{%
+ \list{\csname label\@enumctr\endcsname}%
+ {\settowidth\labelwidth{#1}%
+ \topsep 0.5\baselineskip plus 3pt%
+ \leftmargin\labelwidth \advance\leftmargin\labelsep
+ \usecounter{\@enumctr}%
+ \let\makelabel\makeRRlabel}%
+}
+\def\@enumerateone{%
+ \list{\csname label\@enumctr\endcsname}%
+ {\usecounter{\@enumctr}%
+ \topsep 0.5\baselineskip plus 3pt%
+ \leftmargin 0.5em% width of a digit
+ \advance\leftmargin\labelsep
+ \advance\leftmargin\wd\@dotbox
+ \let\makelabel\makeRRlabel}}
+
+\newcommand\usealpha{%
+ \renewcommand{\theenumi}{(\alph{enumi})}%
+ \renewcommand\labelenumi{\theenumi}%
+}
+
+\newcommand\useroman{%
+ \renewcommand{\theenumii}{(\roman{enumii})}%
+ \renewcommand\labelenumii{\theenumii}%
+}
+
+\newenvironment{description}
+ {\list{}{\topsep=0.5\baselineskip
+ \labelwidth\z@ \itemindent-\leftmargin
+ \let\makelabel\descriptionlabel}}
+ {\endlist}
+\newcommand*\descriptionlabel[1]{\hspace\labelsep
+ \normalfont\bfseries #1}
+
+\newenvironment{rmdescription}
+ {\list{}{\topsep=0.5\baselineskip
+ \labelwidth\z@ \itemindent-\leftmargin
+ \let\makelabel\rmdescriptionlabel}}
+ {\endlist}
+\newcommand*\rmdescriptionlabel[1]{\hspace\labelsep
+ \normalfont #1}
+
+
+\newcommand\abstract[1]{\long\gdef\@abstract{#1}}
+\gdef\@abstract{}
+
+\newcommand\resume[1]{\long\gdef\@resume{#1}}
+\gdef\@resume{}
+
+\newcommand\JEL[1]{\long\gdef\@JEL{#1}}
+\gdef\@JEL{}
+
+\newcommand\acknowledgements[1]{\long\gdef\@acknowledgements{#1}}
+\gdef\@acknowledgements{}
+
+% FOOTNOTES 8/9
+%
+\setlength\footnotesep{9\p@}
+\setlength{\skip\footins}{18\p@ \@plus 4\p@ \@minus 2\p@}% top of first footnote.
+
+\newskip\@footindent
+\@footindent=1em
+%
+%\renewcommand\footnoterule{\kern-3\p@ \hrule width 0\columnwidth \kern 2.6\p@}
+%
+% for footnotes (bottom of pages)
+\long\def\@makefntext#1{\raggedright\@setpar{\@@par\@tempdima \hsize
+ \advance\@tempdima-\@footindent
+ \parshape \@ne \@footindent \@tempdima}\par
+ \noindent \hbox to \z@{\hss\@thefnmark\enskip}#1}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+% MINIPAGE
+%
+
+\setlength{\skip\@mpfootins}{0\p@}% top of first minipage footnote.
+\def\thempfootnote{\alph{mpfootnote}}
+\def\@makempfnmark{\rlap{\hbox{$^{\@thefnmark}$}}}%rlap to stop footnotemark interfering with alignments
+%
+\long\def\@makempfntext#1{\raggedright\@setpar{\@@par\@tempdima \hsize
+ \advance\@tempdima-\@footindent
+ \parshape \@ne \@footindent \@tempdima}\par
+ \noindent \hbox to \z@{\hss${\@thefnmark}$\enskip}#1}
+%
+\def\@iiiminipage#1#2[#3]#4{% from latex.ltx
+ \leavevmode
+ \@pboxswfalse
+ \setlength\@tempdima{#4}%
+ \def\@mpargs{{#1}{#2}[#3]{#4}}%
+ \setbox\@tempboxa\vbox\bgroup
+ \color@begingroup
+ \hsize\@tempdima
+ \textwidth\hsize \columnwidth\hsize
+ \@parboxrestore
+ \def\@mpfn{mpfootnote}\def\thempfn{\thempfootnote}\c@mpfootnote\z@
+ \let\@makefnmark\@makempfnmark
+ \let\@footnotetext\@mpfootnotetext
+ \let\@listdepth\@mplistdepth \@mplistdepth\z@
+ \@minipagerestore\global\@minipagetrue
+ \everypar{\global\@minipagefalse\everypar{}}}
+
+\long\def\@mpfootnotetext#1{\global\setbox\@mpfootins
+ \vbox{\unvbox\@mpfootins
+ \footnotesize
+ \hsize\columnwidth \@parboxrestore
+ \edef\@currentlabel{\csname p@mpfootnote\endcsname\@thefnmark}
+ \@makempfntext{\rule{\z@}{\footnotesep}\ignorespaces #1\strut}}}
+
+% NOTES text in tables (always in minipages)
+\long\def\tablenote#1{%
+ \@footindent\z@\let\@thefnmark\relax
+ \global\setbox\@mpfootins
+ \vbox{\unvbox\@mpfootins
+ \footnotesize
+ \hsize\columnwidth \@parboxrestore
+ \edef\@currentlabel{\csname p@mpfootnote\endcsname\@thefnmark}
+ \@makempfntext{\rule{\z@}{\footnotesep}\ignorespaces #1\strut}}}
+
+\newenvironment{extract}
+ {\par\list{}{\abstractsize %9/10
+ \topsep\baselineskip
+ \listparindent 0pc%
+ \leftmargin 1pc%
+ \rightmargin\leftmargin
+ \parsep\z@\@plus\p@}%
+ \item\relax}
+ {\endlist}
+
+\newenvironment{epigraph}%flush left/right
+ {\par\list{}{\abstractsize %9/10
+ \topsep\baselineskip
+ \listparindent 0pc%
+ \leftmargin 0pc%
+ \rightmargin\leftmargin
+ \parsep\z@\@plus\p@}%
+ \item\relax}
+ {\endlist}
+
+\newcommand\epigraphauthor[1]{\mbox{}\\[0.5\baselineskip]\mbox{}\hfill --#1}
+
+\if@compatibility
+\newenvironment{titlepage}
+ {%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse\newpage
+ \fi
+ \thispagestyle{empty}%
+ \setcounter{page}\z@
+ }%
+ {\if@restonecol\twocolumn \else \newpage \fi
+ }
+\else
+\newenvironment{titlepage}
+ {%
+ \if@twocolumn
+ \@restonecoltrue\onecolumn
+ \else
+ \@restonecolfalse\newpage
+ \fi
+ \thispagestyle{empty}%
+ \setcounter{page}\@ne
+ }%
+ {\if@restonecol\twocolumn \else \newpage \fi
+ \if@twoside\else
+ \setcounter{page}\@ne
+ \fi
+ }
+\fi
+
+\newif\ifappendix
+\newif\ifoneappendix
+
+\newcommand\oneappendix{\global\oneappendixtrue\appendix}
+
+% all numbering in appendices to begin with 'A'
+% remove the thin space from equation numbers
+\newcommand\appendix{\par
+ \setcounter{section}\z@
+ \setcounter{equation}\z@
+ \setcounter{figure}\z@
+ \setcounter{table}\z@
+ \ifoneappendix% then we want A1. for subsection/A1.1. for subsubsection
+ \renewcommand\thesection{\@arabic\c@section}%
+ \renewcommand\thesubsection{A\@arabic\c@subsection}%
+ \renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection}%
+ \else%Appendix A1, Appendix A2, then we want A1 for subsection -- A1.1 for subsubsection
+ \renewcommand\thesection{A\@arabic\c@section}%
+ \renewcommand\thesubsection{A\@arabic\c@section}%
+ \renewcommand\thesubsubsection{A\@arabic\c@section.\@arabic\c@subsection}%
+ \fi
+ \renewcommand\theequation{A\@arabic\c@equation}%
+ \renewcommand\thefigure{A\@arabic\c@figure}%
+ \renewcommand\thetable{A\@arabic\c@table}%
+ \global\appendixtrue
+}
+
+\setlength\arraycolsep{5\p@}
+\setlength\tabcolsep{6\p@}
+\setlength\arrayrulewidth{.4\p@}
+\setlength\doublerulesep{2\p@}
+\setlength\tabbingsep{\labelsep}
+%\skip\@mpfootins = \skip\footins%defined above
+\setlength\fboxsep{3\p@}
+\setlength\fboxrule{.4\p@}
+\renewcommand \theequation {\@arabic\c@equation}
+\newcounter{figure}
+\renewcommand \thefigure {\@arabic\c@figure}
+\def\fps@figure{tbp}
+\def\ftype@figure{1}
+\def\ext@figure{lof}
+\def\fnum@figure{\figurename\nobreakspace\thefigure}
+\newenvironment{figure}
+ {\@float{figure}}
+ {\end@float}
+\newenvironment{figure*}
+ {\@dblfloat{figure}}
+ {\end@dblfloat}
+%\def\fstyle@figure{\normalfont\smaller\rmfamily}
+
+\newcounter{table}
+\renewcommand\thetable{\@arabic\c@table}
+\def\fps@table{tbp}
+\def\ftype@table{2}
+\def\ext@table{lot}
+\def\fnum@table{\tablename\nobreakspace\thetable}
+
+\def\fstyle@table{\normalfont\smaller\rmfamily}
+
+\newenvironment{table}
+ {\let\@makecaption=\make@table@caption\@float{table}\fstyle@table\setlength\footnotesep{8.5\p@}}% \fstyle@table NOT moved to \@xfloat
+ {\end@float}
+\newenvironment{table*}
+ {\@tablestartrue\@dblfloat{table}\fstyle@table}% \fstyle@table NOT moved to \@xdblfloat
+ {\end@dblfloat\@tablestarfalse}
+
+\newlength\abovecaptionskip
+\newlength\belowcaptionskip
+\setlength\abovecaptionskip{10\p@}
+\setlength\belowcaptionskip{0\p@}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\long\def\make@table@caption#1#2{%
+ \begin{tabular}{l}\finalhline\end{tabular}
+ \raggedright\captionsize\textrm{#1}\\* #2\par
+}
+
+%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+% figure captions
+\long\def\@makecaption#1#2{\raggedright\captionsize%
+ \vskip\abovecaptionskip
+ {\normalfont #1}\quad #2\par
+ \global \@minipagefalse
+ \hb@xt@\hsize{\box\@tempboxa\hfil}%
+ \vskip\belowcaptionskip}
+
+% to add NOTE to figure captions
+\newcommand\figurenote{\protect\\[2pt]}
+
+\DeclareOldFontCommand{\rm}{\normalfont\rmfamily}{\mathrm}
+\DeclareOldFontCommand{\sf}{\normalfont\sffamily}{\mathsf}
+\DeclareOldFontCommand{\tt}{\normalfont\ttfamily}{\mathtt}
+\DeclareOldFontCommand{\bf}{\normalfont\bfseries}{\mathbf}
+\DeclareOldFontCommand{\it}{\normalfont\itshape}{\mathit}
+\DeclareOldFontCommand{\sl}{\normalfont\slshape}{\@nomath\sl}
+\DeclareOldFontCommand{\sc}{\normalfont\scshape}{\@nomath\sc}
+\DeclareRobustCommand*\cal{\@fontswitch\relax\mathcal}
+\DeclareRobustCommand*\mit{\@fontswitch\relax\mathnormal}
+\newcommand\@pnumwidth{1.55em}
+\newcommand\@tocrmarg{2.55em}
+\newcommand\@dotsep{4.5}
+\setcounter{tocdepth}{3}
+\newcommand\tableofcontents{%
+ \section*{\contentsname
+ \@mkboth{%
+ \MakeUppercase\contentsname}{\MakeUppercase\contentsname}}%
+ \@starttoc{toc}%
+ }
+\newcommand*\l@part[2]{%
+ \ifnum \c@tocdepth >-2\relax
+ \addpenalty\@secpenalty
+ \addvspace{2.25em \@plus\p@}%
+ \setlength\@tempdima{3em}%
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ {\leavevmode
+ \large \bfseries #1\hfil \hb@xt@\@pnumwidth{\hss #2}}\par
+ \nobreak
+ \if@compatibility
+ \global\@nobreaktrue
+ \everypar{\global\@nobreakfalse\everypar{}}%
+ \fi
+ \endgroup
+ \fi}
+\newcommand*\l@section[2]{%
+ \ifnum \c@tocdepth >\z@
+ \addpenalty\@secpenalty
+ \addvspace{1.0em \@plus\p@}%
+ \setlength\@tempdima{1.5em}%
+ \begingroup
+ \parindent \z@ \rightskip \@pnumwidth
+ \parfillskip -\@pnumwidth
+ \leavevmode \bfseries
+ \advance\leftskip\@tempdima
+ \hskip -\leftskip
+ #1\nobreak\hfil \nobreak\hb@xt@\@pnumwidth{\hss #2}\par
+ \endgroup
+ \fi}
+\newcommand*\l@subsection{\@dottedtocline{2}{1.5em}{2.3em}}
+\newcommand*\l@subsubsection{\@dottedtocline{3}{3.8em}{3.2em}}
+\newcommand*\l@paragraph{\@dottedtocline{4}{7.0em}{4.1em}}
+\newcommand*\l@subparagraph{\@dottedtocline{5}{10em}{5em}}
+\newcommand\listoffigures{%
+ \section*{\listfigurename}%
+ \@mkboth{\MakeUppercase\listfigurename}%
+ {\MakeUppercase\listfigurename}%
+ \@starttoc{lof}%
+ }
+\newcommand*\l@figure{\@dottedtocline{1}{1.5em}{2.3em}}
+\newcommand\listoftables{%
+ \section*{\listtablename}%
+ \@mkboth{%
+ \MakeUppercase\listtablename}%
+ {\MakeUppercase\listtablename}%
+ \@starttoc{lot}%
+ }
+\let\l@table\l@figure
+
+% remove natbib Error
+\let\@listi\relax
+
+\newcommand\skiphalfline{\mbox{}\\[-0.5\baselineskip]}
+
+\newdimen\bibindent
+\setlength\bibindent{1.5em}
+\newcounter{dummy}
+
+% need to define thebibliography before cjenatbib.sty is called in
+\newenvironment{thebibliography}[1]{%
+ \par\vskip 20\p@ \@plus 1\p@ \@minus 1\p@
+ \section*{References}%
+ \nobreak
+ \vskip 4\p@ \@plus .5\p@ \@minus .5\p@
+ \nobreak
+ \list{}{\usecounter{dummy}\labelwidth\z@ \leftmargin 11.5pt\itemindent -11.5pt\itemsep 1\p@}%
+ \normalfont\captionsize \parindent\z@
+ \parskip\z@ \@plus .1\p@\relax
+ \sloppy\clubpenalty\z@ \widowpenalty\@M
+ \sfcode`\.\@m\relax
+ %\let\citeN\cite \let\shortcite\cite
+ %\let\citeasnoun\cite
+ }
+ {\vspace{\baselineskip}\endlist}
+
+\newcommand\newblock{\hskip .11em\@plus.33em\@minus.07em}
+\let\@openbib@code\@empty
+
+\newenvironment{theindex}
+ {\if@twocolumn
+ \@restonecolfalse
+ \else
+ \@restonecoltrue
+ \fi
+ \twocolumn[\section*{\indexname}]%
+ \@mkboth{\MakeUppercase\indexname}%
+ {\MakeUppercase\indexname}%
+ \thispagestyle{plain}\parindent\z@
+ \parskip\z@ \@plus .3\p@\relax
+ \columnseprule \z@
+ \columnsep 35\p@
+ \let\item\@idxitem}
+ {\if@restonecol\onecolumn\else\clearpage\fi}
+\newcommand\@idxitem{\par\hangindent 40\p@}
+\newcommand\subitem{\@idxitem \hspace*{20\p@}}
+\newcommand\subsubitem{\@idxitem \hspace*{30\p@}}
+\newcommand\indexspace{\par \vskip 10\p@ \@plus5\p@ \@minus3\p@\relax}
+
+\def\@fnsymbol#1{\ensuremath{\ifcase#1\or *\or \dagger\or \ddagger\or
+ \mathsection\or \mathparagraph\or \|\or **\or \dagger\dagger
+ \or \ddagger\ddagger \else\@ctrerr\fi}}
+
+\let\footnoterule\relax
+
+\def\thanks#1{\footnotemark
+ \protected@xdef\@thanks{\@thanks
+ \protect\footnotetext[\the\c@footnote]{#1}}%
+}
+
+
+\newcommand\contentsname{Contents}
+\newcommand\listfigurename{List of Figures}
+\newcommand\listtablename{List of Tables}
+\newcommand\refname{References} %included in natbib
+\newcommand\indexname{Index}
+\newcommand\figurename{FIGURE}
+\newcommand\tablename{TABLE}
+\newcommand\partname{Part}
+\newcommand\appendixname{Appendix}
+\newcommand\abstractname{ABSTRACT.}
+\def\today{\ifcase\month\or
+ January\or February\or March\or April\or May\or June\or
+ July\or August\or September\or October\or November\or December\fi
+ \space\number\day, \number\year}
+%\setlength\columnsep{10\p@}
+%\setlength\columnseprule{0\p@}
+
+\widowpenalty=10000 % avoid widows
+\clubpenalty=10000 % avoid orphans
+\hyphenpenalty=2500 % 10000 almost prevents hyphenation
+\pretolerance=3000 % 10000 gives infinite tolerance
+
+
+\pagestyle{headings}
+\pagenumbering{arabic}
+\frenchspacing % suppress extra space after punctuation
+\flushbottom
+\sloppy
+
+\endinput
diff --git a/Master/texmf-dist/tex/latex/cje/cjenatbib.sty b/Master/texmf-dist/tex/latex/cje/cjenatbib.sty
new file mode 100644
index 00000000000..d89f84e7038
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/cje/cjenatbib.sty
@@ -0,0 +1,838 @@
+%% This is file cjenatbib.sty.
+%% 2017/04/17 v1.01
+%% Lines changed from natbib.sty 2003/06/06 v7.1 are marked with %%ajw
+%%
+%% This is file `natbib.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% natbib.dtx (with options: `package,all')
+%% =============================================
+%% COPYRIGHT (c) 2017 Canadian Economics Association
+%%
+%% LICENSE
+%% =======
+%%
+%% This work can be distributed and/or modified under the conditions of the LaTeX Project Public License,
+%% either version 1.3 of this license or any later version. The latest version of this license is available at
+%% latex-project.org/lppl.txt. Version 1.3, or later, is part of all distributions of LaTeX version 2005/12/01 or later.
+%% This is a generated file.
+%%
+%% It may not be distributed without the original source file natbib.dtx.
+%%
+%% Full documentation can be obtained by LaTeXing that original file.
+%% Only a few abbreviated comments remain here to describe the usage.
+%% =============================================
+%% Copyright 1993-2003 Patrick W Daly
+%% Max-Planck-Institut f\"ur Aeronomie
+%% Max-Planck-Str. 2
+%% D-37191 Katlenburg-Lindau
+%% Germany
+%% E-mail: daly@linmpi.mpg.de
+\NeedsTeXFormat{LaTeX2e}[1995/06/01]
+\ProvidesPackage{cjenatbib}%%ajw
+ [2016/07/17 v1.00 CJE version of natbib.sty]%%ajw
+ % This package reimplements the LaTeX \cite command to be used for various
+ % citation styles, both author-year and numerical. It accepts BibTeX
+ % output intended for many other packages, and therefore acts as a
+ % general, all-purpose citation-style interface.
+ %
+ % With standard numerical .bst files, only numerical citations are
+ % possible. With an author-year .bst file, both numerical and
+ % author-year citations are possible.
+ %
+ % If author-year citations are selected, \bibitem must have one of the
+ % following forms:
+ % \bibitem[Jones et al.(1990)]{key}...
+ % \bibitem[Jones et al.(1990)Jones, Baker, and Williams]{key}...
+ % \bibitem[Jones et al., 1990]{key}...
+ % \bibitem[\protect\citeauthoryear{Jones, Baker, and Williams}{Jones
+ % et al.}{1990}]{key}...
+ % \bibitem[\protect\citeauthoryear{Jones et al.}{1990}]{key}...
+ % \bibitem[\protect\astroncite{Jones et al.}{1990}]{key}...
+ % \bibitem[\protect\citename{Jones et al., }1990]{key}...
+ % \harvarditem[Jones et al.]{Jones, Baker, and Williams}{1990}{key}...
+ %
+ % This is either to be made up manually, or to be generated by an
+ % appropriate .bst file with BibTeX.
+ % Author-year mode || Numerical mode
+ % Then, \citet{key} ==>> Jones et al. (1990) || Jones et al. [21]
+ % \citep{key} ==>> (Jones et al., 1990) || [21]
+ % Multiple citations as normal:
+ % \citep{key1,key2} ==>> (Jones et al., 1990; Smith, 1989) || [21,24]
+ % or (Jones et al., 1990, 1991) || [21,24]
+ % or (Jones et al., 1990a,b) || [21,24]
+ % \cite{key} is the equivalent of \citet{key} in author-year mode
+ % and of \citep{key} in numerical mode
+ % Full author lists may be forced with \citet* or \citep*, e.g.
+ % \citep*{key} ==>> (Jones, Baker, and Williams, 1990)
+ % Optional notes as:
+ % \citep[chap. 2]{key} ==>> (Jones et al., 1990, chap. 2)
+ % \citep[e.g.,][]{key} ==>> (e.g., Jones et al., 1990)
+ % \citep[see][pg. 34]{key}==>> (see Jones et al., 1990, pg. 34)
+ % (Note: in standard LaTeX, only one note is allowed, after the ref.
+ % Here, one note is like the standard, two make pre- and post-notes.)
+ % \citealt{key} ==>> Jones et al. 1990
+ % \citealt*{key} ==>> Jones, Baker, and Williams 1990
+ % \citealp{key} ==>> Jones et al., 1990
+ % \citealp*{key} ==>> Jones, Baker, and Williams, 1990
+ % Additional citation possibilities (both author-year and numerical modes)
+ % \citeauthor{key} ==>> Jones et al.
+ % \citeauthor*{key} ==>> Jones, Baker, and Williams
+ % \citeyear{key} ==>> 1990
+ % \citeyearpar{key} ==>> (1990)
+ % \citetext{priv. comm.} ==>> (priv. comm.)
+ % Note: full author lists depends on whether the bib style supports them;
+ % if not, the abbreviated list is printed even when full requested.
+ %
+ % For names like della Robbia at the start of a sentence, use
+ % \Citet{dRob98} ==>> Della Robbia (1998)
+ % \Citep{dRob98} ==>> (Della Robbia, 1998)
+ % \Citeauthor{dRob98} ==>> Della Robbia
+ %
+ %
+ % Citation aliasing is achieved with
+ % \defcitealias{key}{text}
+ % \citetalias{key} ==>> text
+ % \citepalias{key} ==>> (text)
+ %
+ % Defining the citation style of a given bib style:
+ % Use \bibpunct (in the preamble only) with 6 mandatory arguments:
+ % 1. opening bracket for citation
+ % 2. closing bracket
+ % 3. citation separator (for multiple citations in one \cite)
+ % 4. the letter n for numerical styles, s for superscripts
+ % else anything for author-year
+ % 5. punctuation between authors and date
+ % 6. punctuation between years (or numbers) when common authors missing
+ % One optional argument is the character coming before post-notes. It
+ % appears in square braces before all other arguments. May be left off.
+ % Example (and default) \bibpunct[, ]{(}{)}{;}{a}{,}{,}
+ %
+ % To make this automatic for a given bib style, named newbib, say, make
+ % a local configuration file, natbib.cfg, with the definition
+ % \newcommand{\bibstyle@newbib}{\bibpunct...}
+ % Then the \bibliographystyle{newbib} will cause \bibstyle@newbib to
+ % be called on THE NEXT LATEX RUN (via the aux file).
+ %
+ % Such preprogrammed definitions may be invoked in the text (preamble only)
+ % by calling \citestyle{newbib}. This is only useful if the style specified
+ % differs from that in \bibliographystyle.
+ %
+ % With \citeindextrue and \citeindexfalse, one can control whether the
+ % \cite commands make an automatic entry of the citation in the .idx
+ % indexing file. For this, \makeindex must also be given in the preamble.
+ %
+ % LaTeX2e Options: (for selecting punctuation)
+ % round - round parentheses are used (default)
+ % square - square brackets are used [option]
+ % curly - curly braces are used {option}
+ % angle - angle brackets are used <option>
+ % colon - multiple citations separated by colon (default)
+ % comma - separated by comma
+ % authoryear - selects author-year citations (default)
+ % numbers- selects numerical citations
+ % super - numerical citations as superscripts
+ % sort - sorts multiple citations according to order in ref. list
+ % sort&compress - like sort, but also compresses numerical citations
+ % longnamesfirst - makes first citation full author list
+ % sectionbib - puts bibliography in a \section* instead of \chapter*
+ % Punctuation so selected dominates over any predefined ones.
+ % LaTeX2e options are called as, e.g.
+ % \usepackage[square,comma]{natbib}
+ % LaTeX the source file natbib.dtx to obtain more details
+ % or the file natnotes.tex for a brief reference sheet.
+ %-----------------------------------------------------------
+\@ifclassloaded{aguplus}{\PackageError{natbib}
+ {The aguplus class already includes natbib coding,\MessageBreak
+ so you should not add it explicitly}
+ {Type <Return> for now, but then later remove\MessageBreak
+ the command \protect\usepackage{natbib} from the document}
+ \endinput}{}
+\@ifclassloaded{nlinproc}{\PackageError{natbib}
+ {The nlinproc class already includes natbib coding,\MessageBreak
+ so you should not add it explicitly}
+ {Type <Return> for now, but then later remove\MessageBreak
+ the command \protect\usepackage{natbib} from the document}
+ \endinput}{}
+\@ifclassloaded{egs}{\PackageError{natbib}
+ {The egs class already includes natbib coding,\MessageBreak
+ so you should not add it explicitly}
+ {Type <Return> for now, but then later remove\MessageBreak
+ the command \protect\usepackage{natbib} from the document}
+ \endinput}{}
+ % Define citation punctuation for some author-year styles
+ % One may add and delete at this point
+ % Or put additions into local configuration file natbib.cfg
+\newcommand\bibstyle@chicago{\bibpunct{(}{)}{;}{a}{,}{,}}
+\newcommand\bibstyle@named{\bibpunct{[}{]}{;}{a}{,}{,}}
+\newcommand\bibstyle@agu{\bibpunct{[}{]}{;}{a}{,}{,~}}%Amer. Geophys. Union
+\newcommand\bibstyle@egs{\bibpunct{(}{)}{;}{a}{,}{,}}%Eur. Geophys. Soc.
+\newcommand\bibstyle@agsm{\bibpunct{(}{)}{,}{a}{}{,}\gdef\harvardand{\&}}
+\newcommand\bibstyle@kluwer{\bibpunct{(}{)}{,}{a}{}{,}\gdef\harvardand{\&}}
+\newcommand\bibstyle@dcu{\bibpunct{(}{)}{;}{a}{;}{,}\gdef\harvardand{and}}
+\newcommand\bibstyle@aa{\bibpunct{(}{)}{;}{a}{}{,}} %Astronomy & Astrophysics
+\newcommand\bibstyle@pass{\bibpunct{(}{)}{;}{a}{,}{,}}%Planet. & Space Sci
+\newcommand\bibstyle@anngeo{\bibpunct{(}{)}{;}{a}{,}{,}}%Annales Geophysicae
+\newcommand\bibstyle@nlinproc{\bibpunct{(}{)}{;}{a}{,}{,}}%Nonlin.Proc.Geophys.
+ % Define citation punctuation for some numerical styles
+\newcommand\bibstyle@cospar{\bibpunct{/}{/}{,}{n}{}{}%
+ \gdef\NAT@biblabelnum##1{##1.}}
+\newcommand\bibstyle@esa{\bibpunct{(Ref.~}{)}{,}{n}{}{}%
+ \gdef\NAT@biblabelnum##1{##1.\hspace{1em}}}
+\newcommand\bibstyle@nature{\bibpunct{}{}{,}{s}{}{\textsuperscript{,}}%
+ \gdef\NAT@biblabelnum##1{##1.}}
+ % The standard LaTeX styles
+\newcommand\bibstyle@plain{\bibpunct{[}{]}{,}{n}{}{,}}
+\let\bibstyle@alpha=\bibstyle@plain
+\let\bibstyle@abbrv=\bibstyle@plain
+\let\bibstyle@unsrt=\bibstyle@plain
+ % The author-year modifications of the standard styles
+\newcommand\bibstyle@plainnat{\bibpunct{[}{]}{,}{a}{,}{,}}
+\let\bibstyle@abbrvnat=\bibstyle@plainnat
+\let\bibstyle@unsrtnat=\bibstyle@plainnat
+\newif\ifNAT@numbers \NAT@numbersfalse
+\newif\ifNAT@super \NAT@superfalse
+\DeclareOption{numbers}{\NAT@numberstrue
+ \ExecuteOptions{square,comma,nobibstyle}}
+\DeclareOption{super}{\NAT@supertrue\NAT@numberstrue
+ \renewcommand\NAT@open{}\renewcommand\NAT@close{}
+ \ExecuteOptions{nobibstyle}}
+\DeclareOption{authoryear}{\NAT@numbersfalse
+ \ExecuteOptions{round,colon,bibstyle}}
+\DeclareOption{round}{%
+ \renewcommand\NAT@open{(} \renewcommand\NAT@close{)}
+ \ExecuteOptions{nobibstyle}}
+\DeclareOption{square}{%
+ \renewcommand\NAT@open{[} \renewcommand\NAT@close{]}
+ \ExecuteOptions{nobibstyle}}
+\DeclareOption{angle}{%
+ \renewcommand\NAT@open{$<$} \renewcommand\NAT@close{$>$}
+ \ExecuteOptions{nobibstyle}}
+\DeclareOption{curly}{%
+ \renewcommand\NAT@open{\{} \renewcommand\NAT@close{\}}
+ \ExecuteOptions{nobibstyle}}
+\DeclareOption{comma}{\renewcommand\NAT@sep{,}
+ \ExecuteOptions{nobibstyle}}
+\DeclareOption{colon}{\renewcommand\NAT@sep{;}
+ \ExecuteOptions{nobibstyle}}
+\DeclareOption{nobibstyle}{\let\bibstyle=\@gobble}
+\DeclareOption{bibstyle}{\let\bibstyle=\@citestyle}
+\newif\ifNAT@openbib \NAT@openbibfalse
+\DeclareOption{openbib}{\NAT@openbibtrue}
+\DeclareOption{sectionbib}{\def\NAT@sectionbib{on}}
+\def\NAT@sort{0}
+\DeclareOption{sort}{\def\NAT@sort{1}}
+\DeclareOption{sort&compress}{\def\NAT@sort{2}}
+\@ifpackageloaded{cite}{\PackageWarningNoLine{natbib}
+ {The `cite' package should not be used\MessageBreak
+ with natbib. Use option `sort' instead}\ExecuteOptions{sort}}{}
+\newif\ifNAT@longnames\NAT@longnamesfalse
+\DeclareOption{longnamesfirst}{\NAT@longnamestrue}
+\DeclareOption{nonamebreak}{\def\NAT@nmfmt#1{\mbox{\NAT@up#1}}}
+\def\NAT@nmfmt#1{{\NAT@up#1}}
+\renewcommand\bibstyle[1]{\@ifundefined{bibstyle@#1}{\relax}
+ {\csname bibstyle@#1\endcsname}}
+\AtBeginDocument{\global\let\bibstyle=\@gobble}
+\let\@citestyle\bibstyle
+\newcommand\citestyle[1]{\@citestyle{#1}\let\bibstyle\@gobble}
+\@onlypreamble{\citestyle}\@onlypreamble{\@citestyle}
+\newcommand\bibpunct[7][, ]%
+ {\gdef\NAT@open{#2}\gdef\NAT@close{#3}\gdef
+ \NAT@sep{#4}\global\NAT@numbersfalse\ifx #5n\global\NAT@numberstrue
+ \else
+ \ifx #5s\global\NAT@numberstrue\global\NAT@supertrue
+ \fi\fi
+ \gdef\NAT@aysep{#6}\gdef\NAT@yrsep{#7}%
+ \gdef\NAT@cmt{#1}%
+ \global\let\bibstyle\@gobble
+ }
+\@onlypreamble{\bibpunct}
+\newcommand\NAT@open{(} \newcommand\NAT@close{)}
+\newcommand\NAT@sep{;}
+\ProcessOptions
+\newcommand\NAT@aysep{,} \newcommand\NAT@yrsep{,}
+\newcommand\NAT@cmt{, }
+\newcommand\NAT@cite%
+ [3]{\ifNAT@swa\NAT@@open\if*#2*\else#2\ \fi
+ #1\if*#3*\else\NAT@cmt#3\fi\NAT@@close\else#1\fi\endgroup}
+\newcommand\NAT@citenum%
+ [3]{\ifNAT@swa\NAT@@open\if*#2*\else#2\ \fi
+ #1\if*#3*\else\NAT@cmt#3\fi\NAT@@close\else#1\fi\endgroup}
+\newcommand\NAT@citesuper[3]{\ifNAT@swa
+\unskip\kern\p@\textsuperscript{#1}%
+ \if*#3*\else\ (#3)\fi\else #1\fi\endgroup}
+\providecommand
+ \textsuperscript[1]{\mbox{$^{\mbox{\scriptsize#1}}$}}
+\providecommand\@firstofone[1]{#1}
+\newcommand\NAT@citexnum{}
+\def\NAT@citexnum[#1][#2]#3{%
+ \NAT@sort@cites{#3}%
+ \let\@citea\@empty
+ \@cite{\def\NAT@num{-1}\let\NAT@last@yr\relax\let\NAT@nm\@empty
+ \@for\@citeb:=\NAT@cite@list\do
+ {\edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
+ \@ifundefined{b@\@citeb\@extra@b@citeb}{%
+ {\reset@font\bfseries?}
+ \NAT@citeundefined\PackageWarning{natbib}%
+ {Citation `\@citeb' on page \thepage \space undefined}}%
+ {\let\NAT@last@num\NAT@num\let\NAT@last@nm\NAT@nm
+ \NAT@parse{\@citeb}%
+ \ifNAT@longnames\@ifundefined{bv@\@citeb\@extra@b@citeb}{%
+ \let\NAT@name=\NAT@all@names
+ \global\@namedef{bv@\@citeb\@extra@b@citeb}{}}{}%
+ \fi
+ \ifNAT@full\let\NAT@nm\NAT@all@names\else
+ \let\NAT@nm\NAT@name\fi
+ \ifNAT@swa
+ \ifnum\NAT@ctype>1\relax\@citea
+ \hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ \ifnum\NAT@ctype=2\relax\NAT@test{\NAT@ctype}%
+ \else\NAT@alias
+ \fi\hyper@natlinkend\else
+ \ifnum\NAT@sort>1
+ \begingroup\catcode`\_=8
+ \ifcat _\ifnum\z@<0\NAT@num _\else A\fi
+ \global\let\NAT@nm=\NAT@num \else \gdef\NAT@nm{-2}\fi
+ \ifcat _\ifnum\z@<0\NAT@last@num _\else A\fi
+ \global\@tempcnta=\NAT@last@num \global\advance\@tempcnta by\@ne
+ \else \global\@tempcnta\m@ne\fi
+ \endgroup
+ \ifnum\NAT@nm=\@tempcnta
+ \ifx\NAT@last@yr\relax
+ \edef\NAT@last@yr{\@citea \mbox{\noexpand\citenumfont{\NAT@num}}}%
+ \else
+ \edef\NAT@last@yr{--\penalty\@m\mbox{\noexpand\citenumfont{\NAT@num}}}%
+ \fi
+ \else
+ \NAT@last@yr \@citea \mbox{\citenumfont{\NAT@num}}%
+ \let\NAT@last@yr\relax
+ \fi
+ \else
+ \@citea \mbox{\hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ {\citenumfont{\NAT@num}}\hyper@natlinkend}%
+ \fi
+ \fi
+ \def\@citea{\NAT@sep\penalty\@m\NAT@space}%
+ \else
+ \ifcase\NAT@ctype\relax
+ \ifx\NAT@last@nm\NAT@nm \NAT@yrsep\penalty\@m\NAT@space\else
+ \@citea \NAT@test{1}\ \NAT@@open
+ \if*#1*\else#1\ \fi\fi \NAT@mbox{%
+ \hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ {\citenumfont{\NAT@num}}\hyper@natlinkend}%
+ \def\@citea{\NAT@@close\NAT@sep\penalty\@m\ }%
+ \or\@citea
+ \hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ \NAT@test{\NAT@ctype}\hyper@natlinkend
+ \def\@citea{\NAT@sep\penalty\@m\ }%
+ \or\@citea
+ \hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ \NAT@test{\NAT@ctype}\hyper@natlinkend
+ \def\@citea{\NAT@sep\penalty\@m\ }%
+ \or\@citea
+ \hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ \NAT@alias\hyper@natlinkend
+ \def\@citea{\NAT@sep\penalty\@m\ }%
+ \fi
+ \fi
+ }}%
+ \ifnum\NAT@sort>1\relax\NAT@last@yr\fi
+ \ifNAT@swa\else\ifnum\NAT@ctype=0\if*#2*\else
+ \NAT@cmt#2\fi \NAT@@close\fi\fi}{#1}{#2}}
+\newcommand\NAT@test[1]{\ifnum#1=1 \ifx\NAT@nm\NAT@noname
+ {\reset@font\bfseries(author?)}\PackageWarning{natbib}
+ {Author undefined for citation`\@citeb'
+ \MessageBreak
+ on page \thepage}\else \NAT@nm \fi
+ \else \if\relax\NAT@date\relax
+ {\reset@font\bfseries(year?)}\PackageWarning{natbib}
+ {Year undefined for citation`\@citeb'
+ \MessageBreak
+ on page \thepage}\else \NAT@date \fi \fi}
+\let\citenumfont=\relax
+\newcommand\NAT@citex{}
+\def\NAT@citex%
+ [#1][#2]#3{%
+ \NAT@sort@cites{#3}%
+ \let\@citea\@empty
+ \@cite{\let\NAT@nm\@empty\let\NAT@year\@empty
+ \@for\@citeb:=\NAT@cite@list\do
+ {\edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
+ \@ifundefined{b@\@citeb\@extra@b@citeb}{\@citea%
+ {\reset@font\bfseries ?}\NAT@citeundefined
+ \PackageWarning{natbib}%
+ {Citation `\@citeb' on page \thepage \space undefined}\def\NAT@date{}}%
+ {\let\NAT@last@nm=\NAT@nm\let\NAT@last@yr=\NAT@year
+ \NAT@parse{\@citeb}%
+ \ifNAT@longnames\@ifundefined{bv@\@citeb\@extra@b@citeb}{%
+ \let\NAT@name=\NAT@all@names
+ \global\@namedef{bv@\@citeb\@extra@b@citeb}{}}{}%
+ \fi
+ \ifNAT@full\let\NAT@nm\NAT@all@names\else
+ \let\NAT@nm\NAT@name\fi
+ \ifNAT@swa\ifcase\NAT@ctype
+ \if\relax\NAT@date\relax
+ \@citea\hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ \NAT@nmfmt{\NAT@nm}\NAT@date\hyper@natlinkend
+ \else
+ \ifx\NAT@last@nm\NAT@nm\NAT@yrsep
+ \ifx\NAT@last@yr\NAT@year
+ \def\NAT@temp{{?}}%
+ \ifx\NAT@temp\NAT@exlab\PackageWarningNoLine{natbib}%
+ {Multiple citation on page \thepage: same authors and
+ year\MessageBreak without distinguishing extra
+ letter,\MessageBreak appears as question mark}\fi
+ \hyper@natlinkstart{\@citeb\@extra@b@citeb}\NAT@exlab
+ \hyper@natlinkend
+ \else\unskip\
+ \hyper@natlinkstart{\@citeb\@extra@b@citeb}\NAT@date
+ \hyper@natlinkend
+ \fi
+ \else\@citea\hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ \NAT@nmfmt{\NAT@nm}%
+ \hyper@natlinkbreak{\NAT@aysep\ }{\@citeb\@extra@b@citeb}%
+ \NAT@date\hyper@natlinkend
+ \fi
+ \fi
+ \or\@citea\hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ \NAT@nmfmt{\NAT@nm}\hyper@natlinkend
+ \or\@citea\hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ \NAT@date\hyper@natlinkend
+ \or\@citea\hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ \NAT@alias\hyper@natlinkend
+ \fi \def\@citea{\NAT@sep\ }%
+ \else\ifcase\NAT@ctype
+ \if\relax\NAT@date\relax
+ \@citea\hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ \NAT@nmfmt{\NAT@nm}\hyper@natlinkend
+ \else
+ \ifx\NAT@last@nm\NAT@nm\NAT@yrsep
+ \ifx\NAT@last@yr\NAT@year
+ \def\NAT@temp{{?}}%
+ \ifx\NAT@temp\NAT@exlab\PackageWarningNoLine{natbib}%
+ {Multiple citation on page \thepage: same authors and
+ year\MessageBreak without distinguishing extra
+ letter,\MessageBreak appears as question mark}\fi
+ \hyper@natlinkstart{\@citeb\@extra@b@citeb}\NAT@exlab
+ \hyper@natlinkend
+ \else\unskip\
+ \hyper@natlinkstart{\@citeb\@extra@b@citeb}\NAT@date
+ \hyper@natlinkend
+ \fi
+ \else\@citea\hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ \NAT@nmfmt{\NAT@nm}%
+ \hyper@natlinkbreak{\ \NAT@@open\if*#1*\else#1\ \fi}%
+ {\@citeb\@extra@b@citeb}%
+ \NAT@date\hyper@natlinkend\fi
+ \fi
+ \or\@citea\hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ \NAT@nmfmt{\NAT@nm}\hyper@natlinkend
+ \or\@citea\hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ \NAT@date\hyper@natlinkend
+ \or\@citea\hyper@natlinkstart{\@citeb\@extra@b@citeb}%
+ \NAT@alias\hyper@natlinkend
+ \fi \if\relax\NAT@date\relax\def\@citea{\NAT@sep\ }%
+ \else\def\@citea{\NAT@@close\NAT@sep\ }\fi
+ \fi
+ }}\ifNAT@swa\else\if*#2*\else\NAT@cmt#2\fi
+ \if\relax\NAT@date\relax\else\NAT@@close\fi\fi}{#1}{#2}}
+\newif\ifNAT@par \NAT@partrue
+\newcommand\NAT@@open{\ifNAT@par\NAT@open\fi}
+\newcommand\NAT@@close{\ifNAT@par\NAT@close\fi}
+\newcommand\NAT@alias{\@ifundefined{al@\@citeb\@extra@b@citeb}{%
+ {\reset@font\bfseries(alias?)}\PackageWarning{natbib}
+ {Alias undefined for citation `\@citeb'
+ \MessageBreak on page \thepage}}{\@nameuse{al@\@citeb\@extra@b@citeb}}}
+\let\NAT@up\relax
+\newcommand\NAT@Up[1]{{\let\protect\@unexpandable@protect\let~\relax
+ \expandafter\NAT@deftemp#1}\expandafter\NAT@UP\NAT@temp}
+\newcommand\NAT@deftemp[1]{\xdef\NAT@temp{#1}}
+\newcommand\NAT@UP[1]{\let\@tempa\NAT@UP\ifcat a#1\MakeUppercase{#1}%
+ \let\@tempa\relax\else#1\fi\@tempa}
+\newcommand\shortcites[1]{%
+ \@bsphack\@for\@citeb:=#1\do
+ {\edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \global\@namedef{bv@\@citeb\@extra@b@citeb}{}}\@esphack}
+\newcommand\NAT@biblabel[1]{\hfill}
+\newcommand\NAT@biblabelnum[1]{\bibnumfmt{#1}}
+\newcommand\bibnumfmt[1]{[#1]}
+\def\@tempa#1{[#1]}
+\ifx\@tempa\@biblabel\let\@biblabel\@empty\fi
+\newcommand\NAT@bibsetnum[1]{\settowidth\labelwidth{\@biblabel{#1}}%
+ \setlength{\leftmargin}{\labelwidth}\addtolength{\leftmargin}{\labelsep}%
+ \setlength{\itemsep}{\bibsep}\setlength{\parsep}{\z@}%
+ \ifNAT@openbib
+ \addtolength{\leftmargin}{\bibindent}%
+ \setlength{\itemindent}{-\bibindent}%
+ \setlength{\listparindent}{\itemindent}%
+ \setlength{\parsep}{0pt}%
+ \fi
+}
+\newlength{\bibhang}
+\setlength{\bibhang}{1em}
+\newlength{\bibsep}
+{\@listi \global\bibsep\itemsep \global\advance\bibsep by\parsep}
+
+\newcommand\NAT@bibsetup%
+ [1]{\setlength{\leftmargin}{\bibhang}\setlength{\itemindent}{-\leftmargin}%
+ \setlength{\itemsep}{\bibsep}\setlength{\parsep}{\z@}}
+\newcommand\NAT@set@cites{\ifNAT@numbers
+ \ifNAT@super \let\@cite\NAT@citesuper
+ \def\NAT@mbox##1{\unskip\nobreak\hspace{1\p@}\textsuperscript{##1}}%
+ \let\citeyearpar=\citeyear
+ \let\NAT@space\relax\else
+ \let\NAT@mbox=\mbox
+ \let\@cite\NAT@citenum \def\NAT@space{ }\fi
+ \let\@citex\NAT@citexnum
+ \ifx\@biblabel\@empty\let\@biblabel\NAT@biblabelnum\fi
+ \let\@bibsetup\NAT@bibsetnum
+ \def\natexlab##1{}%
+ \else
+ \let\@cite\NAT@cite
+ \let\@citex\NAT@citex
+ \let\@biblabel\NAT@biblabel
+ \let\@bibsetup\NAT@bibsetup
+ \def\natexlab##1{##1}%
+ \fi}
+\AtBeginDocument{\NAT@set@cites}
+\AtBeginDocument{\ifx\SK@def\@undefined\else
+\ifx\SK@cite\@empty\else
+ \SK@def\@citex[#1][#2]#3{\SK@\SK@@ref{#3}\SK@@citex[#1][#2]{#3}}\fi
+\ifx\SK@citeauthor\@undefined\def\HAR@checkdef{}\else
+ \let\citeauthor\SK@citeauthor
+ \let\citefullauthor\SK@citefullauthor
+ \let\citeyear\SK@citeyear\fi
+\fi}
+\AtBeginDocument{\@ifpackageloaded{hyperref}{%
+ \ifnum\NAT@sort=2\def\NAT@sort{1}\fi}{}}
+\newif\ifNAT@full\NAT@fullfalse
+\newif\ifNAT@swa
+\DeclareRobustCommand\citet
+ {\begingroup\NAT@swafalse\def\NAT@ctype{0}\NAT@partrue
+ \@ifstar{\NAT@fulltrue\NAT@citetp}{\NAT@fullfalse\NAT@citetp}}
+\newcommand\NAT@citetp{\@ifnextchar[{\NAT@@citetp}{\NAT@@citetp[]}}
+\newcommand\NAT@@citetp{}
+\def\NAT@@citetp[#1]{\@ifnextchar[{\@citex[#1]}{\@citex[][#1]}}
+\DeclareRobustCommand\citep
+ {\begingroup\NAT@swatrue\def\NAT@ctype{0}\NAT@partrue
+ \@ifstar{\NAT@fulltrue\NAT@citetp}{\NAT@fullfalse\NAT@citetp}}
+\DeclareRobustCommand\cite
+ {\begingroup\def\NAT@ctype{0}\NAT@partrue\NAT@swatrue
+ \@ifstar{\NAT@fulltrue\NAT@cites}{\NAT@fullfalse\NAT@cites}}
+\newcommand\NAT@cites{\@ifnextchar [{\NAT@@citetp}{%
+ \ifNAT@numbers\else
+ \NAT@swafalse
+ \fi
+ \NAT@@citetp[]}}
+\DeclareRobustCommand\citealt
+ {\begingroup\NAT@swafalse\def\NAT@ctype{0}\NAT@parfalse
+ \@ifstar{\NAT@fulltrue\NAT@citetp}{\NAT@fullfalse\NAT@citetp}}
+\DeclareRobustCommand\citealp
+ {\begingroup\NAT@swatrue\def\NAT@ctype{0}\NAT@parfalse
+ \@ifstar{\NAT@fulltrue\NAT@citetp}{\NAT@fullfalse\NAT@citetp}}
+\DeclareRobustCommand\citeauthor
+ {\begingroup\NAT@swafalse\def\NAT@ctype{1}\NAT@parfalse
+ \@ifstar{\NAT@fulltrue\NAT@citetp}{\NAT@fullfalse\NAT@citetp}}
+\DeclareRobustCommand\Citet
+ {\begingroup\NAT@swafalse\def\NAT@ctype{0}\NAT@partrue
+ \let\NAT@up\NAT@Up
+ \@ifstar{\NAT@fulltrue\NAT@citetp}{\NAT@fullfalse\NAT@citetp}}
+\DeclareRobustCommand\Citep
+ {\begingroup\NAT@swatrue\def\NAT@ctype{0}\NAT@partrue
+ \let\NAT@up\NAT@Up
+ \@ifstar{\NAT@fulltrue\NAT@citetp}{\NAT@fullfalse\NAT@citetp}}
+\DeclareRobustCommand\Citealt
+ {\begingroup\NAT@swafalse\def\NAT@ctype{0}\NAT@parfalse
+ \let\NAT@up\NAT@Up
+ \@ifstar{\NAT@fulltrue\NAT@citetp}{\NAT@fullfalse\NAT@citetp}}
+\DeclareRobustCommand\Citealp
+ {\begingroup\NAT@swatrue\def\NAT@ctype{0}\NAT@parfalse
+ \let\NAT@up\NAT@Up
+ \@ifstar{\NAT@fulltrue\NAT@citetp}{\NAT@fullfalse\NAT@citetp}}
+\DeclareRobustCommand\Citeauthor
+ {\begingroup\NAT@swafalse\def\NAT@ctype{1}\NAT@parfalse
+ \let\NAT@up\NAT@Up
+ \@ifstar{\NAT@fulltrue\NAT@citetp}{\NAT@fullfalse\NAT@citetp}}
+\DeclareRobustCommand\citeyear
+ {\begingroup\NAT@swafalse\def\NAT@ctype{2}\NAT@parfalse\NAT@citetp}
+\DeclareRobustCommand\citeyearpar
+ {\begingroup\NAT@swatrue\def\NAT@ctype{2}\NAT@partrue\NAT@citetp}
+\newcommand\citetext[1]{\NAT@open#1\NAT@close}
+\DeclareRobustCommand\citefullauthor
+ {\citeauthor*}
+\newcommand\defcitealias[2]{%
+ \@ifundefined{al@#1\@extra@b@citeb}{}
+ {\PackageWarning{natbib}{Overwriting existing alias for citation #1}}
+ \@namedef{al@#1\@extra@b@citeb}{#2}}
+\DeclareRobustCommand\citetalias{\begingroup
+ \NAT@swafalse\def\NAT@ctype{3}\NAT@parfalse\NAT@citetp}
+\DeclareRobustCommand\citepalias{\begingroup
+ \NAT@swatrue\def\NAT@ctype{3}\NAT@partrue\NAT@citetp}
+\renewcommand\nocite[1]{\@bsphack
+ \@for\@citeb:=#1\do{%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
+ \if*\@citeb\else
+ \@ifundefined{b@\@citeb\@extra@b@citeb}{%
+ \NAT@citeundefined \PackageWarning{natbib}%
+ {Citation `\@citeb' undefined}}{}\fi}%
+ \@esphack}
+\newcommand\NAT@parse[1]{{%
+ \let\protect=\@unexpandable@protect\let~\relax
+ \let\active@prefix=\@gobble
+ \xdef\NAT@temp{\csname b@#1\@extra@b@citeb\endcsname}}%
+ \expandafter\NAT@split\NAT@temp
+ \expandafter\NAT@parse@date\NAT@date??????@@%
+ \ifciteindex\NAT@index\fi
+}
+\newcommand\NAT@split[4]{%
+ \gdef\NAT@num{#1}\gdef\NAT@name{#3}\gdef\NAT@date{#2}%
+ \gdef\NAT@all@names{#4}%
+ \ifx\NAT@noname\NAT@all@names \gdef\NAT@all@names{#3}\fi}
+\newcommand\NAT@parse@date{}
+\def\NAT@parse@date#1#2#3#4#5#6@@{%
+ \ifnum\the\catcode`#1=11\def\NAT@year{}\def\NAT@exlab{#1}\else
+ \ifnum\the\catcode`#2=11\def\NAT@year{#1}\def\NAT@exlab{#2}\else
+ \ifnum\the\catcode`#3=11\def\NAT@year{#1#2}\def\NAT@exlab{#3}\else
+ \ifnum\the\catcode`#4=11\def\NAT@year{#1#2#3}\def\NAT@exlab{#4}\else
+ \def\NAT@year{#1#2#3#4}\def\NAT@exlab{{#5}}\fi\fi\fi\fi}
+\newcommand\NAT@index{}
+\let\NAT@makeindex=\makeindex
+\renewcommand\makeindex{\NAT@makeindex
+ \renewcommand\NAT@index{\@bsphack\begingroup
+ \def~{\string~}\@wrindex{\NAT@idxtxt}}}
+\newcommand\NAT@idxtxt{\NAT@name\ \NAT@open\NAT@date\NAT@close}
+\@ifundefined{@indexfile}{}{\let\NAT@makeindex\relax\makeindex}
+\newif\ifciteindex \citeindexfalse
+\newcommand\citeindextype{default}
+\newcommand\NAT@index@alt{{\let\protect=\noexpand\let~\relax
+ \xdef\NAT@temp{\NAT@idxtxt}}\expandafter\NAT@exp\NAT@temp\@nil}
+\newcommand\NAT@exp{}
+\def\NAT@exp#1\@nil{\mbox{}\index[\citeindextype]{#1}}
+
+\AtBeginDocument{%
+\@ifpackageloaded{index}{\let\NAT@index=\NAT@index@alt}{}}
+\newcommand\NAT@ifcmd{\futurelet\NAT@temp\NAT@ifxcmd}
+\newcommand\NAT@ifxcmd{\ifx\NAT@temp\relax\else\expandafter\NAT@bare\fi}
+\def\NAT@bare#1(#2)#3(@)#4\@nil#5{%
+ \if @#2
+ \expandafter\NAT@apalk#1, , \@nil{#5}\else
+ \stepcounter{NAT@ctr}%
+ \NAT@wrout{\arabic {NAT@ctr}}{#2}{#1}{#3}{#5}
+\fi
+}
+\newcommand\NAT@wrout[5]{%
+\if@filesw
+ {\let\protect\noexpand\let~\relax
+ \immediate
+ \write\@auxout{\string\bibcite{#5}{{#1}{#2}{{#3}}{{#4}}}}}\fi
+\ignorespaces}
+\def\NAT@noname{{}}
+\renewcommand\bibitem{%
+ \@ifnextchar[{\@lbibitem}{%
+ \global\NAT@stdbsttrue
+ \stepcounter{NAT@ctr}\@lbibitem[\arabic{NAT@ctr}]}}
+\def\@lbibitem[#1]#2{%
+ \if\relax\@extra@b@citeb\relax\else
+ \@ifundefined{br@#2\@extra@b@citeb}{}{%
+ \@namedef{br@#2}{\@nameuse{br@#2\@extra@b@citeb}}}\fi
+ \@ifundefined{b@#2\@extra@b@citeb}{\def\NAT@num{}}{\NAT@parse{#2}}%
+ \item[\hfil\hyper@natanchorstart{#2\@extra@b@citeb}\@biblabel{\NAT@num}%
+ \hyper@natanchorend]%
+ \NAT@ifcmd#1(@)(@)\@nil{#2}}
+\ifx\SK@lbibitem\@undefined\else
+ \let\SK@lbibitem\@lbibitem
+ \def\@lbibitem[#1]#2{%
+ \SK@lbibitem[#1]{#2}\SK@\SK@@label{#2}\ignorespaces}\fi
+\newif\ifNAT@stdbst \NAT@stdbstfalse
+
+\AtEndDocument
+ {\ifNAT@stdbst\if@filesw\immediate\write\@auxout{\string
+ \global\string\NAT@numberstrue}\fi\fi
+ }
+\providecommand\bibcite{}
+\renewcommand\bibcite[2]{\@ifundefined{b@#1\@extra@binfo}\relax
+ {\NAT@citemultiple
+ \PackageWarningNoLine{natbib}{Citation `#1' multiply defined}}%
+ \global\@namedef{b@#1\@extra@binfo}{#2}}
+\AtEndDocument{\NAT@swatrue\let\bibcite\NAT@testdef}
+\newcommand\NAT@testdef[2]{%
+ \def\NAT@temp{#2}\expandafter \ifx \csname b@#1\@extra@binfo\endcsname
+ \NAT@temp \else \ifNAT@swa \NAT@swafalse
+ \PackageWarningNoLine{natbib}{Citation(s) may have
+ changed.\MessageBreak
+ Rerun to get citations correct}\fi\fi}
+\newcommand\NAT@apalk{}
+\def\NAT@apalk#1, #2, #3\@nil#4{\if\relax#2\relax
+ \global\NAT@stdbsttrue
+ \NAT@wrout{#1}{}{}{}{#4}\else
+ \stepcounter{NAT@ctr}%
+ \NAT@wrout{\arabic {NAT@ctr}}{#2}{#1}{}{#4}\fi}
+\newcommand\citeauthoryear{}
+\def\citeauthoryear#1#2#3(@)(@)\@nil#4{\stepcounter{NAT@ctr}\if\relax#3\relax
+ \NAT@wrout{\arabic {NAT@ctr}}{#2}{#1}{}{#4}\else
+ \NAT@wrout{\arabic {NAT@ctr}}{#3}{#2}{#1}{#4}\fi}
+\newcommand\citestarts{\NAT@open}
+\newcommand\citeends{\NAT@close}
+\newcommand\betweenauthors{and}
+\newcommand\astroncite{}
+\def\astroncite#1#2(@)(@)\@nil#3{\stepcounter{NAT@ctr}\NAT@wrout{\arabic
+{NAT@ctr}}{#2}{#1}{}{#3}}
+\newcommand\citename{}
+\def\citename#1#2(@)(@)\@nil#3{\expandafter\NAT@apalk#1#2, \@nil{#3}}
+\newcommand\harvarditem[4][]%
+ {\if\relax#1\relax\bibitem[#2(#3)]{#4}\else
+ \bibitem[#1(#3)#2]{#4}\fi }
+\newcommand\harvardleft{\NAT@open}
+\newcommand\harvardright{\NAT@close}
+\newcommand\harvardyearleft{\NAT@open}
+\newcommand\harvardyearright{\NAT@close}
+\AtBeginDocument{\providecommand{\harvardand}{and}}
+\newcommand\harvardurl[1]{\textbf{URL:} \textit{#1}}
+\providecommand\bibsection{}
+\@ifundefined{chapter}%
+ {\renewcommand\bibsection{\section*{\refname
+ \@mkboth{\MakeUppercase{\refname}}{\MakeUppercase{\refname}}}}}
+ {\@ifundefined{NAT@sectionbib}%
+ {\renewcommand\bibsection{\chapter*{\bibname
+ \@mkboth{\MakeUppercase{\bibname}}{\MakeUppercase{\bibname}}}}}
+ {\renewcommand\bibsection{\section*{\bibname
+ \ifx\@mkboth\@gobbletwo\else\markright{\MakeUppercase{\bibname}}\fi}}}}
+\@ifclassloaded{amsart}%
+ {\renewcommand\bibsection{\section*{\refname}}}{}
+\@ifclassloaded{amsbook}%
+ {\renewcommand\bibsection{\chapter*{\bibname}}}{}
+\@ifundefined{bib@heading}{}{\let\bibsection\bib@heading}
+\newcounter{NAT@ctr}
+%%ajw\renewenvironment{thebibliography}[1]{%
+%%ajw \bibsection\parindent \z@\bibpreamble\bibfont\list
+%%ajw {\@biblabel{\arabic{NAT@ctr}}}{\@bibsetup{#1}%
+%%ajw \setcounter{NAT@ctr}{0}}%
+%%ajw \ifNAT@openbib
+%%ajw \renewcommand\newblock{\par}
+%%ajw \else
+%%ajw \renewcommand\newblock{\hskip .11em \@plus.33em \@minus.07em}%
+%%ajw \fi
+%%ajw \sloppy\clubpenalty4000\widowpenalty4000
+%%ajw \sfcode`\.=1000\relax
+%%ajw \let\citeN\cite \let\shortcite\cite
+%%ajw \let\citeasnoun\cite
+%%ajw }{\def\@noitemerr{%
+%%ajw \PackageWarning{natbib}
+%%ajw {Empty `thebibliography' environment}}%
+%%ajw \endlist\vskip-\lastskip}
+
+%%%%%%%%%%%%%%%%% %%ajw this section is new %%%%%%%%%%%%%%%%%%%%%%%%%%%
+\renewenvironment{thebibliography}[1]{%9/10 raggedright, turnovers 12pt
+ \par\vskip 20\p@ \@plus 1\p@ \@minus 1\p@
+ \section*{References}%
+ \nobreak
+ \vskip 4\p@ \@plus .5\p@ \@minus .5\p@
+ \nobreak
+ \list{}{\usecounter{dummy}%
+ \raggedright
+ \labelwidth\z@ \leftmargin 12pt\itemindent -12pt\itemsep 0\p@ plus 0.1\p@}%
+ \normalfont\abstractsize \parindent\z@
+ \parskip\z@ \@plus .1\p@\relax
+ \sloppy\clubpenalty\z@ \widowpenalty\@M
+ \sfcode`\.\@m\relax
+ \let\citeN\cite \let\shortcite\cite
+ \let\citeasnoun\cite
+ }
+ {\vspace{\baselineskip}\endlist}
+%%%%%%%%%%%%%%%%% %%ajw this section is new %%%%%%%%%%%%%%%%%%%%%%%%%%%
+
+\let\bibfont\relax
+\let\bibpreamble\relax
+\providecommand\reset@font{\relax}
+\providecommand\bibname{Bibliography}
+\providecommand\refname{References}
+\newcommand\NAT@citeundefined{\gdef \NAT@undefined {%
+ \PackageWarningNoLine{natbib}{There were undefined citations}}}
+\let \NAT@undefined \relax
+\newcommand\NAT@citemultiple{\gdef \NAT@multiple {%
+ \PackageWarningNoLine{natbib}{There were multiply defined citations}}}
+\let \NAT@multiple \relax
+\AtEndDocument{\NAT@undefined\NAT@multiple}
+\providecommand\@mkboth[2]{}
+\providecommand\MakeUppercase{\uppercase}
+\providecommand{\@extra@b@citeb}{}
+\gdef\@extra@binfo{}
+\providecommand\hyper@natanchorstart[1]{}
+\providecommand\hyper@natanchorend{}
+\providecommand\hyper@natlinkstart[1]{}
+\providecommand\hyper@natlinkend{}
+\providecommand\hyper@natlinkbreak[2]{#1}
+\@ifundefined{bbl@redefine}{}{%
+ \bbl@redefine\nocite#1{%
+ \@safe@activestrue\org@nocite{#1}\@safe@activesfalse}%
+\bbl@redefine\@lbibitem[#1]#2{%
+ \@safe@activestrue\org@@lbibitem[#1]{#2}\@safe@activesfalse}%
+}
+\AtBeginDocument{\@ifundefined{bbl@redefine}{}{%
+\bbl@redefine\@citex[#1][#2]#3{%
+ \@safe@activestrue\org@@citex[#1][#2]{#3}\@safe@activesfalse}%
+\bbl@redefine\NAT@testdef#1#2{%
+ \@safe@activestrue\org@NAT@testdef{#1}{#2}\@safe@activesfalse}%
+\@ifundefined{org@@lbibitem}{%
+\bbl@redefine\@lbibitem[#1]#2{%
+ \@safe@activestrue\org@@lbibitem[#1]{#2}\@safe@activesfalse}}{}%
+}}
+\ifnum\NAT@sort>0
+\newcommand\NAT@sort@cites[1]{%
+\@tempcntb\m@ne
+\let\@celt\delimiter
+\def\NAT@num@list{}%
+\def\NAT@cite@list{}%
+\def\NAT@nonsort@list{}%
+\@for \@citeb:=#1\do{\NAT@make@cite@list}%
+\edef\NAT@cite@list{\NAT@cite@list\NAT@nonsort@list}%
+\edef\NAT@cite@list{\expandafter\NAT@xcom\NAT@cite@list @@}}
+\begingroup \catcode`\_=8
+\gdef\NAT@make@cite@list{%
+ \edef\@citeb{\expandafter\@firstofone\@citeb}%
+ \@ifundefined{b@\@citeb\@extra@b@citeb}{\def\NAT@num{A}}%
+ {\NAT@parse{\@citeb}}%
+ \ifcat _\ifnum\z@<0\NAT@num _\else A\fi
+ \@tempcnta\NAT@num \relax
+ \ifnum \@tempcnta>\@tempcntb
+ \edef\NAT@num@list{\NAT@num@list \@celt{\NAT@num}}%
+ \edef\NAT@cite@list{\NAT@cite@list\@citeb,}%
+ \@tempcntb\@tempcnta
+ \else
+ \let\NAT@@cite@list=\NAT@cite@list \def\NAT@cite@list{}%
+ \edef\NAT@num@list{\expandafter\NAT@num@celt \NAT@num@list \@gobble @}%
+ {\let\@celt=\NAT@celt\NAT@num@list}%
+ \fi
+ \else
+ \edef\NAT@nonsort@list{\NAT@nonsort@list\@citeb,}%
+ \fi}
+\endgroup
+\def\NAT@celt#1{\ifnum #1<\@tempcnta
+ \xdef\NAT@cite@list{\NAT@cite@list\expandafter\NAT@nextc\NAT@@cite@list @@}%
+ \xdef\NAT@@cite@list{\expandafter\NAT@restc\NAT@@cite@list}%
+ \else
+ \xdef\NAT@cite@list{\NAT@cite@list\@citeb,\NAT@@cite@list}\let\@celt\@gobble%
+ \fi}
+\def\NAT@num@celt#1#2{\ifx \@celt #1%
+ \ifnum #2<\@tempcnta
+ \@celt{#2}%
+ \expandafter\expandafter\expandafter\NAT@num@celt
+ \else
+ \@celt{\number\@tempcnta}\@celt{#2}%
+ \fi\fi}
+\def\NAT@nextc#1,#2@@{#1,}
+\def\NAT@restc#1,#2{#2}
+\def\NAT@xcom#1,@@{#1}
+\else
+ \newcommand\NAT@sort@cites[1]{\edef\NAT@cite@list{#1}}\fi
+\InputIfFileExists{natbib.cfg}
+ {\typeout{Local config file natbib.cfg used}}{}
+%%
+%% <<<<< End of generated file <<<<<<
+%%
+%% End of file `natbib.sty'.
diff --git a/Master/texmf-dist/tex/latex/cje/cjeupmath.sty b/Master/texmf-dist/tex/latex/cje/cjeupmath.sty
new file mode 100644
index 00000000000..3a66c622529
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/cje/cjeupmath.sty
@@ -0,0 +1,125 @@
+%%
+%% This is file `cjeupmath.sty', written for the CEA by Ali Woollatt
+%% 2017/047/17 v1.01
+%%
+%% This package provides 'upright' math (lower-case Greek, A-Z, a-z,
+%% punctuation, < >, \ell, \partial) from the AMS Euler fonts EURM/B.
+%%
+%% Requires the amsbsy.sty and amsgen.sty packages.
+%%
+%%
+%% COPYRIGHT (c) 2017 Canadian Economics Association
+%%
+%% LICENSE
+%% =======
+%%
+%% This work can be distributed and/or modified under the conditions of the LaTeX Project Public License,
+%% either version 1.3 of this license or any later version. The latest version of this license is available at
+%% latex-project.org/lppl.txt. Version 1.3, or later, is part of all distributions of LaTeX version 2005/12/01 or later.
+
+
+\ProvidesPackage{cjeupmath}[2017/07/17 v1.01 CJE LaTeX2e package]
+
+\RequirePackage{amsbsy}[1995/01/20] % also includes amsgen.sty
+
+% Macro for changing \mathversion's
+\providecommand{\mathch}[2]{% Derived from AMSBSY.STY
+ \begingroup
+ \let\@nomath\@gobble \mathversion{#1}%
+ \math@atom{#2}{%
+ \mathchoice%
+ {\hbox{$\m@th\displaystyle#2$}}%
+ {\hbox{$\m@th\textstyle#2$}}%
+ {\hbox{$\m@th\scriptstyle#2$}}%
+ {\hbox{$\m@th\scriptscriptstyle#2$}}}%
+ \endgroup}
+
+%
+% The following is from Ueur.fd: changed encoding from U to OML.
+% This allows to use eurm/b as (more or less) a math italic font.
+%
+\DeclareFontFamily{OML}{eur}{\skewchar\font'177}
+\DeclareFontShape{OML}{eur}{m}{n}{<-7>eurm5<-10>eurm7<10->eurm10}{}
+\DeclareFontShape{OML}{eur}{b}{n}{<-7>eurb5<-10>eurb7<10->eurb10}{}
+
+\DeclareMathVersion{upright}
+\DeclareMathVersion{boldupright}
+
+\SetSymbolFont{letters}{upright} {OML}{eur}{m}{n}
+\SetSymbolFont{letters}{boldupright}{OML}{eur}{b}{n}
+
+\DeclareRobustCommand{\mathup}[1]{\mathch{upright}{#1}}
+\DeclareRobustCommand{\mathbup}[1]{\mathch{boldupright}{#1}}
+
+% lower-case Greek
+\newcommand\ualpha{\mathup{\alpha}}
+\newcommand\ubeta{\mathup{\beta}}
+\newcommand\ugamma{\mathup{\gamma}}
+\newcommand\udelta{\mathup{\delta}}
+\newcommand\uepsilon{\mathup{\epsilon}}
+\newcommand\uzeta{\mathup{\zeta}}
+\newcommand\ueta{\mathup{\eta}}
+\newcommand\utheta{\mathup{\theta}}
+\newcommand\uiota{\mathup{\iota}}
+\newcommand\ukappa{\mathup{\kappa}}
+\newcommand\ulambda{\mathup{\lambda}}
+\newcommand\umu{\mathup{\mu}}
+\newcommand\unu{\mathup{\nu}}
+\newcommand\uxi{\mathup{\xi}}
+\newcommand\upi{\mathup{\pi}}
+\newcommand\urho{\mathup{\rho}}
+\newcommand\usigma{\mathup{\sigma}}
+\newcommand\utau{\mathup{\tau}}
+\newcommand\uupsilon{\mathup{\upsilon}}
+\newcommand\uphi{\mathup{\phi}}
+\newcommand\uchi{\mathup{\chi}}
+\newcommand\upsi{\mathup{\psi}}
+\newcommand\uomega{\mathup{\omega}}
+\newcommand\uvarepsilon{\mathup{\varepsilon}}
+\newcommand\uvartheta{\mathup{\vartheta}}
+\newcommand\uvarpi{\mathup{\varpi}}
+
+\let\uvarrho\varrho % don't exist in eurm.
+\let\uvarsigma\varsigma
+
+\newcommand\uvarphi{\mathup{\varphi}}
+
+\newcommand\ubalpha{\mathbup{\alpha}}
+\newcommand\ubbeta{\mathbup{\beta}}
+\newcommand\ubgamma{\mathbup{\gamma}}
+\newcommand\ubdelta{\mathbup{\delta}}
+\newcommand\ubepsilon{\mathbup{\epsilon}}
+\newcommand\ubzeta{\mathbup{\zeta}}
+\newcommand\uboldeta{\mathbup{\eta}}
+\newcommand\ubtheta{\mathbup{\theta}}
+\newcommand\ubiota{\mathbup{\iota}}
+\newcommand\ubkappa{\mathbup{\kappa}}
+\newcommand\ublambda{\mathbup{\lambda}}
+\newcommand\ubmu{\mathbup{\mu}}
+\newcommand\ubnu{\mathbup{\nu}}
+\newcommand\ubxi{\mathbup{\xi}}
+\newcommand\ubpi{\mathbup{\pi}}
+\newcommand\ubrho{\mathbup{\rho}}
+\newcommand\ubsigma{\mathbup{\sigma}}
+\newcommand\ubtau{\mathbup{\tau}}
+\newcommand\ubupsilon{\mathbup{\upsilon}}
+\newcommand\ubphi{\mathbup{\phi}}
+\newcommand\ubchi{\mathbup{\chi}}
+\newcommand\ubpsi{\mathbup{\psi}}
+\newcommand\ubomega{\mathbup{\omega}}
+\newcommand\ubvarepsilon{\mathbup{\varepsilon}}
+\newcommand\ubvartheta{\mathbup{\vartheta}}
+\newcommand\ubvarpi{\mathbup{\varpi}}
+
+\newcommand\ubvarrho{\boldsymbol{\varrho}} % don't exist in eurb.
+\newcommand\ubvarsigma{\boldsymbol{\varsigma}}
+
+\newcommand\ubvarphi{\mathbup{\varphi}}
+
+% A few other upright symbols
+\newcommand\upartial {\mathup{\partial}}
+\newcommand\ubpartial{\mathbup{\partial}}
+
+\endinput
+
+% end of file `cjeupmath.sty'