diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/apa6e/apa6e.cls')
-rw-r--r-- | Master/texmf-dist/tex/latex/apa6e/apa6e.cls | 18 |
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 %% |