%% %% This is file `lscape.hak', %% generated with the docstrip utility. %% %% The original source files were: %% %% scrhack-2023-07-07.dtx (with options: `hack,lscape,identify') %% scrhack-2023-07-07.dtx (with options: `hack,lscape,body') %% %% IMPORTANT NOTICE: %% %% For the copyright see the source file. %% %% Any modified versions of this file must be renamed %% with new filenames distinct from lscape.hak. %% %% For distribution of the original source see the terms %% for copying and modification in the file scrhack-2023-07-07.dtx scrhack-2023-07-07.dtx. %% %% This generated file may be distributed as long as the %% original source files, as listed above, are part of the %% same distribution. (The sources need not necessarily be %% in the same archive or directory.) \ProvidesFile{lscape.hak}[% 2024-04-17 v3.42 scrhack part (hacking package lscape)% ] \xpatchcmd{\landscape}{\textheight=\vsize}{% \if@scrhack@lscape \scrh@LT@textheight=\vsize \let\scrh@LT@outputpage\@outputpage \def\@outputpage{\scrh@LT@outputpage\global\@colht\scrh@LT@textheight}% \else \textheight=\vsize \fi }{% \PackageInfo{scrhack}{\string\landscape\space patched to make \string\textheight\space change optional}% }{% \PackageWarning{scrhack}{Cannot patch \string\landscape!\MessageBreak Maybe you are using a unsupported lscape version}% \@scrhack@lscapefalse } \newlength{\scrh@LT@textheight} \endinput %% %% End of file `lscape.hak'.