ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans Hagen <pragma@wxs.nl>
To: ntg-context@ntg.nl
Subject: Re: two suggestions for \setuphead
Date: Wed, 22 Mar 2017 22:13:58 +0100	[thread overview]
Message-ID: <fd0367aa-0572-dc9b-95b3-4d532a478e95@wxs.nl> (raw)
In-Reply-To: <8ae4bd81-0f56-0329-f88a-e80e6507020b@gmx.es>

On 3/15/2017 8:59 PM, Pablo Rodriguez wrote:
> Hans,
>
> here is my minimal sample:
>
>     \showframe
>     \starttext
>     \setuphead[section][alternative=margin]
>     \section{This is a title}
>     \stoptext
>
> After having to adapt a special page design for a friend, I realized
> that reverse would be an even greater value for the alternative option
> in \setuphead when it could be combined with margin, inmargin and
> margintext.
>
> This may be reached with a special command, but avoiding a extra hack
> would be very helpful for newbies.
>
> Another issue with margin numbering is alignment:
>
>     \showframe
>     \starttext
>     \setuphead[section][alternative=margin, align=center]
>     \section{This is a title}
>     \stoptext
>
> Would it be possible in this case to set both numberalign and textalign?
> (If no margin or inmargin alternative is selected and both numberalign
> and textalign are specified, textalign should have preference)
>
> I think those two suggestions would provide extra features for headings.
>
> How about implementing both in ConTeXt?

i have no clue what you mean


-----------------------------------------------------------------
                                           Hans Hagen | PRAGMA ADE
               Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
        tel: 038 477 53 69 | www.pragma-ade.nl | www.pragma-pod.nl
-----------------------------------------------------------------
___________________________________________________________________________________
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:[~2017-03-22 21:13 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-03-15 19:59 Pablo Rodriguez
2017-03-22 21:13 ` Hans Hagen [this message]
2017-03-23 19:45   ` Pablo Rodriguez
2017-03-26 14:11     ` Hans Hagen
2017-03-26 20:09       ` Pablo Rodriguez
2017-03-26 20:20         ` Wolfgang Schuster
2017-03-26 20:41           ` Pablo Rodriguez
2017-03-27 13:57           ` Pablo Rodriguez
2017-03-27 15:22             ` Hans Hagen
2017-03-27 18:00               ` Pablo Rodriguez
2017-03-27 19:29                 ` Hans Hagen
2017-03-27 19:49                   ` Pablo Rodriguez
2017-03-27 20:15                     ` Hans Hagen
2017-03-28 17:14                       ` Pablo Rodriguez

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=fd0367aa-0572-dc9b-95b3-4d532a478e95@wxs.nl \
    --to=pragma@wxs.nl \
    --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).