diff options
author | Karl Berry <karl@freefriends.org> | 2019-04-03 21:40:52 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2019-04-03 21:40:52 +0000 |
commit | 564965c30f19449df2886af5ae3498b89db454ce (patch) | |
tree | 28fbae73218f7ed5dc6d13c6d2f39e98895b0717 /Master/texmf-dist/tex/latex/lwarp/lwarp-changelayout.sty | |
parent | ae02217f0c90b2ddb0efad2ac4c97b3f882f9b31 (diff) |
lwarp (3apr19)
git-svn-id: svn://tug.org/texlive/trunk@50739 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-changelayout.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-changelayout.sty | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-changelayout.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-changelayout.sty new file mode 100644 index 00000000000..99dbbbac276 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-changelayout.sty @@ -0,0 +1,46 @@ +%% +%% This is file `lwarp-changelayout.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `changelayout') +%% This is a generated file. +%% Copyright 2016-2018 Brian Dunn +%% +%% 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. +\LWR@ProvidesPackagePass{changelayout}[2009/10/07] +\renewrobustcmd\cpl@backtodefaults{} + +\renewrobustcmd\cpl@checkifoddpage{% + \cpl@oddpagefalse% +} + +\renewrobustcmd\changepagelayout[1]{% + \setkeys[KV]{changelay}{#1}% +} + +\renewrobustcmd{\changetextlayout}[1]{\changepagelayout{#1}} + +\renewrobustcmd\adjustpagelayout[1]{% + \setkeys[KV@X]{changelay}{#1}% +} + +\renewrobustcmd{\adjusttextlayout}[1]{\adjustpagelayout{#1}} + +\renewrobustcmd\adjusttextwidth[1]{% + \setkeys[KV]{changelay}{#1}% + \begin{BlockClass}[color:\LWR@colorstyle{named}{\cpl@textcolor}]{changelayout} + \color{\cpl@textcolor}% + \cpl@content + \end{BlockClass} +} +\endinput +%% +%% End of file `lwarp-changelayout.sty'. |