[NTG-context] Absolute positioning of \startcombination... \stopcombination
mckaymeister at gmail.com
Fri Mar 17 13:11:15 CET 2023
Thanks for your reply Pablo. I didn't see it till just now because for
some reason it ended up in my junk folder, along with a number of other
ConTeXt messages. You will probably have seen my reply to the list with
the three solutions, now we have four!
Yep, I know that A4 is the default page size and I always start with
that but sometimes I play about with page sizes when typesetting and so
can just change when coding.
In the document I'm working on, some pages will only contain images
and/or combination of images so I went down the Layers route since this
also allows me to absolutely position these images on the page.
Thanks again for your help!
On 16/03/2023 17:58, Pablo Rodriguez via ntg-context wrote:
> On 3/16/23 17:59, Keith McKay via ntg-context wrote:
>> I would like to position a combination of images where the centre of the
>> combination coincides with the centre of the text area of a page.
> Hi Keith,
> I think the following sample might achieve what you want:
> %[x=.5\paperwidth, y=.5\paperheight]
> [x=.5\textwidth, y=.5\textheight]
> BTW, A4 portrait is the default page size.
> \setupbackgrounds is the standard way to place layers.
> Page and text centering would require different positions (I have
> commented out the option for page centering).
> I hope it helps (since Iâm not sure Iâm getting your point here),
> If your question is of interest to others as well, please add an entry to the Wiki!
> maillist : ntg-context at ntg.nl / https://www.ntg.nl/mailman/listinfo/ntg-context
> webpage : https://www.pragma-ade.nl / http://context.aanhet.net
> archive : https://bitbucket.org/phg/context-mirror/commits/
> wiki : https://contextgarden.net
More information about the ntg-context