Skip to content

Commit

Permalink
Comment paper/page layout selection
Browse files Browse the repository at this point in the history
  • Loading branch information
cdlm committed Apr 30, 2024
1 parent 0588f6c commit edd08cd
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
3 changes: 3 additions & 0 deletions sbabook.cls
Original file line number Diff line number Diff line change
Expand Up @@ -19,19 +19,22 @@
\advance\stockheight 2\trimtop
\advance\stockwidth 2\trimedge}

% Paper format for US trade paperback (e.g. Lulu)
\newcommand{\paperbackpage}{
\stockustrade
\setbleed{.125in}
% \setbinding{5mm}
\setlrmarginsandblock{.85in}{.65in}{*}
\setulmarginsandblock{.75in}{.75in}{*}}

% Paper format for office binding (both A4 and letter paper)
\newcommand{\spiralboundpage}{
\stockaivus
\setbleed{0pt}% trims not required (unless we deliver this via Lulu as well?)
\setlrmarginsandblock{1.25in}{1.25in}{*}
\setulmarginsandblock{.75in}{1in}{*}}

% Paper format for https://librairie.bod.fr
\newcommand{\bodpage}{
\setstocksize{220mm}{155mm} % final trimmed book dimensions
\setbleed{5mm} % additional paper, before trimming
Expand Down
2 changes: 2 additions & 0 deletions sbabook.tex
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
\documentclass[twoside,openany,showtrims]{sbabook}

% Setup paper format.
% Defaults to US trade paperback unless another format is already setup (see sbabook.*.tex)
\pagelayout{\paperbackpage}

\usepackage[useregional]{datetime2}
Expand Down

0 comments on commit edd08cd

Please sign in to comment.