ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Layer presets / size of type area
@ 2019-12-20  6:48 Henning Hraban Ramm
  2019-12-20  8:07 ` Wolfgang Schuster
  0 siblings, 1 reply; 2+ messages in thread
From: Henning Hraban Ramm @ 2019-12-20  6:48 UTC (permalink / raw)
  To: mailing list for ConTeXt users

Hi,
I setup a layer to the size of the typearea and expect the corner presets to place my figures into the corners, but \makeupwidth/height are smaller than the typearea (same with \textwidth). Why?
Hraban


\setuplayout[
	width=120mm,
	backspace=16mm,
	height=192mm,
	topspace=6mm,
	header=8mm,
	footer=6mm,
]
\showframe

\definelayer	[TA]
		[x=16mm, y=14mm,
		width=\makeupwidth, height=\makeupheight]
\setupbackgrounds[page][background=TA]

\def\Square{\framed[width=1cm,height=1cm]{S}}

\starttext
\strut
\setlayer[TA][preset=leftbottom]{\Square}
\setlayer[TA][preset=rightbottom]{\Square}
\setlayer[TA][preset=lefttop]{\Square}
\setlayer[TA][preset=righttop]{\Square}

\stoptext

___________________________________________________________________________________
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] 2+ messages in thread

end of thread, other threads:[~2019-12-20  8:07 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-12-20  6:48 Layer presets / size of type area Henning Hraban Ramm
2019-12-20  8:07 ` Wolfgang Schuster

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