Debian Codegraph @

texmf-dist/tex/latex/ltxmisc/iagproc.cls

raw
1 %%
2 %% This is the file `iagproc.cls' intended for formatting submissions to
3 %% IAG (International Association of Geodesy) Proceedings.
4 %%
5 %% Originally written as 'banff.cls', for the Banff GGG2000 symposium.
6 %% An adaptation from 'article.cls', (c) The LaTeX3 Project and
7 %% individual authors:
8 %%
9 %% Leslie Lamport
10 %% Johannes Braams
11 %% David Carlisle
12 %% Alan Jeffrey
13 %% Frank Mittelbach
14 %% Chris Rowley
15 %% Rainer Schoepf
16 %%
17 %% License
18 %%
19 %% 'iagproc.cls' is free software that can be redistributed and/or
20 %% modified under the terms of the LaTeX Project Public License as
21 %% specified in the LaTeX Project Public License:
22 %%
23 %% http://www.latex-project.org/lppl.html
24 %%
25 %% Adapted from 'article.cls' (c) Martin Vermeer 2000
26 %% Small adaptations (c) Hussein Abd-Elmotaal 2000
27 %% Small adaptations (c) Martin Vermeer 2003
28 %%
29 %% Your class definition should be
30 %%
31 %% \documentclass{iagproc}
32 %%
33 \NeedsTeXFormat{LaTeX2e}
34
35 \ProvidesClass{iagproc}
36 [2003/01/22 v0.3 IAG Conference Proceedings]
37 % Options:
38 \DeclareOption*{\PassOptionsToClass{\CurrentOption}{article}}
39 \ProcessOptions\relax
40 %
41 \LoadClass[10pt,twocolumn]{article}
42 %%\RequirePackage{mathptm}
43 %%\RequirePackage{times}
44 \RequirePackage{natbib}
45 %%\RequirePackage{apalike}
46 % Redefine \maketitle:
47 \renewcommand\maketitle{\par
48 \begingroup
49 \renewcommand\thefootnote{\@fnsymbol\c@footnote}%
50 \def\@makefnmark{\rlap{\@textsuperscript{\normalfont\@thefnmark}}}%
51 \long\def\@makefntext##1{\parindent 1em\noindent
52 \hb@[email protected]{%
53 \hss\@textsuperscript{\normalfont\@thefnmark}}##1}%
54 \twocolumn[\@maketitle]%
55 \global\@topnum\z@ % Prevents figures from going at top of page.
56 \thispagestyle{empty}%
57 \@thanks
58 \endgroup
59 \setcounter{footnote}{0}%
60 \global\let\thanks\relax
61 \global\let\maketitle\relax
62 \global\let\@maketitle\relax
63 \global\let\@thanks\@empty
64 \global\let\@author\@empty
65 \global\let\@date\@empty
66 \global\let\@title\@empty
67 \global\let\title\relax
68 \global\let\author\relax
69 \global\let\date\relax
70 \global\let\and\relax
71 }
72 %
73 \def\@maketitle{%
74 \newpage
75 \vbox to 4.8cm {
76 \let \footnote \thanks
77 {\par\normalfont\huge\bfseries\sffamily%
78 \raggedright%
79 \@title\par}%
80 \vskip 0.6cm
81 \normalfont\normalsize\@author%
82 }%
83 }%
84 %
85 \newcommand\keywordsname{Keywords}
86
87 \newcommand*\abstractlabel[1]{\normalfont\bfseries\abstractname.\quad}%
88 \newcommand*\keywordslabel[1]{\normalfont\bfseries\keywordsname.\quad}%
89 \renewenvironment{abstract}{%
90 \list{}{\topsep\z@%
91 \labelsep\z@%
92 \labelwidth\z@%
93 \itemindent\z@%
94 \rightmargin\z@%
95 \leftmargin\z@%
96 \let\makelabel\abstractlabel}%
97 \item\relax
98 }%
99 {\endlist}%
100 %
101 \newenvironment{keywords}{%
102 \list{}{\topsep\z@%
103 \labelsep\z@%
104 \labelwidth\z@%
105 \itemindent\z@%
106 \rightmargin\z@%
107 \leftmargin\z@%
108 \let\makelabel\keywordslabel}%
109 \item\relax
110 }%
111 {\endlist\par\vskip4mm\hrule}%
112 %
113 % Redefine \section and \subsection:
114 %\renewcommand\chapter{\@startsection {chapter}{0}{\z@}%
115 % {-3.25ex \@plus -0.6ex \@minus -.2ex}%
116 % {4mm \@plus0.1ex}%
117 % {\normalfont\raggedright\Large\bfseries\sffamily}}
118 \renewcommand\section{\@startsection {section}{1}{\z@}%
119 {-4mm \@plus -0.6ex \@minus -.2ex}%
120 {4mm \@plus0.1ex}%
121 {\normalfont\raggedright\large\bfseries\sffamily}}
122 \renewcommand\subsection{\@startsection{subsection}{2}{\z@}%
123 {-4mm \@plus -0.3ex \@minus -.2ex}%
124 {4mm \@plus0ex}%
125 {\normalfont\raggedright\bfseries\sffamily}}
126 \renewcommand\subsubsection{\@startsection{subsubsection}{3}{\z@}%
127 {-4mm \@plus -0.2ex \@minus -.2ex}%
128 {4mm \@plus0ex}%
129 {\normalfont\raggedright\sffamily\bfseries\itshape}}
130 % Redefine section, subsection numbering:
131 \renewcommand \thesection {\@arabic\c@section}
132 \renewcommand\thesubsection{\thesection.\@arabic\c@subsection}
133 \renewcommand\thesubsubsection{\thesubsection.\@arabic\c@subsubsection}
134
135 %
136 \newcommand{\journal}[1]{\def\@journal{#1\ }}
137
138 \setlength\intextsep{8mm}
139 \setlength\floatsep{8mm}
140 \setlength\abovecaptionskip{2mm}
141 \setlength\belowcaptionskip{2mm}
142
143 % Redefine default font etc.:
144 \long\def\@makecaption#1#2{%
145 \vskip\abovecaptionskip
146 \small
147 \sbox\@tempboxa{\textbf{#1.} #2}%
148 %% \ifdim \wd\@tempboxa >\hsize
149 %% \@hangfrom{\textbf{#1.} }#2\par
150 \textbf{#1.} #2\par
151 %% \else
152 %% \global \@minipagefalse
153 %% \hb@xt@\hsize{\hfil\box\@tempboxa\hfil}%
154 %% \fi
155 \vskip\belowcaptionskip
156 }%
157 \renewenvironment{table}
158 {\@float{table}\small}
159 {\end@float}
160 \renewenvironment{table*}
161 {\@dblfloat{table}\small}
162 {\end@dblfloat}
163 \newenvironment{acknowledgements}{%
164 \list{}{\labelsep\z@%
165 \labelwidth\z@%
166 \itemindent\z@%
167 \leftmargin\z@%
168 \let\makelabel\acknowslabel}%
169 \item\relax
170 \small\itshape}%
171 {\endlist}%
172
173 \def\refname{References}
174
175 \def\@cite#1#2{(#1\if@tempswa , #2\fi)}
176 \def\@biblabel#1{}
177
178 \def\thebibliography#1{\section*{\refname\@mkboth
179 {\sl\uppercase{\refname}}{\sl\uppercase{\refname}}}\list
180 {\relax}{\setlength{\labelsep}{0em}
181 \setlength{\itemindent}{-4mm}
182 \setlength{\leftmargin}{4mm}}
183 \setlength{\parsep}{0pt}
184 \setlength{\itemsep}{0pt plus 2pt}
185 % \def\newblock{\hskip .11em plus .33em minus .07em}
186 \sloppy\clubpenalty4000\widowpenalty4000
187 \sfcode`\.=1000\relax}%
188
189 \renewcommand\labelitemi[0]{\(\circ\)}
190 \renewcommand\labelitemii[0]{\(\triangleright\)}
191 \renewcommand\labelitemiii[0]{\normalfont\bfseries{--}}
192 \renewcommand\labelitemiv[0]{\(\cdot\)}
193 %
194 \renewcommand{\topfraction}{.9}
195 \renewcommand{\bottomfraction}{.9}
196 \renewcommand{\textfraction}{.1}
197 \pagestyle{plain}
198 %\input{fleqn.clo} %%% deactived by Hussein
199 \setlength{\columnsep}{8mm}
200 \setlength{\textheight}{224mm}
201 \setlength{\textwidth}{156mm}
202 %
203 \setlength\parindent{4mm}
204 \flushbottom
205 %\setlength\mathindent{4mm} %%% deactivated Hussein
206 %
207
208 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
209 %% This is a new section added by Hussein
210 %% to allow the balance of the two columns
211 %% of the last page of the manuscript
212 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
213 \newcommand{\@BAlancecol}{\if@twocolumn
214 \setbox0=\vbox{\unvbox\@outputbox} \@tempdima=\ht0
215 \advance\@tempdima by \topskip \advance\@tempdima
216 by -\baselineskip \divide\@tempdima by 2
217 \splittopskip=\topskip
218 {\vbadness=\@M \loop \global\setbox3=\copy0
219 \global\setbox1=\vsplit3 to \@tempdima
220 \ifdim\ht3>\@tempdima \global\advance\@tempdima by 1pt \repeat}
221 \setbox\@leftcolumn=\vbox to \@tempdima{\unvbox1\vfil}
222 \setbox\@outputbox=\vbox to \@tempdima
223 {\dimen2=\dp3\unvbox3\kern-\dimen2
224 \vfil}
225 \fi}
226 \newif\if@BAlanceone
227 \global\@BAlanceonefalse
228 \newdimen\oldvsize
229 \newcommand{\@BAdblcol}{\if@firstcolumn
230 \unvbox\@outputbox \penalty\outputpenalty
231 \global\oldvsize=\@colht \global\multiply \@colht by 2
232 \global\@BAlanceonetrue
233 \global\@firstcolumnfalse
234 \else \global\@firstcolumntrue
235 \if@BAlanceone
236 \global\@BAlanceonefalse\@BAlancecol
237 \global\@colht=\oldvsize \else
238 \PackageWarningNoLine{balance}
239 {You have called \protect\balance\space
240 in second column\MessageBreak
241 Columns might not be balanced}\fi
242 \setbox\@outputbox\vbox to \@colht{\hbox to\textwidth
243 {\hbox to\columnwidth {\box\@leftcolumn \hss}\hfil
244 \vrule width\columnseprule\hfil \hbox to\columnwidth
245 {\box\@outputbox \hss}}\vfil}\@combinedblfloats
246 \@outputpage \begingroup \@dblfloatplacement
247 \@startdblcolumn \@whilesw\if@fcolmade \fi
248 {\@outputpage\@startdblcolumn}\endgroup
249 \fi}
250 \newcommand{\@BAcleardblpage}{\clearpage\if@twoside \ifodd\c@page\else
251 \hbox{}\newpage\fi\fi}
252 \newcommand{\balance}{\global\let\@outputdblcol=\@BAdblcol
253 \global\let\cleardoublepage=\@BAcleardblpage}
254 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
255 %% This is a new section added by Hussein
256 %% for float seperation
257 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
258 \dblfloatsep 10pt plus 2pt minus 4pt \dbltextfloatsep 10pt plus 2pt minus 4pt
259 \@fptop 0pt plus 1fil \@fpsep 10pt plus 2fil \@fpbot 0pt plus 1fil
260 \@dblfptop 0pt plus 1fil \@dblfpsep 10pt plus 2fil \@dblfpbot 0pt plus 1fil
261
262 \endinput
263 %%
264 %% End of file `iagproc.cls'.
265