Debian Codegraph @

texmf-dist/doc/latex/confproc/example/expapersswitch.tex

raw
1 %%
2 %% This is file `expapersswitch.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% confproc.dtx (with options: `expapersswitch')
8 %%
9 %% This is `expapersswitch.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 \newcommand{\paperid}[2]{
33 \renewcommand{\paperswitch}{#1}
34 \ifnum\paperswitch=45 {
35 \newcommand{\papertitle}{Templates for One Author}
36 \newcommand{\paperauthors}{Alfred Alabama}
37 \newcommand{\paperindex}{\index{Alabama, Alfred}}
38 \newcommand{\paperref}{\paperswitch}
39 \newcommand{\paperpagenum}{6}
40 \newcommand{\papercite}{Serra:1996:sms,%
41 Moorer:2000:AES:audio:millenium,Arfib:1998:DAFx,%
42 Mitra:Kaiser:1993:DSP:handbook}
43 \procinsertpaper{\LaTeXxShift{} \LaTeXyShift}{\paperpagenum}%
44 {\paperref}{\papertitle}{\paperauthors}{\paperindex}{\papercite}%
45 {#2}{\pdfbookmark[2]{Alfred Alabama}{#2.author1}}}
46 \fi
47 \ifnum\paperswitch=21
48 \procpaper[xshift=\LaTeXxShift{}, yshift=\LaTeXyShift{}, npages=5, switch=21,%
49 title={Templates for One Author with Two Affiliations},%
50 author={Bob Boogie-Woogie},%
51 index={\index{Boogie-Woogie, Bob}},%
52 cite={Serra:1996:sms,Moorer:2000:AES:audio:millenium,Arfib:1998:DAFx,%
53 Haykin:1991:adaptive:filter},%
54 bookmark={\pdfbookmark[2]{Bob Boogie-Woogie}{#2.author1}}%
55 ]{#2}
56 \fi
57
58 \ifnum\paperswitch=27
59 \procpaper[xshift=\LaTeXxShift{}, yshift=\LaTeXyShift{}, npages=7, switch=27,%
60 title={Templates f\'or F\`o\"ur Àuthors},%
61 author={J\o{}hn J\"oe, K\'e\~{n}t K\^{\i}ng, L\`ou L\'ou,%
62 M\`anfr\'ed J. M\^ost\u{e}k\i},%
63 index={\index{J\"oe, J\o{}hn}\index{K\^{\i}ng, K\'e\~{n}t}%
64 \index{L\'ou, L\`ou}\index{M\^ost\u{e}k\i, M\`anfr\'ed J.}},%
65 cite={Serra:1996:sms,Moorer:2000:AES:audio:millenium,Dutilleux:1991,%
66 Fitz:Haken:2003:Web:morphing:loris},
67 bookmark={\pdfbookmark[2]{J\o{}hn J\"oe}{#2.author1}%
68 \pdfbookmark[2]{K\'e\~{n}t K\^{\i}ng}{#2.author2}%
69 \pdfbookmark[2]{L\`ou L\'ou}{#2.author3}%
70 \pdfbookmark[2]{M\`anfr\'ed J. M\^ost\u{e}k\i}{#2.author4}}%
71 ]{#2}
72 \fi
73
74 \ifnum\paperswitch=33
75 \procpaper[xshift=\LaTeXxShift{}, yshift=\LaTeXyShift{}, npages=4, switch=33,%
76 title = {Templates for Two Authors},%
77 author={Alfred Alabama, Chris Christmas},%
78 index={\index{Alabama, Alfred}\index{Christmas, Chris}},%
79 cite={Serra:1996:sms,Moorer:2000:AES:audio:millenium,%
80 Arfib:1998:DAFx,Askenfelt:1976:automatic:transcription},
81 bookmark={\pdfbookmark[2]{Alfred Alabama}{#2.author1}%
82 \pdfbookmark[2]{Chris Christmas}{#2.author2}}%
83 ]{#2}
84 \fi
85
86 \ifnum\paperswitch=75
87 \procpaper[xshift=\LaTeXxShift{}, yshift=\LaTeXyShift{}, npages=6, switch=75,%
88 title={Templates for Three Authors},%
89 author={Bob Boogie-Woogie, Chris Christmas, Don Didon},%
90 index={\index{Boogie-Woogie, Bob}\index{Christmas, Chris}%
91 \index{Didon, Don}},%
92 cite={Serra:1996:sms,Moorer:2000:AES:audio:millenium,%
93 Arfib:1998:DAFx,Egozy:1995:MIT:features:gesture},%
94 bookmark={\pdfbookmark[2]{Bob Boogie-Woogie}{#2.author1}%
95 \pdfbookmark[2]{Chris Christmas}{#2.author2}%
96 \pdfbookmark[2]{Don Didon}{#2.author3}}%
97 ]{#2}
98 \fi
99 }