Debian Codegraph @

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

raw
1 %%
2 %% This is file `expages.tex',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% confproc.dtx (with options: `expages')
8 %%
9 %% This is `expages.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{\setpagenumber}[1]{
33 \newcommand{\paperswitch}{#1}
34 \ifnum\paperswitch=45 {\setcounter{page}{1}}\fi
35 \ifnum\paperswitch=21 {\setcounter{page}{7}}\fi
36 \ifnum\paperswitch=27 {\setcounter{page}{13}}\fi
37 \ifnum\paperswitch=33 {\setcounter{page}{17}}\fi
38 \ifnum\paperswitch=75 {\setcounter{page}{23}}\fi
39 }