summaryrefslogtreecommitdiff
path: root/macros/plain/contrib/vertex/jpe.sty
blob: b7113a063538c6460f4ac3d3a533f68dee6ee9e7 (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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%     Journal of Polemical Economy style
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%     Load special fonts
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\font\fourteenhelvB=cmssbx10 at 14pt
\font\twelvehelv=cmss10 at 12pt    

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

\hsize=26pc
\vsize=45pc
\hoffset=1in
\voffset=1in

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

\nopagenumbers
\def\rightheadline{\hbox to \hsize{{\scten\runtitle}\hfil{\folio}}}
\def\leftheadline{\hbox to \hsize{\folio \hfil {\scten Journal of Polemical Economy}}}
\headline={\ifodd\pageno\rightheadline \else\leftheadline\fi}

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

\let\TitleFont=\fourteenhelvB
\let\AuthorFont=\twelvehelv

\def\title#1{\DoLeftTitle{#1}}

\def\author#1{\DoLeftAuthor{#1}}

\def\affil#1{\global\setbox\affilbox\hbox{\nineit\noindent #1 \hfil}}

\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
     {\eightpoint\hsize=23pc \noindent #1}}

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



%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%  Sections and subsections
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\let\SectionFont=\tenbf
\RomanSectiontrue

\def\section#1\par{\DoLeftSection{#1}}

\def\subsection#1\par{\BigBreak\noindent
   {\it #1}
   \nobreak\medskip\noindent}

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

\let\RefFont=\tenpoint

\def\Refs{\vskip.5in\noindent{\tenpoint\bf References}\vskip 2pc\RefFont}

\def\SetRef{\vskip 1pt

  \ifjour\jourfalse\vbox{\HangRef
     \unhbox\bybox\space ``\unhbox\paperbox .'' 
     {\unhbox\jourbox } \unhbox\volbox 
     \ifvoid\nobox\relax\else no. \unhbox\nobox \fi
     \space (\unhbox\yrbox): \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. {\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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

\def\titlehead{\hfil}
\def\titlefoot{\hfil}

\def\DoTop{\Reset
\line{\box\titlebox\hfil}
\vskip 4.5pc
\hrule
\ifvoid\thanksbox\relax\else\vfootnote{}
    {\eightpoint\unhbox\thanksbox\endfnote}\fi
\vskip 1.1pc
\line{\box\authorbox\hfil}
\vskip .5pc
\line{\box\affilbox\hfil}
\vskip 3.5pc
\line{\hfil\box\abstractbox\hfil}
\vskip 3pc}

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

\tenpoint
\parindent=12pt
\def\footnoterule{}