/[cvs]/bcast/cs.sty
ViewVC logotype

Contents of /bcast/cs.sty

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.1.1.1 - (show annotations) (vendor branch)
Mon Oct 4 14:01:13 2004 UTC (14 years, 2 months ago) by riso
Branch: riso, MAIN
CVS Tags: init, HEAD
Changes since 1.1: +0 -0 lines
Initial import.

1 % Carleton Scientific Style for LaTeX
2 \typeout{Document Style `CS'}
3 \usepackage{ifthen,times,epsfig,latexsym,amssymb,amsmath,amsfonts,mathptm}%,algorithm}
4 \pagestyle{myheadings}
5
6 % replace the following with the main title of the proceedings:
7 \markboth{Proceedings in Informatics}{}
8
9 \special{papersize=6in,9in}
10 \setlength{\paperwidth}{6in}\setlength{\paperheight}{9in}
11
12 \newcounter{art}
13 \frenchspacing
14
15 \newtheorem{claim}{Claim}
16 \newtheorem{corollary}{Corollary}
17 \newtheorem{definition}{Definition}
18 \newtheorem{example}{Example}
19 \newtheorem{exercise}{Exercise}
20 \newtheorem{fact}{Fact}
21 \newtheorem{lemma}{Lemma}
22 \newtheorem{note}{Note}
23 \newtheorem{obs}{Observation}
24 \newtheorem{problem}{Problem}
25 \newtheorem{property}{Property}
26 \newtheorem{proposition}{Proposition}
27 \newtheorem{question}{Question}
28 \newtheorem{ru}{Rule}
29 \newtheorem{solution}{Solution}
30 \newtheorem{theorem}{Theorem}
31
32 \newcommand{\resetart}{%
33 \setcounter{part}{0}
34 \setcounter{section}{0}
35 \setcounter{subsection}{0}
36 \setcounter{subsubsection}{0}
37 \setcounter{paragraph}{0}
38 \setcounter{figure}{0}
39 \setcounter{table}{0}
40 \setcounter{claim}{0}
41 \setcounter{corollary}{0}
42 \setcounter{definition}{0}
43 \setcounter{example}{0}
44 \setcounter{exercise}{0}
45 \setcounter{lemma}{0}
46 \setcounter{note}{0}
47 \setcounter{obs}{0}
48 \setcounter{problem}{0}
49 \setcounter{property}{0}
50 \setcounter{proposition}{0}
51 \setcounter{question}{0}
52 \setcounter{ru}{0}
53 \setcounter{solution}{0}
54 \setcounter{theorem}{0}
55 \setcounter{equation}{0}
56 \setcounter{tocdepth}{0}
57 \stepcounter{art}
58 \thispagestyle{plain}
59 \normalsize}
60
61 \resetart
62 \raggedbottom
63
64 \newenvironment{proof}{
65 \begin{sloppypar}
66 \vspace{.5pc}
67 \noindent
68 \textbf{Proof. }
69 \upshape
70 \mdseries
71 }{% following line needs to be checked for box position
72 % (\hspace*{\fill} fails on some occasion
73 \,\hfill$\Box$
74 \par
75 \vspace{.25pc}
76 \end{sloppypar}
77 }
78
79 \newenvironment{proofsk}{
80 \begin{sloppypar}
81 \vspace{.25pc}
82 \noindent
83 \textbf{Proof Sketch. }
84 \upshape
85 \mdseries
86 }{% following line needs to be checked for box position
87 % (\hspace*{\fill} fails on some occasion
88 \,\hfill$\Box$
89 \par
90 \vspace{.25pc}
91 \end{sloppypar}
92 }
93
94 \newenvironment{remark}[1]{\textbf{Remark: }}
95 {\par\vspace{.25pc}}
96
97 \setlength{\parskip}{0pt}
98 \setlength{\oddsidemargin}{72pt}
99 \setlength{\evensidemargin}{72pt}
100 \setlength{\marginparwidth}{60pt}
101 \setlength{\marginparsep}{10pt}
102 \setlength{\topmargin}{-3pc}
103 \setlength{\headheight}{12pt}
104 \setlength{\headsep}{12pt}
105 \setlength{\footskip}{20pt}
106 \setlength{\textwidth}{27pc}
107 \setlength{\textheight}{43pc}
108 \setlength{\parsep}{0pc}
109 \setlength{\columnsep}{1pc}
110 \setlength{\columnseprule}{0pt}
111
112 \renewcommand{\title}[1]{%
113 \begin{center}
114 \setlength{\baselineskip}{26pt}\LARGE\textbf{#1}
115 \par\vspace{1.5pc}
116 \end{center}
117 }
118
119 \newenvironment{authorgroup}
120 {\par\noindent}
121 {\par\vspace{1.5pc}}
122
123 \renewcommand{\author}[2]{%
124 \begin{center}{\large\textsc{#1}}\\
125 {\normalsize\textit{#2}}
126 \end{center}
127 }
128
129 \newcommand{\tocauth}[2]{%
130 \par\noindent\hangindent=0pc
131 {\em #1}
132 }
133 \newcommand{\tocchp}[2]{%
134 \par\hangindent=1pc\hangafter=0\noindent
135 #1 \dotfill\ #2\\
136 }
137
138 \newcommand{\keywords}[1]{%
139 \par\begin{center}\small\textbf{Keywords}\\[4pt]#1\\\end{center}}
140
141 \newenvironment{biog}[1]{%
142 \begin{sloppypar}
143 \setlength{\baselineskip}{10pt}
144 \vspace{8pt}\noindent\begin{small}\textbf{#1} }
145 {\end{small}\end{sloppypar}}
146
147 \newcommand{\research}[1]{\renewcommand{\thefootnote}{\fnsymbol{footnote}}\footnote[1]{#1}\renewcommand{\thefootnote}{\arabic{footnote}}\setcounter{footnote}{0}}
148
149 \newcommand{\Headright}[1]{\markright{#1}\rhead}
150 \newcommand{\rhead}{%
151 \def\@evenhead{\protect\rule[-4pt]{\textwidth}{.5pt}\kern-\textwidth
152 \rm \thepage \hfill \leftmark \hfill } % Left heading.
153 \def\@oddhead{\protect\rule[-4pt]{\textwidth}{.5pt}\kern-\textwidth
154 \hfill\textit{\rightmark}\hfill \rm\thepage} % Right heading.
155 }
156 \setlength{\headheight}{2\baselineskip}
157 \setlength{\headsep}{1.5pc}
158
159 \newcommand{\csaddress}{\vspace{2pc}\par Carleton Scientific\\
160 P.O. Box 12, V\&P\\
161 University of Waterloo\\
162 Waterloo, Ontario\\
163 Canada N2L 3G0\\[.5pc]
164 http://www.carleton-scientific.com\\
165 e-mail: editor@carleton-scientific.com}
166 \def\typeset{\vfill{\small\noindent This book was processed using
167 the \LaTeXe\ macro package with the Carleton Scientific style
168 package, cs.sty.\par}}
169 % end of cs.sty

CVS Admin">CVS Admin
ViewVC Help
Powered by ViewVC 1.1.26