source: branches/start/Dwarf/Documents/ICRC2007/icrctc07.sty@ 14442

Last change on this file since 14442 was 8595, checked in by tbretz, 17 years ago
*** empty log message ***
File size: 5.2 KB
Line 
1% Style to International Cosmic Ray Conference Merida Yucatan Mexico 2007
2% icrctc07.sty LATex 2e Version 1.6
3%% Copyright 2007 by Victor De la Luz
4%
5% This work may be distributed and/or modified under the
6% conditions of the LaTeX Project Public License, either version 1.3
7% of this license or (at your option) any later version.
8% The latest version of this license is in
9% http://www.latex-project.org/lppl.txt
10% and version 1.3 or later is part of all distributions of LaTeX
11% version 2003/12/01 or later.
12%
13% This work has the LPPL maintenance status "maintained".
14%
15% This Current Maintainer of this work is Victor De la Luz.
16% <vdelaluz@inaoep.mx>
17%
18% This work consists of the files icrctc07.sty.
19%
20%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
21% HISTORY:
22% Revision: 22/April/2007
23% Revision: 17/April/2007
24% Revision: 9/April/2007
25% Revision: 4/April/2007
26% Revision: 31/March/2007
27%
28\NeedsTeXFormat{LaTeX2e}
29\ProvidesPackage{icrctc07}[1994/06/01 Standard LaTeX package]
30\usepackage{graphicx}
31\usepackage{ftnright}
32\usepackage{fancyhdr}
33\usepackage{times}
34\DeclareOption{twoside}{\@twosidetrue}
35\ExecuteOptions{twoside}
36\twocolumn
37%\flushbottom
38\sloppy
39%Preliminary Declarations
40\hoffset 0mm
41\voffset 0mm
42%tope de impresion 25.4mm
43\oddsidemargin -10.4mm %Margen impar
44\evensidemargin -10.4mm %Margen par
45\textwidth 150mm
46%----------------------
47\paperwidth 180mm
48\topmargin 2mm
49\headheight 4mm
50\headsep 5mm
51\textheight 210mm
52\footskip 8mm
53%--------------------
54\paperheight 240mm
55\columnsep 8mm
56\parskip 1mm
57\parindent 0mm
58\marginparsep 0mm
59\headwidth 150mm
60\def\addcontentsline#1#2#3{}
61%New declarations to Authors, paperid, etc.
62\newcommand{\@authors}{}
63\newcommand{\authors}[1]{\renewcommand{\@authors}{#1}}
64\newcommand{\@paperid}{}
65\newcommand{\paperid}[1]{\renewcommand{\@paperid}{#1}}
66\newcommand{\@shorttitle}{}
67\newcommand{\shorttitle}[1]{\renewcommand{\@shorttitle}{#1}}
68\newcommand{\@shortauthors}{}
69\newcommand{\shortauthors}[1]{\renewcommand{\@shortauthors}{#1}}
70\newcommand{\@afiliations}{}
71\newcommand{\afiliations}[1]{\renewcommand{\@afiliations}{#1}}
72\newcommand{\@email}{}
73\newcommand{\email}[1]{\renewcommand{\@email}{#1}}
74\newcommand{\@abstract}{}
75\renewcommand{\abstract}[1]{\renewcommand{\@abstract}{#1}}
76%fonts
77\def\@normalsize{\@setsize\normalsize{10pt}\xipt\@xipt} % 10 point on 11
78\def\small{\@setsize\small{10pt}\ixpt\@ixpt} % 9 point on 10
79\def\footnotesize{\@setsize\footnotesize{10pt}\ixpt\@ixpt} % 9 point on 10
80\def\scriptsize{\@setsize\scriptsize{8pt}\viipt\@viipt} % 7 point on 8
81\def\tiny{\@setsize\tiny{7pt}\vipt\@vipt} % 6 point on 7
82\def\large{\@setsize\large{12pt}\xipt\@xipt} % 11 point on 12
83\def\Large{\@setsize\Large{14pt}\xiipt\@xiipt} % 12 point on 14
84\def\LARGE{\@setsize\LARGE{16pt}\xivpt\@xivpt} % 14 point on 16
85\def\huge{\@setsize\huge{20pt}\xviipt\@xviipt} % 17 point on 20
86\def\Huge{\@setsize\Huge{23pt}\xxpt\@xxpt} % 20 point on 23
87%The logoblack.eps source
88\newcommand{\@logosource}{logoblack}
89\DeclareOption{black}{\gdef\@logosource{logoblack}}
90\newcommand{\logosource}[1]{\gdef\@logosource{#1}}
91\newlength{\@line}
92\setlength{\@line}{12pt}
93\pagestyle{fancyplain}
94%special Headings
95\lhead[\small \sc \@shorttitle \hfill]{}
96\rhead[]{\small \sc30th International Cosmic Ray Conference\hfill}
97%don't work! I need fancyhdr
98%\markboth{\small \sc \@shorttitle \hfill}{\small \sc30th International Cosmic Ray Conference \@email\hfill}
99%The line footnote
100\footnotesep 6.65pt %
101\skip\footins 9pt plus 4pt minus 2pt
102\def\footnoterule{\kern-3pt \hrule width 5pc \kern 2.6pt }
103\setcounter{footnote}{0}
104%Making the title
105\renewcommand{\maketitle}{
106\twocolumn[\begin{@twocolumnfalse}
107\null\begingroup\thispagestyle{empty}%
108\hbox{%
109 \vbox{\hsize=98mm%
110 {\footnotesize\sc30th International Cosmic Ray Conference\hfill}
111 \vspace{18mm}%
112 }%
113 \vbox{\hsize = 52mm
114 \hfill\includegraphics{\@logosource}
115 }}
116 \vspace{5mm}
117 {\bf\Large\@title}\hfill \vspace{3mm}\\
118 {\sc\@authors}\\
119 {\it\@afiliations}\\
120 {\it\small\@email}
121 %\vspace{1mm}
122 \vspace{0.5ex} \begin{quote}\small
123 {\bf Abstract:} {\@abstract}
124 \end{quote}\vskip 1ex
125 \vskip 5\p@
126 \endgroup
127 \setcounter{footnote}{0}%
128\end{@twocolumnfalse}]
129}
130%figures
131\def\fps@figure{tbp}
132\def\ftype@figure{1}
133\def\fnum@figure{\figurename~\thefigure}
134\def\figure{\@float{figure}}
135\def\endfigure{\end@float\gdef\@currentlabel{}}
136%Not page numeration
137\renewcommand{\thepage}{}
138% no section number display
139\makeatletter
140\def\@seccntformat#1{}
141\makeatother
142% no numbers in toc
143\renewcommand{\numberline}[1]{}
144%Viudas y huerfanas!
145\clubpenalty=10000
146\widowpenalty=10000
147%bibliography skips
148 \let\oldthebibliography=\thebibliography
149 \let\endoldthebibliography=\endthebibliography
150 \renewenvironment{thebibliography}[1]{%
151 \begin{oldthebibliography}{#1}%
152 \setlength{\parskip}{0ex}%
153 \setlength{\itemsep}{0ex}%
154 }%
155 {%
156 \end{oldthebibliography}%
157 }
158%end
159%22 April Mexico City 2007
Note: See TracBrowser for help on using the repository browser.