ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Keith McKay via ntg-context <ntg-context@ntg.nl>
To: Alan Braslau <alan.braslau@icloud.com>
Cc: Keith McKay <mckaymeister@gmail.com>,
	Wolfgang Schuster via ntg-context <ntg-context@ntg.nl>
Subject: Re: Absolute positioning of \startcombination... \stopcombination
Date: Fri, 17 Mar 2023 11:13:16 +0000	[thread overview]
Message-ID: <bb9ea28c-f773-f77a-b17e-5a8d7814e99d@gmail.com> (raw)
In-Reply-To: <CABX+t6BQ_Mfcc7=ueFFQK6ZTDMyeJK47bjrfp3M-9jXUZSSSUA@mail.gmail.com>


[-- Attachment #1.1: Type: text/plain, Size: 1738 bytes --]

Hi,

I've experimented this morning with the solutions suggested by Wolfgang 
and Alan in reply to my post.

The solution is really quite simple as suggested by Wolfgang i.e. 
\centerbox{..}.  I have applied this to the code and I now have three 
different solutions to my initial problem. The Joy of ConTeXt!

Thanks again Wolfgang and Alan.

Best Wishes

Keith McKay

Here is the code showing the three solutions which others may find useful.

\setuppapersize[A4,portrait]%[A4,portrait]

\setuplayout

[backspace=2.5cm,

topspace=1cm,

height=28cm,

width=17cm,

header=0cm,

footer=0.75cm,

]

\setuppagenumbering[state=start,alternative=doublesided,location=margin]

\useMPlibrary [dum]

\starttext

%%% Me %%%

\showframe [text] [text]

\definelayer[test3]

\setlayer[test3][]

\centerbox{

{\startcombination[nx=3,ny=1,distance=15mm,after=,location=middle]

{\externalfigure[dummy]}{}

\rotate[rotation=90]{\externalfigure[dummy]}{}

{\externalfigure[dummy][]}{}

\stopcombination}

}

\flushlayer[test3]

\page

%%% Wolfgang %%%

\centerbox

{\bTABLE[frame=off,offset=7.5mm,align={middle,lohi}]

\bTR

\bTD

\externalfigure[dummy]

\eTD

\bTD

\rotate[rotation=90]{\externalfigure[dummy]}

\eTD

\bTD

\externalfigure[dummy]

\eTD

\eTR

\eTABLE}

\page

%%% Alan %%%

\centerbox{

\startparagraph [align=middle]

\startframed [frame=off,offset=\zeropoint]

\startcombination [nx=3,ny=1,distance=15mm,after=,location=middle]

{\externalfigure[dummy]}{}

\rotate[rotation=90]{\externalfigure[dummy]}{}

{\externalfigure[dummy][]}{}

\stopcombination

\stopframed

\stopparagraph

}

\stoptext

On 16/03/2023 19:50, Keith McKay wrote:
> Thanks Wolfgang and Alan! I will experiment with them tomorrow.
> Best Wishes
> Keith McKay
>
>

[-- Attachment #1.2: Type: text/html, Size: 9359 bytes --]

[-- Attachment #2: Type: text/plain, Size: 496 bytes --]

___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@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
___________________________________________________________________________________

  reply	other threads:[~2023-03-17 11:13 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-03-16 16:59 Keith McKay via ntg-context
2023-03-16 17:27 ` Wolfgang Schuster via ntg-context
2023-03-16 18:07   ` Alan Braslau via ntg-context
2023-03-16 19:50     ` Keith McKay via ntg-context
2023-03-17 11:13       ` Keith McKay via ntg-context [this message]
2023-03-16 17:58 ` Pablo Rodriguez via ntg-context
2023-03-17 12:11   ` Keith McKay via ntg-context

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=bb9ea28c-f773-f77a-b17e-5a8d7814e99d@gmail.com \
    --to=ntg-context@ntg.nl \
    --cc=alan.braslau@icloud.com \
    --cc=mckaymeister@gmail.com \
    /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).