Skip to content
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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

tkoeppe
Copy link
Contributor

@tkoeppe tkoeppe commented Feb 2, 2023

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).

image

The published wording will say "INTERNATIONAL STANDARD" etc.

\bigskip\bigskip

\begingroup
\let\clearpage\relax
Copy link
Contributor Author

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.

Copy link
Contributor

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!

@tkoeppe tkoeppe force-pushed the pageone branch 2 times, most recently from c3d3192 to 5b61bb6 Compare February 2, 2023 15:58
@@ -10,7 +10,7 @@
%%--------------------------------------------------
%% set header and footer positions and sizes

\setheadfoot{\onelineskip}{2\onelineskip}
\setheadfoot{3\onelineskip}{2\onelineskip}
Copy link
Member

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?

Copy link
Contributor Author

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}
Copy link
Member

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.

Copy link
Contributor Author

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.

Copy link
Member

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?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants