Debian Codegraph @

texmf-dist/doc/latex/confproc/example3optim.tex

raw
1 %%
2 %% This is file `example3optim.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% confproc.dtx (with options: `example3optim')
8 %%
9 %% This is `example3optim.tex', an example file for the confproc package.
10 %% Copyright (c) 2011 by Vincent Verfaille <[email protected]>
11 %%
12 %% This file is part of the confproc package.
13 %% -------------------------------------------
14 %%
15 %% It may be distributed and/or modified under the conditions of the
16 %% LaTeX Project Public License, either version 1.2 of this license or
17 %% (at your option) any later version.
18 %%
19 %% The latest version of this license is in
20 %% http://www.latex-project.org/lppl.txt
21 %% and version 1.2 or later is part of all distributions of LaTeX version
22 %% 1999/12/01 or later.
23 %%
24 %% This file may not be distributed without the original source file
25 %% `confproc.dtx'.
26 %%
27 %% The list of all files belonging to the confproc package is given in
28 %% the `readme.txt' file.
29 %%
30 %% For more details, LaTeX the source `confproc.dtx'.
31 %%
32 \documentclass[letterpaper,% [letterpaper] | a4paper
33 10pt,% [10pt] | 11pt | 12pt
34 twoside,% [twoside] | oneside
35 twosidepapers,% [twosidepapers] | onesidepapers
36 electronic,% [electronic] | printed
37 binding=0mm,% [0mm]
38 papers=final,% empty | draft | [final]
39 headers=exceptpdf,% none | pdfonly | exceptpdf | [allpages]
40 bib=backref,% [none] | merge | backref | final
41 paperselec=all,% [all] | p_001 | paper_2 | 3 ...
42 onecoltoc,% [onecoltoc] | twocoltoc
43 tocnum=left,% [left] | right
44 twocolbib,% [twocolbib] | onecolbib
45 threecolindex,% [threecolindex] | twocolindex
46 checktitle=false,% true | [false]
47 checkauthor=false,% true | [false]
48 showpapernumber=false,% true | [false]
49 movepagenumber=false,% true | [false]
50 showmarginlines=false,% true | [false]
51 colorheaders=black,% [black] | red | any color!
52 debug=false,% true | [false]
53 verbose=false,% true | [false]
54 pdftk=true,% true | [false]
55 hyperref={bookmarksdepth=1,bookmarksopen,bookmarksopenlevel=0,%
56 linkcolor=colorforlink,urlcolor=colorforurl}, % [blue, blue, blue]
57 geometry={text={175truemm,226truemm},% A4 & letter
58 inner=0.805in,top=29.15mm,bottom=24.5mm,footskip=9.68mm,voffset=-5mm},%letter
59 ]{confproc}
60 %%% inner=0.69in,top=33.9mm,bottom=38mm,footskip=10.4mm,voffset=-4.8mm},%A4
61 %%\input{exclass}
62 \usepackage{setspace}
63 \usepackage{xkeyval}
64 \usepackage{newapave}
65 \usepackage[utf8]{inputenc}
66 \usepackage[T1]{fontenc}
67 \usepackage{mathptmx}
68 \usepackage[super]{nth}
69
70 \setlength{\LaTeXxShift}{0pt}
71 \setlength{\LaTeXyShift}{-3mm} %letter
72 \setlength{\WordxShift}{10pt}
73 \setlength{\WordyShift}{-40pt}
74
75 \definecolor{colorforlink}{rgb}{0,0,0.8}
76 \definecolor{colorforcite}{rgb}{0,0.8,0}
77 \definecolor{colorforurl}{rgb}{0,0,1}
78
79 \newcommand{\DAFxname}{Proc.~of the \nth{9} %
80 Int.~Conference on Digital Audio Effects (DAFx-06)}
81 \newcommand{\DAFxdate}{September 18-20, 2006}
82 \newcommand{\DAFxaddress}{Montreal, Canada}
83
84 \renewcommand{\procpdfauthor}{Vincent Verfaille, McGill University}
85 \renewcommand{\procpdftitle}{DAFx-06 Proceedings - \DAFxaddress}
86 \renewcommand{\procpdfsubject}{Conference proceedings}
87
88 \renewcommand{\procchead}{} %
89 \renewcommand{\proclhead}{{\em \small \DAFxname, \DAFxaddress, \DAFxdate}}
90 \renewcommand{\proccfoot}{{\small DAFX-\thepage}}
91 \setlength{\procfootvskip}{1.2mm}
92 \setlength{\procoptfootvskip}{4mm}
93
94 \author{\procpdfauthor}
95 \title{\DAFxname\\ \DAFxaddress}
96 \date{\DAFxdate}
97
98 \renewcommand{\contentsname}{Day-by-Day Conference Program}
99 \renewcommand{\bibname}{General Bibliography}
100 \renewcommand{\indexname}{List of Authors}
101 \renewcommand{\PAPERPATH}{papers/}
102 \newcommand{\PICTPATH}{pictures/}
103 \newcommand{\TEXTPATH}{}
104 \newcommand{\BIBPATH}{}
105 \newcommand{\procbibfile}{\BIBPATH exbiblio}
106 \newcommand{\myaddhruletotoc}{\vspace*{0.1cm}%
107 \noindent\protect\hrulefill\par\vspace*{-0.15cm}}
108 \newcommand{\myaddthickhruletotoc}{\vspace*{0.5cm}%
109 \noindent\protect\hrule height 0.6ex \hfill\par\vspace*{0.1cm}}
110 \renewcommand{\procday}[1]{%
111 \phantomsection%
112 \addcontentsline{toc}{part}{#1}} % \centerline{#1}
113 \renewcommand{\session}[1]{%
114 \phantomsection%
115 \addcontentsline{toc}{chapter}{#1}}
116 %% idem for left/right numbering
117 \renewcommand{\mainmattertocstyle}{
118 \titlecontents{part}[0pt]%
119 {\addvspace{3mm}}%
120 {\myaddthickhruletotoc\Large\bfseries}%
121 {\myaddthickhruletotoc\Large\bfseries}%
122 {}%
123 [\addvspace{0.5mm}]%
124 \titlecontents{chapter}[0pt]%
125 {\addvspace{2mm}}%
126 {\myaddhruletotoc\large\bfseries\itshape}%
127 {\myaddhruletotoc\large\bfseries\itshape}%
128 {}%
129 [\addvspace{0.5mm}]%
130 }
131 %%\renewcommand{\papertitlestyle}{}
132 \renewcommand{\papertitlestyle}{\texorpdfstring{}{\scshape}}
133 %%\renewcommand{\paperauthorstyle}{\texorpdfstring{\newline\itshape}{\break}}
134 \renewcommand{\paperauthorstyle}{\texorpdfstring{, \hfill}{\break}}
135 \renewcommand{\proctoctitleauthor}[2]{%
136 \texorpdfstring{{\paperauthorstyle #2}{\papertitlestyle #1}}%
137 {{\papertitlestyle #1}}}
138 \renewcommand{\paperauthorstyle}{\texorpdfstring{\itshape}{}}
139 \renewcommand{\papertitlestyle}{\texorpdfstring{\newline}{\break}}
140 \renewcommand{\confstylechecktitle}{\vspace*{0.3cm} %
141 \bf \sc \Large \noindent \centerline}
142 \renewcommand{\confstylecheckauthor}{\large \it \noindent \centerline}
143 \makeindex
144
145 %%%=========== PROCEEDINGS ===========
146 \begin{document}
147
148 \frontmatter
149 %%\layout
150 %%\begin{figure}
151 %% \setlayoutscale{0.8} \tocdiagram
152 %% \caption{Table of Contents entry parameters} \label{fig:tocp}
153 %%\end{figure}
154 %%\begin{figure}
155 %% \setlayoutscale{0.8} \currenttoc \tocdesign
156 %% \caption{Typical Table of Contents entry for this document}
157 %% \label{fig:thistoc}
158 %%\end{figure}
159 %%\clearsingleordoublepage
160 \setcounter{page}{1}
161 \pdfbookmark[0]{Preamble}{preamble}
162 \pdfbookmark[1]{Cover}{cover}
163 \maketitle
164 %%\includepdf[noautoscale,pages=1,link]{\PICTPATH ex_1stpage.pdf}
165 \addtocontents{toc}{\vskip 1cm}
166 \addtocontents{toc}{\centerline{\huge\textsc{Conference Program}}}
167 \renewcommand{\contentsname}{\texorpdfstring{}{Conference Program}}
168 \newpage
169 \vspace*{1.7cm}
170 \pdfbookmark[1]{Publishing informations}{publishing}
171 \thispagestyle{empty}
172 \noindent {\bf Published by:}\\ Laboratory Name\\ Department name\\
173 School Name\\ University Name\\
174 \url{http://www.conferencesite.com}\\
175 \vspace*{0.15cm}\newline
176 \noindent {\bf ISBN: X-XXXX-XXXXXX}\\
177 \vspace*{0.35cm}\newline
178 \noindent {\bf Credits:}\\
179 Cover design: Firstname Lastname\\
180 Logo photo: Firstname Lastname\\
181 \LaTeX{} editor: Firstname Lastname\\
182 using \LaTeX's `confproc' package, version 0.8 (optional: by V. Verfaille)\\
183 \vspace*{0.35cm}\newline
184 \noindent Printed in City by Print-Company --- Month Year
185 \otherpagestyle
186 %%%-- Welcome letters
187 \clearsingleordoublepage
188 \vspace*{0.6cm}
189 \thisotherpagestyle
190 \pdfbookmark[1]{Welcome from Firstname Lastname}{welcome}
191 \section*{Welcome from Firstname Lastname, Conference Chair}
192 \vspace*{1.1cm}
193 \onehalfspace
194 \begin{center}
195 \begin{minipage}[h]{14cm}
196 Text of the welcome letter, with 1.5 lines spacing, blah blah...
197 Text of the welcome letter, with 1.5 lines spacing, blah blah...
198 Text of the welcome letter, with 1.5 lines spacing, blah blah...
199 Text of the welcome letter, with 1.5 lines spacing, blah blah...
200 \end{minipage}
201 \end{center}
202 \doublespace
203 \begin{center}
204 \begin{minipage}[h]{14cm}
205 Text of the welcome letter, with 2 lines spacing, blah blah...
206 Text of the welcome letter, with 2 lines spacing, blah blah...
207 Text of the welcome letter, with 2 lines spacing, blah blah...
208 Text of the welcome letter, with 2 lines spacing, blah blah...
209 \end{minipage}
210 \end{center}
211 \singlespace
212 \tableofcontents
213
214 %%%==== BEGINNING OF PAPERS ====
215 \setcounter{npagespreamble}{\arabic{page}-1} % only useful for the 'pdftk' option
216 \mainmatter
217 \mainmattertocstyle
218 \input{\TEXTPATH expapersswitch}
219 \procday{Day 1}
220 \session{Oral Session 1}
221 \paperid{45}{p_001}
222 \paperid{21}{p_003}
223 \session{Poster Session 1}
224 \paperid{33}{p_005}
225 \procday{Day 2}
226 \session{Oral Session 2}
227 \paperid{75}{p_007}
228 \paperid{27}{p_009}
229
230 %%%==== END OF PAPERS ====
231 \backmatter
232 \backmattertocstyle
233 \bibliographystyle{newapave}
234 %%\bibliographystyle{newapa}
235 {\footnotesize\bibliography{\procbibfile}}
236 \insertindex
237 \end{document}