texlive[41609] Master/texmf-dist: apa6 (3jul16)

commits+karl at tug.org commits+karl at tug.org
Sun Jul 3 22:45:01 CEST 2016


Revision: 41609
          http://tug.org/svn/texlive?view=revision&revision=41609
Author:   karl
Date:     2016-07-03 22:45:01 +0200 (Sun, 03 Jul 2016)
Log Message:
-----------
apa6 (3jul16)

Modified Paths:
--------------
    trunk/Master/texmf-dist/doc/latex/apa6/apa6.pdf
    trunk/Master/texmf-dist/source/latex/apa6/apa6.dtx
    trunk/Master/texmf-dist/tex/latex/apa6/apa6.cls

Modified: trunk/Master/texmf-dist/doc/latex/apa6/apa6.pdf
===================================================================
(Binary files differ)

Modified: trunk/Master/texmf-dist/source/latex/apa6/apa6.dtx
===================================================================
--- trunk/Master/texmf-dist/source/latex/apa6/apa6.dtx	2016-07-03 20:44:48 UTC (rev 41608)
+++ trunk/Master/texmf-dist/source/latex/apa6/apa6.dtx	2016-07-03 20:45:01 UTC (rev 41609)
@@ -4,11 +4,11 @@
 %                                                                           %
 %    CHANGE THESE VALUES WITH EACH NEW RELEASE:                             %
 %                                                                           %
-%<class>\ProvidesClass{apa6}[2016/05/26 v2.20 APA formatting (6th edition)]
+%<class>\ProvidesClass{apa6}[2016/07/02 v2.22 APA formatting (6th edition)]
 %                                                                           %
 %<*internal>                                                                %
-\def\apaSixVersionDate{2016/05/26}
-\def\apaSixVersionNumber{2.20}
+\def\apaSixVersionDate{2016/07/02}
+\def\apaSixVersionNumber{2.22}
 %                                                                           %
 %                                                                           %
 % %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
@@ -293,7 +293,12 @@
 % \changes{v2.20}{2016/05/26}{Added Turkish localization file}
 % \changes{v2.20}{2016/05/26}{Corrected `doc' mode to be one-sided}
 %
+% \changes{v2.21}{2016/07/02}{Added code to be more friendly to
+% rotated tables in `man' mode}
 %
+% \changes{v2.22}{2016/07/02}{Bug fix for `floatsintext' option with
+% sideways tables}%
+%
 % \begin{abstract}
 %   The \textit{Publication Manual} of the American Psychological
 %   Association is widely used in the social sciences.  The most
@@ -392,8 +397,13 @@
 %   installation to the working folder of your document (not in your
 %   |texmf| tree), and rename it to |endfloat.cfg| so that endfloat
 %   will recognize it.  The supplied |APAendfloat.cfg| file will also
-%   be necessary in conjunction with \textsf{rotating} package (and
-%   its |\sideways| command) to produce rotated tables.
+%   be necessary in conjunction with the \textsf{rotating} package
+%   (and its |\sideways| command) to produce rotated tables; this
+%   works for |man| mode only.  For rotated tables in |jou| or |doc|
+%   mode, the \textsf{rotating} package may be used.  If sideways
+%   tables get pushed to the end of your document with the
+%   |floatsintext| option, try using the |ph!| placement specifier for
+%   your sideways table(s); for example, |\begin{sidewaystable}[ph!]|.
 % \item \DescribeMacro{notxfonts}|notxfonts|: In |jou| mode, prevents
 %   \textsf{txfonts} from loading, in case \textsf{pslatex} or
 %   \textsf{times} is preferable for some reason.
@@ -2370,6 +2380,15 @@
           \endlinechar`\^^M \catcode`\^^M=12 \ef at xtable%
       \fi
   }%
+
+% for rotated tables, per Ulrike Fischer:  http://tex.stackexchange.com/a/79843
+  \AtEndPreamble{%
+    \@ifpackageloaded{rotating}{%
+      \DeclareDelayedFloatFlavor{sidewaystable}{table}
+      \DeclareDelayedFloatFlavor{sidewaysfigure}{figure}
+      }{}%
+  }%
+
 }{%
   \RequirePackage{float}
   \floatplacement{figure}{htb}

Modified: trunk/Master/texmf-dist/tex/latex/apa6/apa6.cls
===================================================================
--- trunk/Master/texmf-dist/tex/latex/apa6/apa6.cls	2016-07-03 20:44:48 UTC (rev 41608)
+++ trunk/Master/texmf-dist/tex/latex/apa6/apa6.cls	2016-07-03 20:45:01 UTC (rev 41609)
@@ -27,7 +27,7 @@
 %% 
 %% ----------------------------------------------------------------------
 %% 
-\ProvidesClass{apa6}[2016/05/26 v2.20 APA formatting (6th edition)]
+\ProvidesClass{apa6}[2016/07/02 v2.22 APA formatting (6th edition)]
 \NeedsTeXFormat{LaTeX2e}
 
 \DeclareOption{man}{%
@@ -1046,6 +1046,14 @@
           \endlinechar`\^^M \catcode`\^^M=12 \ef at xtable%
       \fi
   }%
+
+  \AtEndPreamble{%
+    \@ifpackageloaded{rotating}{%
+      \DeclareDelayedFloatFlavor{sidewaystable}{table}
+      \DeclareDelayedFloatFlavor{sidewaysfigure}{figure}
+      }{}%
+  }%
+
 }{%
   \RequirePackage{float}
   \floatplacement{figure}{htb}



More information about the tex-live-commits mailing list