summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/ifoddpage
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2016-04-24 22:08:02 +0000
committerKarl Berry <karl@freefriends.org>2016-04-24 22:08:02 +0000
commitae250f9c1fdc924f2d64a27eea9140e2ea4120b8 (patch)
tree6885fd25c5f2ddaa516c3d05863a46f4e87cb8e0 /Master/texmf-dist/tex/latex/ifoddpage
parent56868dd74576c285418c9d76bc3a5bab642fd6d8 (diff)
ifoddpage (24apr16)
git-svn-id: svn://tug.org/texlive/trunk@40726 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/ifoddpage')
-rw-r--r--Master/texmf-dist/tex/latex/ifoddpage/ifoddpage.sty26
1 files changed, 23 insertions, 3 deletions
diff --git a/Master/texmf-dist/tex/latex/ifoddpage/ifoddpage.sty b/Master/texmf-dist/tex/latex/ifoddpage/ifoddpage.sty
index eeea03bb12e..8b32fe20041 100644
--- a/Master/texmf-dist/tex/latex/ifoddpage/ifoddpage.sty
+++ b/Master/texmf-dist/tex/latex/ifoddpage/ifoddpage.sty
@@ -1,5 +1,25 @@
-\NeedsTeXFormat{LaTeX2e}
-\ProvidesPackage{ifoddpage}[2011/09/13 v1.0 Conditionals for odd/even page detection]
+%% Copyright (C) 2011-2012 by Martin Scharrer <martin@scharrer-online.de>
+%% ----------------------------------------------------------------------
+%% This work may be distributed and/or modified under the
+%% conditions of the LaTeX Project Public License, either version 1.3
+%% 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.3 or later is part of all distributions of LaTeX
+%% version 2005/12/01 or later.
+%%
+%% This work has the LPPL maintenance status `maintained'.
+%%
+%% The Current Maintainer of this work is Martin Scharrer.
+%%
+%% This work consists of the files ifoddpage.dtx and ifoddpage.ins
+%% and the derived filebase ifoddpage.sty.
+%%
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{ifoddpage}[%
+ 2016/04/23
+ v1.1
+ Conditionals for odd/even page detection]
\newcount\c@checkoddpage
\def\thecheckoddpage{\number\c@checkoddpage}
\newif\ifoddpage
@@ -37,7 +57,7 @@
\fi
}%
\def\@ifoddpage{%
- \ifoddside
+ \ifoddpage
\expandafter\@firstoftwo
\else
\expandafter\@secondoftwo