blob: 39c67896e30017633df673ab5fb3fa7e2b1efe9d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
|
%
% endfloat configuration file for long tables, to be used with apa.cls
%
\let\efsaved@longtable\longtable
\AtBeginTables{\let\longtable=\efsaved@longtable\relax}
\def\longtable{\efloat@condopen{ttt}
\efloat@iwrite{ttt}{\string\begin{longtable}}%
\if@domarkers
\addtocounter{posttbl}{1}
\tableplace
\fi
\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@endlongtabletest{\string\\end\string\{longtable\string\}}}%
\endinput
|