Titlepage with it's own frame

38 views
Skip to first unread message

Jelle Besseling

unread,
Jul 2, 2022, 5:50:45 AM7/2/22
to SILE Users
Hi!

I'm trying to create a nice title page for my book, but I noticed that with the book class even the first page uses offset margins. How can I use even margins on the first page of the document such that I can create a nice looking title page?

I've already found that with \begin{pagetemplate} and \frame I can create custom frames, but the manual states that SILE doesn't support changing the frame after it already started. Does this mean that I cannot change the frame for the first page unless I edit the document class definition? Or is it possible to issue commands before the first page starts?

Thanks,
Jelle

Didier Willis

unread,
Nov 12, 2022, 6:21:10 AM11/12/22
to SILE Users
Greetings,

Long time before anyone answered ^^
 But yes it should works to switch to a new page layout, provided you haven't entered content in it already - You might find here https://github.com/sile-typesetter/sile/discussions/1579 a very similar topic (see last example) - using higher-level page masters rather than page templates, but the principles are quite the same. Compared to that discussion, you'd need to:

- Use the \switch-master-one-page only (not \swich-master for all pages)
- Probably use \nofoliothispage (I assume you might not want page numbering there)
- \eject after your title page is done...
- Likely do something in the verso of that page (e.g. typically legalese stuff), \nofoliothispage too, \eject  so now you are back to an odd page...
- And probably reset the page counter with  \set-counter[id=folio, value=0] (I assume you want the content after the title page to start at page 1)

Regards,
Didier
Reply all
Reply to author
Forward
0 new messages