ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* margin location in headertext
@ 2012-12-08 10:41 reviczky
  0 siblings, 0 replies; only message in thread
From: reviczky @ 2012-12-08 10:41 UTC (permalink / raw)
  To: ntg-context

Hi,

Is it possible, without having to use layers, to specify the location  
of a frame inside the margin of the header relative to the headertext?

Here's an example:
---
\setupheadertexts[\setups{frames}][][][]
\setupheadertexts[margin][\setups{marginframe}][][][]
\setuppagenumbering[location=]

\startsetups[frames]
\framed[height=15mm,location=top]{frame at the top}
\framed[location=top]{frame at the top}
\stopsetups

\startsetups[marginframe]
%%% how to align this at the top?
\framed[location=top]{frame not at the top?}
%%%
\stopsetups

\showframe
\starttext
\input knuth
\stoptext
---

The workaround I'm currently using is to enlarge the height of the  
margin-frame to the highest one inside the header.
---
\framed[location=top,height=15mm,align=top]{frame not at the top?}
---

Adam

___________________________________________________________________________________
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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2012-12-08 10:41 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-12-08 10:41 margin location in headertext reviczky

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