summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/apa6e
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-03-03 00:35:00 +0000
committerKarl Berry <karl@freefriends.org>2011-03-03 00:35:00 +0000
commit2f64f338cffe4a03ab1b91741a6f7ff7b5f67269 (patch)
tree23d4da315127e207e2d27d3f688d1da8ed6334ac /Master/texmf-dist/tex/latex/apa6e
parent4b1764622c0c26047430e01ccc59d2c448a25271 (diff)
apa6e (1mar11)
git-svn-id: svn://tug.org/texlive/trunk@21585 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/apa6e')
-rw-r--r--Master/texmf-dist/tex/latex/apa6e/apa6e.cls18
1 files changed, 16 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/apa6e/apa6e.cls b/Master/texmf-dist/tex/latex/apa6e/apa6e.cls
index 52c725cb61e..602edeee6cb 100644
--- a/Master/texmf-dist/tex/latex/apa6e/apa6e.cls
+++ b/Master/texmf-dist/tex/latex/apa6e/apa6e.cls
@@ -36,7 +36,7 @@
%%
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{apa6e}
- [2011/02/12 v0.1 APA 6e manuscript formatting]
+ [2011/03/01 v0.2 APA 6e manuscript formatting]
\DeclareOption{endnotes}{\def\apaSIXe@endnotes\relax}
\DeclareOption{leavefloats}{\def\apaSIXe@leavefloats\relax}
\DeclareOption*{%
@@ -117,6 +117,15 @@ Author Note\par\RaggedRight\@authornote%
{-0.2\baselineskip \@plus -0.2ex \@minus -0.2ex}%
{0.2\baselineskip \@plus .2ex}%
{\Centering\normalfont\normalsize}}
+\renewcommand{\appendix}{\setcounter{section}{0}%
+ \renewcommand{\section}[1]{\addtocounter{section}{1}%
+ \apaSIXe@appendixfloats@setup{\Alph{section}}%
+ \mspart{Appendix \Alph{section}}}}
+\newcommand{\apaSIXe@appendixfloats@go}[1]{%
+ \setcounter{figure}{0}%
+ \renewcommand{\thefigure}{#1\arabic{figure}}%
+ \setcounter{table}{0}%
+ \renewcommand{\thetable}{#1\arabic{table}}}
\ifdefined\apaSIXe@endnotes
\RequirePackage{endnotes}
\renewcommand{\enoteheading}{\mspart{Footnotes}}
@@ -125,10 +134,15 @@ Author Note\par\RaggedRight\@authornote%
\AtEndDocument{\ifdefined \apaSIXe@hasendnotes \theendnotes \fi}
\fi
\ifdefined\apaSIXe@leavefloats
- \relax
+ \newcommand{\apaSIXe@appendixfloats@setup}[1]{\apaSIXe@appendixfloats@go{#1}}
\else
\RequirePackage[nolists,noheads,nomarkers,tablesfirst]{endfloat}
\AtBeginDelayedFloats{\@doublespacing}
+ \newcommand{\apaSIXe@appendixfloats@setup}[1]{%
+ \efloat@iwrite{fff}{%
+ \string\makeatletter\string\apaSIXe@appendixfloats@go{#1}\string\makeatother}%
+ \efloat@iwrite{ttt}{%
+ \string\makeatletter\string\apaSIXe@appendixfloats@go{#1}\string\makeatother}}
\fi
\endinput
%%