project/static/proceedings/sources/abstracts.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
\NeedsTeXFormat{LaTeX2e}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     2
\ProvidesPackage{abstracts}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     3
\RequirePackage{graphicx}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     4
%\RequirePackage{setspace}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     5
\RequirePackage[a4paper,textwidth=16cm,textheight=25cm]{geometry}
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
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     8
%\RequirePackage[utf8]{inputenc}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
     9
\RequirePackage[T1]{fontenc}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    10
\RequirePackage{lmodern}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    11
\RequirePackage{titlesec}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    12
\RequirePackage{fancyhdr}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    13
\RequirePackage{framed}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    14
\RequirePackage[hyphens]{url}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    15
\RequirePackage{enumitem}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    16
\RequirePackage{hyperref}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    17
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    18
% For ltxgrid to work
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    19
%\newcommand{\class@name}{gael}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    20
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    21
%-----------------------------------------------------------------------------
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    22
% Special-purpose color definitions (dark enough to print OK in black and white)
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    23
\usepackage{color}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    24
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    25
% A few colors to replace the defaults for certain link types
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    26
\definecolor{orange}{cmyk}{0,0.4,0.8,0.2}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    27
\definecolor{darkorange}{rgb}{.71,0.21,0.01}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    28
\definecolor{darkblue}{rgb}{.01,0.21,0.71}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    29
\definecolor{darkgreen}{rgb}{.1,.52,.09}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    30
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    31
%-----------------------------------------------------------------------------
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    32
% The hyperref package gives us a pdf with properly built
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    33
% internal navigation ('pdf bookmarks' for the table of contents,
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    34
% internal cross-reference links, web links for URLs, etc.)
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    35
\usepackage{hyperref}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    36
\hypersetup{pdftex,  % needed for pdflatex
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    37
  breaklinks=true,  % so long urls are correctly broken across lines
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    38
  colorlinks=true,
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    39
  urlcolor=blue,
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    40
  linkcolor=darkblue,
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    41
  citecolor=darkgreen,
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    42
  }
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    43
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
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    46
% Definitions of the commands used in abstracts :
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    47
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    48
% For the hyperref package we need to include section call in the source,
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    49
% so let's render them useless :
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    50
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    51
\setlength\parindent{0pt}
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
\def\title#1{
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    54
 \noindent
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    55
 \section*{\Large #1}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    56
 \addcontentsline{toc}{section}{\sffamily #1}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    57
}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    58
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    59
\def\addauthorstoc#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    60
\addtocontents{toc}{\vspace*{-.5ex}{\small #1}\protect\newline\smallskip}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    61
}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    62
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    63
\def\presentingauthor#1{
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    64
\begin{minipage}{0.8\linewidth}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    65
~ ~ ~\underline{#1}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    66
\end{minipage}
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
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    69
\def\email#1{{\small \tt \url{#1}}}
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
\renewenvironment{abstract}{\sffamily\bfseries}{\par\smallskip}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    72
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    73
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    74
\def\otherauthors#1{
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    75
{\sffamily #1}\par
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    76
}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    77
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    78
\def\address#1{{\em #1}}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    79
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    80
\def\tablefootnote#1#2{\hbox to 0pt{$^{\rm #1}$\footnotesize #2\hss}}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    81
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    82
\def\thebibliography#1{
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    83
\list{[\arabic{enumi}]}{\settowidth\labelwidth{[#1]}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    84
\leftmargin\labelwidth\advance\leftmargin\labelsep\itemsep-\parsep
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    85
\topsep0pt\usecounter{enumi}\small}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    86
\small
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    87
}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    88
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    89
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    90
% Styling
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    91
\titleformat*{\section}{\large\bfseries\sffamily}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    92
\titleformat*{\subsection}{\bfseries\sffamily}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    93
\titleformat*{\subsubsection}{\sffamily}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    94
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    95
\def\resetheadings#1#2#3#4{
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    96
    \fancyhf{} %delete the current section for header and footer
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    97
    \fancyfoot[RE,LO]{\sffamily\bfseries\thepage}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    98
    \fancyhead[LO]{\bfseries Proceedings of the 8$^{\text{th}}$ Python in
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
    99
Science Conference (SciPy 2009)}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   100
    \fancyfoot[RO]{\footnotesize #3}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   101
    \fancyfoot[LE]{\footnotesize #4}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   102
    \fancyhead[RE]{#1}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   103
    \renewcommand{\headrulewidth}{1pt}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   104
    \renewcommand{\footrulewidth}{1pt}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   105
    \renewcommand{\headwidth}{\textwidth}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   106
    \pagestyle{fancy}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   107
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   108
    \gdef\this@citation{#2}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   109
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   110
    \fancypagestyle{mytitle}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   111
	\fancyhf{} % clear all header and footer fields
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   112
	\fancyfoot[RE,LO]{\sffamily\bfseries\thepage}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   113
	\fancyfoot[LE,RO]{\footnotesize \this@citation}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   114
	\fancyhead[LO,RE]{\bfseries Proceedings of the 8$^{\text{th}}$ Python 
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   115
	in Science Conference (SciPy 2009)}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   116
	\renewcommand{\headrulewidth}{1pt}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   117
	\renewcommand{\footrulewidth}{1pt}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   118
	\renewcommand{\headwidth}{\textwidth}
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
    \thispagestyle{mytitle}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   121
}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   122
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   123
\resetheadings{}{}{}{}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   124
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   125
\setlength\columnsep{3ex}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   126
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   127
\setlength\parindent{0pt}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   128
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   129
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   130
% A cooler caption
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   131
\renewcommand{\caption}[2][foo]{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   132
\begin{minipage}{0.9\linewidth}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   133
\small\sffamily\sl%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   134
\hspace*{-0.05\linewidth}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   135
#2
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   136
\end{minipage}}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   137
%}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   138
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   139
% Float parameters, for more full pages.
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   140
\renewcommand{\topfraction}{0.9}	% max fraction of floats at top
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   141
\renewcommand{\bottomfraction}{0.8}	% max fraction of floats at bottom
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   142
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   143
\renewcommand{\textfraction}{0.07}	% allow minimal text w. figs
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   144
%   Parameters for FLOAT pages (not text pages):
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   145
\renewcommand{\floatpagefraction}{0.6}	% require fuller float pages
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   146
%    % N.B.: floatpagefraction MUST be less than topfraction !!
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   147
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   148
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   149
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   150
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   151
% A hack to have longtable work without problems with mutlicolumn
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   152
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   153
\renewenvironment{longtable}[2][1]{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   154
%\setlength{\locallinewidth}{1.3\linewidth}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   155
\footnotesize
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   156
% Hack
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   157
%\def\textbf#1{{\sffamily\bfseries #1}}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   158
\sffamily
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   159
\begin{center}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   160
\begin{tabular}{#2}
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
\end{tabular}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   163
\end{center}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   164
}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   165
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   166
\def\endhead{\small}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   167
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   168
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   169
% Code blocks
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   170
\newlength\leftsidespace
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   171
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   172
\renewenvironment{quote}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   173
\par
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   174
\smallskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   175
\hspace{0.03\linewidth}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   176
\begin{minipage}{0.97\linewidth}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   177
\footnotesize}{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   178
\end{minipage}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   179
\smallskip
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   180
}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   181
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   182
% Hack to restore or original font size }in lists:
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   183
\let\old@item\item
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   184
\def\item#1{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   185
\normalsize\old@item{#1}%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   186
}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   187
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   188
\setitemize{leftmargin=1em}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   189
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   190
\setlength{\parskip}{0.1em plus 0.5em minus 0.1em}
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
%% Hack to get good linebreaking in tt:
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   193
%\let\oldtexttt\textt
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   194
%\DeclareUrlCommand\mytexttt{%
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   195
%\mathchardef\UrlBreakPenalty=0
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   196
%\mathchardef\UrlBigBreakPenalty=0
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   197
%}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   198
%\def\texttt#1{\mytexttt{#1}}
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   199
30b754364bbb Add all proceedings generation source files.
Madhusudan.C.S <madhusudancs@gmail.com>
parents:
diff changeset
   200
% :vim:ft=tex: