ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster <schuster.wolfgang@googlemail.com>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Subject: Re: Confused again :-)
Date: Thu, 7 Jun 2012 22:32:33 +0200	[thread overview]
Message-ID: <A39FB737-0723-45F2-930F-63BE54C530C0@googlemail.com> (raw)
In-Reply-To: <4FD10726.1060107@gmail.com>


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	other threads:[~2012-06-07 20:32 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-07 19:15 Bill Meahan
2012-06-07 19:29 ` Wolfgang Schuster
2012-06-07 19:55   ` Bill Meahan
2012-06-07 20:32     ` Wolfgang Schuster [this message]
2012-06-07 20:47       ` Bill Meahan
2012-06-07 21:26         ` Pontus Lurcock
2012-06-07 19:34 ` Rogers, Michael K
2012-06-07 20:01   ` Bill Meahan

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=A39FB737-0723-45F2-930F-63BE54C530C0@googlemail.com \
    --to=schuster.wolfgang@googlemail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).