summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/latex/confproc/example/papers/expages.tex
blob: 901c0e266c64a9a148fca29539dbaf7f325d5f6e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
%%
%% This is file `expages.tex',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% confproc.dtx  (with options: `expages')
%% 
%% This is `expages.tex', an example file for the confproc package.
%% Copyright (C) 2009 by Vincent Verfaille <[lastname].[packagename]@gmail.com>
%% 
%% This file is part of the confproc package.
%% -------------------------------------------
%% 
%% It may be distributed and/or modified under the conditions of the
%% LaTeX Project Public License, either version 1.2 of this license or
%% (at your option) any later version.
%% 
%% The latest version of this license is in
%%   http://www.latex-project.org/lppl.txt
%% and version 1.2 or later is part of all distributions of LaTeX version
%% 1999/12/01 or later.
%% 
%% This file may not be distributed without the original source file
%% `confproc.dtx'.
%% 
%% The list of all files belonging to the confproc package is given in
%% the file `readme.txt'.
%% 
%% For more details, LaTeX the source `confproc.dtx'.
%% 

\newcommand{\setpagenumber}[1]{
  \newcommand{\paperswitch}{#1}
    \ifnum\paperswitch=01 {\setcounter{page}{1}}\fi
    \ifnum\paperswitch=02 {\setcounter{page}{7}}\fi
    \ifnum\paperswitch=03 {\setcounter{page}{13}}\fi
    \ifnum\paperswitch=04 {\setcounter{page}{17}}\fi
    \ifnum\paperswitch=05 {\setcounter{page}{23}}\fi
}

\endinput
%%
%% End of file `expages.tex'.