From 2db35ddeffe2176d7ebc10a1f229583035b29346 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 16 Jul 2007 15:56:07 +0000 Subject: economic update (13jul07) git-svn-id: svn://tug.org/texlive/trunk@4602 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/economic/ajae.cls | 27 ++- Master/texmf-dist/tex/latex/economic/ecca.cls | 251 ++++++++++++++++++++++++ Master/texmf-dist/tex/latex/economic/itaxpf.cls | 240 ++++++++++++++++++++++ 3 files changed, 513 insertions(+), 5 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/economic/ecca.cls create mode 100644 Master/texmf-dist/tex/latex/economic/itaxpf.cls (limited to 'Master/texmf-dist/tex/latex/economic') 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} diff --git a/Master/texmf-dist/tex/latex/economic/ecca.cls b/Master/texmf-dist/tex/latex/economic/ecca.cls new file mode 100644 index 00000000000..60c097a64c9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/economic/ecca.cls @@ -0,0 +1,251 @@ +%%% LaTeX class for manuscripts submitted to the +%%% Journal "Economica" (ecca) +%%% +%%% author: Arne Henningsen +%%% version: 1.0 (08 May 2007) +%%% license: LaTeX Project Public License +%%% +%%% Note: This is an unofficial style file that may not fully comply +%%% with the Formatting Instructions of the "Economica" in every detail. +%%% Please report any problems to +%%% ahenningsen email uni-kiel de. +%%% Further information is available at +%%% http://www.uni-kiel.de/agrarpol/ahenningsen/latex-bibtex.html +%%% +%%% This document class is based on the "scrartcl" class +%%% from the KOMA script bundle. +%%% Following additional packages are required: +%%% amsmath, babel, courier, csquotes, endfloat, endnotes, geometry, +%%% helvet, ifthen, mathptmx, natbib, setspace, url +%%% +%%% The corresponding BibTeX style file "ecca.bst" should be used +%%% for the bibliography: \bibliographystyle{ecca} +%%% +%%% This document class provides 3 new commands: +%%% \keywords can be used to show keywors below the abstract +%%% \jelclass can be used to show JEL classifications below the abstract +%%% \affiliation can be used spefify the affiliation(s) of the author(s) +%%% +%%% If you use footnotes, add following line before the reference section: +%%% \listofendnotes +%%% +%%% Websites of the "Economica": +%%% http://www.blackwellpublishing.com/ecca +%%% http://darp.lse.ac.uk/Frankweb/Economica/EconomicaHome.htm + + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{ecca}[2007/05/08 LaTeX class for the Journal 'Economica'] + +\RequirePackage{ifthen} + +% option to place floats at the end +\newcounter{UseEndfloat} +\setcounter{UseEndfloat}{0} +\DeclareOption{endfloat}{\setcounter{UseEndfloat}{1}} + +% pass any options on to the scrartcl class and load this class with some options +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} +\ProcessOptions\relax +\LoadClass[12pt,english,pointlessnumbers,tablecaptionabove, + noonelinecaption]{scrartcl} +% pointlessnumbers = do not add final dot after ordinary section numbers +% tablecaptionabove = use \captionabove for tables +% noonelinecaption = do not treat one-line captions differently + +% use babel package and set language to english +\RequirePackage[english]{babel} + +% page format, margins +\RequirePackage{geometry} +\geometry{a4paper, tmargin=2.5cm, bmargin=2.8cm, lmargin=2.5cm, + rmargin=2.5cm, headheight=0cm, headsep=0cm, footskip=1.2cm } + +% double spacing +\RequirePackage{setspace} +\doublespacing + +% spacing around formulas +\AtBeginDocument{ +\setlength{\abovedisplayshortskip}{6pt} +\setlength{\belowdisplayshortskip}{6pt} +\setlength{\abovedisplayskip}{6pt} +\setlength{\belowdisplayskip}{6pt} +\allowdisplaybreaks +} + +% spacing around captions and floats +\setlength{\abovecaptionskip}{6pt} +\setlength{\belowcaptionskip}{3pt} +\setlength{\floatsep}{0pt} +\setlength{\textfloatsep}{20pt} +\setlength{\intextsep}{15pt} + +% font families: times/helvetica/courier +\RequirePackage{mathptmx} +\RequirePackage[scaled=0.90]{helvet} +\RequirePackage{courier} + +% amsmath +\RequirePackage[leqno,fleqn]{amsmath} +% leqno = equations are numbered at the left of the page +% for compatibility with ajae.cls +\newcommand{\veclatin}[1]{#1} +\newcommand{\matlatin}[1]{#1} +\newcommand{\vecgreek}[1]{#1} +\newcommand{\matgreek}[1]{#1} + +% font for URLs +\RequirePackage{url} +\def\UrlFont{\rmfamily} + +%% formatting section headers +% numbered by Roman numerals +\renewcommand{\thesection}{\Roman{section}.} +% font +\setkomafont{section}{\normalfont \scshape} +% center section headers (copied from scrartcl.cls and modified thereafter) +\renewcommand\section{\@startsection{section}{1}{\z@}% + {-2.0ex \@plus -1ex \@minus -.2ex}% + {0.5ex \@plus.2ex}% + {\setlength{\parfillskip}{\z@ \@plus 1fil}% + \raggedsection\normalfont\sectfont\nobreak\size@section\nobreak \centering }} +% do not number section "Introduction" +% \let\sectionOrig\section +% \renewcommand{\section}[1]{ +% \ifthenelse{ \equal{ #1 }{ Introduction } } +% {\sectionOrig*{#1}} +% {\sectionOrig{#1}} +% } + +%% formatting subsection headers +% numbered alphabetically +\renewcommand{\thesubsection}{(\alph{subsection})} +% font +\setkomafont{subsection}{\normalfont \itshape} + +% citations and bibliography +\RequirePackage[authoryear]{natbib} +\AtBeginDocument{\renewcommand{\refname}{REFERENCES}} +\setlength{\bibsep}{0pt} + +%% use endnotes in place of footnotes +\RequirePackage{endnotes} +\renewcommand{\notesname}{NOTES} +\let\footnote=\endnote +\newcommand{\listofendnotes}{ + \begingroup + \parindent 0pt + \parskip 0ex + \def\enotesize{\normalsize} + \theendnotes + \endgroup +} +% use normalsize numbers (copied from endnote.sty and modified thereafter) +\def\enoteformat{\rightskip\z@ \leftskip\z@ \parindent=0em + \leavevmode\llap{\theenmark. }} + +%% modify section headers in the appendix +% (copied from scrartcl.cls and modified thereafter) +\renewcommand*\appendix{\par% + \setcounter{section}{0}% + \setcounter{subsection}{0}% + \renewcommand*\thesection{Appendix~\@Alph\c@section}% + \let\othersectionlevelsformat\othersectionlevelsformatAppendix + \@ifundefined{appendixmore}{}{\appendixmore}} +\newcommand*{\othersectionlevelsformatAppendix}[1]{% + \ifthenelse{ \equal{ #1 }{ section } } + {\csname the#1\endcsname : \enskip} + {\csname the#1\endcsname\autodot\enskip} +} + + +% captions of figures and tables +\setcapwidth[c]{\textwidth} +\setcapindent*{0pt} +\setkomafont{captionlabel}{\centering \scshape} +\setkomafont{caption}{\centering \scshape} +\renewcommand{\captionformat}{} + +% move floats to the end of the paper +\ifthenelse{\equal{\theUseEndfloat}{1}}{ + \RequirePackage[heads,nolists,tablesfirst]{endfloat} + \renewcommand{\figureplace}{% + \begin{center} + [\figurename~\thepostfig\ here] + \end{center} + } + \renewcommand{\tableplace}{% + \begin{center} + [\tablename~\theposttbl\ here] + \end{center} + } +}{} + +% titlepage with title, author, affiliation and date +\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}} +\renewcommand{\and}{{\normalfont and}} +\renewcommand{\maketitle}{ + \begin{center} + \begin{Large} + \begin{spacing}{1.25} + \@title + \end{spacing} + \end{Large} + \vspace*{5mm} + By \textsc{\@author}\\ + \ifthenelse{ \isundefined\@affiliation }{}{ + \vspace*{3mm} + \textit{\@affiliation}\\ + } + \vspace*{3mm} + \@date\\ + \vspace*{3mm} + \end{center} +} + + +% abstract, keywords, JEL classification +\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}} +\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}} +\renewenvironment{abstract}{% +\begin{center} +\begin{minipage}{0.94 \textwidth} +\small +}{% +\ifthenelse{ \isundefined\@keywords }{ +\ClassWarningNoLine{ajae}{No keywords specified. + Please use the command \protect\keywords} +}{ + +\medskip \noindent +Key words: \@keywords +} +\ifthenelse{ \isundefined\@jelclass }{ +\ClassWarningNoLine{ajae}{No JEL classification specified. + Please use the command \protect\jelclass} +}{ + +\medskip \noindent +JEL classification: \@jelclass +} +\end{minipage} +\end{center}% +\noindent% +} + +% avoid clubs and widows +\clubpenalty=10000 +\widowpenalty=10000 +% \displaywidowpenalty=10000 + +% increase stretchability of the spaces (avoid overful hboxes) +\setlength{\emergencystretch}{3em} + +% use single quotes +\RequirePackage{csquotes} +\MakeInnerQuote{°} + +% for compatibility with erae.cls +\newcommand{\citetPage}[2]{\citeauthor{#2} (\citeyear{#2}, p.~#1)} +\newcommand{\citepPage}[2]{\citetext{\citealp{#2}, p.~#1}} diff --git a/Master/texmf-dist/tex/latex/economic/itaxpf.cls b/Master/texmf-dist/tex/latex/economic/itaxpf.cls new file mode 100644 index 00000000000..16b4fa8bb68 --- /dev/null +++ b/Master/texmf-dist/tex/latex/economic/itaxpf.cls @@ -0,0 +1,240 @@ +%%% LaTeX class for manuscripts submitted to the +%%% Journal "International Tax and Public Finance" (itaxpf) +%%% +%%% author: Arne Henningsen +%%% version: 1.0 (09 July 2007) +%%% license: LaTeX Project Public License +%%% +%%% Note: This is an unofficial style file that may not fully comply +%%% with the Formatting Instructions of the journal +%%% "International Tax and Public Finance" in every detail. +%%% Please report any problems to +%%% ahenningsen email uni-kiel de. +%%% Further information is available at +%%% http://www.uni-kiel.de/agrarpol/ahenningsen/latex-bibtex.html +%%% +%%% This document class is based on the "scrartcl" class +%%% from the KOMA script bundle. +%%% Following additional packages are required: +%%% amsmath, babel, csquotes, endfloat, endnotes, fontenc, geometry, +%%% ifthen, lmodern, natbib, setspace, url +%%% +%%% The corresponding BibTeX style file "itaxpf.bst" should be used +%%% for the bibliography: \bibliographystyle{itaxpf} +%%% +%%% This class provides 2 options: +%%% titlepage = include a title page (with command "\maketitle") +%%% noendfloat = do not move "floats" (tables and figures) to the end +%%% +%%% This document class provides 4 new commands: +%%% \keywords can be used to show keywors below the abstract +%%% \jelclass can be used to show JEL classifications below the abstract +%%% \affiliation can be used spefify the affiliation(s) of the author(s) +%%% (only shown if option "titlepage" is used) +%%% \address can be used spefify the address of the corresponding author +%%% (only shown if option "titlepage" is used) +%%% +%%% If you use footnotes, add following line before the reference section: +%%% \listofendnotes +%%% +%%% Website of the journal "International Tax and Public Finance": +%%% http://www.springerlink.com/link.asp?id=102915 + + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{itaxpf}[2007/07/09 LaTeX class for the Journal + 'International Tax and Public Finance'] + +\RequirePackage{ifthen} + +% option to place floats not at the end +\newcounter{UseEndfloat} +\setcounter{UseEndfloat}{1} +\DeclareOption{noendfloat}{\setcounter{UseEndfloat}{0}} + +% option to include a title page +\newcounter{IncludeTitlePage} +\setcounter{IncludeTitlePage}{0} +\DeclareOption{titlepage}{\setcounter{IncludeTitlePage}{1}} + +% pass any options on to the scrartcl class and load this class with some options +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} +\ProcessOptions\relax +\LoadClass[12pt,english,pointlessnumbers,tablecaptionabove, + noonelinecaption]{scrartcl} +% pointlessnumbers = do not add final dot after ordinary section numbers +% tablecaptionabove = use \captionabove for tables +% noonelinecaption = do not treat one-line captions differently + +% use new TeX encoding scheme (T1), which contains accented (European) letters, +% to make European hyphenations work +\RequirePackage[T1]{fontenc} + +% use babel package and set language to english +\RequirePackage[english]{babel} + +% page format, margins +\RequirePackage{geometry} +\geometry{letterpaper, tmargin=1.0in, bmargin=1.0in, lmargin=1.0in, + rmargin=1.0in, headheight=0in, headsep=0in, footskip=0.5in } + +% double spacing +\RequirePackage{setspace} +\doublespacing + +% spacing around formulas +\AtBeginDocument{ +\setlength{\abovedisplayshortskip}{6pt} +\setlength{\belowdisplayshortskip}{6pt} +\setlength{\abovedisplayskip}{6pt} +\setlength{\belowdisplayskip}{6pt} +\allowdisplaybreaks +} + +% spacing around captions and floats +\setlength{\abovecaptionskip}{6pt} +\setlength{\belowcaptionskip}{3pt} +\setlength{\floatsep}{0pt} +\setlength{\textfloatsep}{20pt} +\setlength{\intextsep}{15pt} + +% font: latin modern +\RequirePackage{lmodern} + +% amsmath +\RequirePackage{amsmath} +% leqno = equations are numbered at the left of the page +% for compatibility with ajae.cls +\newcommand{\veclatin}[1]{#1} +\newcommand{\matlatin}[1]{#1} +\newcommand{\vecgreek}[1]{#1} +\newcommand{\matgreek}[1]{#1} + +% font for URLs +\RequirePackage{url} +\def\UrlFont{\rmfamily} + +%% formatting section headers +\setkomafont{section}{\normalfont \large \bfseries} +\setkomafont{subsection}{\normalfont} +\setkomafont{subsection}{\normalfont \itshape} + +% citations and bibliography +\RequirePackage[authoryear]{natbib} +\AtBeginDocument{\renewcommand{\refname}{\clearpage References}} +\setlength{\bibsep}{0pt} + +%% use endnotes in place of footnotes +\RequirePackage{endnotes} +\renewcommand{\notesname}{\clearpage Notes} +\let\footnote=\endnote +\newcommand{\listofendnotes}{ + \begingroup + \parindent 0pt + \parskip 0ex + \def\enotesize{\normalsize} + \theendnotes + \endgroup +} +% use normalsize numbers (copied from endnote.sty and modified thereafter) +\def\enoteformat{\rightskip\z@ \leftskip\z@ \parindent=0em + \leavevmode\llap{\theenmark. }} + +% captions of figures and tables +\setcapwidth[c]{\textwidth} +% \setcapindent*{0pt} +\setkomafont{captionlabel}{\centering \bfseries} +\setkomafont{caption}{\centering} +\renewcommand{\captionformat}{~ } + +% move floats to the end of the paper +\ifthenelse{\equal{\theUseEndfloat}{1}}{ + \RequirePackage[heads,nolists,tablesfirst]{endfloat} + \renewcommand{\figureplace}{% + \begin{center} + [\figurename~\thepostfig\ here] + \end{center} + } + \renewcommand{\tableplace}{% + \begin{center} + [\tablename~\theposttbl\ here] + \end{center} + } +}{} + +% titlepage with title, author, affiliation and date +\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}} +\newcommand{\address}[1]{\newcommand{\@address}{#1}} +\renewcommand{\and}{$\cdot$ } +\renewcommand{\maketitle}{ + \ifthenelse{\equal{\theIncludeTitlePage}{1}}{ + \thispagestyle{empty} + \vspace*{25mm} + }{} + \begin{center} + \begin{Large} + \begin{spacing}{1.25} + \textbf{\@title} + \end{spacing} + \end{Large} + \vspace*{5mm} + \ifthenelse{\equal{\theIncludeTitlePage}{1}}{ + \vspace*{7mm} + \@author\\ + \ifthenelse{ \isundefined\@affiliation }{}{ + \vspace*{5mm} + \textit{\@affiliation}\\ + } + \ifthenelse{ \isundefined\@address }{}{ + \vspace*{10mm} + \begin{spacing}{1} + \@address\\ + \end{spacing} + } + \vspace*{3mm} + }{} + \end{center} +} + + +% abstract, keywords, JEL classification +\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}} +\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}} +\renewenvironment{abstract}{% +\noindent +\textbf{Abstract~} +}{% +\ifthenelse{ \isundefined\@keywords }{ +\ClassWarningNoLine{ajae}{No keywords specified. + Please use the command \protect\keywords} +}{ + +\medskip \noindent +\textbf{Key words~} \@keywords +} +\ifthenelse{ \isundefined\@jelclass }{ +\ClassWarningNoLine{ajae}{No JEL classification specified. + Please use the command \protect\jelclass} +}{ + +\medskip \noindent +\textbf{JEL classification~} \@jelclass +} +\clearpage +} + +% avoid clubs and widows +\clubpenalty=10000 +\widowpenalty=10000 +% \displaywidowpenalty=10000 + +% increase stretchability of the spaces (avoid overful hboxes) +\setlength{\emergencystretch}{3em} + +% use single quotes +\RequirePackage{csquotes} +\MakeOuterQuote{°} + +% for compatibility with erae.cls +\newcommand{\citetPage}[2]{\citeauthor{#2} (\citeyear{#2}, p.~#1)} +\newcommand{\citepPage}[2]{\citetext{\citealp{#2}, p.~#1}} -- cgit v1.2.3