Am 07.06.2012 um 21:55 schrieb Bill Meahan:

> On 06/07/2012 15:29, Wolfgang Schuster wrote:
>> Can you be more concrete.
> 
> First page of a chapter should have the chapter name in a fancy font at the 
> top of the main text area. Perhaps with rules above and/or below. In the 
> framed margin would be the word "Chapter" (in smallcaps at a _slightly_ 
> larger size than the body text) horizontally centered in the frame with the 
> chapter number beneath it. The chapter number (using oldstyle numbers) would 
> be at 2-3x the body font size and horizontally centered in the frame. The 
> word "Chapter" would ideally be vertically aligned with the chapter name.
> 
> Other pages would have the chapter name in body font size standard roman in 
> the framed margin of the left-hand page, about 20-25% of the textheight down 
> from the top and the subject (unnumbered section) name displayed in an 
> identical manner on right-hand pages.
> 
> The page number will be in italic style at the bottom of the framed margin, 
> horizontally centered in the frame and at a smaller size than the body font.
> 
> The width of the text area will be typefitted to the body font size using the 
> table in Bringhurst's "The Elements of Typographic Style." Indeed, this page 
> design takes its inspiration from that book.
> 
> Hope that's not _too_ concrete. :-)


Just a short example:

\setuplayout
  [  backspace=0.10\paperwidth,
         width=0.60\paperwidth,
   rightmargin=0.25\paperwidth,
        footer=0pt,
      topspace=0.10\paperheight,
        height=0.70\paperheight]

\setuppagenumbering[alternative=doublesided]

\setuplabeltext[en][chapter=Chapter ]

\define[2]\ChapterCommand
  {\inright[][align=middle]{#1}%
   \midaligned{#2}}

\setuphead
  [chapter]
  [command=\ChapterCommand,
   header=empty,
   textstyle=\cgd,
   numberstyle=\scb]

\definefontfeature[smallcaps][smallcaps][onum=yes]

\definetypeface[mainface][rm][serif]      [pagella] [default]
\definetypeface[mainface][ss][sans]       [modern]  [default]
\definetypeface[mainface][cg][calligraphy][chorus]  [default]
\definetypeface[mainface][mm][math]       [palatino][default]

\setupbodyfont[mainface]

\starttext %\showframe

\startchapter[title=Knuth]
\dorecurse{10}{\input knuth\par}
\stopchapter

\startchapter[title=Zapf]
\dorecurse{10}{\input zapf\par}
\stopchapter

\stoptext

Wolfgang
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________

Reply via email to