From 66a510089fd3f3f081f17b0f317f1834a9475f0b Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Wed, 31 Dec 2008 18:46:01 +0000 Subject: economic update (30dec08) git-svn-id: svn://tug.org/texlive/trunk@11770 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/economic/agecon.cls | 209 ++++++++++++++++ Master/texmf-dist/tex/latex/economic/ajae.cls | 99 +++++--- Master/texmf-dist/tex/latex/economic/apecon.cls | 204 ++++++++++++++++ Master/texmf-dist/tex/latex/economic/erae.cls | 63 ++++- Master/texmf-dist/tex/latex/economic/jrurstud.cls | 281 ++++++++++++++++++++++ Master/texmf-dist/tex/latex/economic/oegatb.cls | 219 +++++++++++++++++ Master/texmf-dist/tex/latex/economic/pocoec.cls | 256 ++++++++++++++++++++ Master/texmf-dist/tex/latex/economic/regstud.cls | 276 +++++++++++++++++++++ Master/texmf-dist/tex/latex/economic/worlddev.cls | 245 +++++++++++++++++++ 9 files changed, 1820 insertions(+), 32 deletions(-) create mode 100644 Master/texmf-dist/tex/latex/economic/agecon.cls create mode 100644 Master/texmf-dist/tex/latex/economic/apecon.cls create mode 100644 Master/texmf-dist/tex/latex/economic/jrurstud.cls create mode 100644 Master/texmf-dist/tex/latex/economic/oegatb.cls create mode 100644 Master/texmf-dist/tex/latex/economic/pocoec.cls create mode 100644 Master/texmf-dist/tex/latex/economic/regstud.cls create mode 100644 Master/texmf-dist/tex/latex/economic/worlddev.cls (limited to 'Master/texmf-dist/tex/latex') diff --git a/Master/texmf-dist/tex/latex/economic/agecon.cls b/Master/texmf-dist/tex/latex/economic/agecon.cls new file mode 100644 index 00000000000..2b42e01e77e --- /dev/null +++ b/Master/texmf-dist/tex/latex/economic/agecon.cls @@ -0,0 +1,209 @@ +%%% LaTeX class for manuscripts submitted to the +%%% journal 'Agricultural Economics' (AgEcon) +%%% +%%% author: Arne Henningsen +%%% version: 1.0 (4 January 2008) +%%% license: LaTeX Project Public License +%%% +%%% Note: This is an unofficial style file that may not fully comply +%%% with the AgEcon Formatting Instructions in every detail. +%%% Please report any problems to . +%%% 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, caption, endfloat, geometry, +%%% lmodern, natbib, setspace, titlesec, url +%%% +%%% The class provides following options: +%%% noendfloat - do not move floats to the end of the paper +%%% author - show name(s) of authors(s) +%%% date - show date +%%% letterpaper - use US letter paper format instead of A4 +%%% +%%% The corresponding BibTeX style file "agecon.bst" should be used +%%% for the bibliography: \bibliographystyle{agecon} +%%% +%%% This document class provides 3 new commands: +%%% \keywords can be use to show keywors below the abstract +%%% \jelclass can be use to show JEL classifications below the abstract +%%% \affiliation can be used to add affiliation information +%%% + + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{agecon}[2008/01/04 LaTeX class for the journal 'Agricultural Economics'] + +\RequirePackage{ifthen} + +% option to NOT place floats at the end +\newcounter{UseEndfloat} +\setcounter{UseEndfloat}{1} +\DeclareOption{noendfloat}{\setcounter{UseEndfloat}{0}} + +% option to show the authors' names +\newcounter{ShowAuthor} +\setcounter{ShowAuthor}{0} +\DeclareOption{author}{\setcounter{ShowAuthor}{1}} + +% option to print the date +\newcounter{ShowDate} +\setcounter{ShowDate}{0} +\DeclareOption{date}{\setcounter{ShowDate}{1}} + +% option use US letter format (instead of A4) +\newcounter{UseLetterPaper} +\setcounter{UseLetterPaper}{0} +\DeclareOption{letterpaper}{\setcounter{UseLetterPaper}{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,pointednumbers,tablecaptionabove]{scrartcl} +% pointednumbers = add final dot after ordinary section numbers +% tablecaptionabove = use \captionabove for tables + +% fontencoding + inputencoding +\usepackage[T1]{fontenc} +\usepackage[latin1]{inputenc} + +% use babel package and set language to english +\RequirePackage[english]{babel} + +% page format, margins +\RequirePackage{geometry} +\ifthenelse{\equal{\theUseLetterPaper}{0}}{ + \geometry{a4paper, tmargin=2.5cm, bmargin=2.8cm, lmargin=2.5cm, + rmargin=2.5cm, headheight=0cm, headsep=0cm, footskip=1.2cm } +}{ + \geometry{letterpaper, tmargin=2.5cm, bmargin=2.8cm, lmargin=2.5cm, + rmargin=2.5cm, headheight=0cm, headsep=0cm, footskip=1.2cm } +} + +% double spacing +\RequirePackage{setspace} +\doublespacing + +% font of (subsub)section headers +\setkomafont{section}{\bfseries} +\setkomafont{subsection}{\normalfont\itshape} +\setkomafont{subsubsection}{\normalfont\itshape} + +% spacing around (sub)section headers +\RequirePackage{titlesec} +\titlespacing*{\section}{0pt}{1em}{0.25em} +\titlespacing*{\subsection}{0pt}{0.85em}{0.15em} + +% 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}{5pt} + +% font: latin modern +\RequirePackage{lmodern} + +% amsmath +\RequirePackage[fleqn]{amsmath} +% 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} + +% citations and bibliography +\RequirePackage[authoryear]{natbib} +\setlength{\bibsep}{0pt} + +% captions of figures and tables +\usepackage{caption} +\captionsetup{justification=raggedright,singlelinecheck=false, + labelfont=rm,textfont=rm} +\captionsetup[table]{labelsep=newline} +\captionsetup[figure]{labelsep=period} +\addto\captionsenglish{% + \renewcommand{\figurename}{Fig.}% +} + +% titlepage without author and date +\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}} +\renewcommand{\maketitle}{ + \begin{center} + \begin{spacing}{1.5} + \LARGE{\textbf{\@title}}% + \end{spacing} + \ifthenelse{\equal{\theShowAuthor}{1}}{ + \begin{large} + \textbf{\@author}\\ + \end{large} + \ifthenelse{ \isundefined\@affiliation }{}{ + \vspace*{3mm} + \begin{small} + \@affiliation\\ + \end{small} + } + \vspace*{5mm} + }{} + \ifthenelse{\equal{\theShowDate}{1}}{ + \@date\\ + \vspace*{5mm} + }{} + \end{center} +} + +% abstract, keywords, JEL classification +\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}} +\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}} +\renewenvironment{abstract}{% +\hrule +\section*{Abstract} +}{% +\ifthenelse{ \isundefined\@jelclass }{}{ +\smallskip\\ \noindent +\textit{JEL classification:} \@jelclass +} +\ifthenelse{ \isundefined\@keywords }{}{ +\smallskip\\ \noindent +\textit{Key words:} \@keywords +} +\bigskip +\hrule +\clearpage +} + +% avoid clubs and widows +\clubpenalty=10000 +\widowpenalty=10000 +% \displaywidowpenalty=10000 + +% increase stretchability of the spaces (avoid overful hboxes) +\setlength{\emergencystretch}{3em} + +% move floats to the end of the paper +\ifthenelse{\equal{\theUseEndfloat}{1}}{ +\RequirePackage[heads,tablesfirst,nomarkers,nolists]{endfloat} +}{} + +% use double 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}} diff --git a/Master/texmf-dist/tex/latex/economic/ajae.cls b/Master/texmf-dist/tex/latex/economic/ajae.cls index 77df3d104c6..8dedd39d56f 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.2 (13 May 2007) +%%% version: 1.4 (3 September 2007) %%% license: LaTeX Project Public License %%% %%% Note: This is an unofficial style file that may not fully comply @@ -23,6 +23,7 @@ %%% author - show name(s) of authors(s) %%% date - show date %%% preprint - print the 'preprint notice' +%%% published - print a notice that the paper has been published %%% %%% %%% The corresponding BibTeX style file "ajae.bst" should be used @@ -37,6 +38,9 @@ %%% \matlatin should be used for latin symbols that denote matrices %%% \vecgreek should be used for greek symbols that denote vectors %%% \matgreek should be used for greek symbols that denote matrices +%%% \ajaeyear, \ajaeissue, \ajaenumber, and \ajaepages should be used +%%% after the publication to specify the year, issue, number, +%%% and pages, respectively. %%% %%% If you use footnotes, add following lines before the reference section: %%% \clearpage @@ -44,34 +48,39 @@ \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{ajae}[2006/08/22 LaTeX class for the American Journal of Agricultural Economics] +\ProvidesClass{ajae}[2007/09/03 LaTeX class for the American Journal of Agricultural Economics] \RequirePackage{ifthen} % option to use footnotes in place of endnotes -\newcounter{UseEndnotes} -\setcounter{UseEndnotes}{1} -\DeclareOption{noendnotes}{\setcounter{UseEndnotes}{0}} +\newif\if@UseEndnotes +\@UseEndnotestrue +\DeclareOption{noendnotes}{\@UseEndnotesfalse} % option to NOT place floats at the end -\newcounter{UseEndfloat} -\setcounter{UseEndfloat}{1} -\DeclareOption{noendfloat}{\setcounter{UseEndfloat}{0}} +\newif\if@UseEndfloat +\@UseEndfloattrue +\DeclareOption{noendfloat}{\@UseEndfloatfalse} % option to show the authors' names -\newcounter{ShowAuthor} -\setcounter{ShowAuthor}{0} -\DeclareOption{author}{\setcounter{ShowAuthor}{1}} +\newif\if@ShowAuthor +\@ShowAuthorfalse +\DeclareOption{author}{\@ShowAuthortrue} % option to print the date -\newcounter{ShowDate} -\setcounter{ShowDate}{0} -\DeclareOption{date}{\setcounter{ShowDate}{1}} +\newif\if@ShowDate +\@ShowDatefalse +\DeclareOption{date}{\@ShowDatetrue} % option to print the 'preprint notice' -\newcounter{ShowPreprintNote} -\setcounter{ShowPreprintNote}{0} -\DeclareOption{preprint}{\setcounter{ShowPreprintNote}{1}} +\newif\if@ShowPreprintNote +\@ShowPreprintNotefalse +\DeclareOption{preprint}{\@ShowPreprintNotetrue} + +% option to print the 'published notice' +\newif\if@ShowPublishedNote +\@ShowPublishedNotefalse +\DeclareOption{published}{\@ShowPublishedNotetrue} % pass any options on to the scrartcl class and load this class with some options \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} @@ -157,10 +166,15 @@ \setcounter{secnumdepth}{0} % leading unnumbered footnote -\def\leadingfootnote{\xdef\@thefnmark{}\@footnotetext} +\long\def\leadingfootnote#1{\begingroup% + \def\thefootnote{\fnsymbol{footnote}}\footnote[0]{#1}\endgroup} % titlepage without author and date \newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}} +\newcommand{\ajaeissue}[1]{\newcommand{\@ajaeissue}{#1}} +\newcommand{\ajaenumber}[1]{\newcommand{\@ajaenumber}{#1}} +\newcommand{\ajaeyear}[1]{\newcommand{\@ajaeyear}{#1}} +\newcommand{\ajaepages}[1]{\newcommand{\@ajaepages}{#1}} \renewcommand{\maketitle}{ \begin{center} \begin{LARGE} @@ -169,7 +183,7 @@ \end{spacing} \end{LARGE} \vspace*{10mm} - \ifthenelse{\equal{\theShowAuthor}{1}}{ + \if@ShowAuthor \begin{large} \textbf{\@author}\\ \end{large} @@ -180,20 +194,47 @@ \end{small} } \vspace*{5mm} - }{} - \ifthenelse{\equal{\theShowDate}{1}}{ + \fi + \if@ShowDate \@date\\ \vspace*{5mm} - }{} - \ifthenelse{\equal{\theShowPreprintNote}{1}}{ + \fi + \if@ShowPreprintNote \begin{small} This is a preprint of an Article accepted for publication in - American Journal of Agricultural Economics. + \textit{American Journal of Agricultural Economics}. \copyright{} \the\year , American Agricultural Economics Association \end{small} \vspace*{5mm} - }{} + \fi + \if@ShowPublishedNote + \begin{small} + This is an electronic version of an Article published in\\ + \textit{American Journal of Agricultural Economics}% + \ifthenelse{ \isundefined\@ajaeissue }{% + \ClassWarningNoLine{ajae}{No issue of the AJAE publication specified. + Please use the command \protect\ajaeissue}% + }{, \@ajaeissue{}}% + \ifthenelse{ \isundefined\@ajaenumber }{% + \ClassWarningNoLine{ajae}{No number of the AJAE publication specified. + Please use the command \protect\ajaenumber}% + }{(\@ajaenumber{})}% + \ifthenelse{ \isundefined\@ajaepages }{% + \ClassWarningNoLine{ajae}{No pages of the AJAE publication specified. + Please use the command \protect\ajaepages}% + }{, p.~\@ajaepages{}}.\\ + \copyright{}% + \ifthenelse{ \isundefined\@ajaeyear }{% + \ClassWarningNoLine{ajae}{No year of the AJAE publication specified. + Please use the command \protect\ajaeyear}% + }{\@ajaeyear{}} + American Agricultural Economics Association.\\ + The final version is available on + \url{http://www.blackwell-synergy.com/loi/AJAE} + \end{small} + \vspace*{5mm} + \fi \end{center} } @@ -249,7 +290,7 @@ JEL classification: \@jelclass \setlength{\emergencystretch}{3em} % use endnotes in place of footnotes -\ifthenelse{\equal{\theUseEndnotes}{1}}{ +\if@UseEndnotes \RequirePackage{endnotes} \let\footnote=\endnote \newcommand{\listofendnotes}{ @@ -260,12 +301,12 @@ JEL classification: \@jelclass \theendnotes \endgroup } -}{} +\fi % move floats to the end of the paper -\ifthenelse{\equal{\theUseEndfloat}{1}}{ +\if@UseEndfloat \RequirePackage[tabhead,fighead,nomarkers,nolists]{endfloat} -}{} +\fi % for compatibility with erae.cls \newcommand{\citetPage}[2]{\citeauthor{#2} (\citeyear{#2}, p.~#1)} diff --git a/Master/texmf-dist/tex/latex/economic/apecon.cls b/Master/texmf-dist/tex/latex/economic/apecon.cls new file mode 100644 index 00000000000..eede3c23369 --- /dev/null +++ b/Master/texmf-dist/tex/latex/economic/apecon.cls @@ -0,0 +1,204 @@ +%%% LaTeX class for manuscripts submitted to the +%%% journal 'Applied Economics' +%%% +%%% author: Arne Henningsen +%%% version: 1.0 (14 April 2008) +%%% license: LaTeX Project Public License +%%% +%%% Note: This is an unofficial style file that may not fully comply +%%% with the formatting instructions of 'Applied Economics' in every detail. +%%% Please report any problems to emailuni-kielde>. +%%% 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, fontenc, geometry, ifthen +%%% inputenc, lmodern, natbib, setspace, textcomp, url +%%% +%%% The class provides following option: +%%% noendfloat - don't move floats to the end of the paper +%%% +%%% By default, the corresponding BibTeX style "apecon.bst" is used. +%%% +%%% This document class provides 4 new commands: +%%% \affiliation specify affiliation(s) of the authors +%%% \address specify address(es) of the affiliation(s) +%%% \rtitle specify running title (max. 75 letters and spaces) +%%% \cauthor specify corresponding author including contact details +%%% + + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{apecon}[2008/04/14 LaTeX class for the journal 'Applied Economics'] + +% package for convenient if-then-else statements +\RequirePackage{ifthen} + +% option to NOT place floats at the end +\newif\if@useendfloat +\@useendfloattrue +\DeclareOption{noendfloat}{\@useendfloatfalse} + +% pass any options on to the scrartcl class and load this class with some options +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} +\ProcessOptions\relax +\LoadClass[12pt,english,pointednumbers,tablecaptionabove]{scrartcl} +% pointednumbers = add final dot after ordinary section numbers +% tablecaptionabove = use \captionabove for tables + +% fontencoding + inputencoding +\RequirePackage[T1]{fontenc} +\RequirePackage[utf8]{inputenc} +\RequirePackage{textcomp} + +% page format, margins +\RequirePackage{geometry} +\geometry{a4paper, tmargin=2.5cm, bmargin=2.8cm, lmargin=4cm, + rmargin=2cm, headheight=0cm, headsep=0cm, footskip=1.2cm } + +% one half 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}{5pt} + +% font family: latin modern +\RequirePackage{lmodern} + +% section headers +\setkomafont{section}{\sffamily\bfseries} +\setkomafont{subsection}{\normalfont\sffamily\itshape} +\setkomafont{subsubsection}{\normalfont\sffamily} +\renewcommand{\thesection}{\Roman{section}} +\setcounter{secnumdepth}{1} + +% amsmath +\RequirePackage{amsmath} +% 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} + +% citations and bibliography +\RequirePackage[authoryear]{natbib} +\setlength{\bibsep}{0pt} +\bibliographystyle{apecon} + +% captions of figures and tables +\setcapwidth[l]{\textwidth} +\setcapindent{0pt} +\setkomafont{captionlabel}{\normalsize\normalfont\bfseries} +\setkomafont{caption}{\normalsize\normalfont\bfseries} +\renewcommand{\captionformat}{.\ } + +% titlepage without author and date +\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}} +\newcommand{\address}[1]{\newcommand{\@address}{#1}} +\newcommand{\rtitle}[1]{\newcommand{\@rtitle}{#1}} +\newcommand{\cauthor}[1]{\newcommand{\@cauthor}{#1}} +\renewcommand{\maketitle}{ + \begin{center} + \begin{spacing}{1.5} + \LARGE{\textbf{\@title}}% + \end{spacing} + \ifthenelse{ \isundefined\@author }{ + \ClassWarning{apecon}{No author(s) specified. + Please specify with command \protect\author} + }{ + \begin{large} + \textbf{\@author}\\ + \end{large} + \vspace*{3mm} + } + \begin{spacing}{1.1} + \ifthenelse{ \isundefined\@affiliation }{ + \ClassWarning{apecon}{No affiliation(s) specified. + Please specify with command \protect\affiliation} + }{ + \textit{\@affiliation}\\ + } + \ifthenelse{ \isundefined\@address }{ + \ClassWarningNoLine{apecon}{No addresses of the authors are specified. + Please specify with command \protect\address} + }{ + \textit{\@address}\\ + } + \end{spacing} + \vspace*{5mm} + \end{center} + \ifthenelse{ \isundefined\@rtitle }{ + \ClassWarningNoLine{apecon}{No running title is specified. + Please specify with command \protect\rtitle\space (max. 75 letters)} + }{ + \textbf{Running title:}\\ + \@rtitle\\ + } +} + +% abstract, keywords, JEL classification +\renewenvironment{abstract}{% + \begin{spacing}{1.5} + \noindent + \textbf{Abstract}\\ +}{% + \smallskip\\ \noindent + \end{spacing} + \begin{spacing}{1.1} + \noindent + \textbf{Corresponding author:} + \ifthenelse{ \isundefined\@cauthor }{ + ??? + \ClassWarningNoLine{apecon}{No corresponding author + (including contact details) is specified. + Please specify with command \protect\cauthor} + }{ + \\\@cauthor\\ + } + \clearpage + \end{spacing} +} + +% use babel package and set language to english +\RequirePackage[english]{babel} + +% avoid clubs and widows +\clubpenalty=10000 +\widowpenalty=10000 +% \displaywidowpenalty=10000 + +% increase stretchability of the spaces (avoid overful hboxes) +\setlength{\emergencystretch}{3em} + +% move floats to the end of the paper +\if@useendfloat + \RequirePackage[noheads,nomarkers,tablesfirst,nolists]{endfloat} +\fi + +% 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/erae.cls b/Master/texmf-dist/tex/latex/economic/erae.cls index 16446cd51e2..9bdf1aba9f1 100644 --- a/Master/texmf-dist/tex/latex/economic/erae.cls +++ b/Master/texmf-dist/tex/latex/economic/erae.cls @@ -2,7 +2,7 @@ %%% European Review of Agricultural Economics (ERAE) %%% %%% author: Arne Henningsen -%%% version: 1.0.1 (28 August 2006) +%%% version: 1.1 (10 November 2007) %%% license: LaTeX Project Public License %%% %%% Note: This is an unofficial style file that may not fully comply @@ -17,19 +17,42 @@ %%% amsmath, babel, courier, endfloat, geometry, %%% helvet, mathptmx, natbib, setspace, titlesec, url %%% +%%% The class provides following options: +%%% noendfloat - don't move floats to the end of the paper +%%% author - show name(s) of authors(s) +%%% date - show date +%%% %%% The corresponding BibTeX style file "erae.bst" should be used %%% for the bibliography: \bibliographystyle{erae} %%% %%% This document class provides 4 new commands: %%% \keywords can be use to show keywors below the abstract %%% \jelclass can be use to show JEL classifications below the abstract +%%% \affiliation can be used to add affiliation information %%% \citetPage{page}{key} for citations like Author (Year: page) %%% \citepPage{page}{key} for citations like (Author, year: page) %%% \NeedsTeXFormat{LaTeX2e} -\ProvidesClass{erae}[2006/08/22 LaTeX class for the European Review of Agricultural Economics] +\ProvidesClass{erae}[2007/11/10 LaTeX class for the European Review of Agricultural Economics] + +\RequirePackage{ifthen} + +% option to NOT place floats at the end +\newcounter{UseEndfloat} +\setcounter{UseEndfloat}{1} +\DeclareOption{noendfloat}{\setcounter{UseEndfloat}{0}} + +% option to show the authors' names +\newcounter{ShowAuthor} +\setcounter{ShowAuthor}{0} +\DeclareOption{author}{\setcounter{ShowAuthor}{1}} + +% option to print the date +\newcounter{ShowDate} +\setcounter{ShowDate}{0} +\DeclareOption{date}{\setcounter{ShowDate}{1}} % pass any options on to the scrartcl class and load this class with some options \DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} @@ -38,6 +61,10 @@ % pointednumbers = add final dot after ordinary section numbers % tablecaptionabove = use \captionabove for tables +% fontencoding + inputencoding +\usepackage[T1]{fontenc} +\usepackage[latin1]{inputenc} + % page format, margins \RequirePackage{geometry} \geometry{a4paper, tmargin=2.5cm, bmargin=2.8cm, lmargin=2.5cm, @@ -96,11 +123,29 @@ \renewcommand{\captionformat}{.\ } % titlepage without author and date +\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}} \renewcommand{\maketitle}{ + \begin{center} \begin{spacing}{1.5} - \centering \LARGE{\textbf{\@title}}% \end{spacing} + \ifthenelse{\equal{\theShowAuthor}{1}}{ + \begin{large} + \textbf{\@author}\\ + \end{large} + \ifthenelse{ \isundefined\@affiliation }{}{ + \vspace*{3mm} + \begin{small} + \@affiliation\\ + \end{small} + } + \vspace*{5mm} + }{} + \ifthenelse{\equal{\theShowDate}{1}}{ + \@date\\ + \vspace*{5mm} + }{} + \end{center} } % abstract, keywords, JEL classification @@ -114,10 +159,20 @@ \textbf{Abstract} \end{center} }{% +\ifthenelse{ \isundefined\@keywords }{ +\ClassWarningNoLine{erae}{No keywords specified. + Please use the command \protect\keywords} +}{ \smallskip\\ \noindent Key words: \@keywords +} +\ifthenelse{ \isundefined\@jelclass }{ +\ClassWarningNoLine{erae}{No JEL classification specified. + Please use the command \protect\jelclass} +}{ \smallskip\\ \noindent JEL classification: \@jelclass +} \end{minipage} \end{center}% \noindent% @@ -135,7 +190,9 @@ JEL classification: \@jelclass \setlength{\emergencystretch}{3em} % move floats to the end of the paper +\ifthenelse{\equal{\theUseEndfloat}{1}}{ \RequirePackage[heads,tablesfirst,nolists]{endfloat} +}{} % use single quotes \RequirePackage{csquotes} diff --git a/Master/texmf-dist/tex/latex/economic/jrurstud.cls b/Master/texmf-dist/tex/latex/economic/jrurstud.cls new file mode 100644 index 00000000000..4da91fc352f --- /dev/null +++ b/Master/texmf-dist/tex/latex/economic/jrurstud.cls @@ -0,0 +1,281 @@ +%%% LaTeX class for manuscripts submitted to the +%%% Journal of Rural Studies (JRurStud) +%%% +%%% author: Arne Henningsen +%%% version: 1.0 (16 April 2008) +%%% license: LaTeX Project Public License +%%% +%%% Note: This is an unofficial style file that may not fully comply +%%% with the JRurStud formatting instructions in every detail. +%%% Please report any problems to emailuni-kielde>. +%%% 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, inputenc, lmodern, natbib, setspace, stringstrings, textcomp, url +%%% +%%% The class provides the following options: +%%% noendfloat - don't move floats to the end of the paper +%%% noendnotes - don't use endnotes (use footnotes) +%%% titlepage - create "first" title page with title, authors' names, +%%% affiliations, and address of corresponding author +%%% nosecondtitle - do not create "second" title page with (repeated) title +%%% +%%% This class selects the BibTeX style "elsart-harv.bst". +%%% (see http://www.elsevier.com/wps/find/authorsview.authors/elsart) +%%% +%%% This class provides 5 new commands: +%%% \affiliation specify affiliation(s) of the authors +%%% \cauthormark mark the corresponding author (by an asterisk) +%%% \cauthoraddress specify address of the corresponding author +%%% \keywords specify some keywords (separated by semicolons) +%%% +%%% The manuscript submitted to JRurStud shouldn't include any figures. +%%% If your paper contains any figures and you haven't removed/disabled +%%% them in the LaTeX source, you can remove the pages showing these figures +%%% from the PDF file. If you want to remove, say, pages 18 and 19 with +%%% "pdftk" (PDF toolkit), you could execute +%%% pdftk original.pdf cat 1-17 20-end output manuscript.pdf +%%% While this needs some extra effort, it has the advantage (compared to +%%% removing the figures in the LaTeX source) that references to figures +%%% with \ref{} still work. +%%% +%%% Website of the "Journal of Rural Studies": +%%% http://www.elsevier.com/locate/jrurstud/ +%%% + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{jrurstud}[2008/04/14 LaTeX class for the Journal of Rural Studies] + +% package for convenient if-then-else statements +\RequirePackage{ifthen} + +% option to NOT place floats at the end +\newif\if@useendfloat +\@useendfloattrue +\DeclareOption{noendfloat}{\@useendfloatfalse} + +% option to NOT use endnotes (but footnotes) +\newif\if@useendnotes +\@useendnotestrue +\DeclareOption{noendnotes}{\@useendnotesfalse} + +% option to create a "first" title page +\newif\if@maketitlepage +\@maketitlepagefalse +\DeclareOption{titlepage}{\@maketitlepagetrue} + +% option not to create a "second" title page +\newif\if@makesecondtitle +\@makesecondtitletrue +\DeclareOption{nosecondtitle}{\@makesecondtitlefalse} + +% pass any options on to the scrartcl class and load this class with some options +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} +\ProcessOptions\relax +\LoadClass[12pt,english,pointednumbers,tablecaptionabove]{scrartcl} +% pointednumbers = add final dot after ordinary section numbers +% tablecaptionabove = use \captionabove for tables + +% fontencoding + inputencoding +\RequirePackage[T1]{fontenc} +\RequirePackage[utf8]{inputenc} +\RequirePackage{textcomp} + +% page format, margins +\RequirePackage{geometry} +\geometry{a4paper, tmargin=2.5cm, bmargin=2.8cm, lmargin=2.8cm, + rmargin=2.8cm, 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}{5pt} + +% font family: latin modern +\RequirePackage{lmodern} + +% section headers +\setkomafont{section}{\bfseries} +\setkomafont{subsection}{\normalfont\itshape} +\setkomafont{subsubsection}{\normalfont} + +% amsmath +\RequirePackage{amsmath} +% 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} + +% citations and bibliography +\RequirePackage[authoryear]{natbib} +\setlength{\bibsep}{0pt} +\bibliographystyle{elsart-harv} + +% captions of figures and tables +\setcapwidth[l]{\textwidth} +\setcapindent{0pt} +\setkomafont{captionlabel}{\normalsize\normalfont\bfseries} +\setkomafont{caption}{\normalsize\normalfont\bfseries} +\renewcommand{\captionformat}{.\ } + +% titlepage without author and date +\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}} +\newcommand{\cauthoraddress}[1]{\newcommand{\@cauthoraddress}{#1}} +\newcommand{\cauthormark}{\textsuperscript{*}} +\renewcommand{\maketitle}{ + \if@maketitlepage + \thispagestyle{empty} + \vspace*{12mm} + \begin{center} + \begin{spacing}{1.5} + \LARGE{\textbf{\@title}}% + \end{spacing} + \ifthenelse{ \isundefined\@author }{ + \ClassWarning{apecon}{No author(s) specified. + Please specify with command \protect\author} + }{ + \begin{large} + \textbf{\@author}\\ + \end{large} + \vspace*{3mm} + } + \begin{spacing}{1.1} + \ifthenelse{ \isundefined\@affiliation }{ + \ClassWarning{apecon}{No affiliation(s) specified. + Please specify with command \protect\affiliation} + }{ + \textit{\@affiliation}\\ + } + \vspace*{2cm} + \textbf{\cauthormark{}~Corresponding author}.\\ + \ifthenelse{ \isundefined\@cauthoraddress }{ + \ClassWarningNoLine{jrurstud}{No address of the corresponding authors + is specified. Please specify with command \protect\cauthoraddress} + }{ + \@cauthoraddress\\ + } + \end{spacing} + \vspace*{5mm} + \end{center} + \clearpage + \fi + \if@makesecondtitle + \begin{center} + \begin{spacing}{1.5} + \LARGE{\textbf{\@title}}% + \end{spacing} + \end{center} + \fi +} + +% abstract, keywords, JEL classification +\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}} +\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}} +\renewenvironment{abstract}{% + \hrule + \vspace*{5mm} + \begin{spacing}{1.5} + \noindent + \textbf{Abstract}\\ + \indent +}{% + \ifthenelse{ \isundefined\@keywords }{ + \ClassWarningNoLine{erae}{No keywords specified. + Please use the command \protect\keywords} + }{ + \vspace*{5mm}\\ \noindent + \textit{Keywords:} \@keywords% + } + \vspace*{5mm} + \end{spacing} + \hrule + \clearpage +} + +% use babel package and set language to english +\RequirePackage[english]{babel} + +% avoid clubs and widows +\clubpenalty=10000 +\widowpenalty=10000 +% \displaywidowpenalty=10000 + +% increase stretchability of the spaces (avoid overful hboxes) +\setlength{\emergencystretch}{3em} + +% move floats to the end of the paper +\if@useendfloat + \RequirePackage[noheads,tablesfirst]{endfloat} + \AtBeginDelayedFloats{% + \pagestyle{empty} + } + \RequirePackage{stringstrings} + \renewcommand{\@makecaption}[2]{% + \testmatchingchar{#1}{1}{T} + \ifmatchingchar + \hfill \thetable\\ + \vspace*{3cm} + \fi + } + \renewcommand*{\l@figure}[2]{% + \setlength\@tempdima{2.3em}% + \noindent\hspace*{1.5em}#1\hfil\newline + } + \let\l@table\l@figure +\fi + +%% use endnotes in place of footnotes +\if@useendnotes + \RequirePackage{endnotes} + \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. }} + \AtEndDocument{% + \IfFileExists{\jobname.ent}{% + \clearpage + \pagestyle{empty} + \listofendnotes + }{} + } +\fi + +% 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/oegatb.cls b/Master/texmf-dist/tex/latex/economic/oegatb.cls new file mode 100644 index 00000000000..21460431827 --- /dev/null +++ b/Master/texmf-dist/tex/latex/economic/oegatb.cls @@ -0,0 +1,219 @@ +%%% LaTeX class for short papers for publication in the "Tagungsband" +%%% of the "Oesterreichische Gesellschaft für Agraroekonomie" (OeGA) +%%% +%%% author: Arne Henningsen +%%% version: 1.0 (19 August 2008) +%%% license: LaTeX Project Public License +%%% +%%% Note: This is an unofficial style file that may not fully comply +%%% with the OeGA Formatting Instructions in every detail. +%%% Please report any problems to . +%%% 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, fancyhdr, geometry, helvet, ifthen, +%%% natbib, setspace, titlesec, url +%%% +%%% The class provides following options: +%%% german - German language (default) +%%% english - English language +%%% nopagenumbers - suppress page numbers +%%% +%%% +%%% The corresponding BibTeX style file "oega.bst" is used +%%% for the bibliography: \bibliographystyle{oega} +%%% +%%% This document class provides following new commands: +%%% \affiliation should be used to add affiliation information + + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{oegatb}[2008/08/19 LaTeX class for the OeGA Tagungsband] + +% option for English language +\newif\if@LanguageEnglish +\@LanguageEnglishfalse +\DeclareOption{english}{\@LanguageEnglishtrue} +\DeclareOption{german}{\@LanguageEnglishfalse} + +% option for no page numbers +\newif\if@PageNumbers +\@PageNumberstrue +\DeclareOption{nopagenumbers}{\@PageNumbersfalse} + +% pass any options on to the scrartcl class and load this class with some options +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} +\ProcessOptions\relax +\LoadClass[10pt,tablecaptionabove]{scrartcl} +% tablecaptionabove = use \captionabove for tables + +% load ifthen package +\RequirePackage{ifthen} + +% Verdana font +\RequirePackage[scaled=1.18]{helvet} +\renewcommand\familydefault{phv} + +% page format, margins +\RequirePackage{geometry} +\geometry{a4paper, tmargin=2.3cm, bmargin=2.5cm, lmargin=2.6cm, + rmargin=2.0cm, headheight=0in, headsep=0in, footskip=1.25cm} + +% language +\if@LanguageEnglish + \RequirePackage[english]{babel} +\else + \RequirePackage[ngerman]{babel} +\fi + +% space between columns +\setlength{\columnsep}{1.25cm} + +% spacing +\RequirePackage{setspace} + +% formatting of main text +\newcommand{\StartTextFormat}{% + \footnotesize% + \begin{spacing}{1.18}% +} +\newcommand{\EndTextFormat}{% + \end{spacing}% +} + +% spacing around (sub)section headers +\RequirePackage{titlesec} +\titlespacing*{\section}{0pt}{1em}{0.25em} +\titlespacing*{\subsection}{0pt}{0.85em}{0.15em} + +% spacing around formulas +\newcommand{\SetFormulaSpacings}{ +\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}{5pt} + +% section headers: centering and set font +\titleformat{\section}[block] + {\normalfont\filcenter} + {\arabic{section}. } + {0pt} + {\normalfont\small\scshape} + +% subsection headers: font +\setkomafont{subsection}{\normalfont\footnotesize\itshape} + +% footnote: font +\setkomafont{footnote}{\fontsize{6pt}{8pt}\selectfont} +% no rule between text and footnotes +\renewcommand{\footnoterule}{} + +% URLS: font +\RequirePackage{url} +\def\UrlFont{\sffamily} + +% math +\RequirePackage{amsmath} + +% citations and bibliography +\RequirePackage[authoryear]{natbib} +\setlength{\bibsep}{4pt} +\setlength{\bibhang}{0em} +\bibliographystyle{oega} + +% set footer +\RequirePackage{fancyhdr} +\renewcommand{\headrulewidth}{0pt} +\newcommand{\FormatFooters}{% +\fancyhead{} +\fancyfoot{} +% \fancyfoot[L]{\fontsize{6pt}{8pt}\selectfont{\"O}GA Tagungsband \the\year} +\if@PageNumbers + \fancyfoot[R]{\footnotesize\thepage} +\fi +\pagestyle{fancy} +} + +% captions of figures and tables +\setcapindent{0pt} +\setkomafont{captionlabel}{\normalfont\scriptsize} +\setkomafont{caption}{\normalfont\scriptsize} +\renewcommand{\captionformat}{.\ } + +% section and subsections are not numbered +\setcounter{secnumdepth}{0} + +% titlepage without author and date +\renewcommand{\maketitle}{ +\twocolumn[ + \begin{@twocolumnfalse} + \begin{center} + \vspace*{5mm} + \begin{huge} + \begin{spacing}{1.25} + \@title + \end{spacing} + \end{huge} + \vspace*{6mm} + \@author\\ + \vspace*{4.5mm} + \end{center} + \end{@twocolumnfalse} + ] +\StartTextFormat +} + +% abstract with affiliation +\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}} +\renewenvironment{abstract}{% +\noindent% +\scriptsize% +\bfseries% +\textit{Abstract} -- +}{% +\ifthenelse{ \isundefined\@affiliation }{ +\ClassWarning{oegatb}{no affiliation specified. + Please use command \protect\affiliation}% +}{% +\deffootnote[0pt]{0pt}{1.5em}{}% +\hspace{-1.0em}\footnote{\@affiliation}}% +\deffootnote[0.5em]{0.5em}{1.5em}{\textsuperscript{\thefootnotemark}}% +} + +% avoid clubs and widows +\clubpenalty=10000 +\widowpenalty=10000 +% \displaywidowpenalty=10000 + +% increase stretchability of the spaces (avoid overful hboxes) +\setlength{\emergencystretch}{3em} + +% commands that should be used at the beginning / end of the document +\AtBeginDocument{ +\sffamily +\SetFormulaSpacings +\FormatFooters +} +\AtEndDocument{ +\EndTextFormat +} + +% for compatibility with other classes +\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}} % ignored +\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}} % ignored + +% 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/pocoec.cls b/Master/texmf-dist/tex/latex/economic/pocoec.cls new file mode 100644 index 00000000000..31f392cf9fb --- /dev/null +++ b/Master/texmf-dist/tex/latex/economic/pocoec.cls @@ -0,0 +1,256 @@ +%%% LaTeX class for manuscripts submitted to the +%%% Journal 'Post-Communist Economies' (PoCoEc) +%%% +%%% author: Arne Henningsen +%%% version: 1.1 (16 September 2008) +%%% license: LaTeX Project Public License +%%% +%%% Note: This is an unofficial style file that may not fully comply +%%% with the PoCoEc formatting instructions in every detail. +%%% Please report any problems to googlemailcom>. +%%% 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, inputenc, lmodern, natbib, setspace, stringstrings, textcomp, url +%%% +%%% The class provides the following options: +%%% noendfloat - don't move floats to the end of the paper +%%% nofulltitlepage - suppress "full" title page with author names, +%%% affiliations, and address of corresponding author +%%% noshorttitlepage - suppress "short" title page without information +%%% about authors +%%% showauthor - show author name(s) on "short" title page +%%% (useful in combination with option "nofulltitlepage") +%%% +%%% This class selects the BibTeX style "tandfx.bst". +%%% (Taylor and Francis Reference Style X) +%%% +%%% This class provides 5 new commands: +%%% \affiliation specify affiliation(s) of the authors +%%% \cauthormark mark the corresponding author (by an asterisk) +%%% \cauthoraddress specify address of the corresponding author +%%% \keywords specify some keywords (separated by semicolons) +%%% +%%% +%%% Websites of the journal ``Post-Communist Economies": +%%% +%%% + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{pocoec}[2008/09/16 LaTeX class for the journal 'Post-Communist Economies'] + +% package for convenient if-then-else statements +\RequirePackage{ifthen} + +% option to NOT place floats at the end +\newif\if@useendfloat +\@useendfloattrue +\DeclareOption{noendfloat}{\@useendfloatfalse} + +% option to suppress the full title page with author names +\newif\if@makefulltitlepage +\@makefulltitlepagetrue +\DeclareOption{nofulltitlepage}{\@makefulltitlepagefalse} + +% option to suppress the short title page without author names +\newif\if@makeshorttitlepage +\@makeshorttitlepagetrue +\DeclareOption{noshorttitlepage}{\@makeshorttitlepagefalse} + +% option to show author name(s) +\newif\if@showauthor +\@showauthorfalse +\DeclareOption{showauthor}{\@showauthortrue} + + +% pass any options on to the scrartcl class and load this class with some options +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} +\ProcessOptions\relax +\LoadClass[12pt,english,pointednumbers,tablecaptionabove]{scrartcl} +% pointednumbers = add final dot after ordinary section numbers +% tablecaptionabove = use \captionabove for tables + +% fontencoding + text companion fonts +\RequirePackage[T1]{fontenc} +\RequirePackage{textcomp} + +% page format, margins +\RequirePackage{geometry} +\geometry{a4paper, tmargin=2.5cm, bmargin=2.8cm, lmargin=2.8cm, + rmargin=2.8cm, 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}{6mm} + +% font families: times/helvetica/courier +\RequirePackage{mathptmx} +\RequirePackage[scaled=.90]{helvet} +\RequirePackage{courier} + +% section headers +\setkomafont{section}{\rmfamily\bfseries} +\setkomafont{subsection}{\rmfamily\bfseries\itshape} +\setkomafont{subsubsection}{\rmfamily\itshape} +\setkomafont{paragraph}{\rmfamily\itshape} +\setcounter{secnumdepth}{0} + +% amsmath +\RequirePackage{amsmath} +% 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} + +% citations and bibliography +\RequirePackage[authoryear]{natbib} +\setlength{\bibsep}{0pt} +\bibliographystyle{tandfx} + +% captions of figures and tables +\setcapwidth[l]{\textwidth} +\setcapindent{0pt} +\setkomafont{captionlabel}{\normalsize\normalfont\bfseries} +\setkomafont{caption}{\normalsize\normalfont\bfseries} +\renewcommand{\captionformat}{.\ } + +% titlepage(s) +\newcommand{\affiliation}[1]{\newcommand{\@affiliation}{#1}} +\newcommand{\affilmark}[1]{\textsuperscript{\normalfont{#1}}} +\newcommand{\email}[1]{\newcommand{\@email}{#1}} +\newif\if@cauthormarkused +\@cauthormarkusedfalse +\newcommand{\cauthormark}{\textsuperscript{*}\@cauthormarkusedtrue} +\RequirePackage{stringstrings} +\renewcommand{\maketitle}{ + \if@makefulltitlepage + \setcounter{page}{0} + \thispagestyle{empty} + \vspace*{12mm} + \begin{spacing}{1.5}\noindent + \large{\textbf{\@title}}% + \end{spacing} + \vspace*{6mm} + \ifthenelse{ \isundefined\@author }{ + \ClassWarning{pocoec}{No author(s) specified. + Please specify with command \protect\author} + }{ + } + \noindent + \@author\\ + \if@cauthormarkused + \else + \ClassWarningNoLine{pocoec}{No author has been indicated as + corresponding author. + Please specify with command \protect\cauthormark} + \fi + \vspace*{6mm} + \begin{spacing}{1.1} + \ifthenelse{ \isundefined\@affiliation }{ + \ClassWarning{pocoec}{No affiliation(s) specified. + Please specify with command \protect\affiliation} + }{ + \noindent + \textit{\@affiliation}\\ + } + \vfill + \ifthenelse{ \isundefined\@email }{ + \ClassWarningNoLine{pocoec}{No email address of the corresponding author + is specified. Please specify with command \protect\email} + }{ + \noindent + \rule{0.3\textwidth}{0.1mm}\\ + \vspace*{2mm}\noindent + \cauthormark% + \findwords[q]{\@author}{~and~}% + \ifthenelse{ \equal{\theresult}{0} }{}{% + Corresponding author. + }% + Email: \url{\@email}\\ + } + \end{spacing} + \vspace*{5mm} + \clearpage + \fi + \if@makeshorttitlepage + \begin{spacing}{1.5}\noindent + \large{\textbf{\@title}} + \if@showauthor + \renewcommand{\cauthormark}{} + \findwords[q]{\@author}{~and~}% + \ifthenelse{ \equal{\theresult}{0} }{% + \renewcommand{\affilmark}[1]{}}{}% + \vspace*{3mm}\\ + \@author + \vspace*{1mm}\\ + \textit{\small \@affiliation} + \fi + \end{spacing} + \vspace*{4mm} + \fi +} + +% abstract, keywords +\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}} +\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}} +\renewenvironment{abstract}{% + \vspace*{5mm} + \noindent + \textbf{Abstract}\\ + \noindent +}{% + \ifthenelse{ \isundefined\@keywords }{ + \ClassWarningNoLine{pocoec}{No keywords specified. + Please use the command \protect\keywords} + }{ + \vspace*{5mm}\\ \noindent + \textbf{Keywords:} \@keywords% + } + \vspace*{5mm} + \clearpage +} + +% use babel package and set language to british english +\RequirePackage[english,british]{babel} + +% avoid clubs and widows +\clubpenalty=10000 +\widowpenalty=10000 +% \displaywidowpenalty=10000 + +% increase stretchability of the spaces (avoid overful hboxes) +\setlength{\emergencystretch}{3em} + +% move floats to the end of the paper +\if@useendfloat + \RequirePackage[nolists,tablesfirst]{endfloat} +\fi + +% 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/regstud.cls b/Master/texmf-dist/tex/latex/economic/regstud.cls new file mode 100644 index 00000000000..b7e156796d0 --- /dev/null +++ b/Master/texmf-dist/tex/latex/economic/regstud.cls @@ -0,0 +1,276 @@ +%%% LaTeX class for manuscripts submitted to the +%%% Journal "Regional Studies" (regstud) +%%% +%%% author: Arne Henningsen +%%% version: 1.0 (14 January 2008) +%%% license: LaTeX Project Public License +%%% +%%% Note: This is an unofficial style file that may not fully comply +%%% with the Formatting Instructions of the "Regional Studies" 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, fontnec, geometry, +%%% ifthen, inputenc, natbib, setspace, soul, titlesec, url, verbatim +%%% +%%% The corresponding BibTeX style file "regstud.bst" should be used +%%% for the bibliography: \bibliographystyle{regstud} +%%% +%%% The document class provides following options: +%%% noendfloat - don't move floats to the end of the paper +%%% hidefloats - hide all floats (figures and tables) +%%% author - show name(s) of authors(s) +%%% date - show date +%%% +%%% 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 +%%% +%%% To prepare a manuscript without floats, you can use +%%% either option "hidefloats" to hide all floats +%%% or extract the pages that do not include the floats +%%% with "pdftk", e.g. "pdftk all.pdf cat 1-14 output main.pdf" +%%% The former has the drawback that references to the hidden floats +%%% with \ref{} are no longer possible. +%%% The figures and tables can be extracted as images, e.g. with kpdf. +%%% +%%% Website of the "Regional Studies": +%%% http://www.tandf.co.uk/journals/titles/00343404.asp + + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{regstud}[2008/01/14 LaTeX class for the Journal 'Regional Studies'] + +% option to NOT place floats at the end +\newif\if@UseEndfloat +\@UseEndfloattrue +\DeclareOption{noendfloat}{\@UseEndfloatfalse} + +% option to hide floats +\newif\if@HideFloats +\@HideFloatsfalse +\DeclareOption{hidefloats}{\@HideFloatstrue \@UseEndfloatfalse} + +% option to show the authors' names +\newif\if@ShowAuthor +\@ShowAuthorfalse +\DeclareOption{author}{\@ShowAuthortrue} + +% option to print the date +\newif\if@ShowDate +\@ShowDatefalse +\DeclareOption{date}{\@ShowDatetrue} + +% pass any options on to the scrartcl class and load this class with some options +\DeclareOption*{\PassOptionsToClass{\CurrentOption}{scrartcl}} +\ProcessOptions\relax +\LoadClass[12pt,english,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 + +% for internal use +\RequirePackage{ifthen} + +% use "T1" TeX encoding scheme, 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} + +% 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: latin modern +\RequirePackage{lmodern} + +% amsmath +\RequirePackage{amsmath} +% 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 +\RequirePackage{titlesec} +% package for letterspacing +\RequirePackage{soul} +% format of section headers +\newcommand{\secformat}[1]{\MakeUppercase{\so{#1}}} +\titleformat{\section}[block] + {\normalfont\filcenter} + {} + {0pt} + {\secformat} +% spacing around section headers +\titlespacing*{\section}{0pt}{3ex}{0.3ex} +% format of subsection headers +\titleformat{\subsection}[block] + {\normalsize\itshape} + {} + {0pt} + {} +% spacing around subsection headers +\titlespacing*{\subsection}{0pt}{2ex}{0.15ex} + +%% warning if subsubsection headers are present +\renewcommand{\subsubsection}[1]{% +\ClassWarningNoLine{regstud}{subsubsections are ignored}% +} + +% 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. }} + + +% captions of figures and tables +\setcapwidth[c]{\textwidth} +\setkomafont{captionlabel}{\centering \itshape} +\setkomafont{caption}{\centering \itshape} +\renewcommand{\captionformat}{.\, } +\addto\captionsenglish{% + \renewcommand{\figurename}{Fig.}% +} + +% move floats to the end of the paper +\if@UseEndfloat + \RequirePackage[noheads,nolists,tablesfirst,nomarkers]{endfloat} + \AtBeginDelayedFloats{\pagestyle{empty}} +\fi + +% hide floats +\if@HideFloats + \RequirePackage{verbatim} + \let\figure=\comment + \let\endfigure=\endcomment + \let\table=\comment + \let\endtable=\endcomment +\fi + +% 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} + \textbf{\@title} + \end{spacing} + \end{Large} + \vspace*{5mm} + \if@ShowAuthor + \MakeUppercase{\so{\@author}}\\ + \ifthenelse{ \isundefined\@affiliation }{}{ + \textit{\@affiliation}\\ + } + \vspace*{3mm} + \fi + \if@ShowDate + \@date\\ + \vspace*{3mm} + \fi + \vspace*{2mm} + \end{center} +} + + +% abstract, keywords, JEL classification +\newcommand{\keywords}[1]{\newcommand{\@keywords}{#1}} +\newcommand{\jelclass}[1]{\newcommand{\@jelclass}{#1}} +\renewenvironment{abstract}{% +\vspace*{-\baselineskip} +\mbox{}\\\noindent% +}{% +\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 +} + +\medskip +} + +% 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/worlddev.cls b/Master/texmf-dist/tex/latex/economic/worlddev.cls new file mode 100644 index 00000000000..8bc7757fea5 --- /dev/null +++ b/Master/texmf-dist/tex/latex/economic/worlddev.cls @@ -0,0 +1,245 @@ +%%% LaTeX class for manuscripts submitted to the +%%% Journal "World Development" (worlddev) +%%% +%%% author: Arne Henningsen +%%% version: 1.0 (05 March 2008) +%%% license: LaTeX Project Public License +%%% +%%% Note: This is an unofficial style file that may not fully comply +%%% with the Formatting Instructions of the "World Development" 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, textcomp, titlesec, url +%%% +%%% The class provides following options: +%%% noendnotes - don't use endnotes (use footnotes) +%%% noendfloat - don't move floats to the end of the paper +%%% author - show name(s) of authors(s) +%%% date - show date +%%% +%%% 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 +%%% +%%% Website of the journal "World Development": +%%% http://www.elsevier.com/wps/locate/worlddev/ + + +\NeedsTeXFormat{LaTeX2e} +\ProvidesClass{worlddev}[2007/05/08 LaTeX class for the Journal 'World Development'] + +\RequirePackage{ifthen} + +% use "T1" TeX encoding scheme +\RequirePackage[T1]{fontenc} + +% option NOT to place floats at the end +\newcounter{UseEndfloat} +\setcounter{UseEndfloat}{1} +\DeclareOption{noendfloat}{\setcounter{UseEndfloat}{0}} + +% option to use footnotes in place of endnotes +\newcounter{UseEndnotes} +\setcounter{UseEndnotes}{1} +\DeclareOption{noendnotes}{\setcounter{UseEndnotes}{0}} + +% option to show the authors' names +\newcounter{ShowAuthor} +\setcounter{ShowAuthor}{0} +\DeclareOption{author}{\setcounter{ShowAuthor}{1}} + +% option to print the date +\newcounter{ShowDate} +\setcounter{ShowDate}{0} +\DeclareOption{date}{\setcounter{ShowDate}{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 family: Latin Modern +\RequirePackage{textcomp} +\RequirePackage{lmodern} + +% amsmath +\RequirePackage[fleqn]{amsmath} +% 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 and subsection headers +\RequirePackage{titlesec} +% format of section headers +\newcommand{\secformat}[1]{\MakeUppercase{#1}} +\titleformat{\section}[block] + {\normalfont\filcenter} + {\arabic{section}. } + {0pt} + {\secformat} +% spacing around section headers +\titlespacing*{\section}{0pt}{3ex}{0.3ex} +% format of subsection headers +\titleformat{\subsection}[block] + {\normalsize\filcenter} + {(\alph{subsection}) } + {0pt} + {\textit} +% spacing around subsection headers +\titlespacing*{\subsection}{0pt}{2ex}{0.15ex} + +%% warning if subsubsection headers are present +\renewcommand{\subsubsection}[1]{% +\ClassWarning{worlddev}{subsubsections are ignored}% +} + +% citations and bibliography +\RequirePackage[authoryear]{natbib} +\setlength{\bibsep}{0pt} + +%% use endnotes in place of footnotes +\ifthenelse{\equal{\theUseEndnotes}{1}}{ + \RequirePackage{endnotes} + \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} +\setkomafont{caption}{\centering \itshape} +\renewcommand{\captionformat}{. } + +% move floats to the end of the paper +\ifthenelse{\equal{\theUseEndfloat}{1}}{ + \RequirePackage[nolists,tablesfirst]{endfloat} +}{} + +% 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} + \textbf{\@title} + \end{spacing} + \end{Large} + \vspace*{5mm} + \ifthenelse{\equal{\theShowAuthor}{1}}{ + \MakeUppercase{\@author}\\ + \ifthenelse{ \isundefined\@affiliation }{}{ + \vspace*{3mm} + \textit{\@affiliation}\\ + } + }{} + \vspace*{3mm} + \ifthenelse{\equal{\theShowDate}{1}}{ + \@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 +\textbf{Summary.}\;---% +}{% +\ifthenelse{ \isundefined\@keywords }{ +\ClassWarningNoLine{worlddev}{No keywords specified. + Please use the command \protect\keywords} +}{ + +\medskip \noindent +\textit{Key words} --- \@keywords +} +\ifthenelse{ \isundefined\@jelclass }{ +}{ + +\medskip \noindent +\textit{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 double 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