aboutsummaryrefslogtreecommitdiff
path: root/doc/user
diff options
context:
space:
mode:
authorLudovic Courtès2007-12-11 18:53:33 +0100
committerLudovic Courtès2007-12-11 18:53:33 +0100
commit766a1b47bee6ad83f89b1e97bf1380e2510233eb (patch)
tree8a3af1c46546f59de8353de6eb32bfefa4b426df /doc/user
parentb944137b1fe3e2ba16f3942d14dc5e58d8dd28c6 (diff)
downloadskribilo-766a1b47bee6ad83f89b1e97bf1380e2510233eb.tar.gz
skribilo-766a1b47bee6ad83f89b1e97bf1380e2510233eb.tar.lz
skribilo-766a1b47bee6ad83f89b1e97bf1380e2510233eb.zip
doc/lout: Use the Van de Graaf canon for page construction.
* doc/user/lout/book-style.lout (@*Margin): Adjust.
Diffstat (limited to 'doc/user')
-rw-r--r--doc/user/lout/book-style.lout36
1 files changed, 23 insertions, 13 deletions
diff --git a/doc/user/lout/book-style.lout b/doc/user/lout/book-style.lout
index da54d3f..423abd1 100644
--- a/doc/user/lout/book-style.lout
+++ b/doc/user/lout/book-style.lout
@@ -79,23 +79,34 @@
###############################################################################
@Use { @DocumentSetup
- # @PageType { A4 @OrIfPlain Other} # page type (width, height)
+ @PageType { A4 @OrIfPlain Other} # page type (width, height)
# @PageWidth { 80s } # page width if type Other
# @PageHeight { 66f } # page height if type Other
# @PageOrientation { Portrait } # Portrait, Landscape, etc.
# @PageBackground { } # background of each page
- @TopMargin { 3.0c @OrIfPlain 6f } # top margin of all pages
- @FootMargin { 3.0c @OrIfPlain 6f } # bottom margin of all pages
- @OddLeftMargin { 3.0c @OrIfPlain 10s } # left margin of odd pages
- @OddRightMargin { 3.0c @OrIfPlain 10s } # right margin of odd pages
- @EvenLeftMargin { 3.0c @OrIfPlain 10s } # left margin of even pages
- @EvenRightMargin { 3.0c @OrIfPlain 10s } # right margin of even pages
- # @OddLeftBodyMargin { 0c } # extra margin for page body
- # @OddRightBodyMargin { 0c } # extra margin for page body
- # @EvenLeftBodyMargin { 0c } # extra margin for page body
- # @EvenRightBodyMargin{ 0c } # extra margin for page body
+
+ # The Van de Graaf canon for page construction: small margin is 1/9th
+ # and large margin is 2/9th.
+
+ # `@TopMargin' is margin above headers. We want a margin of 3.3c for
+ # the page _body  (i.e., excluding headers), so we have to choose
+ # `@TopMargin' = 3.3c - (`@MidGap' + 1.0f), since running headers are
+ # typeset in 1.0f and followed by a `@MidGap' gap. We take:
+ # 1.0f = 10p = 0.35c and `@MidGap' = 0.75c.
+
+ @TopMargin { 2.2c @OrIfPlain 6f } # top margin of all pages
+ @FootMargin { 6.6c @OrIfPlain 6f } # bottom margin of all pages
+
+ @OddLeftMargin { 2.33c @OrIfPlain 10s } # left margin of odd pages
+ @OddRightMargin { 4.67c @OrIfPlain 10s } # right margin of odd pages
+ @EvenLeftMargin { 4.67c @OrIfPlain 10s } # left margin of even pages
+ @EvenRightMargin { 2.33c @OrIfPlain 10s } # right margin of even pages
+ @OddLeftBodyMargin { 0c } # extra margin for page body
+ @OddRightBodyMargin { 0c } # extra margin for page body
+ @EvenLeftBodyMargin { 0c } # extra margin for page body
+ @EvenRightBodyMargin{ 0c } # extra margin for page body
# @PageBoxType { None } # None Box CurveBox ShadowBox
- # @PageBoxMargin { 1.00c } # page box margin
+ @PageBoxMargin { 0.70c } # page box margin
# @PageBoxLineWidth { } # page box line thickness
# @PageBoxPaint { none } # page box paint
# @PageBoxShadow { 0.60c } # shadow margin if ShadowBox
@@ -292,7 +303,6 @@
# @ExampleFormat { {@B { word @NumSep number title: } &2s} @Insert body }
# @ProofWord { proof } # "Proof" word, etc.
- # @PageHeaders { Simple } # None Simple Titles NoTitles
@PageHeaders { Titles } # None Simple Titles NoTitles
# @PageNumbers { Arabic } # page numbers
# @FirstPageNumber { 1 } # number of first page