ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Hans van der Meer <H.vanderMeer@uva.nl>
To: NTG ConTeXt <ntg-context@ntg.nl>
Subject: framedtext
Date: Tue, 23 Mar 2010 13:34:02 +0100	[thread overview]
Message-ID: <035E0BF1-3A5B-45F7-A71B-4588413E066F@uva.nl> (raw)

I experience the following behaviour of framedtext in relation to  
inright and inleft.
With \startframedtext[offset=value] the positioning of left and right  
margin inserts shifts with the size of 'value'.

The next example shows the shift to the right of L2 and R2 (both mkii  
and mkiv). Change the offset to see the margin notes L2/R2 shift.
\starttext
\showframe[text,margin,edge]
ABC
\inright{\framed[width=10mm,height=5mm]{R1}}
\inleft{\framed[width=10mm,height=5mm]{L1}}
\startframedtext[offset=2cm]
XYZ
\inright{\framed[width=10mm,height=5mm]{R2}}
\inleft{\framed[width=10mm,height=5mm]{L2}}
\stopframedtext
\stoptext

Pictured:
..L1.|...................|.R1
.....|.L2................|.....R2
.....|...................|
.....^...................^
^ = frame lines of showpage

I wonder if this is correct behaviour. The margins are imho fixed  
areas, defined as the areas on the left/right of the textframe. One  
would expect the margin texts put just there, not influenced by  
something that happens to be placed in the text.
Or am I amiss?

Hans van der Meer




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


             reply	other threads:[~2010-03-23 12:34 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-03-23 12:34 Hans van der Meer [this message]
2010-03-23 18:00 ` framedtext Hans Hagen
2016-04-11 10:08 framedtext Meer, Hans van der
2016-04-11 10:28 ` framedtext Mari Voipio
2016-04-11 10:36   ` framedtext Meer, Hans van der
2016-04-11 16:13   ` framedtext Alan BRASLAU
2016-04-11 16:49     ` framedtext Meer, Hans van der
2016-04-11 16:59       ` framedtext Hans Hagen
2016-04-11 17:10       ` framedtext Wolfgang Schuster
2016-04-11 19:44         ` framedtext Meer, Hans van der

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=035E0BF1-3A5B-45F7-A71B-4588413E066F@uva.nl \
    --to=h.vandermeer@uva.nl \
    --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).