summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/clrdblpg/clrdblpg.sty
blob: 0da56f3acd942c2164424f6f91d5e8899796cad3 (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
45
46
47
48
49
50
51
52
53
%%
%% This is file `clrdblpg.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% clrdblpg.dtx  (with options: `package')
%% This is a generated file.
%% 
%% This document is copyright 2018 by Donald P. Goodman, and is
%% released publicly under the LaTeX Project Public License.  The
%% distribution and modification of this work is constrained by the
%% conditions of that license.  See
%% http://www.latex-project.org/lppl.txt
%% for the text of the license.  This document is released
%% under version 1.3 of that license, and this work may be distributed
%% or modified under the terms of that license or, at your option, any
%% later version.
%% 
%% This work has the LPPL maintenance status 'maintained'.
%% 
%% The Current Maintainer of this work is Donald P. Goodman
%% (dgoodmaniii@gmail.com).
%% 
%% This work consists of clrdblpg.dtx, clrdblpg.ins, and
%% derived files clrdblpg.sty and clrdblpg.pdf.

\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{clrdblpg}[2018/04/21 v1.0 Control page style of blank pages]
\def\clrdblpg@pagestyle{empty}%
\RequirePackage{xkeyval}
\DeclareOptionX{style}{\def\clrdblpg@pagestyle{#1}}
\ProcessOptionsX
\def\cleardoublepage{%
\clearpage%
\if@twoside%
\ifodd%
\c@page%
\else%
\hbox{}%
\vspace*{\fill}%
\thispagestyle{\clrdblpg@pagestyle}%
\newpage%
\if@twocolumn%
\hbox{}%
\newpage%
\fi%
\fi%
\fi%
}%
\endinput
%%
%% End of file `clrdblpg.sty'.