ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
To: mailing list for ConTeXt users <ntg-context@ntg.nl>
Cc: Wolfgang Schuster <wolfgang.schuster.lists@gmail.com>
Subject: Re: Headline with numbers in margin doubleside layout
Date: Mon, 13 Sep 2021 13:33:36 +0200	[thread overview]
Message-ID: <d4986fc1-6de7-b5ef-ba69-9704d0f484d6@gmail.com> (raw)
In-Reply-To: <YT8w852qvgKQSeew@sokrates>

juh via ntg-context schrieb am 13.09.2021 um 13:07:
> Hi all,
>
> I have a doubleside layout with a big outer margin.
>
> When I set alternative=margin in setuphead the chapter numbers appear in
> the left margin which is the outer margin on left pages, but the inner
> margin on right pages.
>
> While this looks good on left pages, there is much free space on right
> pages.
>
> I would like to use this space for headlines to balance the impression.
>
> Is it possible to assign headlines to the textarea+margin somehow only
> on right pages so that headlines would run into the outermargin o right
> pages??

Like this?

\setuphead
   [chapter]
   [page=yes,
    alternative=inmargin,
    location=outer,
    align=outer]

\setuppagenumbering
   [alternative=doublesided]

\showframe

\starttext
\dorecurse{10}{\expanded{\chapter{Chapter 
\convertnumber{word}{\recurselevel}}}}
\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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

  reply	other threads:[~2021-09-13 11:33 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-09-13 11:07 juh via ntg-context
2021-09-13 11:33 ` Wolfgang Schuster via ntg-context [this message]
2021-09-14  9:25   ` juh via ntg-context
2021-09-14  9:41     ` Henning Hraban Ramm via ntg-context

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=d4986fc1-6de7-b5ef-ba69-9704d0f484d6@gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=wolfgang.schuster.lists@gmail.com \
    /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).