1 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
2 | %%% magic-tdas.sty -- style file to write MAGIC-TDAS documents
|
---|
3 | %%%-----------------------------------------------------------------
|
---|
4 | %%% Kopyleft (K) 2000 J C Gonzalez
|
---|
5 | %%% Max-Planck-Institut fuer Physik,
|
---|
6 | %%% Foehringer Ring 6, 80805 Muenchen, Germany
|
---|
7 | %%% E-mail: gonzalez@mppmu.mpg.de
|
---|
8 | %%%-----------------------------------------------------------------
|
---|
9 | %%% This program is free software; you can redistribute, copy,
|
---|
10 | %%% modify, use it and its documentation for any purpose,
|
---|
11 | %%% provided that the above copyright notice appear in all
|
---|
12 | %%% copies and that both that copyright notice and this
|
---|
13 | %%% permission notice appear in supporting documentation.
|
---|
14 | %%%
|
---|
15 | %%% This piece of code is distributed in the hope that it will
|
---|
16 | %%% be useful, but WITHOUT ANY WARRANTY; without even the
|
---|
17 | %%% implied warranty of FITNESS FOR A PARTICULAR PURPOSE.
|
---|
18 | %%%
|
---|
19 | %%% Although you can actually do whatever you want with this
|
---|
20 | %%% file (following the copyright notice above), your are
|
---|
21 | %%% strongly encouraged NOT to edit directly this file.
|
---|
22 | %%% Instead, make a copy and edit the copy for your purposes.
|
---|
23 | %%%
|
---|
24 | %%% Modifying this file means that you have the very basic
|
---|
25 | %%% knowledge needed to make things by your own, and therefore...
|
---|
26 | %%% you will not get _any_ additional support :-)
|
---|
27 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
28 | %%% Last update: Time-stamp: <Tue Feb 22 16:23:07 MET 2000>
|
---|
29 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
30 | %
|
---|
31 |
|
---|
32 | \NeedsTeXFormat{LaTeX2e}
|
---|
33 | \ProvidesPackage{magic-tdas}
|
---|
34 | [2000/03/01 v0.01 magic-tdas -- style file to write MAGIC-TDAS documents]
|
---|
35 |
|
---|
36 | \typeout{magic-tdas -- style file to write MAGIC-TDAS documents}
|
---|
37 |
|
---|
38 | %%% PACKAGES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
39 | \usepackage[english]{babel}
|
---|
40 | \usepackage{epsfig}
|
---|
41 | \usepackage{fancyheadings}
|
---|
42 | \usepackage{rotating}
|
---|
43 | \usepackage{amsmath}
|
---|
44 | \usepackage{xspace}
|
---|
45 | \usepackage{enumerate}
|
---|
46 | \usepackage{makeidx}
|
---|
47 | \usepackage{floatflt}
|
---|
48 | \usepackage{wrapfig}
|
---|
49 | %\usepackage{html}
|
---|
50 | \usepackage{verbatim}
|
---|
51 |
|
---|
52 | %\usepackage{a4wide}
|
---|
53 | \usepackage{vmargin}
|
---|
54 | \setpapersize{A4}
|
---|
55 | \setmarginsrb{2cm}{3cm}{2cm}{3cm}{12pt}{20pt}{0pt}{0pt}
|
---|
56 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
57 |
|
---|
58 | %%% NEW COMMANDS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
59 | \newcommand\TDAScode[1]{\gdef\@TDASnumber{#1}}
|
---|
60 | %-----------------------------------------------------------
|
---|
61 | \newcommand\TDASref[1]{\gdef\@TDASref{#1}}
|
---|
62 | %-----------------------------------------------------------
|
---|
63 | %\newcommand{\coauthor}[3]{
|
---|
64 | % \begin{tabular}{lll}%
|
---|
65 | % #1 & #2 & #3
|
---|
66 | % \end{tabular}%
|
---|
67 | %}
|
---|
68 | \renewcommand\@maketitle{%
|
---|
69 | \newpage
|
---|
70 | \null
|
---|
71 | \begin{picture}(0,0)%
|
---|
72 | \put(0,50){\epsfig{file=magiclogo.eps,width=4cm}}%
|
---|
73 | \put(400,80){\parbox[t]{0.3\linewidth}{\textsf{\@TDASnumber}}}%
|
---|
74 | \end{picture}%
|
---|
75 | \begin{center}%
|
---|
76 | \let \footnote \thanks
|
---|
77 | {\large \scshape \@title \par}%
|
---|
78 | \vskip 1.5em%
|
---|
79 | {\large
|
---|
80 | \lineskip .5em%
|
---|
81 | \begin{tabular}[t]{c}%
|
---|
82 | \@author
|
---|
83 | \end{tabular}\par}%
|
---|
84 | \begin{tabular}[!h]{lll}%
|
---|
85 | Co-I: & Denis Bastieri & Universit\`a degli Studi di Padova\\
|
---|
86 | & Markus Garczarczyk & MPI\\
|
---|
87 | & Markus Gaug & IFAE\\
|
---|
88 | & Riccardo Paoletti & Universit\`a degli Studi di Siena\\
|
---|
89 | & Luigi Peruzzo & Universit\`a degli Studi di Padova\\
|
---|
90 | Co-DA: & Satoko Mizobuchi & MPI\\
|
---|
91 | & Alessio Piccioli & Universit\`a degli Studi di Siena\\
|
---|
92 | & Martina Fagiolini & Universit\`a degli Studi di Siena\\
|
---|
93 | & Abelardo Moralejo$^*$ & Universit\`a degli Studi di Padova\\
|
---|
94 | & Tiziano Lenisa & Universit\`a degli Studi di Udine\\
|
---|
95 | & Francesco Longo & INFN Trieste\\
|
---|
96 | Co-Th: & Steve Shore & Universit\`a degli Studi di Pisa
|
---|
97 | \end{tabular}\\
|
---|
98 | \small{* = if still Padova member}
|
---|
99 | %\coauthor
|
---|
100 | %\end{tabular}\par%
|
---|
101 | \vskip 1em%
|
---|
102 | {\large \@date}%
|
---|
103 | \end{center}%
|
---|
104 | \par
|
---|
105 | \vskip 1.5em}
|
---|
106 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
107 |
|
---|
108 | %%% TABLE OF CONTENTS AND BIBLIOGRAPHY %%%%%%%%%%%%%%%%%%%%%
|
---|
109 | \def\thetableofcontents{%
|
---|
110 | \small%
|
---|
111 | \renewcommand{\contentsname}{}%
|
---|
112 | \begin{center}%
|
---|
113 | {\bfseries Contents}\\%
|
---|
114 | \begin{minipage}{0.7\linewidth}%
|
---|
115 | \footnotesize%
|
---|
116 | \tableofcontents%
|
---|
117 | \end{minipage}%
|
---|
118 | \vskip20pt
|
---|
119 | \end{center}}
|
---|
120 |
|
---|
121 | \def\theBibliography{%
|
---|
122 | \nocite{*}
|
---|
123 | \renewcommand{\refname}{}
|
---|
124 | \bibliographystyle{abbrv}
|
---|
125 | \begin{center}%
|
---|
126 | {\bfseries References}\\%
|
---|
127 | \begin{minipage}{0.7\linewidth}%
|
---|
128 | \footnotesize%
|
---|
129 | \bibliography{anasoft}%
|
---|
130 | \end{minipage}%
|
---|
131 | \end{center}}
|
---|
132 |
|
---|
133 | \renewenvironment{thebibliography}[1]
|
---|
134 | {\vskip\baselineskip\centering{\bfseries References\\}
|
---|
135 | \@mkboth{References}{References}%
|
---|
136 | \list{\@biblabel{\@arabic\c@enumiv}}%
|
---|
137 | {\settowidth\labelwidth{\@biblabel{#1}}%
|
---|
138 | \leftmargin\labelwidth
|
---|
139 | \advance\leftmargin\labelsep
|
---|
140 | \@openbib@code
|
---|
141 | \usecounter{enumiv}%
|
---|
142 | \let\p@enumiv\@empty
|
---|
143 | \renewcommand\theenumiv{\@arabic\c@enumiv}}%
|
---|
144 | \sloppy
|
---|
145 | \clubpenalty4000
|
---|
146 | \@clubpenalty \clubpenalty
|
---|
147 | \widowpenalty4000%
|
---|
148 | \sfcode`\.\@m}
|
---|
149 | {\def\@noitemerr
|
---|
150 | {\@latex@warning{Empty `thebibliography' environment}}%
|
---|
151 | \endlist}
|
---|
152 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
153 |
|
---|
154 | %%% CITES %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
155 |
|
---|
156 | %% cite(s) in captions
|
---|
157 | \newcommand{\ccite}[1]{\protect\cite{#1}\xspace}
|
---|
158 | %% references in captions
|
---|
159 | \newcommand{\cref}[1]{\protect\ref{#1}\xspace}
|
---|
160 | %% also references in captions
|
---|
161 | \newcommand{\fullcref}[1]{\protect\ref{#1} %
|
---|
162 | in page \protect\pageref{#1}\xspace}
|
---|
163 | %% id., normal
|
---|
164 | \newcommand{\fullref}[1]{\ref{#1} in page \pageref{#1}\xspace}
|
---|
165 |
|
---|
166 | %% units
|
---|
167 | \renewcommand{\u}[1]{\ensuremath{\mathrm{\,#1}}}
|
---|
168 |
|
---|
169 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
170 |
|
---|
171 | %%% FANCYHEADINGS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
172 | \pagestyle{fancyplain}
|
---|
173 | %\addtolength{\headwidth}{\marginparsep}
|
---|
174 | %\addtolength{\headwidth}{\marginparwidth}
|
---|
175 | \addtolength{\headwidth}{1cm}
|
---|
176 | %\renewcommand{\chaptermark}[1]%
|
---|
177 | % {\markboth{#1}{}}
|
---|
178 | \renewcommand{\sectionmark}[1]%
|
---|
179 | {\markright{\thesection\ #1}}
|
---|
180 | \renewcommand{\subsectionmark}[1]%
|
---|
181 | {\markright{\thesubsection\ #1}}
|
---|
182 | \lhead[\fancyplain{}{\itshape \thepage}]%
|
---|
183 | {\fancyplain{}{\itshape \rightmark}}
|
---|
184 | \rhead[\fancyplain{}{\itshape \thetitle}]%
|
---|
185 | {\fancyplain{}{\itshape \thepage}}
|
---|
186 | \cfoot{}
|
---|
187 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
188 |
|
---|
189 | %%% CAPTIONS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
190 | %\long\def\@makecaption#1#2{%
|
---|
191 | %\centering\parbox[b][\height+\baselineskip][b]{0.8\linewidth}{\small{\bf #1}.\quad #2}}
|
---|
192 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
193 |
|
---|
194 | %%% SECTIONING COMMANDS %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
195 | \renewcommand{\section}{\@startsection
|
---|
196 | {section}%
|
---|
197 | {1}%
|
---|
198 | {0pt}%
|
---|
199 | {\baselineskip}%
|
---|
200 | {0.5\baselineskip}%
|
---|
201 | {\large\scshape}}
|
---|
202 |
|
---|
203 | \renewcommand{\subsection}{\@startsection
|
---|
204 | {subsection}%
|
---|
205 | {2}%
|
---|
206 | {0pt}%
|
---|
207 | {0.8\baselineskip}%
|
---|
208 | {0.5\baselineskip}%
|
---|
209 | {\bfseries}}
|
---|
210 |
|
---|
211 | \renewcommand{\subsubsection}{\@startsection
|
---|
212 | {subsubsection}%
|
---|
213 | {3}%
|
---|
214 | {10pt}%
|
---|
215 | {0.5\baselineskip}%
|
---|
216 | {0.2\baselineskip}%
|
---|
217 | {\itshape}}
|
---|
218 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
219 |
|
---|
220 | %%% GENERAL FORMATTING %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
221 | \setlength{\parindent}{0pt}
|
---|
222 | \setlength{\parskip}{0.2\baselineskip}
|
---|
223 | %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
|
---|
224 |
|
---|
225 | \endinput
|
---|
226 |
|
---|
227 | %%EOF
|
---|