summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/economic/ajae.cls
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2007-07-16 15:56:07 +0000
committerKarl Berry <karl@freefriends.org>2007-07-16 15:56:07 +0000
commit2db35ddeffe2176d7ebc10a1f229583035b29346 (patch)
treea1b95e2552407d5a296c3e7b07f07ae1af6540d2 /Master/texmf-dist/tex/latex/economic/ajae.cls
parentfba6aeb2879447d0ab08ac86032e72bc8002d2e1 (diff)
economic update (13jul07)
git-svn-id: svn://tug.org/texlive/trunk@4602 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/economic/ajae.cls')
-rw-r--r--Master/texmf-dist/tex/latex/economic/ajae.cls27
1 files changed, 22 insertions, 5 deletions
diff --git a/Master/texmf-dist/tex/latex/economic/ajae.cls b/Master/texmf-dist/tex/latex/economic/ajae.cls
index bc580f661b1..77df3d104c6 100644
--- a/Master/texmf-dist/tex/latex/economic/ajae.cls
+++ b/Master/texmf-dist/tex/latex/economic/ajae.cls
@@ -2,7 +2,7 @@
%%% American Journal of Agricultural Economics (AJAE)
%%%
%%% author: Arne Henningsen
-%%% version: 1.1 (6 October 2006)
+%%% version: 1.2 (13 May 2007)
%%% license: LaTeX Project Public License
%%%
%%% Note: This is an unofficial style file that may not fully comply
@@ -14,8 +14,8 @@
%%% This document class is based on the "scrartcl" class
%%% from the KOMA script bundle.
%%% Following additional packages are required:
-%%% amsmath, babel, bm, courier, endfloat, endnotes, geometry,
-%%% helvet, mathptmx, natbib, setspace, titlesec, url
+%%% amsmath, babel, bm, courier, endfloat, endnotes, fontenc, geometry,
+%%% helvet, inputenc, mathptmx, natbib, setspace, titlesec, url
%%%
%%% The class provides following options:
%%% noendnotes - don't use endnotes (use footnotes)
@@ -79,6 +79,13 @@
\LoadClass[12pt,english,tablecaptionabove]{scrartcl}
% tablecaptionabove = use \captionabove for tables
+% use new TeX encoding scheme (T1), which contains accented (European) letters,
+% to make European hyphenations work
+\RequirePackage[T1]{fontenc}
+
+% use the ISO 8859-1 (Latin-1) standard for the character encoding
+\RequirePackage[latin1]{inputenc}
+
% page format, margins
\RequirePackage{geometry}
\geometry{letterpaper, tmargin=1.0in, bmargin=1.1in, lmargin=1.25in,
@@ -216,9 +223,19 @@ Key words: \@keywords
JEL classification: \@jelclass
}
\end{minipage}
-\end{center}%
-\noindent%
+\end{center}
+\@aftermylist
}
+% command "\@aftermylist": do not indent the following paragraph
+\def\@aftermylist{%
+  \def\if@endpe\@doendpe\fi{\@endpetrue
+    \def\par{\if@endpe\@@par\else\@restorepar\everypar{}\par\@endpefalse\fi}%
+      \everypar{{\setbox\z@\lastbox}\everypar{}\@endpefalse}%
+ }%
+}
+% This code was originally posted by Donald Arseneau on comp.text.tex
+% I thank Ulrike Fischer for pointing this out to me.
+
% use babel package and set language to english
\RequirePackage[english]{babel}