summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/iwhdp
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2014-10-15 22:22:14 +0000
committerKarl Berry <karl@freefriends.org>2014-10-15 22:22:14 +0000
commit418570a6666dc24bf8c0577eafd6d10525569b3b (patch)
tree8ea8479a41b930d393cff4e04c2b833919a528d2 /Master/texmf-dist/tex/latex/iwhdp
parentf5074945222244f9ac46c0dc66b3d2fe979c31a3 (diff)
iwhdp (15oct14)
git-svn-id: svn://tug.org/texlive/trunk@35382 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/iwhdp')
-rw-r--r--Master/texmf-dist/tex/latex/iwhdp/iwhdp.cls252
1 files changed, 146 insertions, 106 deletions
diff --git a/Master/texmf-dist/tex/latex/iwhdp/iwhdp.cls b/Master/texmf-dist/tex/latex/iwhdp/iwhdp.cls
index 698c7427881..e11587a4188 100644
--- a/Master/texmf-dist/tex/latex/iwhdp/iwhdp.cls
+++ b/Master/texmf-dist/tex/latex/iwhdp/iwhdp.cls
@@ -7,11 +7,11 @@
%%% Dokumentenklasse iwhdp.cls erste Version: %%%
%%% Wilfried Ehrenfeld im Februar 2010 %%%
%%%**************************************************%%%
-\def\iwhdpversion{0.30}% Diese Version
-\def\iwhdpdate{2012/09/10}% yyyy/mm/dd
+\def\iwhdpversion{0.31}% Diese Version
+\def\iwhdpdate{2014/10/15}% yyyy/mm/dd
%%
%% iwhdp.cls
- %% Copyright 2010-2012 Wilfried Ehrenfeld
+ %% Copyright 2010-2014 Wilfried Ehrenfeld
%
% This work may be distributed and/or modified under the
% conditions of the LaTeX Project Public License, either version 1.3
@@ -33,65 +33,50 @@
%%%-------------------- schnipp! --------------------%%%
%%
%%=====================================================%
-%% IWH DISKUSSIONSPAPIER %
-%% Vorlage: Wilfried Ehrenfeld (2012-01) %
+%% IWH DISCUSSION PAPER %
+%% Template: Wilfried Ehrenfeld (2014-06) %
%%=====================================================%
-%\documentclass[german]{iwhdp}
+%\documentclass[english]{iwhdp}
+%\addbibresource{iwhdp_paper.bib}
+%\begin{document}
%%-----------------------------------------------------%
-%%------------------- *** Bibliographische Angaben *** %
-%%* Titel *--------------------------------------------%
-%\title{Eine \LaTeX-Vorlage für IWH-Diskussionspapiere}% Papersprache
-%\titlealt{A \LaTeX{} template for IWH discussion papers}% Alternativsprache
-%%* Autor *--------------------------------------------%
-%\author{Wilfried Ehrenfeld}%
-%\department{Abteilung Strukturökonomik}%
-%\tel{+49~345~7753\,832}%
-%\email{wilfried.ehrenfeld@iwh-halle.de}%
-%%* Koautor *------------------------------------------%
-%\cauthor{NN}% NN: Kein Koautor
-%\cdepartment{}%
-%\ctel{}%
-%\cemail{}%
-%%* Zweiter Koautor *----------------------------------%
-%\ccauthor{NN}% NN: Kein zweiter Koautor
-%\ccdepartment{}%
-%\cctel{}%
-%\ccemail{}%
-%%* Dritter Koautor *----------------------------------%
-%\cccauthor{NN}% NN: Kein dritter Koautor
-%\cccdepartment{}%
-%\ccctel{}%
-%\cccemail{}%
-%%* Erscheinungsmonat und DP-Nummer -------------------%
-%%\dpdate{05}{1984}% {Monat}{Jahr} - nur nötig, wenn abeichend.
+%\title{The \LaTeX{} template for IWH discussion papers}
+%\titlealt{Die \LaTeX-Vorlage für IWH-Diskussionspapiere}
+%%
+%\author{Wilfried Ehrenfeld}
+%\department{Department of Structural Change}
+%\tel{+49~345~7753\,832}
+%\email{wilfried.ehrenfeld@iwh-halle.de}
+%%
+%%\cauthor{}
+%%\cdepartment{}
+%%\ctel{}
+%%\cemail{}
+%%
+%%\dpdate{06}{2014}% {Monat}{Jahr} - Nur nötig, wenn abeichend.
%%\dpnumber{1}% Nach Zuteilung aktivieren und eintragen.
-%%* Abstract/Zusammenfassung *-------------------------%
-%\dpabstract{Dies ist eine \LaTeX-Vorlage für IWH-Diskussionspapiere.}% Papersprache
-%\dpabstractalt{This is a \LaTeX{} template for IWH discussion papers.}% Alternativsprache
-%%* Keywords, Schlagwörter, JEL -----------------------%
-%\keywords{IWH, \LaTeX, Vorlage}% Papersprache
-%\keywordsalt{IWH, \LaTeX, template}% Alternativsprache
-%\jel{Z0}% JEL-Klassifikation
-%%* Titelfussnote: Danksagung, Bemerkungen etc. *------%
-%\thanks{NN}% Papersprache. NN: Keine
-%\thanksalt{NN}% Papersprache. NN: Keine
-%%-------------- *** Ende Bibliographische Angaben *** %
+%%
+%\dpabstract{This is the \LaTeX{} template for IWH discussion papers.}
+%\dpabstractalt{Dies ist die \LaTeX-Vorlage für IWH-Diskussionspapiere.}
+%%
+%\keywords{IWH, \LaTeX, template, iwhdp}
+%\keywordsalt{IWH, \LaTeX, Vorlage, iwhdp}
+%%
+%\jel{Z0}
+%%
+%%\thanks{Thanks.}
+%%\thanksalt{Danke.}
+%%
%%-----------------------------------------------------%
-%% Literaturdatenbank. Standard: {iwhdp_paper} -> Datei: iwhdp_paper.bib
-%\bibliography{Anleitung}
-%-----------------------------------------------------%
-%\begin{document}
-%\makeiwhtitle% IWH DP Vorspann ausgeben
-%%-------------- *** Text des Papiers *** -------------%
-%\section{Einleitung}
-% ...
-%
-%%----------------- *** Textende *** ------------------%
-%\clearpage% Seitenumbruch
-%\makebib% Literaturverzeichnis ausgeben
+ %\makeiwhtitle
+%%-----------------------------------------------------%
+%\section{Introduction}
+%In the beginning God created the heaven and the earth. ...
+%%-----------------------------------------------------%
+%\clearpage \makebib
%\end{document}
-%
-%% *** EOF iwhdp_paper.tex ***
+%%
+%% EOF iwhdp_paper.tex
%%
%%%-------------------- schnipp! --------------------%%%
%%%--------------------------------------------------%%%
@@ -118,6 +103,7 @@
\newcommand{\iwhconference}{false}% Option für Konferenz. 2011-05-19
% \newcommand{\iwhissn}{false}% electronic. Option für issn. 2011-12-06 - give a kiss to I.D.
\newcommand{\iwhdraft}{false}% Option für Entwurf.
+\newcommand{\linenoswitch}{false}% Schalter für Zeilennummern 2014-06-19
%
%
\DeclareOption{german}{\renewcommand{\iwhlanguage}{d}}% deutsches DP
@@ -130,10 +116,12 @@
\DeclareOption{conference}{\renewcommand{\iwhconference}{true}}% Option für Konferenz. 2011-05-19
\DeclareOption{draft}{\renewcommand{\iwhdraft}{true}}% Entwurfsmodus 2012-01-23
%
+\DeclareOption{lineno}{\renewcommand{\linenoswitch}{true}}% Zeilennummern 2014-06-19
+%
% \DeclareOption{electronic}{\renewcommand{\iwhissn}{false}}% Option für issn elektronisch. 2012-03-29
% \DeclareOption{print}{\renewcommand{\iwhissn}{true}}% Option für issn print. 2012-03-29
%
-\DeclareOption{biber}{\renewcommand{\iwhbackend}{biber}}% biber als Backend für biblatex verwenden
+%\DeclareOption{biber}{\renewcommand{\iwhbackend}{biber}}% biber als Backend für biblatex verwenden
%
%
\DeclareOption*{\ClassWarningNoLine{iwhdp}{Option unbekannt: '\CurrentOption'}}
@@ -154,11 +142,22 @@
%
%% Spracheinstellungen; Pakete laden
\ifthenelse{\equal{\iwhlanguage}{d}}
-{\usepackage[USenglish,ngerman]{babel}}
-{\usepackage[ngerman,USenglish]{babel}}
+{\usepackage[UKenglish,USenglish,ngerman]{babel}}
+{\usepackage[ngerman,UKenglish,USenglish]{babel}}
% Basis-Klassendatei laden: KomaScript Artikel
-\LoadClass[12pt,final,twoside,captions=nooneline,parskip=half-]{scrartcl}%oneline: zentriert; sonst: nooneline
+\LoadClass[%
+ final,%
+ twoside,%
+ captions=nooneline,%
+ parskip=half-,%
+ headings=normal,%
+% headings=small,%
+ 12pt%
+ ]{scrartcl}%oneline: zentriert; sonst: nooneline
+ %]{scrbook}%oneline: zentriert; sonst: nooneline
+%
+\usepackage{scrpage2}
%
\setkomafont{sectioning}{\normalfont\bfseries}% Überschriften
\setkomafont{descriptionlabel}{\normalfont\bfseries}
@@ -168,9 +167,10 @@
\usepackage[ansinew]{inputenc}% ansinew + textcomp => Euro-Zeichen funktioniert :-)
\usepackage[T1]{fontenc}
\usepackage{lmodern}% Schriftart Latin Modern
+%\usepackage{pxfonts}% Palatino
%
%
-\usepackage{fancyhdr}% Formatierung von Kopf- und Fußzeile
+%\usepackage{fancyhdr}% Formatierung von Kopf- und Fußzeile
\usepackage[hang]{footmisc}% Fussnotengestaltung
%
% Besonderheiten der Textgestaltung
@@ -201,6 +201,14 @@
\usepackage{pifont}% Sonderzeichen
\usepackage{xspace}% Leerzeichen mit Abfrage
%
+% Zeilennummern - Optionen: lineno 2014-06-19
+% pagewise % seitenweise Zeilennummern
+% modulo % nur alle ganzzahligen von 5
+% switch* % auf der inneren Seite
+% left % links
+%
+\usepackage[pagewise, switch*]{lineno}
+%
%\setlength{\parskip}{8pt plus0pt minus2pt}% Absatzzwischenraum
\raggedbottom
%
@@ -225,7 +233,7 @@
%------------------------------------------------%
% Seitenlayout
\usepackage{geometry} % Seitenlayout
-\geometry{top=2.3cm, bottom=2.2cm, inner=3cm, outer=3cm} % Seitenraender
+\geometry{top=2.0cm, bottom=2.2cm, inner=3cm, outer=3cm} % Seitenraender
\geometry{includehead, headheight=15pt} % Kopfzeile zaehlt zum Textkoerper
\geometry{includefoot} % Fusszeile zählt zum Textkoerper
\geometry{footskip=1.5cm} % Abstand Text und Fusszeile
@@ -238,31 +246,27 @@
\usepackage{microtype}% Laufweiten anpassen
%
% Kopf- und Fusszeile (zweiseitig)
-\pagestyle{fancy}
-\renewcommand{\headrulewidth}{0pt}
+\pagestyle{scrheadings}
+%\renewcommand{\headrulewidth}{0pt}
+\setlength{\headheight}{1.5\baselineskip}
%
\ifthenelse{\equal{\iwhconference}{false}}{%
% Kopf- und Fußzeilen bei DP
-\fancyhead{}
-\fancyhead[LE]{\small{\sffamily{\textbf{IWH}}}}
-\fancyhead[RE]{\rule{14cm}{0.5pt}}
-\fancyhead[RO]{\small{\sffamily{\textbf{IWH}}}}
-\fancyhead[LO]{\rule{14cm}{0.5pt}}
-%
-\fancyfoot{}
-\fancyfoot[LE]{\thepage}
-\fancyfoot[RE]{\small \iwhdpname \@dpnumber /\thedateyear}
-\fancyfoot[RO]{\thepage}
-\fancyfoot[LO]{\small \iwhdpname \@dpnumber /\thedateyear}
-}{%
-% Kopf- und Fußzeilen bei Konferenz
-\fancyhead{}
-\fancyhead[RE]{\rule{\textwidth}{0.5pt}}
-\fancyhead[LO]{\rule{\textwidth}{0.5pt}}
+\lehead{\small{\sffamily{\textbf{\upshape IWH}}}}
+\rehead{\rule{14cm}{0.5pt}}
+%
+\lohead{\rule{14cm}{0.5pt}}
+\rohead{\upshape \small{\sffamily{\textbf{IWH}}}}
%
-\fancyfoot{}
-\fancyfoot[LE]{\thepage}
-\fancyfoot[RO]{\thepage}
+\lefoot{\upshape \thepage}
+\refoot{\upshape \small \iwhdpname \@dpnumber /\thedateyear}
+%
+\rofoot{\upshape \thepage}
+\lofoot{\upshape \small \iwhdpname \@dpnumber /\thedateyear}
+}{%
+% Kopf- und Fußzeilen bei Konferenz
+\rehead{\rule{\textwidth}{0.5pt}}
+\lohead{\rule{\textwidth}{0.5pt}}
}
%
\ifthenelse{\equal{\iwhdraft}{true}}{%
@@ -287,7 +291,7 @@
%
\newcommand{\makebib}{% 'Literaturverzeichnis' ausgeben bei nobib
\clearpage
-{\Large{\textbf{\ifthenelse{\equal{\iwhlanguage}{d}}%
+{\large{\textbf{\ifthenelse{\equal{\iwhlanguage}{d}}%
{Literatur\\[-0pt]}{References\\[-0pt]}}}}}%
}% Ende Behelfsumgebung nobib
%
@@ -305,16 +309,17 @@
firstinits=true,% Vornamen im LitVerz abkürzen
% backref=true,% Rück-Referenzen in LitVerz
% style=authoryear,% Zitierweise Autor-Jahr in Zitierstil und LitVerz
+ backend=biber,% 'backend' is load-time only option...
hyperref=true% hyperref benutzen
]{biblatex}%
[2011/01/05]% mindestens Version 1.1: wegen maxnames
% Backend wählen
-\ifthenelse{\equal{\iwhbackend}{biber}}%
- {\ifthenelse{\equal{\iwhlanguage}{d}}%
- {\ExecuteBibliographyOptions{backend=biber,sortlocale=de_DE}}%
- {\ExecuteBibliographyOptions{backend=biber,sortlocale=en_US}}%
- }{\ExecuteBibliographyOptions{backend=bibtex8}}
+%\ifthenelse{\equal{\iwhbackend}{biber}}%
+ %{\ifthenelse{\equal{\iwhlanguage}{d}}%
+ %{\ExecuteBibliographyOptions{backend=biber,sortlocale=de_DE}}%
+ %{\ExecuteBibliographyOptions{backend=biber,sortlocale=en_US}}%
+ %}{\ExecuteBibliographyOptions{backend=bibtex8}}
%
%%% Zitate: Jahr und Seiten durch Doppelpunkt trennen
@@ -528,6 +533,7 @@ andothers = {et al.},% 'u. a. ' ändern
\newcommand{\ua}{\mbox{u.\,a.}\xspace}
\newcommand{\so}{\mbox{s.\,o.}\xspace}
\newcommand{\eg}{\mbox{e.\,g.}\xspace}
+\newcommand{\cf}{\mbox{c.\,f.}\xspace}
\newcommand{\seg}{\mbox{see, e.\,g.,}\xspace}
\newcommand{\ie}{\mbox{i.\,e.}\xspace}
%
@@ -538,6 +544,9 @@ andothers = {et al.},% 'u. a. ' ändern
\newcommand{\CO}{CO$_2$\xspace}
\newcommand{\IPCC}{\mbox{IPCC}\xspace}
%
+\newcommand{\narrowspacing}{\setstretch{1.25}}
+\newcommand{\fullspacing}{\setstretch{1.6}}
+%
\graphicspath{{img/}}% Abbildungen (*.jpg, *.pdf) im Unterverzeichnis img werden automatisch gefunden
%
\hyphenation{%
@@ -629,26 +638,52 @@ Emis-si-ons-be-rech-ti-gungen
~\vfill\vfill
%
\begin{center}
+%
+% ------------------
+%\fbox{%
+\begin{minipage}[t]{\textwidth}
+\begin{center}
+%
+\linespread{1.2}
+\Large{\textbf{\@title}}\\[0.7cm]
+%
+\end{center}
+\end{minipage}
+%}% Ende fbox
+% ------------------
+ \\[0.7cm]
+% ------------------
%\fbox{%
\begin{minipage}[t]{11cm}
\begin{center}
%
-\Large{\bf \@title}\\[0.7cm]
+\linespread{1.0}
%
-{\Large \textit \@author}% Name Autor ausgeben
+\Large \textit \@author% Name Autor ausgeben
\@coname{\@cauthor}% Name 1. Koautor ausgeben
\@coname{\@ccauthor}% Name 2. Koautor ausgeben
\@coname{\@cccauthor}% Name 3. Koautor ausgeben
%
-\\[0.7cm]
+\end{center}
+\end{minipage}
+%}% Ende fbox
+% ------------------
+\\[1cm]
+% ------------------
+%\fbox{%
+\begin{minipage}[t]{11cm}
+\begin{center}
%
\ifthenelse{\equal{\iwhconference}{false}}{% DP?
{\large \datemonthname \ \thedateyear \hfill% Monat
\ifthenelse{\equal{\iwhlanguage}{d}}{Nr.}{No.} \@dpnumber}% Nummer
}{}% Ende DP?
+%
\end{center}
\end{minipage}
%}% Ende fbox
+% ------------------
+%
\end{center}
%
\vfill
@@ -719,7 +754,7 @@ eine überarbeitete Version ist unter Umständen direkt von den Autoren erhältlich
%
Kommentare und Vorschläge sowohl zu angewandten Methoden als auch zu den Ergebnissen sind jederzeit willkommen.\\[10pt]
%
-IWH-Diskussionspapiere werden in RePEc-Econpapers und in ECONIS indexiert.
+IWH-Diskussionspapiere werden in RePEc-EconPapers und in ECONIS indexiert.
%
\vfill
%
@@ -759,7 +794,7 @@ a revised version may be available directly from the authors.\\[20pt]
Comments and suggestions on the methods and results presented are welcome.\\[10pt]
%Suggestions and critical comments on the papers are welcome!\\[10pt]%vor 28.02.11
%
-IWH Discussion Papers are indexed in RePEC-Econpapers and in ECONIS.
+IWH Discussion Papers are indexed in RePEc-EconPapers and in ECONIS.
%
\vfill
%
@@ -806,8 +841,7 @@ ISSN 2194-2188 (Online)
\selectlanguage{ngerman}% Sprache: Deutsch
%
\begin{center}
-%\Large{\bf \ifthenelse{\equal{\iwhlanguage}{d}}{\@title}{\@titlealt}}% Titel ausgeben
-\Large{\bf \ifthenelse{\equal{\iwhlanguage}{d}}{\@thirdpagetitle}{\@titlealt}}% Titel ausgeben
+\Large{\ifthenelse{\equal{\iwhlanguage}{d}}{\textbf{\@thirdpagetitle}}{\textbf{\@titlealt}}}% Titel ausgeben
\ifthenelse{\isundefined \@thanksger}{}{% deutsche Titelfußnote vorhanden?
\ifthenelse{\equal{\@thanksger}{NN}}{}%
{\renewcommand{\thefootnote}{*}% Numerierung ändern -> *
@@ -820,7 +854,8 @@ ISSN 2194-2188 (Online)
\vspace{1cm}
-{\large{\bf Zusammenfassung}}\\[4pt] \ifthenelse{\equal{\iwhlanguage}{d}}{\@dpabstract}{\@dpabstractalt}\\[30pt]
+{\large{\textbf{Zusammenfassung}}}\\[4pt] \ifthenelse{\equal{\iwhlanguage}{d}}%
+ {\@dpabstract}{\@dpabstractalt}\\[30pt]
%
{Schlagwörter: }\ifthenelse{\equal{\iwhlanguage}{d}}{\@keywords}{\@keywordsalt}\\[10pt]
%
@@ -840,8 +875,8 @@ ISSN 2194-2188 (Online)
\selectlanguage{USenglish}
%
\begin{center}
-%\Large{\bf \ifthenelse{\equal{\iwhlanguage}{e}}{\@title}{\@titlealt}}% Titel ausgeben
-\Large{\bf \ifthenelse{\equal{\iwhlanguage}{e}}{\@thirdpagetitle}{\@titlealt}}% Titel ausgeben
+\Large{\ifthenelse{\equal{\iwhlanguage}{e}}%
+ {\textbf{\@thirdpagetitle}}{\textbf{\@titlealt}}}% Titel ausgeben
\ifthenelse{\isundefined \@thankseng}{}{%
\ifthenelse{\equal{\@thankseng}{NN}}{}%
{\renewcommand{\thefootnote}{*}%
@@ -854,7 +889,8 @@ ISSN 2194-2188 (Online)
\vspace{1cm}
-{\large{\bf Abstract}}\\[4pt] \ifthenelse{\equal{\iwhlanguage}{e}}{\@dpabstract}{\@dpabstractalt}\\[30pt]
+{\large{\textbf{Abstract}}}\\[4pt] \ifthenelse{\equal{\iwhlanguage}{e}}%
+ {\@dpabstract}{\@dpabstractalt}\\[30pt]
%
{Keywords: }\ifthenelse{\equal{\iwhlanguage}{e}}{\@keywords}{\@keywordsalt}\\[10pt]
%
@@ -876,12 +912,10 @@ ISSN 2194-2188 (Online)
%
\ifthenelse{\equal{\iwhconference}{false}}{% DP?
\IfFileExists{DP_Deckblatt.pdf}{%
- \ThisCenterWallPaper{1}{DP_Deckblatt}% IWH DP Hintergrund
-\setcounter{page}{0}
-\iwhtitlepage}{}
-}{}% Ende DP?
+ \ThisCenterWallPaper{1}{DP_Deckblatt}}{}% IWH DP Hintergrund
%
\iwhtitlepage
+}{}% Ende DP?
%
\iwhsecondpage
%
@@ -896,6 +930,12 @@ ISSN 2194-2188 (Online)
}%
\pagenumbering{arabic} % Arabische Seitenzahlen im Text
%
+% Zeilennummern 2014-06-19
+ \ifthenelse{\equal{\linenoswitch}{true}}{%
+ \linenumbers % Zeilennummern einschalten
+ }{}%
+%
}% Ende Vorspann ausgeben
%
-% EOF iwhdp.cls \ No newline at end of file
+%
+% EOF iwhdp.cls