From 097f244236b682cc77c6ecf25be4150091d8daf9 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sun, 2 Oct 2022 03:04:14 +0000 Subject: CTAN sync 202210020304 --- macros/latex/contrib/flexipage/README.txt | 8 +++++--- macros/latex/contrib/flexipage/flexipage.dtx | 24 ++++++++++++++++++++---- macros/latex/contrib/flexipage/flexipage.pdf | Bin 267815 -> 269146 bytes 3 files changed, 25 insertions(+), 7 deletions(-) (limited to 'macros/latex/contrib/flexipage') diff --git a/macros/latex/contrib/flexipage/README.txt b/macros/latex/contrib/flexipage/README.txt index 92a9499b93..64936e8a48 100644 --- a/macros/latex/contrib/flexipage/README.txt +++ b/macros/latex/contrib/flexipage/README.txt @@ -2,6 +2,7 @@ LaTeX package flexipage Copyright (c) Anton Vrba, 2022 ------------------------------------------------------------------- Version: + 2022/10/01 1.01 added the option: extrafirstfoot 2022/07/09 1.00 Initial release Licence: This work may be distributed and/or modified under the conditions @@ -14,7 +15,8 @@ Abstract: The package flexipage allows easy page layout if marginalia is required. Mid document changes are possible such as: new marginal width, full width text, and landscape text without marginal. - Partners well with the package sidenotesplus. The package also - aids the layout for book printing, adding binding corrections - and adding page bleed, if required by the printers + The first page textheight can be reduced to allow for more + footerheight. Partners well with the package sidenotesplus. The + package also aids the layout for book printing, adding binding + corrections and adding page bleed, if required by the printers ------------------------------------------------------------------- \ No newline at end of file diff --git a/macros/latex/contrib/flexipage/flexipage.dtx b/macros/latex/contrib/flexipage/flexipage.dtx index 2188b2790f..0315c1c102 100644 --- a/macros/latex/contrib/flexipage/flexipage.dtx +++ b/macros/latex/contrib/flexipage/flexipage.dtx @@ -26,7 +26,8 @@ %\NeedsTeXFormat{LaTeX2e}[2020/10/01] %\ProvidesPackage{flexipage} %<*package> - [2022/07/09 1.00 Easy page geometry] +% [2022/07/09 1.00 Easy page geometry] + [2022/10/01 1.01 First Page different footer] % % %<*driver> @@ -190,6 +191,7 @@ % % headsep = , % inherits from class % % headheight = , % inherits from class % % footskip= , % inherits from class +% % extrafirstfoot= , % 0pt, first page extra footer, reduces textheight % % show , % a switch to show frames around the printable areas. % % fancyhdrOff , % Do not use the fancyhdr package % % NoFixMargin % a possible future requirement @@ -201,7 +203,11 @@ % \paragraph{Known Issue:} If using the option |show| and the package \textsf{xcolor} % is loaded later with options, an error will occur. The reason % is that when option |show| is specified the package \textsf{eso-pic} is loaded -% whch in turns loads \textsf{xcolor} without options. +% which in turns loads \textsf{xcolor} without options. Remedy, load \textsf{xcolor} +% with options before loading \textsf{flexipage} +% +% If the option |extrafirstfoot| is used, and |show| is used then the frames for the +% first page do not show the effect of |extrafirstfoot|. % % \paragraph{Marginalia Position Issue:} When doing mid document changes to |\textwidth| % and |\marginparwidth| then |\marginpar{content}| renders the marginalia to the correct @@ -312,6 +318,8 @@ \newlength{\flx@printarea} \newlength{\flx@outerbleed} \newlength{\flx@innerbleed} +\newlength{\flx@extrafirstfoot} +\setlength{\flx@extrafirstfoot} {0pt} \setlength{\flx@binding} {9pt} \setlength{\flx@inner} {36pt} \setlength{\flx@outer} {36pt} @@ -359,6 +367,7 @@ headsep .code:n = \setlength{\headsep}{#1}, headheight .code:n = \setlength{\headheight}{#1}, footskip .code:n = \setlength{\footskip}{#1}, + extrafirstfoot .code:n = \setlength{\flx@extrafirstfoot}{#1}, fancyhdrOff .code:n = \Use@fancyhdrfalse, a4paper .code:n = \flx@setpapersize[210][297]{mm}, a5paper .code:n = \flx@setpapersize[148][210]{mm}, @@ -423,14 +432,21 @@ \setlength{\flx@temp}{\paperheight - \flx@top % - \headheight - \headsep -\footskip - \flx@bot - 2\flx@outerbleed} - \setlength{\textheight}{\flx@temp} + \setlength{\flx@textheigt}{\flx@temp} + \setlength{\textheight}{\flx@textheigt-\flx@extrafirstfoot} +%****************************************************************** } % \end{macrocode} % \end{macro} % % \begin{macrocode} \flx@setpagevertical -\setlength{\flx@textheigt}{\textheight} +\AddToHook{shipout/firstpage}{% +\global\textheight=\flx@textheigt +} + + + \newlength{\flx@linewidth} % \end{macrocode} % diff --git a/macros/latex/contrib/flexipage/flexipage.pdf b/macros/latex/contrib/flexipage/flexipage.pdf index 50018e6bfd..290f8f7b16 100644 Binary files a/macros/latex/contrib/flexipage/flexipage.pdf and b/macros/latex/contrib/flexipage/flexipage.pdf differ -- cgit v1.2.3