From 7e075d97982d60afb2aa51599f6a066189db95e6 Mon Sep 17 00:00:00 2001 From: Karl Berry Date: Mon, 30 Apr 2018 17:04:48 +0000 Subject: clrdblpg (22apr18) git-svn-id: svn://tug.org/texlive/trunk@47511 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/clrdblpg/clrdblpg.sty | 53 +++++++++++++++++++++++ 1 file changed, 53 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/clrdblpg/clrdblpg.sty (limited to 'Master/texmf-dist/tex/latex/clrdblpg') diff --git a/Master/texmf-dist/tex/latex/clrdblpg/clrdblpg.sty b/Master/texmf-dist/tex/latex/clrdblpg/clrdblpg.sty new file mode 100644 index 00000000000..0da56f3acd9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/clrdblpg/clrdblpg.sty @@ -0,0 +1,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'. -- cgit v1.2.3