project/static/proceedings/sources/ltxgrid.sty
author Madhusudan.C.S <madhusudancs@gmail.com>
Tue, 13 Jul 2010 17:00:55 +0530
changeset 106 7ebd3a7e8ccf
parent 99 30b754364bbb
permissions -rw-r--r--
Revert all leading /2009 from URL Patters since this is now handled in Apache on server.
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
99
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     1
%%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
%% This is file `ltxgrid.sty',
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
%% generated with the docstrip utility.
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
%%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
%% The original source files were:
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     6
%%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     7
%% ltxgrid.dtx  (with options: `ltxgrid,ltxgrid-krn')
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     8
%% 
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
%% This is a generated file;
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    10
%% altering it directly is inadvisable;
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    11
%% instead, modify the original source file.
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    12
%% See the URL in the file 00readme.txt.
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    13
%% 
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    14
%% Copyright notice.
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    15
%% 
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    16
%%    These files are distributed
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    17
%%    WITHOUT ANY WARRANTY; without even the implied warranty of
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    18
%%    MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
%% 
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    20
%%%  @LaTeX-file{
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    21
%%%     filename        = "ltxgrid.dtx",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    22
%%%     version         = "1.0rc5",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    23
%%%     date            = "2001/07/26",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    24
%%%     time            = "12:23:00 GMT+8",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    25
%%%     checksum        = "4234",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    26
%%%     author          = "Arthur Ogawa (mailto:ogawa@teleport.com),
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    27
%%%                        commissioned by the American Physical Society.
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    28
%%%                        ",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    29
%%%     copyright       = "Copyright (C) 1999, 2000 Arthur Ogawa,
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    30
%%%                        distributed under the terms of the
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    31
%%%                        LaTeX Project Public License, see
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    32
%%%                        ftp://ctan.tug.org/macros/latex/base/lppl.txt
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    33
%%%                        ",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    34
%%%     address         = "Arthur Ogawa,
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    35
%%%                        USA",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    36
%%%     telephone       = "",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    37
%%%     FAX             = "",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    38
%%%     email           = "ogawa@teleport.com",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    39
%%%     codetable       = "ISO/ASCII",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    40
%%%     keywords        = "latex, page grid, main vertical list",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    41
%%%     supported       = "yes",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    42
%%%     abstract        = "package to change page grid, MVL",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    43
%%%     docstring       = "The checksum field above generated by ltxdoc",
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    44
%%%  }
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    45
\NeedsTeXFormat{LaTeX2e}[1995/12/01]%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    46
\ProvidesFile{ltxgrid.sty}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    47
 [2001/07/26 1.0rc5 page grid package]% \fileversion
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    48
\def\package@name{ltxgrid}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    49
\expandafter\PackageInfo\expandafter{\package@name}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    50
 Page grid for \protect\LaTeXe,
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    51
 by A. Ogawa (ogawa@teleport.com)%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    52
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    53
\RequirePackage{ltxutil}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    54
\typeout{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    55
 ltxgrid: portions licensed from W. E. Baxter (web@superscript.com)%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    56
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    57
\newcounter{linecount}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    58
\def\lineloop#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    59
 \loop
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    60
 \ifnum\c@linecount<#1\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    61
  \global\advance\c@linecount\@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    62
  \par
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    63
  \hb@xt@\hsize{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    64
   \ifnum\c@linecount<100 0\fi\ifnum\c@linecount<10 0\fi\number\c@linecount
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    65
   \vrule depth2.5\p@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    66
   \leaders\hrule\hfil
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    67
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    68
  \penalty\interlinepenalty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    69
 \repeat
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    70
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    71
\let\@@mark\mark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    72
\let\@@topmark\topmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    73
\let\@@firstmark\firstmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    74
\let\@@botmark\botmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    75
\let\@@splitfirstmark\splitfirstmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    76
\let\@@splitbotmark\splitbotmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    77
\def\@themark{{}{}{}{}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    78
\def\nul@mark{{}{}{}{}\@@nul}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    79
\def\set@mark@netw@#1#2#3#4#5#6#7{\gdef#1{{#6}{#7}{#4}{#5}}\do@mark}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    80
\def\set@marktw@#1#2#3#4#5#6{\gdef#1{{#2}{#6}{#4}{#5}}\do@mark}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    81
\def\set@markthr@@#1#2#3#4#5#6{\gdef#1{{#2}{#3}{#6}{#5}}\do@mark}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    82
\def\get@mark@@ne#1#2#3#4#5\@@nul{#1}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    83
\def\get@mark@tw@#1#2#3#4#5\@@nul{#2}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    84
\def\get@mark@thr@@#1#2#3#4#5\@@nul{#3}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    85
\def\get@mark@f@ur#1#2#3#4#5\@@nul{#4}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    86
\def\mark@netw@{\expandafter\set@mark@netw@\expandafter\@themark\@themark}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    87
\def\marktw@{\expandafter\set@marktw@\expandafter\@themark\@themark}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    88
\def\markthr@@{\expandafter\set@markthr@@\expandafter\@themark\@themark}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    89
\def\do@mark{\do@@mark\@themark\nobreak@mark}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    90
\def\do@@mark#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    91
 \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    92
  \let@mark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    93
  \@@mark{#1}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    94
 \endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    95
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    96
\def\let@mark{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    97
 \let\protect\@unexpandable@protect
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    98
 \let\label\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    99
 \let\index\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   100
 \let\glossary\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   101
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   102
\def\nobreak@mark{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   103
 \@if@sw\if@nobreak\fi{\@ifvmode{\nobreak}{}}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   104
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   105
\def\mark@envir{\markthr@@}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   106
\def\bot@envir{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   107
 \expandafter\expandafter
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   108
 \expandafter\get@mark@thr@@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   109
 \expandafter\@@botmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   110
             \nul@mark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   111
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   112
\def\markboth{\mark@netw@}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   113
\def\markright{\marktw@}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   114
\def\leftmark{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   115
 \expandafter\expandafter
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   116
 \expandafter\get@mark@@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   117
 \expandafter\saved@@botmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   118
             \nul@mark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   119
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   120
\def\rightmark{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   121
 \expandafter\expandafter
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   122
 \expandafter\get@mark@tw@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   123
 \expandafter\saved@@firstmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   124
             \nul@mark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   125
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   126
\let\primitive@output\output
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   127
\long\def\@tempa#1\@@nil{#1}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   128
\toks@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   129
\expandafter\expandafter
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   130
\expandafter{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   131
\expandafter \@tempa
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   132
             \the\output
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   133
             \@@nil
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   134
             }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   135
\newtoks\output
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   136
\output\expandafter{\the\toks@}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   137
\primitive@output{\dispatch@output}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   138
\def\dispatch@output{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   139
 \let\par\@@par
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   140
 \expandafter\let\expandafter\@tempa\csname output@\the\outputpenalty\endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   141
 \outputdebug@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   142
  \saythe\badness
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   143
  \saythe\outputpenalty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   144
  \saythe\holdinginserts
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   145
  \say\thepagegrid
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   146
  \saythe\pagegrid@col
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   147
  \saythe\pagegrid@cur
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   148
 %\say\bot@envir
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   149
  \saythe\insertpenalties
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   150
 %\say\@@topmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   151
 %\say\saved@@topmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   152
 %\say\@@firstmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   153
 %\say\saved@@firstmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   154
  \say\@@botmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   155
 %\say\saved@@botmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   156
  \saythe\pagegoal
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   157
  \saythe\pagetotal
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   158
  \saythe{\badness\@cclv}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   159
  \expandafter\@ifx\expandafter{\csname output@-\the\execute@message@pen\endcsname\@tempa}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   160
   \say\@message@saved
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   161
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   162
   \expandafter\say\csname output@\the\outputpenalty\endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   163
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   164
  \say\@toplist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   165
  \say\@botlist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   166
  \say\@dbltoplist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   167
  \say\@deferlist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   168
  {\tracingall\scrollmode
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   169
   \showbox\@cclv
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   170
   \showbox\@cclv@saved
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   171
   \showbox\pagesofar
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   172
   \showbox\footbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   173
   \showbox\footins@saved
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   174
   \showbox\footins
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   175
   \showlists
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   176
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   177
 }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   178
 \@ifnotrelax\@tempa{\@tempa}{\the\output}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   179
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   180
\@ifxundefined{\outputdebug@sw}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   181
 \@booleanfalse\outputdebug@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   182
}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   183
\output={\toggle@insert\output@holding\output@moving}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   184
\def\output@holding{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   185
\csname output@init@\bot@envir\endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   186
\@if@exceed@pagegoal{\unvcopy\@cclv}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   187
  \setbox\z@\vbox{\unvcopy\@cclv}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   188
\outputdebug@sw{{\tracingall\scrollmode\showbox\z@}}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   189
\dimen@\ht\@cclv\advance\dimen@-\ht\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   190
\dead@cycle@repair\dimen@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   191
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   192
\dead@cycle
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   193
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   194
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   195
\def\@if@exceed@pagegoal#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   196
 \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   197
  \setbox\z@\vbox{#1}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   198
 \dimen@\ht\z@\advance\dimen@\dp\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   199
  \outputdebug@sw{\saythe\dimen@}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   200
  \@ifdim{\dimen@>\pagegoal}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   201
  \setbox\z@\vbox{\@@mark{}\unvbox\z@}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   202
   \splittopskip\topskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   203
   \splitmaxdepth\maxdepth
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   204
   \vbadness\@M
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   205
   \vfuzz\maxdimen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   206
   \setbox\tw@\vsplit\z@ to\pagegoal
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   207
  \outputdebug@sw{{\tracingall\scrollmode\showbox\tw@\showbox\z@}}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   208
  \setbox\tw@\vbox{\unvbox\tw@}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   209
  \@ifdim{\ht\tw@=\z@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   210
   \ltxgrid@info{Found overly large chunk while preparing to move insertions. Attempting repairs}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   211
    \aftergroup\true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   212
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   213
    \aftergroup\false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   214
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   215
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   216
 \aftergroup\false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   217
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   218
\endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   219
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   220
%% \item
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   221
%%  Put down the same interrupts as for the non-trivial case above.
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   222
\def\output@moving{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   223
 \set@top@firstmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   224
 \@ifnum{\outputpenalty=\do@newpage@pen}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   225
  \setbox\@cclv\vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   226
   \unvbox\@cclv
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   227
   \setbox\z@\lastbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   228
   \@ifdim{\ht\z@=\ht\@protection@box}{\box\lastbox}{\unskip}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   229
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   230
 }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   231
 \@cclv@nontrivial@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   232
  \csname output@prep@\bot@envir \endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   233
  \@makecol\csname output@column@\thepagegrid\endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   234
  \protect@penalty\do@startcolumn@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   235
  \clearpage@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   236
   \protect@penalty\do@endpage@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   237
  }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   238
  \csname output@post@\bot@envir \endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   239
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   240
  {\setbox\z@\box\@cclv}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   241
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   242
 \set@colroom
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   243
 \global\@mparbottom\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   244
 \global\@textfloatsheight\z@ %FIXME: this legacy LaTeX variable is set, but never queried!
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   245
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   246
\def\@cclv@nontrivial@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   247
\@ifx@empty\@toplist{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   248
\@ifx@empty\@botlist{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   249
\@ifvoid\footins{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   250
 \@ifvoid\@cclv{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   251
  \false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   252
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   253
\setbox\z@\vbox{\unvcopy\@cclv}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   254
\@ifdim{\ht\z@=\topskip}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   255
\setbox\z@\vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   256
\unvbox\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   257
\setbox\z@\lastbox\dimen@\lastskip\unskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   258
\@ifdim{\ht\z@=\ht\@protection@box}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   259
\advance\dimen@\ht\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   260
\@ifdim{\dimen@=\topskip}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   261
\aftergroup\true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   262
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   263
\aftergroup\false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   264
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   265
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   266
\aftergroup\false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   267
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   268
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   269
{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   270
\false@sw % Normal for \clearpage
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   271
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   272
\true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   273
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   274
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   275
\@ifdim{\ht\z@=\z@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   276
\ltxgrid@info{Found trivial column. Discarding it}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   277
\outputdebug@sw{{\tracingall\scrollmode\showbox\@cclv}}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   278
\false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   279
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   280
\true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   281
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   282
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   283
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   284
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   285
\true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   286
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   287
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   288
\true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   289
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   290
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   291
\true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   292
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   293
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   294
\def\protect@penalty#1{\protection@box\penalty-#1\relax}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   295
\newbox\@protection@box
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   296
\setbox\@protection@box\vbox to1986sp{\vfil}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   297
\def\protection@box{\nointerlineskip\copy\@protection@box}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   298
\def\dead@cycle@repair#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   299
\expandafter\do@@mark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   300
\expandafter{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   301
\@@botmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   302
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   303
\unvbox\@cclv
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   304
\nointerlineskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   305
\vbox to#1{\vss}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   306
\@ifnum{\outputpenalty<\@M}{\penalty\outputpenalty}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   307
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   308
\def\dead@cycle@repair@protected#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   309
\expandafter\do@@mark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   310
\expandafter{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   311
\@@botmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   312
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   313
\begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   314
  \unvbox\@cclv
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   315
  \setbox\z@\lastbox % Remove protection box
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   316
 \nointerlineskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   317
  \advance#1-\ht\@protection@box
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   318
 \vbox to#1{\vss}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   319
  \protection@box % Reinsert protection box
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   320
 \@ifnum{\outputpenalty<\@M}{\penalty\outputpenalty}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   321
\endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   322
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   323
\def\dead@cycle{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   324
 \expandafter\do@@mark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   325
 \expandafter{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   326
              \@@botmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   327
             }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   328
 \unvbox\@cclv
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   329
 \@ifnum{\outputpenalty<\@M}{\penalty\outputpenalty}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   330
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   331
\def\output@init@document{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   332
 \@ifvoid\footbox{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   333
  \global\advance\vsize-\ht\footbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   334
  \global\advance\vsize-\dp\footbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   335
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   336
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   337
\def\output@prep@document{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   338
 \@ifvoid\footbox{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   339
  \setbox\footins\vbox{\unvbox\footbox\unvbox\footins}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   340
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   341
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   342
\def\output@post@document{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   343
\let\@opcol\@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   344
\def\@makecol{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   345
 \setbox\@outputbox\vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   346
  \boxmaxdepth\@maxdepth
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   347
  \@tempdima\dp\@cclv
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   348
  \unvbox\@cclv
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   349
  \vskip-\@tempdima
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   350
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   351
 \xdef\@freelist{\@freelist\@midlist}\global\let\@midlist\@empty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   352
 \@combinefloats
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   353
 \@combineinserts\@outputbox\footins
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   354
  \set@adj@colht\dimen@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   355
  \count@\vbadness
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   356
  \vbadness\@M
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   357
  \setbox\@outputbox\vbox to\dimen@{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   358
   \@texttop
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   359
   \dimen@\dp\@outputbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   360
   \unvbox\@outputbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   361
   \vskip-\dimen@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   362
   \@textbottom
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   363
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   364
  \vbadness\count@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   365
 \global\maxdepth\@maxdepth
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   366
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   367
\let\@makespecialcolbox\@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   368
\def\@combineinserts#1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   369
 \setbox#1\vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   370
  \unvbox#1%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   371
  \vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   372
   \@ifvoid#2{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   373
    \vskip\skip\footins
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   374
    \color@begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   375
    \normalcolor
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   376
    \footnoterule
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   377
    \nointerlineskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   378
    \box#2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   379
    \color@endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   380
   }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   381
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   382
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   383
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   384
\appdef\@floatplacement{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   385
 \global\@fpmin\@fpmin
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   386
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   387
\mathchardef\pagebreak@pen=\@M
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   388
\expandafter\let\csname output@-\the\pagebreak@pen\endcsname\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   389
\mathchardef\do@startcolumn@pen=10005
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   390
\@namedef{output@-\the\do@startcolumn@pen}{\do@startcolumn}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   391
\def\do@startcolumn{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   392
 \setbox\@cclv\vbox{\unvbox\@cclv\setbox\z@\lastbox\unskip}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   393
 \clearpage@sw{\@clearfloatplacement}{\@floatplacement}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   394
 \set@colroom
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   395
 \@booleanfalse\pfloat@avail@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   396
 \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   397
  \@colht\@colroom
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   398
  \@booleanfalse\float@avail@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   399
  \@tryfcolumn\test@colfloat
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   400
  \float@avail@sw{\aftergroup\@booleantrue\aftergroup\pfloat@avail@sw}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   401
 \endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   402
 \fcolmade@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   403
  \setbox\@cclv\vbox{\unvbox\@outputbox\unvbox\@cclv}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   404
  \outputpenalty-\pagebreak@pen % ask for a return visit, this time with insertions and all.
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   405
  \dead@cycle
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   406
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   407
  \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   408
   \let\@elt\@scolelt
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   409
   \let\reserved@b\@deferlist\global\let\@deferlist\@empty\reserved@b
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   410
  \endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   411
  \clearpage@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   412
   \outputpenalty\@M
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   413
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   414
   \outputpenalty\do@newpage@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   415
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   416
  \dead@cycle
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   417
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   418
 \check@deferlist@stuck\do@startcolumn
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   419
 \set@vsize
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   420
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   421
\def\@scolelt#1{\def\@currbox{#1}\@addtonextcol}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   422
\def\test@colfloat#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   423
 \csname @floatselect@sw@\thepagegrid\endcsname#1{}{\@testtrue}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   424
 \@if@sw\if@test\fi{}{\aftergroup\@booleantrue\aftergroup\float@avail@sw}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   425
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   426
\def\@addtonextcol{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   427
 \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   428
  \@insertfalse
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   429
  \@setfloattypecounts
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   430
  \csname @floatselect@sw@\thepagegrid\endcsname\@currbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   431
   \@ifnum{\@fpstype=8 }{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   432
     \@ifnum{\@fpstype=24 }{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   433
       \@flsettextmin
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   434
       \@reqcolroom \ht\@currbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   435
       \advance \@reqcolroom \@textmin
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   436
       \advance \@reqcolroom \vsize % take into account split insertions
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   437
       \advance \@reqcolroom -\pagegoal
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   438
       \@ifdim{\@colroom>\@reqcolroom}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   439
         \@flsetnum \@colnum
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   440
         \@ifnum{\@colnum>\z@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   441
            \@bitor\@currtype\@deferlist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   442
            \@if@sw\if@test\fi{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   443
              \@addtotoporbot
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   444
            }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   445
         }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   446
       }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   447
     }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   448
   }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   449
  }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   450
  \@if@sw\if@insert\fi{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   451
    \@cons\@deferlist\@currbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   452
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   453
 \endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   454
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   455
\mathchardef\do@startpage@pen=10006
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   456
\@namedef{output@-\the\do@startpage@pen}{\do@startpage}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   457
\def\do@startpage{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   458
 \setbox\@cclv\vbox{\unvbox\@cclv\setbox\z@\lastbox\unskip}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   459
 \clearpage@sw{\@clearfloatplacement}{\@dblfloatplacement}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   460
 \set@colht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   461
 \@booleanfalse\pfloat@avail@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   462
 \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   463
  \@booleanfalse\float@avail@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   464
  \@tryfcolumn\test@dblfloat
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   465
  \float@avail@sw{\aftergroup\@booleantrue\aftergroup\pfloat@avail@sw}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   466
 \endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   467
 \fcolmade@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   468
  \global\setbox\pagesofar\vbox{\unvbox\pagesofar\unvbox\@outputbox}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   469
  \@combinepage
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   470
  \@combinedblfloats
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   471
  \@outputpage
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   472
  \global\pagegrid@cur\@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   473
  \protect@penalty\do@startpage@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   474
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   475
  \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   476
   \@booleanfalse\float@avail@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   477
   \let\@elt\@sdblcolelt
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   478
   \let\reserved@b\@deferlist\global\let\@deferlist\@empty\reserved@b
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   479
  \endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   480
  \@ifdim{\@colht=\textheight}{% No luck...
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   481
   \pfloat@avail@sw{% ...but a float *was* available!
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   482
    \forcefloats@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   483
     \ltxgrid@warn{Forced dequeueing of floats stalled}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   484
    }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   485
     \ltxgrid@warn{Dequeueing of floats stalled}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   486
    }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   487
   }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   488
  }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   489
  \outputpenalty\@M
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   490
  \dead@cycle
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   491
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   492
 \check@deferlist@stuck\do@startpage
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   493
 \set@colht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   494
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   495
\def\@sdblcolelt#1{\def\@currbox{#1}\@addtodblcol}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   496
\def\test@dblfloat#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   497
 \@if@notdblfloat{#1}{\@testtrue}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   498
 \@if@sw\if@test\fi{}{\aftergroup\@booleantrue\aftergroup\float@avail@sw}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   499
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   500
\def\@if@notdblfloat#1{\@ifdim{\wd#1<\textwidth}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   501
\@booleanfalse\forcefloats@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   502
\def\@addtodblcol{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   503
 \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   504
  \@if@notdblfloat{\@currbox}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   505
   \false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   506
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   507
   \@setfloattypecounts
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   508
   \@getfpsbit \tw@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   509
   \@bitor \@currtype \@deferlist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   510
   \@if@sw\if@test\fi{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   511
    \false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   512
   }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   513
    \@ifodd\@tempcnta{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   514
     \aftergroup\@booleantrue\aftergroup\float@avail@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   515
     \@flsetnum \@dbltopnum
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   516
     \@ifnum{\@dbltopnum>\z@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   517
       \@ifdim{\@dbltoproom>\ht\@currbox}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   518
        \true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   519
       }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   520
        \@ifnum{\@fpstype<\sixt@@n}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   521
         \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   522
          \advance \@dbltoproom \@textmin
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   523
          \@ifdim{\@dbltoproom>\ht\@currbox}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   524
           \endgroup\true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   525
          }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   526
           \endgroup\false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   527
          }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   528
        }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   529
         \false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   530
        }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   531
       }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   532
     }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   533
      \false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   534
     }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   535
    }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   536
     \false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   537
    }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   538
   }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   539
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   540
  {%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   541
   \@tempdima -\ht\@currbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   542
   \advance\@tempdima
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   543
    -\@ifx{\@dbltoplist\@empty}{\dbltextfloatsep}{\dblfloatsep}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   544
   \global \advance \@dbltoproom \@tempdima
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   545
   \global \advance \@colht \@tempdima
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   546
   \global \advance \@dbltopnum \m@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   547
   \@cons \@dbltoplist \@currbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   548
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   549
   \@cons \@deferlist \@currbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   550
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   551
 \endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   552
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   553
\def\@tryfcolumn#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   554
  \global\@booleanfalse\fcolmade@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   555
  \@ifx@empty\@deferlist{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   556
    \global\let\@trylist\@deferlist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   557
    \global\let\@failedlist\@empty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   558
    \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   559
      \dimen@\vsize\advance\dimen@-\pagegoal\@ifdim{\dimen@>\z@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   560
       \advance\@fpmin-\dimen@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   561
      }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   562
      \def\@elt{\@xtryfc#1}\@trylist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   563
    \endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   564
    \fcolmade@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   565
      \global\setbox\@outputbox\vbox{\vskip \@fptop}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   566
      \let \@elt \@wtryfc \@flsucceed
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   567
      \global\setbox\@outputbox\vbox{\unvbox\@outputbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   568
        \unskip \vskip \@fpbot
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   569
      }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   570
      \let \@elt \relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   571
      \xdef\@deferlist{\@failedlist\@flfail}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   572
      \xdef\@freelist{\@freelist\@flsucceed}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   573
    }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   574
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   575
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   576
\def\@wtryfc #1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   577
  \global\setbox\@outputbox\vbox{\unvbox\@outputbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   578
    \box #1\vskip\@fpsep
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   579
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   580
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   581
\def\@xtryfc#1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   582
  \@next\reserved@a\@trylist{}{}% trim \@trylist. Ugly!
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   583
  \@currtype \count #2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   584
  \divide\@currtype\@xxxii\multiply\@currtype\@xxxii
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   585
  \@bitor \@currtype \@failedlist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   586
  \@testfp #2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   587
  #1#2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   588
  \@ifdim{\ht #2>\@colht   }{\@testtrue}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   589
  \@if@sw\if@test\fi{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   590
   \@cons\@failedlist #2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   591
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   592
   \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   593
     \gdef\@flsucceed{\@elt #2}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   594
     \global\let\@flfail\@empty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   595
     \@tempdima\ht #2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   596
     \def \@elt {\@ztryfc#1}\@trylist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   597
     \@ifdim{\@tempdima >\@fpmin}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   598
       \global\@booleantrue\fcolmade@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   599
     }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   600
       \@cons\@failedlist #2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   601
     }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   602
   \endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   603
   \fcolmade@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   604
     \let \@elt \@gobble
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   605
   }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   606
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   607
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   608
\def\@ztryfc #1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   609
  \@tempcnta \count#2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   610
  \divide\@tempcnta\@xxxii\multiply\@tempcnta\@xxxii
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   611
  \@bitor \@tempcnta {\@failedlist \@flfail}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   612
  \@testfp #2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   613
  #1#2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   614
  \@tempdimb\@tempdima
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   615
  \advance\@tempdimb \ht#2\advance\@tempdimb\@fpsep
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   616
  \@ifdim{\@tempdimb >\@colht}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   617
    \@testtrue
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   618
  }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   619
  \@if@sw\if@test\fi{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   620
    \@cons\@flfail #2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   621
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   622
    \@cons\@flsucceed #2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   623
    \@tempdima\@tempdimb
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   624
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   625
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   626
\def\newpage@prep{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   627
  \if@noskipsec
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   628
    \ifx \@nodocument\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   629
      \leavevmode
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   630
      \global \@noskipsecfalse
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   631
    \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   632
  \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   633
  \if@inlabel
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   634
    \leavevmode
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   635
    \global \@inlabelfalse
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   636
  \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   637
  \if@nobreak \@nobreakfalse \everypar{}\fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   638
  \par
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   639
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   640
\def \newpage {%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   641
 \newpage@prep
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   642
 \do@output@MVL{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   643
  \vfil
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   644
  \penalty-\pagebreak@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   645
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   646
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   647
\def\clearpage{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   648
 \newpage@prep
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   649
 \do@output@MVL{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   650
  \vfil
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   651
  \penalty-\pagebreak@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   652
  \global\@booleantrue\clearpage@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   653
  \protect@penalty\do@startcolumn@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   654
  \protect@penalty\do@endpage@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   655
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   656
 \do@output@MVL{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   657
  \global\@booleanfalse\clearpage@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   658
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   659
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   660
\def\cleardoublepage{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   661
 \clearpage
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   662
 \@if@sw\if@twoside\fi{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   663
  \@ifodd\c@page{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   664
   \null\clearpage
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   665
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   666
 }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   667
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   668
\@booleanfalse\clearpage@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   669
\mathchardef\do@endpage@pen=10007
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   670
\@namedef{output@-\the\do@endpage@pen}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   671
 \csname end@column@\thepagegrid\endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   672
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   673
\mathchardef\do@newpage@pen=10001
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   674
\expandafter\let\csname output@-\the\do@newpage@pen\endcsname\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   675
\def\@clearfloatplacement{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   676
 \global\@topnum     \maxdimen % \c@topnumber
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   677
 \global\@toproom    \maxdimen % \topfraction\@colht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   678
 \global\@botnum     \maxdimen % \c@bottomnumber
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   679
 \global\@botroom    \maxdimen % \bottomfraction\@colht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   680
 \global\@colnum     \maxdimen % \c@totalnumber
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   681
 \global\@dbltopnum  \maxdimen % \c@dbltopnumber
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   682
 \global\@dbltoproom \maxdimen % \dbltopfraction\@colht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   683
 \global\@textmin    \z@       % \@colht\advance \@textmin -\@dbltoproom
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   684
 \global\@fpmin      \z@       % \dblfloatpagefraction\textheight
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   685
 \let\@testfp\@gobble
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   686
 \appdef\@setfloattypecounts{\@fpstype16\advance\@fpstype\m@ne}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   687
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   688
\let\@doclearpage\@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   689
\let\@makefcolumn\@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   690
\def\clr@top@firstmark{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   691
 \global\let\saved@@topmark\@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   692
 \global\let\saved@@firstmark\@empty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   693
 \global\let\saved@@botmark\@empty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   694
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   695
\clr@top@firstmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   696
\def\set@top@firstmark{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   697
 \@ifxundefined\saved@@topmark{\expandafter\gdef\expandafter\saved@@topmark\expandafter{\@@topmark}}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   698
 \@if@empty\saved@@firstmark{\expandafter\gdef\expandafter\saved@@firstmark\expandafter{\@@firstmark}}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   699
 \@if@empty\@@botmark{}{\expandafter\gdef\expandafter\saved@@botmark\expandafter{\@@botmark}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   700
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   701
\appdef\@outputpage{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   702
 \clr@top@firstmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   703
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   704
\def\@float#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   705
 \@ifnextchar[{%}]{%Brace-matching klootch
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   706
  \@yfloat\width@float{#1}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   707
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   708
  \@ifxundefined@cs{fps@#1}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   709
   \edef\reserved@a{\noexpand\@yfloat\noexpand\width@float{#1}[\csname fps@\endcsname]}\reserved@a
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   710
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   711
   \edef\reserved@a{\noexpand\@yfloat\noexpand\width@float{#1}[\csname fps@#1\endcsname]}\reserved@a
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   712
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   713
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   714
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   715
\def\@dblfloat#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   716
 \@ifnum{\pagegrid@col=\@ne}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   717
  \@float{#1}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   718
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   719
  \@ifnextchar[{%}]{%Brace-matching klootch
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   720
   \@yfloat\widthd@float{#1}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   721
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   722
   \@ifxundefined@cs{fpsd@#1}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   723
    \edef\reserved@a{\noexpand\@yfloat\noexpand\widthd@float{#1}[\csname fpsd@\endcsname]}\reserved@a
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   724
   }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   725
    \edef\reserved@a{\noexpand\@yfloat\noexpand\widthd@float{#1}[\csname fpsd@#1\endcsname]}\reserved@a
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   726
   }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   727
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   728
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   729
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   730
\def\@yfloat#1#2[#3]{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   731
 \@xfloat{#2}[#3]%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   732
 \hsize#1\linewidth\hsize
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   733
 \minipagefootnote@init
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   734
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   735
\def\fps@{tbp}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   736
\def\fpsd@{tp}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   737
\def\width@float{\columnwidth}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   738
\def\widthd@float{\textwidth}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   739
\def\end@float{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   740
 \end@@float{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   741
  \check@currbox@count
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   742
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   743
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   744
\def\end@dblfloat{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   745
 \@ifnum{\pagegrid@col=\@ne}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   746
  \end@float
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   747
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   748
  \end@@float{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   749
   \@boxfpsbit\@currbox{1}\@ifodd\@tempcnta{\global\advance\count\@currbox\m@ne}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   750
   \@boxfpsbit\@currbox{4}\@ifodd\@tempcnta{\global\advance\count\@currbox-4\relax}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   751
   \global\wd\@currbox\textwidth % Klootch
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   752
   \check@currbox@count
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   753
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   754
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   755
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   756
\def\end@@float#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   757
 \minipagefootnote@here
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   758
 \@endfloatbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   759
 #1%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   760
 \@ifnum{\@floatpenalty <\z@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   761
  \@largefloatcheck
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   762
  \@cons\@currlist\@currbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   763
  \@ifnum{\@floatpenalty <-\@Mii}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   764
   \do@output@cclv{\@add@float}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   765
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   766
   \vadjust{\do@output@cclv{\@add@float}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   767
   \@Esphack
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   768
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   769
 }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   770
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   771
\def\check@currbox@count{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   772
 \@ifnum{\count\@currbox>\z@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   773
\count@\count\@currbox\divide\count@\sixt@@n\multiply\count@\sixt@@n
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   774
\@tempcnta\count\@currbox\advance\@tempcnta-\count@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   775
\@ifnum{\@tempcnta=\z@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   776
   \ltxgrid@warn{Float cannot be placed}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   777
}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   778
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   779
  % Is a \marginpar
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   780
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   781
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   782
\providecommand\minipagefootnote@init{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   783
\providecommand\minipagefootnote@here{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   784
\let\@specialoutput\@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   785
\def\@add@float{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   786
 \@pageht\ht\@cclv\@pagedp\dp\@cclv
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   787
 \unvbox\@cclv
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   788
 \@next\@currbox\@currlist{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   789
  \csname @floatselect@sw@\thepagegrid\endcsname\@currbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   790
   \@ifnum{\count\@currbox>\z@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   791
    \advance \@pageht \@pagedp
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   792
    \advance \@pageht \vsize \advance \@pageht -\pagegoal % do not assume \holdinginserts is cleared!
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   793
    \@addtocurcol % Commit an h float
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   794
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   795
   \@addmarginpar
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   796
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   797
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   798
   \@resethfps
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   799
   \@cons\@deferlist\@currbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   800
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   801
 }{\@latexbug}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   802
 \@ifnum{\outputpenalty<\z@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   803
  \@if@sw\if@nobreak\fi{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   804
   \nobreak
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   805
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   806
   \addpenalty \interlinepenalty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   807
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   808
 }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   809
 \set@vsize
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   810
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   811
\let\@reinserts\@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   812
\def \@addtocurcol {%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   813
   \@insertfalse
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   814
   \@setfloattypecounts
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   815
   \ifnum \@fpstype=8
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   816
   \else
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   817
     \ifnum \@fpstype=24
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   818
     \else
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   819
       \@flsettextmin
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   820
       \advance \@textmin \@textfloatsheight
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   821
       \@reqcolroom \@pageht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   822
       \ifdim \@textmin>\@reqcolroom
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   823
         \@reqcolroom \@textmin
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   824
       \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   825
       \advance \@reqcolroom \ht\@currbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   826
       \ifdim \@colroom>\@reqcolroom
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   827
         \@flsetnum \@colnum
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   828
         \ifnum \@colnum>\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   829
           \@bitor\@currtype\@deferlist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   830
           \if@test
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   831
           \else
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   832
             \@bitor\@currtype\@botlist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   833
             \if@test
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   834
               \@addtobot
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   835
             \else
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   836
               \ifodd \count\@currbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   837
                 \advance \@reqcolroom \intextsep
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   838
                 \ifdim \@colroom>\@reqcolroom
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   839
                   \global \advance \@colnum \m@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   840
                   \global \advance \@textfloatsheight \ht\@currbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   841
                   \global \advance \@textfloatsheight 2\intextsep
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   842
                   \@cons \@midlist \@currbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   843
                   \if@nobreak
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   844
                     \nobreak
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   845
                     \@nobreakfalse
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   846
                     \everypar{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   847
                   \else
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   848
                     \addpenalty \interlinepenalty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   849
                   \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   850
                   \vskip \intextsep
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   851
                   \unvbox\@currbox %AO
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   852
                   \penalty\interlinepenalty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   853
                   \vskip\intextsep
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   854
                   \ifnum\outputpenalty <-\@Mii \vskip -\parskip\fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   855
                   \outputpenalty \z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   856
                   \@inserttrue
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   857
                 \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   858
               \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   859
               \if@insert
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   860
               \else
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   861
                 \@addtotoporbot
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   862
               \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   863
             \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   864
           \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   865
         \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   866
       \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   867
     \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   868
   \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   869
   \if@insert
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   870
   \else
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   871
     \@resethfps
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   872
     \@cons\@deferlist\@currbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   873
   \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   874
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   875
\@twocolumnfalse
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   876
\let\@twocolumntrue\@twocolumnfalse
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   877
\def\@addmarginpar{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   878
 \@next\@marbox\@currlist{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   879
  \@cons\@freelist\@marbox\@cons\@freelist\@currbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   880
 }\@latexbug
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   881
 \setbox\@marbox\hb@xt@\columnwidth{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   882
  \csname @addmarginpar@\thepagegrid\endcsname{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   883
   \hskip-\marginparsep\hskip-\marginparwidth
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   884
   \box\@currbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   885
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   886
   \hskip\columnwidth\hskip\marginparsep
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   887
   \box\@marbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   888
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   889
  \hss
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   890
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   891
 \setbox\z@\box\@currbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   892
    \@tempdima\@mparbottom
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   893
    \advance\@tempdima -\@pageht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   894
    \advance\@tempdima\ht\@marbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   895
 \@ifdim{\@tempdima >\z@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   896
   \@latex@warning@no@line {Marginpar on page \thepage\space moved}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   897
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   898
   \@tempdima\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   899
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   900
    \global\@mparbottom\@pageht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   901
    \global\advance\@mparbottom\@tempdima
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   902
    \global\advance\@mparbottom\dp\@marbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   903
    \global\advance\@mparbottom\marginparpush
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   904
    \advance\@tempdima -\ht\@marbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   905
    \global\setbox \@marbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   906
                   \vbox {\vskip \@tempdima
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   907
                          \box \@marbox}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   908
    \global \ht\@marbox \z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   909
    \global \dp\@marbox \z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   910
    \kern -\@pagedp
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   911
    \nointerlineskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   912
  \box\@marbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   913
    \nointerlineskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   914
    \hbox{\vrule \@height\z@ \@width\z@ \@depth\@pagedp}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   915
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   916
\newenvironment{turnpage}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   917
 \def\width@float{\textheight}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   918
 \def\widthd@float{\textheight}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   919
 \appdef\@endfloatbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   920
  \@ifxundefined\@currbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   921
   \ltxgrid@warn{Cannot rotate! Not a float}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   922
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   923
   \setbox\@currbox\vbox to\textwidth{\vfil\unvbox\@currbox\vfil}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   924
   \global\setbox\@currbox\vbox{\rotatebox{90}{\box\@currbox}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   925
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   926
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   927
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   928
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   929
\def\rotatebox@dummy#1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   930
 \ltxgrid@warn{You must load the graphics or graphicx package in order to use the turnpage environment}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   931
 #2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   932
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   933
\AtBeginDocument{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   934
 \@ifxundefined\rotatebox{\let\rotatebox\rotatebox@dummy}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   935
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   936
\@namedef{output@-1073741824}{%"40000000
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   937
 \deadcycles\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   938
 \setbox\z@\box\@cclv
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   939
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   940
\mathchardef\save@column@pen=10016
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   941
\@namedef{output@-\the\save@column@pen}{\save@column}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   942
\let \@cclv@saved \@holdpg
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   943
\let \@holdpg \@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   944
\def\save@column{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   945
 \@ifvoid\@cclv@saved{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   946
\set@top@firstmark
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   947
\global\@topmark@saved\expandafter{\@@topmark}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   948
 }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   949
\global\setbox\@cclv@saved\vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   950
  \@ifvoid\@cclv@saved{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   951
 \unvbox\@cclv@saved
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   952
 \marry@baselines
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   953
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   954
\unvbox\@cclv
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   955
\lose@breaks
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   956
\setbox\z@\lastbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   957
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   958
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   959
\newtoks\@topmark@saved
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   960
\def\prep@cclv{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   961
 \setbox\z@\box\@cclv
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   962
 \setbox\@cclv\box\@cclv@saved
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   963
 \vbadness\@M
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   964
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   965
\mathchardef\save@column@insert@pen=10017
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   966
\@namedef{output@-\the\save@column@insert@pen}{\toggle@insert\savecolumn@holding\savecolumn@moving}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   967
\def\savecolumn@holding{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   968
\@if@exceed@pagegoal{\unvcopy\@cclv\setbox\z@\lastbox}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   969
  \setbox\z@\vbox{\unvcopy\@cclv\setbox\z@\lastbox}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   970
  \outputdebug@sw{{\tracingall\scrollmode\showbox\z@}}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   971
\dimen@\ht\@cclv\advance\dimen@-\ht\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   972
\dead@cycle@repair@protected\dimen@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   973
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   974
\dead@cycle
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   975
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   976
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   977
\def\savecolumn@moving{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   978
 \@cclv@nontrivial@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   979
  \save@column
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   980
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   981
  {\setbox\z@\box\@cclv}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   982
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   983
\@ifvoid\footins{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   984
\outputdebug@sw{{\tracingall\scrollmode\showbox\footins}}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   985
\global\setbox\footins@saved\vbox{\unvbox\footins@saved\marry@baselines\unvbox\footins}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   986
\protect@penalty\save@column@insert@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   987
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   988
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   989
\newbox\footins@saved
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   990
\mathchardef\save@message@pen=10018
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   991
\@namedef{output@-\the\save@message@pen}{\save@message}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   992
\def\save@message{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   993
 \setbox\z@\box\@cclv %FIXME: what if \box\@cclv is not empty?
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   994
 \toks@\expandafter{\@@firstmark}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   995
 \expandafter\gdef\expandafter\@message@saved\expandafter{\the\toks@}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   996
 \expandafter\do@@mark\expandafter{\the\@topmark@saved}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   997
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   998
\gdef\@message@saved{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   999
\mathchardef\execute@message@pen=10019
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1000
\@namedef{output@-\the\execute@message@pen}{\@message@saved}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1001
\def\execute@message{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1002
 \@execute@message\save@column@pen %Implicit #2
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1003
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1004
\def\execute@message@insert#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1005
 \@execute@message\save@column@insert@pen{\setbox\footins\box\footins@saved#1}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1006
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1007
\long\def\@execute@message#1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1008
 \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1009
  \dimen@\prevdepth\@ifdim{\dimen@<\z@}{\dimen@\z@}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1010
  \setbox\z@\vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1011
   \protect@penalty#1%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1012
   \protection@box
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1013
   \toks@{\prep@cclv#2}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1014
   \@@mark{\the\toks@}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1015
   \penalty-\save@message@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1016
   \setbox\z@\null\dp\z@\dimen@\ht\z@-\dimen@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1017
   \nointerlineskip\box\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1018
   \penalty-\execute@message@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1019
  }\unvbox\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1020
 \endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1021
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1022
\def\do@output@cclv{\execute@message}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1023
\def\do@output@MVL#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1024
 \@ifvmode{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1025
  \begingroup\execute@message{\unvbox\@cclv#1}\endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1026
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1027
  \@ifhmode{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1028
   \vadjust{\execute@message{\unvbox\@cclv#1}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1029
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1030
   \@latexerr{\string\do@output@MVL\space cannot be executed in this mode!}\@eha
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1031
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1032
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1033
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1034
\def\lose@breaks{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1035
 \loopwhile{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1036
  \count@\lastpenalty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1037
  \@ifnum{\count@=\@M}{% 10000 is a TeX magic number!
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1038
   \unpenalty\true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1039
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1040
   \false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1041
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1042
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1043
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1044
\def\removestuff{\do@output@MVL{\unskip\unpenalty}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1045
\def\removephantombox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1046
 \vadjust{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1047
  \execute@message{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1048
   \unvbox\@cclv
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1049
   \setbox\z@\lastbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1050
   \unskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1051
   \unskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1052
   \unpenalty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1053
   \penalty\predisplaypenalty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1054
   \vskip\abovedisplayskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1055
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1056
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1057
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1058
\def\addstuff#1#2{\edef\@tempa{\noexpand\do@output@MVL{\noexpand\@addstuff{#1}{#2}}}\@tempa}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1059
\def\@addstuff#1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1060
 \skip@\lastskip\unskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1061
 \count@\lastpenalty\unpenalty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1062
 \@if@empty{#1}{}{\penalty#1\relax}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1063
 \@ifnum{\count@=\z@}{}{\penalty\count@}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1064
 \vskip\skip@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1065
 \@if@empty{#2}{}{\vskip#2\relax}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1066
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1067
\def\replacestuff#1#2{\edef\@tempa{\noexpand\do@output@MVL{\noexpand\@replacestuff{#1}{#2}}}\@tempa}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1068
\def\@replacestuff#1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1069
 \skip@\lastskip\unskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1070
 \count@\lastpenalty\unpenalty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1071
 \@if@empty{#1}{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1072
 \@ifnum{\count@>\@M}{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1073
   \@ifnum{\count@=\z@}{\count@=#1\relax}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1074
    \@ifnum{\count@<#1\relax}{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1075
     \count@=#1\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1076
    }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1077
   }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1078
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1079
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1080
 \@ifnum{\count@=\z@}{}{\penalty\count@}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1081
 \@if@empty{#2}{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1082
  \@tempskipa#2\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1083
  \@ifdim{\z@>\@tempskipa}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1084
   \advance\skip@-\@tempskipa
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1085
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1086
   \@ifdim{\skip@>\@tempskipa}{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1087
    \skip@\@tempskipa
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1088
   }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1089
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1090
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1091
 \vskip\skip@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1092
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1093
\def\move@insertions{\global\holdinginserts\z@}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1094
\def\hold@insertions{\global\holdinginserts\@ne}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1095
\hold@insertions
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1096
\def\move@insert@sw{\@ifnum{\holdinginserts=\z@}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1097
\def\toggle@insert#1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1098
 \@ifnum{\holdinginserts=\z@}{\hold@insertions#2}{\move@insertions#1}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1099
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1100
\def\do@columngrid#1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1101
 \par
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1102
 \expandafter\let\expandafter\@tempa\csname open@column@#1\endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1103
 \@ifx{\relax\@tempa}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1104
  \ltxgrid@warn{Unknown page grid #1. No action taken}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1105
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1106
  \do@output@MVL{\start@column{#1}{#2}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1107
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1108
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1109
\def\start@column#1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1110
 \def\@tempa{#1}\@ifx{\@tempa\thepagegrid}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1111
  \ltxgrid@info{Already in page grid \thepagegrid. No action taken}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1112
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1113
  \expandafter\execute@message@insert
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1114
  \expandafter{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1115
               \csname shut@column@\thepagegrid\expandafter\endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1116
               \csname open@column@#1\endcsname{#2}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1117
               \set@vsize
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1118
             }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1119
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1120
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1121
\def\thepagegrid{one}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1122
\newbox\pagesofar
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1123
\newbox\footbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1124
\newcommand\onecolumngrid{\do@columngrid{one}{\@ne}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1125
\let\onecolumn\@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1126
\def\open@column@one#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1127
 \unvbox\pagesofar
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1128
 \gdef\thepagegrid{one}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1129
 \global\pagegrid@col#1%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1130
 \global\pagegrid@cur\@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1131
 \set@colht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1132
 \set@column@hsize\pagegrid@col
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1133
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1134
\def\shut@column@one{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1135
 \@makecol
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1136
 \global\setbox\pagesofar\vbox{\unvbox\@outputbox\recover@footins}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1137
 \set@colht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1138
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1139
\def\float@column@one{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1140
 \@makecol
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1141
 \@outputpage
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1142
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1143
\def\end@column@one{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1144
 \unvbox\@cclv\setbox\z@\lastbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1145
 \protect@penalty\do@newpage@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1146
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1147
\def\output@column@one{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1148
 \@outputpage
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1149
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1150
\def\@addmarginpar@one{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1151
 \@if@sw\if@mparswitch\fi{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1152
  \@ifodd\c@page{\false@sw}{\true@sw}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1153
 }{\false@sw}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1154
  \@if@sw\if@reversemargin\fi{\false@sw}{\true@sw}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1155
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1156
  \@if@sw\if@reversemargin\fi{\true@sw}{\false@sw}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1157
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1158
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1159
\def\@floatselect@sw@one#1{\true@sw}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1160
\def\onecolumngrid@push{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1161
 \do@output@MVL{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1162
  \@ifnum{\pagegrid@col=\@ne}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1163
   \global\let\restorecolumngrid\@empty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1164
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1165
   \xdef\restorecolumngrid{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1166
    \noexpand\start@column{\thepagegrid}{\the\pagegrid@col}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1167
   }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1168
   \start@column{one}{\@ne}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1169
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1170
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1171
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1172
\def\onecolumngrid@pop{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1173
 \do@output@MVL{\restorecolumngrid}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1174
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1175
\newcommand\twocolumngrid{\do@columngrid{mlt}{\tw@}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1176
\let\twocolumn\@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1177
\let\@topnewpage\@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1178
\def\open@column@mlt#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1179
 \gdef\thepagegrid{mlt}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1180
 \global\pagegrid@col#1%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1181
 \global\pagegrid@cur\@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1182
 \set@column@hsize\pagegrid@col
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1183
 \set@colht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1184
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1185
\def\shut@column@mlt{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1186
 \@cclv@nontrivial@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1187
\@makecol
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1188
\@ifnum{\pagegrid@cur<\pagegrid@col}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1189
\expandafter\global\expandafter\setbox\csname col@\the\pagegrid@cur\endcsname\box\@outputbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1190
\global\advance\pagegrid@cur\@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1191
}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1192
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1193
  {\setbox\z@\box\@cclv}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1194
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1195
\@ifnum{\pagegrid@cur>\@ne}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1196
\csname balance@\the\pagegrid@col\endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1197
\grid@column{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1198
\@combinepage
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1199
\@combinedblfloats
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1200
\global\setbox\pagesofar\box\@outputbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1201
 }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1202
 \set@colht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1203
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1204
\def\float@column@mlt{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1205
  \@combinepage
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1206
  \@combinedblfloats
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1207
  \@outputpage
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1208
  \global\pagegrid@cur\@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1209
  \protect@penalty\do@startpage@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1210
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1211
\def\end@column@mlt{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1212
 \@ifx@empty\@toplist{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1213
  \@ifx@empty\@botlist{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1214
   \@ifx@empty\@dbltoplist{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1215
    \@ifx@empty\@deferlist{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1216
     \@ifnum{\pagegrid@cur=\@ne}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1217
      \false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1218
     }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1219
      \true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1220
     }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1221
    }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1222
     \true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1223
    }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1224
   }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1225
    \true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1226
   }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1227
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1228
   \true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1229
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1230
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1231
  \true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1232
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1233
 % true = kick out a column and try again
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1234
 {%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1235
  \@cclv@nontrivial@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1236
   \unvbox\@cclv\setbox\z@\lastbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1237
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1238
   \unvbox\@cclv\setbox\z@\lastbox\unskip\null
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1239
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1240
  \protect@penalty\do@newpage@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1241
  \protect@penalty\do@endpage@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1242
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1243
  \unvbox\@cclv\setbox\z@\lastbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1244
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1245
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1246
\def\output@column@mlt{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1247
 \@ifnum{\pagegrid@cur<\pagegrid@col}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1248
  \expandafter\global\expandafter\setbox\csname col@\the\pagegrid@cur\endcsname\box\@outputbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1249
  \global\advance\pagegrid@cur\@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1250
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1251
  \set@adj@colht\dimen@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1252
  \grid@column{}%{\dimen@}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1253
  \@combinepage
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1254
  \@combinedblfloats
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1255
  \@outputpage
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1256
  \global\pagegrid@cur\@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1257
  \protect@penalty\do@startpage@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1258
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1259
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1260
\let\@outputdblcol\@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1261
\def\@floatselect@sw@mlt#1{\@if@notdblfloat{#1}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1262
\def\@addmarginpar@mlt{% emits a boolean
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1263
 \@ifnum{\pagegrid@cur=\@ne}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1264
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1265
\let\pagegrid@cur\col@number
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1266
\let\col@number\@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1267
\newcount\pagegrid@col
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1268
\pagegrid@cur\@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1269
\expandafter\let\csname col@\the\pagegrid@cur\endcsname\@leftcolumn
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1270
\let\@leftcolumn\@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1271
\pagegrid@col\tw@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1272
\def\pagegrid@init{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1273
 \advance\pagegrid@cur\@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1274
 \@ifnum{\pagegrid@cur<\pagegrid@col}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1275
  \csname newbox\expandafter\endcsname\csname col@\the\pagegrid@cur\endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1276
  \pagegrid@init
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1277
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1278
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1279
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1280
\appdef\class@documenthook{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1281
 \pagegrid@init
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1282
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1283
\def\grid@column#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1284
 \global\setbox\@outputbox\vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1285
  \hb@xt@\textwidth{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1286
   \vrule\@height\z@\@width\z@\@if@empty{#1}{}{\@depth#1}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1287
   \pagegrid@cur\@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1288
   \append@column
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1289
   \box@column\@outputbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1290
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1291
  \vskip\z@skip % FIXME: page depth!
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1292
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1293
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1294
\def\append@column{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1295
 \@ifnum{\pagegrid@cur<\pagegrid@col}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1296
  \expandafter\box@column\csname col@\the\pagegrid@cur\endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1297
  \hfil
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1298
  \vrule \@width\columnseprule
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1299
  \hfil
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1300
  \advance\pagegrid@cur\@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1301
  \append@column
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1302
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1303
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1304
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1305
\def\box@column#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1306
 \raise\topskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1307
 \hb@xt@\columnwidth{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1308
  \dimen@\ht#1\@ifdim{\dimen@>\@colht}{\dimen@\@colht}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1309
  \count@\vbadness\vbadness\@M
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1310
  \dimen@ii\vfuzz\vfuzz\maxdimen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1311
  \outputdebug@sw{\saythe\@colht\saythe\dimen@}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1312
  \vtop to\dimen@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1313
  {\hrule\@height\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1314
   \unvbox#1%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1315
   \raggedcolumn@skip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1316
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1317
  \vfuzz\dimen@ii
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1318
  \vbadness\count@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1319
  \hss
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1320
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1321
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1322
\def\marry@baselines{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1323
 \vskip\marry@skip\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1324
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1325
\gdef\marry@skip{\z@skip}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1326
\def\set@marry@skip{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1327
\begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1328
  \skip@\baselineskip\advance\skip@-\topskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1329
  \@ifdim{\skip@>\z@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1330
   \xdef\marry@skip{\the\skip@}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1331
  }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1332
 \endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1333
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1334
\AtBeginDocument{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1335
 \@ifxundefined\raggedcolumn@sw{\@booleanfalse\raggedcolumn@sw}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1336
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1337
\def\raggedcolumn@skip{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1338
 \vskip\z@\raggedcolumn@sw{\@plus.0001fil\@minus.0001fil}{}\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1339
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1340
\def\@combinepage{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1341
 \@ifvoid\pagesofar{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1342
  \setbox\@outputbox\vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1343
   \unvbox\pagesofar
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1344
   \marry@baselines
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1345
   \unvbox\@outputbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1346
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1347
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1348
 \@ifvoid\footbox{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1349
  \setbox\@outputbox\vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1350
   \unvbox\@outputbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1351
   \marry@baselines
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1352
   \unvbox\footbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1353
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1354
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1355
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1356
\def\@combinedblfloats{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1357
 \@ifx@empty\@dbltoplist{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1358
  \setbox\@tempboxa\vbox{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1359
  \let\@elt\@comdblflelt\@dbltoplist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1360
  \let\@elt\relax\xdef\@freelist{\@freelist\@dbltoplist}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1361
  \global\let\@dbltoplist\@empty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1362
  \setbox\@outputbox\vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1363
   %\boxmaxdepth\maxdepth   %% probably not needed, CAR
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1364
   \unvbox\@tempboxa\unskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1365
   \@ifnum{\@dbltopnum>\m@ne}{\dblfigrule}{}%FIXME: how is \@dbltopnum maintained?
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1366
   \vskip\dbltextfloatsep
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1367
   \unvbox\@outputbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1368
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1369
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1370
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1371
\def\set@column@hsize#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1372
 \pagegrid@col#1%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1373
 \global\columnwidth\textwidth
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1374
 \global\advance\columnwidth\columnsep
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1375
 \global\divide\columnwidth\pagegrid@col
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1376
 \global\advance\columnwidth-\columnsep
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1377
 \global\hsize\columnwidth
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1378
 \global\linewidth\columnwidth
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1379
 \skip@\baselineskip\advance\skip@-\topskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1380
 \@ifnum{\pagegrid@col>\@ne}{\set@marry@skip}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1381
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1382
\def\set@colht{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1383
 \set@adj@textheight\@colht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1384
 \global\let\enlarge@colroom\@empty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1385
 \set@colroom
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1386
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1387
\def\set@adj@textheight#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1388
 #1\textheight
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1389
 \def\@elt{\adj@page#1}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1390
 \@booleantrue\firsttime@sw\@dbltoplist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1391
 \let\@elt\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1392
 \global#1#1\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1393
 \outputdebug@sw{\saythe#1}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1394
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1395
\def\set@colroom{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1396
 \set@adj@colht\@colroom
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1397
 \@if@empty\enlarge@colroom{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1398
  \global\advance\@colroom\enlarge@colroom\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1399
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1400
 \outputdebug@sw{\saythe\@colroom}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1401
 \@ifdim{\@colroom>\topskip}{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1402
  \ltxgrid@info{Not enough room: \string\@colroom=\the\@colroom; increasing to \the\topskip}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1403
  \@colroom\topskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1404
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1405
 \global\@colroom\@colroom
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1406
 \set@vsize
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1407
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1408
\def\set@vsize{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1409
 \global\vsize\@colroom
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1410
 \outputdebug@sw{\saythe\vsize}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1411
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1412
\def\set@adj@colht#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1413
 #1\@colht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1414
 \@ifvoid\pagesofar{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1415
  \advance#1-\ht\pagesofar\advance#1-\dp\pagesofar
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1416
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1417
 \@ifvoid\footbox{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1418
  \advance#1-\ht\footbox\advance#1-\dp\footbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1419
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1420
 \def\@elt{\adj@column#1}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1421
 \@booleantrue\firsttime@sw\@toplist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1422
 \@booleantrue\firsttime@sw\@botlist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1423
 \let\@elt\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1424
 \outputdebug@sw{\saythe#1}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1425
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1426
\def\adj@column#1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1427
 \advance#1-\ht#2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1428
 \advance#1-\firsttime@sw{\textfloatsep\@booleanfalse\firsttime@sw}{\floatsep}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1429
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1430
\def\adj@page#1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1431
 \advance#1-\ht#2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1432
 \advance#1-\firsttime@sw{\dbltextfloatsep\@booleanfalse\firsttime@sw}{\dblfloatsep}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1433
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1434
\appdef\@outputpage{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1435
 \set@colht          % FIXME: needed?
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1436
 \@floatplacement    % FIXME: needed?
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1437
 \@dblfloatplacement % FIXME: needed?
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1438
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1439
\@namedef{balance@2}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1440
 \expandafter\balance@two\csname col@1\endcsname\@outputbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1441
 % Avoid a bug by preventing a restore when leaving this group
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1442
 \global\setbox\csname col@1\endcsname\box\csname col@1\endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1443
 \@ifvoid\footbox{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1444
  \global\setbox\footbox\vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1445
   \setbox\z@\box\@tempboxa
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1446
   \let\recover@footins\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1447
   \balance@two\footbox\@tempboxa
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1448
   \hb@xt@\textwidth{\box\footbox\hfil\box\@tempboxa}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1449
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1450
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1451
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1452
\def\balance@two#1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1453
\outputdebug@sw{{\tracingall\scrollmode\showbox#1\showbox#2}}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1454
 \setbox\@ne\vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1455
  \@ifvoid#1{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1456
   \unvcopy#1\recover@footins
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1457
   \@ifvoid#2{}{\marry@baselines}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1458
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1459
  \@ifvoid#2{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1460
   \unvcopy#2\recover@footins
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1461
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1462
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1463
 \dimen@\ht\@ne\divide\dimen@\tw@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1464
 \dimen@i\dimen@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1465
 \vbadness\@M
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1466
 \vfuzz\maxdimen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1467
 \loopwhile{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1468
  \dimen@i=.5\dimen@i
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1469
  \outputdebug@sw{\saythe\dimen@\saythe\dimen@i\saythe\dimen@ii}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1470
  \setbox\z@\copy\@ne\setbox\tw@\vsplit\z@ to\dimen@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1471
  \setbox\z@ \vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1472
   \unvcopy\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1473
   \setbox\z@\vbox{\unvbox\z@ \setbox\z@\lastbox\aftergroup\vskip\aftergroup-\expandafter}\the\dp\z@\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1474
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1475
  \setbox\tw@\vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1476
   \unvcopy\tw@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1477
   \setbox\z@\vbox{\unvbox\tw@\setbox\z@\lastbox\aftergroup\vskip\aftergroup-\expandafter}\the\dp\z@\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1478
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1479
  \dimen@ii\ht\tw@\advance\dimen@ii-\ht\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1480
  \@ifdim{\dimen@i>.5\p@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1481
   \advance\dimen@\@ifdim{\dimen@ii<\z@}{}{-}\dimen@i
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1482
   \true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1483
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1484
   \@ifdim{\dimen@ii<\z@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1485
    \advance\dimen@\tw@\dimen@i
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1486
    \true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1487
   }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1488
    \false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1489
   }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1490
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1491
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1492
 \outputdebug@sw{\saythe\dimen@\saythe\dimen@i\saythe\dimen@ii}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1493
\@ifdim{\ht\z@=\z@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1494
\@ifdim{\ht\tw@=\z@}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1495
\true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1496
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1497
\false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1498
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1499
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1500
\true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1501
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1502
{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1503
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1504
\ltxgrid@info{Unsatifactorily balanced columns: giving up}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1505
\setbox\tw@\box#1%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1506
\setbox\z@ \box#2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1507
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1508
 \setbox\tw@\vbox{\unvbox\tw@\vskip\z@skip}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1509
 \setbox\z@ \vbox{\unvbox\z@ \vskip\z@skip}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1510
 \set@colroom
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1511
\dimen@\ht\z@\@ifdim{\dimen@<\ht\tw@}{\dimen@\ht\tw@}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1512
\@ifdim{\dimen@>\@colroom}{\dimen@\@colroom}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1513
 \outputdebug@sw{\saythe{\ht\z@}\saythe{\ht\tw@}\saythe\@colroom\saythe\dimen@}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1514
\setbox#1\vbox to\dimen@{\unvbox\tw@\unskip\raggedcolumn@skip}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1515
\setbox#2\vbox to\dimen@{\unvbox\z@ \unskip\raggedcolumn@skip}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1516
\outputdebug@sw{{\tracingall\scrollmode\showbox#1\showbox#2}}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1517
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1518
\def\recover@footins{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1519
 \skip\z@ \lastskip\unskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1520
 \skip\@ne\lastskip\unskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1521
 \setbox\z@\lastbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1522
 \@ifvbox\z@{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1523
\setbox\z@\vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1524
\unvbox\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1525
\setbox\z@\lastbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1526
\@ifvoid\z@{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1527
\global\setbox\footbox\vbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1528
 \unvbox\footbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1529
     \@ifvbox\z@{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1530
   \unvbox\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1531
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1532
   \box\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1533
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1534
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1535
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1536
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1537
 }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1538
 \outputdebug@sw{{\tracingall\scrollmode\showbox\footbox}}{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1539
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1540
\prepdef\@begindocumenthook{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1541
 \open@column@one\@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1542
 \set@colht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1543
 \@floatplacement
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1544
 \@dblfloatplacement
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1545
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1546
\def\longtable@longtable{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1547
 \par
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1548
 \ifx\multicols\@undefined\else\ifnum\col@number>\@ne\@twocolumntrue\fi\fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1549
 \if@twocolumn\LT@err{longtable not in 1-column mode}\@ehc\fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1550
 \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1551
 \@ifnextchar[\LT@array{\LT@array[x]}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1552
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1553
\def\longtable@new{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1554
 \par
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1555
  \@ifnextchar[\LT@array{\LT@array[x]}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1556
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1557
\def\endlongtable@longtable{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1558
  \crcr
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1559
  \noalign{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1560
    \let\LT@entry\LT@entry@chop
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1561
    \xdef\LT@save@row{\LT@save@row}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1562
  \LT@echunk
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1563
  \LT@start
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1564
  \unvbox\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1565
  \LT@get@widths
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1566
  \if@filesw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1567
    {\let\LT@entry\LT@entry@write\immediate\write\@auxout{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1568
      \gdef\expandafter\noexpand
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1569
        \csname LT@\romannumeral\c@LT@tables\endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1570
          {\LT@save@row}}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1571
  \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1572
  \ifx\LT@save@row\LT@@save@row
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1573
  \else
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1574
    \LT@warn{Column \@width s have changed\MessageBreak
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1575
             in table \thetable}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1576
    \LT@final@warn
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1577
  \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1578
  \endgraf\penalty -\LT@end@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1579
  \endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1580
  \global\@mparbottom\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1581
  \pagegoal\vsize
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1582
  \endgraf\penalty\z@\addvspace\LTpost
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1583
  \ifvoid\footins\else\insert\footins{}\fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1584
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1585
\def\endlongtable@new{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1586
  \crcr
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1587
  \noalign{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1588
   \let\LT@entry\LT@entry@chop
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1589
   \xdef\LT@save@row{\LT@save@row}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1590
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1591
  \LT@echunk
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1592
  \LT@start
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1593
  \unvbox\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1594
  \LT@get@widths
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1595
  \@if@sw\if@filesw\fi{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1596
   {%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1597
    \let\LT@entry\LT@entry@write
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1598
    \immediate\write\@auxout{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1599
     \gdef\expandafter\noexpand\csname LT@\romannumeral\c@LT@tables\endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1600
     {\LT@save@row}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1601
    }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1602
   }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1603
  }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1604
  \@ifx\LT@save@row\LT@@save@row{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1605
   \LT@warn{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1606
    Column \@width s have changed\MessageBreak in table \thetable
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1607
   }\LT@final@warn
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1608
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1609
  \endgraf
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1610
  \nobreak
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1611
  \box\@ifvoid\LT@lastfoot{\LT@foot}{\LT@lastfoot}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1612
 \global\@mparbottom\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1613
 \endgraf
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1614
 \LT@post
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1615
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1616
\def\LT@start@longtable{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1617
 \let\LT@start\endgraf
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1618
 \endgraf
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1619
 \penalty\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1620
 \vskip\LTpre
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1621
 \dimen@\pagetotal
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1622
 \advance\dimen@ \ht\ifvoid\LT@firsthead\LT@head\else\LT@firsthead\fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1623
 \advance\dimen@ \dp\ifvoid\LT@firsthead\LT@head\else\LT@firsthead\fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1624
 \advance\dimen@ \ht\LT@foot
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1625
 \dimen@ii\vfuzz\vfuzz\maxdimen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1626
   \setbox\tw@\copy\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1627
   \setbox\tw@\vsplit\tw@ to \ht\@arstrutbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1628
   \setbox\tw@\vbox{\unvbox\tw@}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1629
 \vfuzz\dimen@ii
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1630
 \advance\dimen@ \ht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1631
       \ifdim\ht\@arstrutbox>\ht\tw@\@arstrutbox\else\tw@\fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1632
 \advance\dimen@\dp
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1633
       \ifdim\dp\@arstrutbox>\dp\tw@\@arstrutbox\else\tw@\fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1634
 \advance\dimen@ -\pagegoal
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1635
 \ifdim \dimen@>\z@\vfil\break\fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1636
     \global\@colroom\@colht
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1637
 \ifvoid\LT@foot\else
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1638
   \advance\vsize-\ht\LT@foot
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1639
   \global\advance\@colroom-\ht\LT@foot
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1640
   \dimen@\pagegoal\advance\dimen@-\ht\LT@foot\pagegoal\dimen@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1641
   \maxdepth\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1642
 \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1643
 \ifvoid\LT@firsthead\copy\LT@head\else\box\LT@firsthead\fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1644
 \output{\LT@output}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1645
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1646
\def\LT@start@new{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1647
 \let\LT@start\endgraf
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1648
 \endgraf
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1649
 \markthr@@{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1650
 \LT@pre
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1651
 \@ifvoid\LT@firsthead{\LT@top}{\box\LT@firsthead\nobreak}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1652
 \mark@envir{longtable}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1653
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1654
\def\LT@end@hd@ft@longtable#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1655
 \LT@echunk
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1656
 \ifx\LT@start\endgraf
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1657
  \LT@err{Longtable head or foot not at start of table}{Increase LTchunksize}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1658
 \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1659
 \setbox#1\box\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1660
 \LT@get@widths\LT@bchunk
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1661
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1662
\def\LT@end@hd@ft@new#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1663
 \LT@echunk
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1664
 \@ifx{\LT@start\endgraf}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1665
  \LT@err{Longtable head or foot not at start of table}{Increase LTchunksize}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1666
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1667
 \global\setbox#1\box\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1668
 \LT@get@widths
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1669
 \LT@bchunk
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1670
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1671
\def\LT@array@longtable[#1]#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1672
  \refstepcounter{table}\stepcounter{LT@tables}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1673
  \if l#1%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1674
    \LTleft\z@ \LTright\fill
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1675
  \else\if r#1%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1676
    \LTleft\fill \LTright\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1677
  \else\if c#1%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1678
    \LTleft\fill \LTright\fill
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1679
  \fi\fi\fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1680
  \let\LT@mcol\multicolumn
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1681
  \let\LT@@tabarray\@tabarray
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1682
  \let\LT@@hl\hline
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1683
  \def\@tabarray{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1684
    \let\hline\LT@@hl
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1685
    \LT@@tabarray}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1686
  \let\\\LT@tabularcr\let\tabularnewline\\%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1687
  \def\newpage{\noalign{\break}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1688
  \def\pagebreak{\noalign{\ifnum`}=0\fi\@testopt{\LT@no@pgbk-}4}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1689
  \def\nopagebreak{\noalign{\ifnum`}=0\fi\@testopt\LT@no@pgbk4}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1690
  \let\hline\LT@hline \let\kill\LT@kill\let\caption\LT@caption
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1691
  \@tempdima\ht\strutbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1692
  \let\@endpbox\LT@endpbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1693
  \ifx\extrarowheight\@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1694
    \let\@acol\@tabacol
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1695
    \let\@classz\@tabclassz \let\@classiv\@tabclassiv
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1696
    \def\@startpbox{\vtop\LT@startpbox}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1697
    \let\@@startpbox\@startpbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1698
    \let\@@endpbox\@endpbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1699
    \let\LT@LL@FM@cr\@tabularcr
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1700
  \else
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1701
    \advance\@tempdima\extrarowheight
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1702
    \col@sep\tabcolsep
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1703
    \let\@startpbox\LT@startpbox\let\LT@LL@FM@cr\@arraycr
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1704
  \fi
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1705
  \setbox\@arstrutbox\hbox{\vrule
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1706
    \@height \arraystretch \@tempdima
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1707
    \@depth \arraystretch \dp \strutbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1708
    \@width \z@}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1709
  \let\@sharp##\let\protect\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1710
   \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1711
    \@mkpream{#2}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1712
    \xdef\LT@bchunk{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1713
       \global\advance\c@LT@chunks\@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1714
       \global\LT@rows\z@\setbox\z@\vbox\bgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1715
       \LT@setprevdepth
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1716
       \tabskip\LTleft\halign to\hsize\bgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1717
      \tabskip\z@ \@arstrut \@preamble \tabskip\LTright \cr}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1718
  \endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1719
  \expandafter\LT@nofcols\LT@bchunk&\LT@nofcols
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1720
  \LT@make@row
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1721
  \m@th\let\par\@empty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1722
  \everycr{}\lineskip\z@\baselineskip\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1723
  \LT@bchunk
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1724
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1725
\def\LT@LR@l{\LTleft\z@   \LTright\fill}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1726
\def\LT@LR@r{\LTleft\fill \LTright\z@  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1727
\def\LT@LR@c{\LTleft\fill \LTright\fill}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1728
\def\LT@array@new[#1]#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1729
 \refstepcounter{table}\stepcounter{LT@tables}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1730
 \table@hook
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1731
 \LTleft\fill \LTright\fill
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1732
 \csname LT@LR@#1\endcsname
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1733
 \let\LT@mcol\multicolumn
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1734
 \let\LT@@hl\hline
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1735
 \prepdef\@tabarray{\let\hline\LT@@hl}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1736
 \let\\\LT@tabularcr
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1737
 \let\tabularnewline\\%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1738
 \def\newpage{\noalign{\break}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1739
 \def\pagebreak{\noalign{\ifnum`}=0\fi\@testopt{\LT@no@pgbk-}4}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1740
 \def\nopagebreak{\noalign{\ifnum`}=0\fi\@testopt\LT@no@pgbk4}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1741
 \let\hline\LT@hline
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1742
 \let\kill\LT@kill
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1743
 \let\caption\LT@caption
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1744
 \@tempdima\ht\strutbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1745
 \let\@endpbox\LT@endpbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1746
 \@ifxundefined\extrarowheight{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1747
  \let\@acol\@tabacol
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1748
  \let\@classz\@tabclassz
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1749
  \let\@classiv\@tabclassiv
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1750
  \def\@startpbox{\vtop\LT@startpbox}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1751
  \let\@@startpbox\@startpbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1752
  \let\@@endpbox\@endpbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1753
  \let\LT@LL@FM@cr\@tabularcr
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1754
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1755
  \advance\@tempdima\extrarowheight
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1756
  \col@sep\tabcolsep
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1757
  \let\@startpbox\LT@startpbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1758
  \let\LT@LL@FM@cr\@arraycr
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1759
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1760
 \let\@acoll\@tabacoll
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1761
 \let\@acolr\@tabacolr
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1762
 \let\@acol\@tabacol
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1763
 \setbox\@arstrutbox\hbox{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1764
  \vrule
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1765
  \@height \arraystretch \@tempdima
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1766
  \@depth \arraystretch \dp \strutbox
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1767
  \@width \z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1768
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1769
 \let\@sharp##%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1770
 \let\protect\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1771
 \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1772
  \@mkpream{#2}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1773
  \@mkpream@relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1774
  \edef\@preamble{\@preamble}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1775
  \prepdef\@preamble{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1776
   \global\advance\c@LT@chunks\@ne
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1777
   \global\LT@rows\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1778
   \setbox\z@\vbox\bgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1779
    \LT@setprevdepth
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1780
    \tabskip\LTleft
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1781
    \halign to\hsize\bgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1782
     \tabskip\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1783
     \@arstrut
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1784
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1785
  \appdef\@preamble{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1786
     \tabskip\LTright
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1787
     \cr
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1788
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1789
  \global\let\LT@bchunk\@preamble
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1790
 \endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1791
 \expandafter\LT@nofcols\LT@bchunk&\LT@nofcols
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1792
 \LT@make@row
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1793
 \m@th
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1794
 \let\par\@empty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1795
 \everycr{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1796
 \lineskip\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1797
 \baselineskip\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1798
 \LT@bchunk
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1799
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1800
\appdef\table@hook{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1801
%% Note that it is not enough to define the environment itself; we also have to create the corresponding
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1802
%% \cmd\output\ routine procedures, which provide for continued footers and headers
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1803
%% (the very feature of \env{longtable} requiring support in the output routine).
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1804
%% This same consideration would arise in defining any syntactic extension to \env{longtable}, because
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1805
%% the environment name itself is exposed in the output routine.
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1806
\def\switch@longtable{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1807
 \@ifpackageloaded{longtable}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1808
  \@ifx{\longtable\longtable@longtable}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1809
   \@ifx{\endlongtable\endlongtable@longtable}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1810
    \@ifx{\LT@start\LT@start@longtable}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1811
     \@ifx{\LT@end@hd@ft\LT@end@hd@ft@longtable}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1812
      \@ifx{\LT@array\LT@array@longtable}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1813
       \true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1814
      }{\false@sw}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1815
     }{\false@sw}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1816
    }{\false@sw}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1817
   }{\false@sw}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1818
  }{\false@sw}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1819
  {%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1820
   \class@info{Patching longtable package}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1821
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1822
   \class@info{Patching unrecognized longtable package. (Proceeding with fingers crossed)}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1823
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1824
  \let\longtable\longtable@new
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1825
  \let\endlongtable\endlongtable@new
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1826
  \let\LT@start\LT@start@new
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1827
  \let\LT@end@hd@ft\LT@end@hd@ft@new
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1828
  \let\LT@array\LT@array@new
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1829
  \newenvironment{longtable*}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1830
   \onecolumngrid@push
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1831
   \longtable
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1832
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1833
   \endlongtable
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1834
   \onecolumngrid@pop
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1835
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1836
 }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1837
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1838
\def\LT@pre{\penalty\z@\vskip\LTpre}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1839
\def\LT@bot{\nobreak\copy\LT@foot\vfil}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1840
\def\LT@top{\copy\LT@head\nobreak}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1841
\def\LT@post{\penalty\z@\addvspace\LTpost\mark@envir{\curr@envir}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1842
\def\LT@adj{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1843
 \setbox\z@\vbox{\null}\dimen@-\ht\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1844
 \setbox\z@\vbox{\unvbox\z@\LT@bot}\advance\dimen@\ht\z@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1845
 \global\advance\vsize-\dimen@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1846
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1847
\def\output@init@longtable{\LT@adj}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1848
\def\output@prep@longtable{\setbox\@cclv\vbox{\unvbox\@cclv\LT@bot}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1849
\def\output@post@longtable{\LT@top}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1850
\let\output@init@theindex\@empty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1851
\let\output@prep@theindex\@empty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1852
\def\output@post@theindex{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1853
 \@ifodd\c@page{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1854
  \@ifnum{\pagegrid@cur=\@ne}{% we have the leftmost column of a verso page
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1855
   % insert the current top-level continued head
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1856
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1857
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1858
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1859
\def\check@aux{\do@output@MVL{\do@check@aux}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1860
\def\check@deferlist@stuck#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1861
 \@ifx{\@deferlist@postshipout\@empty}{}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1862
  \@ifx{\@deferlist@postshipout\@deferlist}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1863
   \@fltstk
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1864
   \clearpage@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1865
    \ltxgrid@warn{Deferred float stuck during \string\clearpage\space processing}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1866
   }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1867
    \force@deferlist@stuck#1%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1868
   }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1869
  }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1870
   %Successfully committed float(s)
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1871
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1872
  \global\let\@deferlist@postshipout\@empty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1873
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1874
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1875
\def\@fltstk{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1876
 \@latex@warning{A float is stuck (cannot be placed without \string\clearpage)}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1877
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1878
\appdef\@outputpage{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1879
 \global\let\@deferlist@postshipout\@deferlist
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1880
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1881
\def\@next#1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1882
 \@ifx{#2\@empty}{\false@sw}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1883
  \expandafter\@xnext#2\@@#1#2%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1884
  \true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1885
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1886
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1887
\def\@xnext\@elt#1#2\@@#3#4{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1888
 \def#3{#1}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1889
 \gdef#4{#2}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1890
 \def\@tempa{#4}\def\@tempb{\@freelist}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1891
 \@ifx{\@tempa\@tempb}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1892
  \@ifx{#4\@empty}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1893
   \force@deferlist@empty%{Float register pool exhausted}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1894
  }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1895
 }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1896
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1897
\def\force@deferlist@stuck#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1898
\force@deferlist@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1899
  \@booleantrue\clearpage@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1900
  \@booleantrue\forcefloats@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1901
  #1%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1902
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1903
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1904
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1905
\def\force@deferlist@empty{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1906
 \force@deferlist@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1907
  \penalty-\pagebreak@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1908
  \protect@penalty\do@forcecolumn@pen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1909
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1910
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1911
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1912
\@booleanfalse\force@deferlist@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1913
\mathchardef\do@forcecolumn@pen=10009
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1914
\@namedef{output@-\the\do@forcecolumn@pen}{\do@forcecolumn}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1915
\def\do@forcecolumn{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1916
 \@booleantrue\clearpage@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1917
 \@booleantrue\forcefloats@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1918
 \do@startcolumn
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1919
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1920
\def\enlargethispage{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1921
\@ifstar{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1922
\@enlargethispage{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1923
}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1924
\@enlargethispage{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1925
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1926
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1927
\def\@enlargethispage#1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1928
 \begingroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1929
  \dimen@#2\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1930
  \edef\@tempa{#1}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1931
  \edef\@tempa{\noexpand\@@enlargethispage{\@tempa}{\the\dimen@}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1932
  \expandafter\do@output@MVL\expandafter{\@tempa}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1933
 \endgroup
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1934
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1935
\def\@@enlargethispage#1#2{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1936
 \def\@tempa{one}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1937
 \@ifx{\thepagegrid\@tempa}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1938
  \true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1939
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1940
  \def\@tempa{mlt}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1941
  \@ifx{\thepagegrid\@tempa}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1942
   \@ifnum{\pagegrid@cur=\@ne}{% OK to adjust this page
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1943
    \gdef\enlarge@colroom{#2}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1944
    \true@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1945
   }{% Can only adjust this column; give up
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1946
    \ltxgrid@warn{Too late to enlarge this page; move the command to the first column.}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1947
    \false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1948
   }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1949
  }{% Unknown page grid
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1950
   \ltxgrid@warn{Unable to enlarge a page of this kind.}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1951
   \false@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1952
  }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1953
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1954
 {%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1955
  \class@info{Enlarging page \thepage\space by #2}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1956
  \global\advance\@colroom#2\relax
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1957
  \set@vsize
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1958
 }{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1959
  % Could not adjust this page
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1960
 }%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1961
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1962
\let\enlarge@colroom\@empty
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1963
\let\@kludgeins\@undefined
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1964
\@booleantrue\textheight@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1965
\prepdef\@outputpage{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1966
 \textheight@sw{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1967
  \count@\vbadness\vbadness\@M
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1968
  \dimen@\vfuzz\vfuzz\maxdimen
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1969
  \setbox\@outputbox\vbox to\textheight{\unvbox\@outputbox}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1970
  \vfuzz\dimen@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1971
  \vbadness\count@
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1972
 }{}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1973
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1974
\def\ltxgrid@info{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1975
 \ltxgrid@info@sw{\class@info}{\@gobble}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1976
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1977
\@booleanfalse\ltxgrid@info@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1978
\def\ltxgrid@warn{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1979
 \ltxgrid@warn@sw{\class@warn}{\@gobble}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1980
}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1981
\@booleantrue\ltxgrid@warn@sw
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1982
\endinput
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1983
%%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
  1984
%% End of file `ltxgrid.sty'.