summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/plain/vertex/aer.sty
blob: 6cabcd82e75fc1ff5da46cd736972958e6fd0ecf (plain)
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
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
%   This is the AER.STY for ECON.TEX
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%      Special fonts
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\font\fourteenHelv=cmss10 at 14pt
\font\sctwelve=cmcsc10 scaled\magstep1
\font\sctwelve=cmcsc10

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%      Set pagesize
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\input twocol

\newdimen\pageheight \pageheight=49pc
\newdimen\pagewidth \pagewidth=34pc
\newdimen\fullsize \fullsize=34pc
\newdimen\ruleht \ruleht=.5pt

\vsize=49pc
\hsize=34pc
\colwidth=16pc

\hoffset=.5in
\voffset=0in

\parindent=20pt

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%      Headline and footline
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\nopagenumbers
\def\rightheadline{\hbox to \fullsize{{VOL. 99 No. 9\hfil\scten\runname\hskip 3em\runtitle}\hfil{\folio}}}
\def\leftheadline{\hbox to \fullsize{\folio \hfil {\tenpoint THE ARMENIAN ECONOMIC REVIEW}\hfil JUNE, 1986}}
\headline={\ifodd\pageno\rightheadline \else\leftheadline\fi}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Define topmatter style
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\TitleFont{\fourteenHelv}
\def\AuthorFont{\sctwelve}

\def\DoCenteredTitle#1{
    \titlepage\global
    \CenterBox
       \titlebox
       \TitleFont
       {17pt}
       {#1}}

\def\title#1{\DoCenteredTitle{#1}}

\def\author#1{\DoCenteredAuthor{{\it By}\space{#1$^*$}}}
\def\authortwo#1{\message{Use ``author'' for both authors in this style.}}

\def\affil#1{\global\setbox\affilbox\hbox{\tenit\noindent #1}}
\def\affiltwo#1{\message{In the aer.sty, affiliations go in the 
"thanks" footnote.}}

\def\thanks#1{\global\setbox\thanksbox\hbox{\eightpoint $^*$#1}}

\def\date#1{\global\setbox\datebox\vbox{\tenrm #1 \hfil}}

\def\abstract#1{\global\setbox\abstractbox\vbox{\sl\hsize=23pc #1}}

\def\keywords#1{}
\def\address#1{}

\def\topmatter{\relax}
\def\endtopmatter{\DoTop}
\def\document{\DoPaper}

\RomanSectiontrue
\let\SectionFont=\bf

\def\section#1\par{\bigskip\goodbreak
   \SubsectionNumber=0\noindent
   {\hfil\bf\uppercase\expandafter{\romannumeral\SectionNumber}.\enskip #1\hfil}
   \nobreak\medskip
   \global\advance\SectionNumber by 1
   \noindent}

%  Something is screwed up with \romannumeral and centering
%\def\section#1{\DoCenteredSection{#1}}

\def\subsection#1\par{\bigskip\goodbreak\noindent
   {\hfil\it \number\SectionNumber.\number\SubsectionNumber.\enspace #1\hfil}
   \nobreak\medskip\noindent}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%   References
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\let\RefFont=\tenpoint

\def\Refs{\vskip1in{\hfil\tenpoint REFERENCES\hfil}\vskip 2pc\RefFont}

\def\by#1{\setbox\bybox\hbox{\ninepoint\bf #1}}
\def\vol#1{\setbox\volbox\hbox{\it #1}}

\def\SetRef{
  \ifjour\jourfalse\vbox{\HangRef
     \unhbox\bybox (\unhbox\yrbox), ``\unhbox\paperbox,'' 
     \unhbox\jourbox, {\unhbox\volbox}, 
     \ifvoid\nobox\relax\else (\unhbox\nobox), \fi
     \unhbox\pagesbox. \par}\fi

  \ifbook\bookfalse\par\vbox{\HangRef
     \unhbox\bybox\space {\it \unhbox\bookbox}. \unhbox\publaddrbox : 
         \unhbox\publbox , \unhbox\yrbox.\par}\fi

 \ifinbook\inbookfalse\par\vbox{\HangRef
     \unhbox\bybox\space (\unhbox\yrbox): ``\unhbox\paperbox,'' in 
     {\it \unhbox\bookbox}, ed. by {\rm \unhbox\editorbox}.
     \unhbox\publaddrbox : \unhbox\publbox \ifvoid\pagesbox\relax
     \else, \unhbox\pagesbox .\fi\par}\fi

 \ifunpublished\unpublishedfalse\par\vbox{\HangRef
     \unhbox\bybox\space(\unhbox\yrbox):
    ``\unhbox\paperbox,'' \unhbox\paperinfobox .\par}\fi
}


%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Set the paper
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\parindent=20pt

\def\DoTop{\Reset
\vbox{
\line{\hfil\box\titlebox\hfil}
\vskip 2pc
\line{\hfil\box\authorbox\hfil}
\vskip1pc
\line{\hfil\box\abstractbox\hfil}
\vfootnote{*}{\unhbox\thanksbox}
\vskip2pc}}

\def\DoPaper{\begindoublecolumns}

\let\eqno=\leqno
\tenpoint
\hfuzz=8pt
\def\bye{\enddoublecolumns\vfill\eject\end}
\def\footnoterule{}