1% ===================================================================== 2% LaTeX style file for HUG91 paper (ieee format) 3% ===================================================================== 4 5% --------------------------------------------------------------------- 6% PAPER SIZE (latex overrides these anyway) 7% 8% * TeX expects 1 inch margins all around. 9% * 8.5x11 (american paper) is exactly 279.4mm high by 215.9mm wide 10% * 1 inch = 25.4 mm 11% --------------------------------------------------------------------- 12 13\hsize=165.1truemm 14\vsize=228.6truemm 15 16% --------------------------------------------------------------------- 17% PAGE LAYOUT 18% --------------------------------------------------------------------- 19 20\textwidth 174truemm 21\textheight 228truemm 22 23% --------------------------------------------------------------------- 24% POSITION ON PAPER 25% 26% * left margin = 19 mm 27% * top margin = 25.4 mm (one inch) 28% --------------------------------------------------------------------- 29 30\evensidemargin=-7.4truemm 31\oddsidemargin=-7.4truemm 32\topmargin 0truemm 33 34% --------------------------------------------------------------------- 35% Column separation 36% --------------------------------------------------------------------- 37\columnsep 8mm 38 39% --------------------------------------------------------------------- 40% MATH INDENTATION. = 5mm 41% --------------------------------------------------------------------- 42\setlength{\mathindent}{1pc} 43 44% --------------------------------------------------------------------- 45% HEAD: no head 46% --------------------------------------------------------------------- 47\headheight 0mm 48\headsep 0mm 49 50% --------------------------------------------------------------------- 51% FOOT: page number 52% --------------------------------------------------------------------- 53\footheight 12pt 54\footskip 10mm 55 56% --------------------------------------------------------------------- 57% INDENTATION: 1pc indentation 58% --------------------------------------------------------------------- 59\parindent 1pc 60 61% --------------------------------------------------------------------- 62% Sizes of sections, etc. 63% --------------------------------------------------------------------- 64 65\makeatletter 66 67%need an 11 pt font size for subsection and abstract headings 68\def\subsize{\@setsize\subsize{12pt}\xipt\@xipt} 69 70%make section titles bold and 12 point, 1 blank lines before, 1 after 71\def\section{\@startsection{section}{1}{\z@}{12pt plus 2pt minus 2pt} 72{12pt plus 2pt minus 2pt}{\large\bf}} 73 74%make subsection titles bold and 11 point, 1 blank line before, 1 after 75\def\subsection{\@startsection{subsection}{2}{\z@}{12pt plus 2pt minus 2pt} 76{12pt plus 2pt minus 2pt}{\subsize\bf}} 77 78%make subsubsection titles bold and 10 point, 1 blank line before, run-in 79%and with a `:' after the title. 80\def\@mystartsection#1#2#3#4#5#6{\if@noskipsec \leavevmode \fi 81 \par \@tempskipa #4\relax 82 \@afterindenttrue 83 \ifdim \@tempskipa <\z@ \@tempskipa -\@tempskipa \@afterindentfalse\fi 84 \if@nobreak \everypar{}\else 85 \addpenalty{\@secpenalty}\addvspace{\@tempskipa}\fi \@ifstar 86 {\@ssect{#3}{#4}{#5}{#6}}{\@dblarg{\@mysect{#1}{#2}{#3}{#4}{#5}{#6}}}} 87\def\@mysect#1#2#3#4#5#6[#7]#8{\ifnum #2>\c@secnumdepth 88 \def\@svsec{}\else 89 \refstepcounter{#1}\edef\@svsec{\csname the#1\endcsname\hskip 1em }\fi 90 \@tempskipa #5\relax 91 \ifdim \@tempskipa>\z@ 92 \begingroup #6\relax 93 \@hangfrom{\hskip #3\relax\@svsec}{\interlinepenalty \@M #8:\par}% 94 \endgroup 95 \csname #1mark\endcsname{#7}\addcontentsline 96 {toc}{#1}{\ifnum #2>\c@secnumdepth \else 97 \protect\numberline{\csname the#1\endcsname}\fi 98 #7}\else 99 \def\@svsechd{#6\hskip #3\@svsec #8:\csname #1mark\endcsname 100 {#7}\addcontentsline 101 {toc}{#1}{\ifnum #2>\c@secnumdepth \else 102 \protect\numberline{\csname the#1\endcsname}\fi 103 #7}}\fi 104 \@xsect{#5}} 105\def\subsubsection{\@mystartsection{subsubsection}{3}{\z@} 106 {12pt plus 2pt minus 2pt}{-1em}{\bf}} 107 108% --------------------------------------------------------------------- 109% footnote hacks 110% --------------------------------------------------------------------- 111 112% No rule above footnotes like in the IEEE transations 113\renewcommand{\footnoterule}{} 114 115% thanks makes no footnote make like in the IEEE transactions 116\newcommand{\blanknote}[1] 117{ 118 \renewcommand{\thefootnote}{} 119 \footnotetext{#1} 120 \renewcommand{\thefootnote}{\arabic{footnote}} 121} 122\def\thanks#1{\begingroup 123\def\protect{\noexpand\protect\noexpand}\xdef\@thanks{\@thanks 124 \protect\blanknote{#1}}\endgroup} 125 126% Set footnote text style to that in guidelines 127\def\footnotesize{\@setsize\footnotesize{10pt}\viiipt\@viiipt 128\abovedisplayskip 6pt plus 2pt minus 4pt\belowdisplayskip \abovedisplayskip 129\abovedisplayshortskip \z@ plus 1pt\belowdisplayshortskip 3pt plus 1pt minus 1302pt 131\def\@listi{\leftmargin\leftmargini \topsep 3pt plus 1pt minus 1pt\parsep 2pt 132plus 1pt minus 1pt 133\itemsep \parsep}} 134 135 136\makeatother 137 138% --------------------------------------------------------------------- 139% Preliminary settings etc. 140% --------------------------------------------------------------------- 141 142\renewcommand{\topfraction}{0.8} % 0.8 of the top page can be fig. 143\renewcommand{\bottomfraction}{0.8} % 0.8 of the bottom page can be fig. 144\renewcommand{\textfraction}{0.1} % 0.1 of the page must contain text 145\setcounter{totalnumber}{4} % max of 4 figures per page 146\setcounter{secnumdepth}{3} % number sections down to level 3 147\setcounter{tocdepth}{3} % toc contains numbers to level 3 148\flushbottom % text extends right to the bottom 149\twocolumn % two columns 150 151 152