Skip to content
Newer
Older
100644 241 lines (207 sloc) 5.86 KB
c4ac982 @nniclausse hevea style
nniclausse authored
1 %% Nicolas Niclausse 2002
2 %% $Id: TSUNG.hva,v 1.7 2003/08/28 08:25:20 nniclausse Exp $
3
4 \ifstyleloaded\relax
5 \else
6 \input{article.hva}
7 \styleloadedtrue
8 % HTML HEADERS
9 \htmlhead{
10 \begin{rawhtml}
11 <DIV class="entete">
12 &nbsp;<A href="http://tsung.erlang-projects.org/">http://tsung.erlang-projects.org/</A>
13 </DIV>
14 <HR>
15 \end{rawhtml}
16 }
17 \htmlfoot{
18 \begin{rawhtml}
19 <DIV class="piedpage">
20 <HR>
6b34bf4 @nniclausse merge from 1.3.1 branch
nniclausse authored
21 <P> Copyright 2004-2009 &copy; Nicolas Niclausse
c4ac982 @nniclausse hevea style
nniclausse authored
22 </DIV>
23
24 \end{rawhtml}
25 }
26 % our style
27
28 \newcommand{\RequirePackage}[1]{\usepackage{#1}}
29 \RequirePackage[colorlinks=false]{hyperref}
30 \RequirePackage{url}
31 \RequirePackage{xspace}
32
33 \RequirePackage[T1]{fontenc}
34 \RequirePackage[cyr]{aeguill}
35 \RequirePackage{ae}
36 \RequirePackage{a4wide}
37 \RequirePackage{fancyhdr}
38 \RequirePackage{lastpage}
39 \RequirePackage{color}
40 \RequirePackage{colortbl} % Cf. _LaTeX par la pratique_, p. 300...
41 \RequirePackage{nopageno}
537e027 @nniclausse copyright + utf8
nniclausse authored
42 \RequirePackage[utf8]{inputenc}
c4ac982 @nniclausse hevea style
nniclausse authored
43 \RequirePackage{tabularx}
44 \RequirePackage{hhline}
45 \RequirePackage{textcomp}
46
47 % hevea specific
48 \input{urlhref.hva}
49
50 \RequirePackage[debugshow,final]{graphics}
51 \RequirePackage{fancyvrb} % paquetage verbatim évolué
52 \fvset{fontsize=\scriptsize,frame=single}
53
54 \newcommand{\GreyShade}{0.95}
55 \newcommand{\GrayShade}{\GreyShade}
56
57 %\ifpdf
58 \RequirePackage{graphicx}
59 %\else
60 % \RequirePackage{graphicx}
61 %\DeclareGraphicsExtensions{.jpg,.png}
62 %\fi
63
64
65 \setlength{\voffset}{-.4in}
66 \setlength{\headheight}{14.5mm}
67 \setlength{\headheight}{25pt}
68
69 \definecolor{idxgreen}{rgb}{0.22,0.50,0.18}%#39812F
70
71 Headers
72 \pagestyle{fancy}
73 \renewcommand{\sectionmark}[1]{\markboth{#1}{}}
74 \newcommand{\subsectionmark}[1]{\markright{#1}}
75 \rhead{\emph{\leftmark\\\rightmark}}
76 \rfoot{\small{Page \thepage\//\pageref{LastPage}}}
77 \rhead{\leftmark}
78 \newcommand{\footrulewidth}{0.2pt}
79 \lfoot{}
80
81 \newcommand{\CartoucheGeneral}{%
82 \begin{center}
83 \newcolumntype{Y}{>{\columncolor[gray]{\GrayShade}}l}
84 \begin{tabular}{|Yl|}
85 \hline
86 Version: & \idxversion \\
87 Date : & \today \\
88 \hline
89 \end{tabular}
90 \end{center}
91 }
92
93 %\newcommand{\logo}[1]{%
94 %\includegraphics[width=30mm]{logo_tsung}
95 %}
96
97 \newcommand{\@maketitle}{%
98 \usebox{\addressbox}%
99 \vspace*{1cm}
100 \begin{flushright}%
101 \fontsize{14}{18}\selectfont%
102 \usebox{\titlebox} \\
103 \usebox{\numberbox}\\
104 \usebox{\datebox}
105 \usebox{\authorbox}\\[2ex]%
106
107 \end{flushright}%
108
109 \CartoucheGeneral
110 \par
111 }
112
113 \renewcommand{\maketitle}{%
114 {\newcommand{\checkbox}[2]
115 {\ifthenelse{\equal{\usebox{##2}}{}}
116 {}
117 {\@open{##1}{ALIGN=center}\usebox{##2}\@close{##1}}}%
118 \checkbox{H1}{\@title}
119 \checkbox{H3}{\@author}
120 \checkbox{H3}{\@date}
121 \checkbox{}{\CartoucheGeneral}}
122 }
123
124 \newcommand{\docreldate}[1]{%
125 \newcommand{\idxreldate}{#1}
126 }
127
128 %%
129 \newcommand{\raisebox}[2]{%
130 }
131 \newcommand{\parbox}[1]{%
132 }
133
134 \newcommand{\docref}[1]{%
135 \newcommand{\idxref}{\texttt{#1}}
136 }
137 \newcommand{\doctitle}[1]{\title{#1}}
138 \newcommand{\docdate}{\heveadate{}}
139 \newcommand{\docversion}[1]{%
140 \newcommand{\idxversion}{#1}
141 }
142 \newcommand{\doccopyright}[1]{#1}
143 \newcommand{\addauthor}[3]{%
144 \author{\@author\\ #1 #2 \texttt{(#3)}}
145 }
146
147 % french for frbib
148 %\iffrench
149 %\renewcommand{\ifFTR}{\iftrue}
150 %\fi
151 % use already existing png files
152 %\renewcommand{\heveaimageext}{.png}
153 \renewcommand{\includegraphics}[2][]{\imgsrc{images/#2.png}}
154
155 \newcommand{\Abstract}[1]{%
156 \\
157 \begin{center}
158 \begin{tabular}{|p|}
159 \hline
160 \textit{#1}
161 \end{tabular}
162 \end{center}
163 }
164 % remove hypertarget, redondant with \label
165 %\renewcommand{\hypertarget}[2]{}
166 % trademark (replace by blank)
167 \newcommand{\Pisymbol}[2]{}
168 \newcommand{\vref}[1]{\ref{#1}}
169
170 %% change tables border used for fancyvrb
171 \def\verb@framesize{1}
172
173 % add css
174 \let\oldmeta=\@meta
175 \renewcommand{\@meta}{%
176 \oldmeta
177 \begin{rawhtml}
178 <style type="text/css">
179 <!--
180 body {font-size: 90%; margin-right:40px; margin-left:40px; font-family:Sans-Serif; color:#000000; background-color:#ffffff;}
181 p, .n {font-size: 90%; font-family:Sans-Serif; color:#000000; background-color:#ffffff;}
182 h1 {font-size: 200%; color:#800000; background-color:#ffffff;}
183 h2 {font-size:150%; color:#000080; background-color:#ffffff;}
184 h3 {font-family:Sans-Serif; font-size: 120%; font-weight:bold; color:#000080; background-color:#ffffff;}
185 h4 {font-family:Sans-Serif; font-size:100%; font-weight:bold; color:#000080; background-color:#ffffff;}
186 h5 {font-family:Sans-Serif; font-size:100%; font-weight:bold; color:#000000; background-color:#ffffff; margin-bottom: 0;}
187 form {margin-bottom:-5px;}
188 textarea {color:#333333; background-color:#ffffff; width:90%;}
189 table {font-size:90%;}
190 dl,ul,ol {margin-top: 2pt; margin-bottom: 2pt;}
191 tt, pre {font-family:monospace; color:#666666; background-color:#ffffff;}
192 pre {
193 background-color: #ffffee;
194 white-space:pre;
195 border-style:solid;
196 border-width:thin;
197 border-color:#999999;
198 color:#333333;
199 // padding:3px;
200 margin-bottom: -1pt;
201 width:100%;
202 }
203
204 a:link {color:#800000; background-color: #ffffff;}
205 a:visited {color:#006600; background-color: #ffffff;}
206 a:active {color:green; background-color: #ffffff;}
207 a:hover {background:#ffffaa;}
208
209 .piedpage, .entete {
210 font-family:Sans-Serif; font-size:90%; font-style:italic; color:#0000ff; background-color: #ffffff;
211 text-align: center;
212 }
213 -->
214 </style>
215 \end{rawhtml}}
216 \fi
217
218 \def\ie{\textit{ie.} }
219 \def\ieme{ième }
220 \newcommand{\guillem}[1]{«#1»}
221
222 \newcommand{\familyName}[1]{\textsc{#1}}
223 \newcommand{\strong}[1]{\textbf{#1}}
224
225 \newcommand{\file}{\begingroup \urlstyle{tt}\Url}
226 \newcommand{\computeroutput}[1]{\textsf{#1}}
227 \newcommand{\userinput}[1]{\textsf{#1}}
228 \newcommand{\program}[1]{\emph{#1}}
229 \newcommand{\command}[1]{\texttt{#1}}
230 \newcommand{\varname}[1]{\texttt{#1}}
231 \newcommand{\foreign}[1]{\emph{#1}}
232 \newcommand{\keycap}[1]{\texttt{#1}}
233
234 \newcommand{\email}[1]{\mailto{#1}}
235 \newcommand{\unix}[1]{Unix}
236 \newcommand{\linux}[1]{Linux}
237 \newcommand{\opnsrc}[1]{\textsf{Open Source}}
238
239 \newcommand{\FIXME}[1]{\strong{FIXME: #1}}
240
Something went wrong with that request. Please try again.