ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: "Martin Kolarik" <martin@mii.cz>
Subject: RE: Absolute positioning of graphics on the page
Date: Tue, 7 Sep 2004 20:43:44 +0200	[thread overview]
Message-ID: <NHEGKLHCFGKJGPGBIEOMKENFCAAA.martin@mii.cz> (raw)
In-Reply-To: <836313294.20040907130437@iol.it>

> This surely works ok for "top left". But how can I guarantee
> that "top right" has its *top right* corner in the position? I
> would have to calculate the coordinates manually (depending on
> page site, "top right text" dimensions etc).

Yes, AFAIK the mechanism does not support this now (and I do not know, if it
sometimes will do -- it seems to me it is a relatively old part of ConTeXt
and Hans himself recommends you the layers :-).

Anyway, you would have to count positions and coordinates manually.

But there is always a way using generic TeX here:

\position(40,1){%
  \hbox to 0pt{%
    \hss
    \vbox to 0pt{
      -- a material to typeset or display --
      \vss
    }
  }

Of course, this solution does not take into account all of ConTeXt dependent
(and very convenient and pretty) features like grid fitting etc.

It is a thing of your needs.

Have a nice day,

Martin

      parent reply	other threads:[~2004-09-07 18:43 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-09-06 17:29 Giuseppe Bilotta
2004-09-07  6:36 ` Martin Kolarik
2004-09-07 11:04   ` Re[2]: " Giuseppe Bilotta
2004-09-07 16:40     ` Hans Hagen
2004-09-08  1:21       ` Re[2]: " Giuseppe Bilotta
2004-09-07 18:43     ` Martin Kolarik [this message]

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=NHEGKLHCFGKJGPGBIEOMKENFCAAA.martin@mii.cz \
    --to=martin@mii.cz \
    --cc=ntg-context@ntg.nl \
    /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).