-
Notifications
You must be signed in to change notification settings - Fork 769
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[intro, front] Special page header before Clause 1 #6070
base: main
Are you sure you want to change the base?
Conversation
\bigskip\bigskip | ||
|
||
\begingroup | ||
\let\clearpage\relax |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@Eelis I hope this won't be too annoying. It's not so easy to prevent the page break before a chapter start, so this quick hack gets the job done.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No worries, I'll manage. Cheers!
c3d3192
to
5b61bb6
Compare
@@ -10,7 +10,7 @@ | |||
%%-------------------------------------------------- | |||
%% set header and footer positions and sizes | |||
|
|||
\setheadfoot{\onelineskip}{2\onelineskip} | |||
\setheadfoot{3\onelineskip}{2\onelineskip} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Does this have some space-occupying effect elsewhere?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
No, there's no visual diff on any other page. The actual page geometry seems to be computed by memoir based on various constraints, and it seems that we have always had leeway here.
(We need to increase the headheight in order to accommodate the special header.)
@@ -54,6 +54,10 @@ | |||
|
|||
\aliaspagestyle{chapter}{cpppage} | |||
|
|||
\copypagestyle{cpppageone}{cpppage} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I understand we need to nix the existing "cpppage" style for the first page, but do we have to put the contents into a header to start with? Or can we just use \vspace{-1cm} and write the first-page-only stuff in the main body of the text? For once, that would put all the special contents in one place as opposed to the present solution, which splits stuff between styles.tex and intro.tex.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The upside is that currently the special header is perfectly aligned with the normal headers. And the document title isn't really a "header". It's just a bit awkward that it has to be on the same page as Clause 1. I'm not sure if the alternaives would be any better.
We could certainly move the special logic into a macro, so that the actual intro.tex content doesn't contain it.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Not an additional macro = additional indirection.
I was just asking to establish a direct relationship between the placement in the .tex source file and the output, given that we're talking about an "appears once" situation. Can we maybe redefine the page style on that very page, as opposed to elsewhere?
ISO House Style requires a special header on page 1; the two-ruled format follows the rice model (and is what I'm doing for the LFTS).
The published wording will say "INTERNATIONAL STANDARD" etc.