aboutsummaryrefslogtreecommitdiffstats
path: root/docs/Simple/simpleConference.sty
diff options
context:
space:
mode:
Diffstat (limited to 'docs/Simple/simpleConference.sty')
-rw-r--r--docs/Simple/simpleConference.sty136
1 files changed, 136 insertions, 0 deletions
diff --git a/docs/Simple/simpleConference.sty b/docs/Simple/simpleConference.sty
new file mode 100644
index 0000000..acdbd33
--- /dev/null
+++ b/docs/Simple/simpleConference.sty
@@ -0,0 +1,136 @@
+% ---------------------------------------------------------------
+% Style file for simple, two column conference papers.
+% Based on latex8.sty by Paolo.Ienne@di.epfl.ch
+% ---------------------------------------------------------------
+% Use with LaTeX2e as:
+% \documentclass[times,10pt,twocolumn]{article}
+% \usepackage{simpleConference}
+% \usepackage{times}
+% ---------------------------------------------------------------
+% specify references as
+% \bibliographystyle{simpleConference}
+% \bibliography{...your files...}
+%
+% use Section{} and SubSection{} instead of standard section{}
+% and subsection{} to obtain headings in the form
+% "1.3. My heading"
+% ---------------------------------------------------------------
+% ten point helvetica bold required for captions
+% in some sites the name of the helvetica bold font may differ,
+% change the name here:
+\font\tenhv = phvb at 10pt
+
+% eleven point times bold required for second-order headings
+\font\elvbf = ptmb scaled 1100
+
+% set dimensions of columns, gap between columns, and paragraph indent
+\setlength{\textheight}{8.875in}
+\setlength{\textwidth}{6.875in}
+\setlength{\columnsep}{0.3125in}
+\setlength{\topmargin}{0in}
+\setlength{\headheight}{0in}
+\setlength{\headsep}{0in}
+\setlength{\parindent}{1pc}
+\setlength{\oddsidemargin}{-.304in}
+\setlength{\evensidemargin}{-.304in}
+
+% memento from size10.clo
+% \normalsize{\@setfontsize\normalsize\@xpt\@xiipt}
+% \small{\@setfontsize\small\@ixpt{11}}
+% \footnotesize{\@setfontsize\footnotesize\@viiipt{9.5}}
+% \scriptsize{\@setfontsize\scriptsize\@viipt\@viiipt}
+% \tiny{\@setfontsize\tiny\@vpt\@vipt}
+% \large{\@setfontsize\large\@xiipt{14}}
+% \Large{\@setfontsize\Large\@xivpt{18}}
+% \LARGE{\@setfontsize\LARGE\@xviipt{22}}
+% \huge{\@setfontsize\huge\@xxpt{25}}
+% \Huge{\@setfontsize\Huge\@xxvpt{30}}
+
+\def\@maketitle
+ {
+ \newpage
+ \null
+ \vskip .375in
+ \begin{center}
+ {\Large \bf \@title \par}
+ % additional two empty lines at the end of the title
+ \vspace*{24pt}
+ {
+ \large
+ \lineskip .5em
+ \begin{tabular}[t]{c}
+ \@author
+ \end{tabular}
+ \par
+ }
+ % additional small space at the end of the author name
+ \vskip .5em
+ {
+ \large
+ \begin{tabular}[t]{c}
+ \@affiliation
+ \end{tabular}
+ \par
+ \ifx \@empty \@email
+ \else
+ \begin{tabular}{r@{~}l}
+ E-mail: & {\tt \@email}
+ \end{tabular}
+ \par
+ \fi
+ }
+ % additional empty line at the end of the title block
+ \vspace*{12pt}
+ \end{center}
+ }
+
+\def\abstract
+ {%
+ \centerline{\large\bf Abstract}%
+ \vspace*{12pt}%
+% \it% %%%% iroro - commenting out italicized abstract
+ }
+
+\def\endabstract
+ {
+ % additional empty line at the end of the abstract
+ \vspace*{12pt}
+ }
+
+\def\affiliation#1{\gdef\@affiliation{#1}} \gdef\@affiliation{}
+
+\def\email#1{\gdef\@email{#1}}
+\gdef\@email{}
+
+\newlength{\@ctmp}
+\newlength{\@figindent}
+\setlength{\@figindent}{1pc}
+
+\long\def\@makecaption#1#2{
+ \vskip 10pt
+ \setbox\@tempboxa\hbox{\tenhv\noindent #1.~#2}
+ \setlength{\@ctmp}{\hsize}
+ \addtolength{\@ctmp}{-\@figindent}\addtolength{\@ctmp}{-\@figindent}
+ % IF longer than one indented paragraph line
+ \ifdim \wd\@tempboxa >\@ctmp
+ % THEN set as an indented paragraph
+ \begin{list}{}{\leftmargin\@figindent \rightmargin\leftmargin}
+ \item[]\tenhv #1.~#2\par
+ \end{list}
+ \else
+ % ELSE center
+ \hbox to\hsize{\hfil\box\@tempboxa\hfil}
+ \fi}
+
+% correct heading spacing and type
+\def\section{\@startsection {section}{1}{\z@}
+ {14pt plus 2pt minus 2pt}{14pt plus 2pt minus 2pt} {\large\bf}}
+\def\subsection{\@startsection {subsection}{2}{\z@}
+ {13pt plus 2pt minus 2pt}{13pt plus 2pt minus 2pt} {\elvbf}}
+
+% add the period after section numbers
+\newcommand{\Section}[1]{\section{\hskip -1em.~#1}}
+\newcommand{\SubSection}[1]{\subsection{\hskip -1em.~#1}}
+
+% end of file latex8.sty
+% ---------------------------------------------------------------