ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* two suggestions for \setuphead
@ 2017-03-15 19:59 Pablo Rodriguez
  2017-03-22 21:13 ` Hans Hagen
  0 siblings, 1 reply; 14+ messages in thread
From: Pablo Rodriguez @ 2017-03-15 19:59 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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?

Many thanks for your help,

Pablo
-- 
http://www.ousia.tk
___________________________________________________________________________________
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
___________________________________________________________________________________

^ permalink raw reply	[flat|nested] 14+ messages in thread

end of thread, other threads:[~2017-03-28 17:14 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-03-15 19:59 two suggestions for \setuphead Pablo Rodriguez
2017-03-22 21:13 ` Hans Hagen
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

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).