diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/apa7/config/APA7endfloat.cfg')
-rw-r--r-- | Master/texmf-dist/tex/latex/apa7/config/APA7endfloat.cfg | 141 |
1 files changed, 141 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/apa7/config/APA7endfloat.cfg b/Master/texmf-dist/tex/latex/apa7/config/APA7endfloat.cfg new file mode 100644 index 00000000000..77c8cd02bc3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/apa7/config/APA7endfloat.cfg @@ -0,0 +1,141 @@ +%% +%% This is file `./config/APA7endfloat.cfg', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% apa7.dtx (with options: `APAendfloat') +%% ---------------------------------------------------------------------- +%% +%% apa7 - A LaTeX class for formatting documents in compliance with the +%% American Psychological Association's Publication Manual, 7th edition +%% +%% Copyright (C) 2020 by Daniel A. Weiss <daniel.weiss.led at gmail.com> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% Users may freely modify these files without permission, as long as the +%% copyright line and this statement are maintained intact. +%% +%% This work is not endorsed by, affiliated with, or probably even known +%% by, the American Psychological Association. +%% +%% ---------------------------------------------------------------------- +%% +%% +%% This is file `endfloat.cfg', +%% modifed from the original supplied with the endfloat package +%% to handle both sideways floats and longtable +%% +%% Athanassios Protopapas <protopap@ilsp.gr> +%% July 2005 +%% +%% Original authors: James Darrell McCauley <jdm5548@diamond.tamu.edu>, +%% Jeff Goldberg <j.goldberg@cranfield.ac.uk> +%% Original version: Version 2.4i <October 1995> +%% +\RequirePackage{rotating} +\let\efsaved@sidewaysfigure\sidewaysfigure +\let\efsaved@sidewaystable\sidewaystable +\let\efsaved@longtable\longtable +\AtBeginTables{\let\sidewaystable=\efsaved@sidewaystable\relax} +\AtBeginTables{\let\longtable=\efsaved@longtable\relax} +\AtBeginFigures{\let\sidewaysfigure=\efsaved@sidewaysfigure\relax} +\def\sidewaystable{\efloat@condopen{ttt} + \efloat@iwrite{ttt}{\string\begin{sidewaystable}}% + \def\@currenvir{efloat@float}% + \begingroup + \let\do\ef@makeinnocent \dospecials + \ef@makeinnocent\^^L% and whatever other special cases + \endlinechar`\^^M \catcode`\^^M=12 \ef@xsidetable} +{\catcode`\^^M=12 \endlinechar=-1 % + \gdef\ef@xsidetable#1^^M{\def\test{#1} + \ifx\test\ef@endsidetabletest + \efloat@foundend{ttt}{sidewaystable} + \else + \efloat@iwrite{ttt}{#1}% + \let\next\ef@xsidetable + \fi \next} +} +\def\sidewaysfigure{\efloat@condopen{fff} + \efloat@iwrite{fff}{\string\begin{sidewaysfigure}}% + \def\@currenvir{efloat@float}% + \begingroup + \let\do\ef@makeinnocent \dospecials + \ef@makeinnocent\^^L% and whatever other special cases + \endlinechar`\^^M \catcode`\^^M=12 \ef@xsidefigure} +{\catcode`\^^M=12 \endlinechar=-1 % + \gdef\ef@xsidefigure#1^^M{\def\test{#1} + \ifx\test\ef@endsidefiguretest + \efloat@foundend{fff}{sidewaysfigure} + \else + \efloat@iwrite{fff}{#1}% + \let\next\ef@xsidefigure + \fi \next} +} +\def\longtable{\efloat@condopen{ttt} + \efloat@iwrite{ttt}{\string\begin{longtable}}% + \def\@currenvir{efloat@float}% + \begingroup + \let\do\ef@makeinnocent \dospecials + \ef@makeinnocent\^^L% and whatever other special cases + \endlinechar`\^^M \catcode`\^^M=12 \ef@xlongtable} +{\catcode`\^^M=12 \endlinechar=-1 % + \gdef\ef@xlongtable#1^^M{\def\test{#1} + \ifx\test\ef@endlongtabletest + \efloat@foundend{ttt}{longtable} + \else + \efloat@iwrite{ttt}{#1}% + \let\next\ef@xlongtable + \fi \next} +} +{\escapechar=-1% + \xdef\ef@endsidefiguretest{\string\\end\string\{sidewaysfigure\string\}}% + \xdef\ef@endsidetabletest{\string\\end\string\{sidewaystable\string\}} + \xdef\ef@endlongtabletest{\string\\end\string\{longtable\string\}}}% +%% +%% Copyright (C) 2020 by Daniel A. Weiss <daniel.weiss.led at gmail.com> +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License (LPPL), either +%% version 1.3c of this license or (at your option) any later +%% version. The latest version of this license is in the file: +%% +%% http://www.latex-project.org/lppl.txt +%% +%% Users may freely modify these files without permission, as long as the +%% copyright line and this statement are maintained intact. +%% +%% This work is not endorsed by, affiliated with, or probably even known +%% by, the American Psychological Association. +%% +%% This work is "maintained" (as per LPPL maintenance status) by +%% Daniel A. Weiss. +%% +%% This work consists of the file apa7.dtx +%% and the derived files apa7.ins, +%% apa7.cls, +%% apa7.pdf, +%% README, +%% APA7american.txt, +%% APA7british.txt, +%% APA7dutch.txt, +%% APA7english.txt, +%% APA7german.txt, +%% APA7ngerman.txt, +%% APA7greek.txt, +%% APA7czech.txt, +%% APA7turkish.txt, +%% APA7endfloat.cfg, +%% Figure1.pdf, +%% shortsample.tex, +%% longsample.tex, and +%% bibliography.bib. +%% +%% +%% End of file `./config/APA7endfloat.cfg'. |