ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* framedtext
@ 2016-04-11 10:08 Meer, Hans van der
  2016-04-11 10:28 ` framedtext Mari Voipio
  0 siblings, 1 reply; 10+ messages in thread
From: Meer, Hans van der @ 2016-04-11 10:08 UTC (permalink / raw)
  To: NTG ConTeXt


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

I am getting an unexpected results with framedtexts.Why is the second "centered" not centered?

\starttext
\startframedtext[left][frame=on,offset=0pt,width=broad]
left\hfill
\stopframedtext
\startframedtext[middle][frame=on,offset=0pt,width=broad]
\hfil centered\hfil
\stopframedtext
\startframedtext[middle][frame=on,offset=0pt,width=broad]
\hfill centered\hfill
\stopframedtext
\startframedtext[right][frame=on,offset=0pt,width=broad]
\hfill right
\stopframedtext
\startframedtext[none][frame=on,offset=0pt,width=broad]
none
\stopframedtext
\stoptext

This is LuaTeX, Version beta-0.90.0 (TeX Live 2016)
ConTeXt  ver: 2016.04.01 13:01 MKIV beta  fmt: 2016.4.5  int: english/english

Hans van der Meer




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

[-- Attachment #2: framedtext-middle.pdf --]
[-- Type: application/pdf, Size: 6061 bytes --]

[-- Attachment #3: Type: text/plain, Size: 485 bytes --]

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

^ permalink raw reply	[flat|nested] 10+ messages in thread
* framedtext
@ 2010-03-23 12:34 Hans van der Meer
  2010-03-23 18:00 ` framedtext Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Hans van der Meer @ 2010-03-23 12:34 UTC (permalink / raw)
  To: NTG ConTeXt

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
___________________________________________________________________________________


^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2016-04-11 19:44 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
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
  -- strict thread matches above, loose matches on Subject: below --
2010-03-23 12:34 framedtext Hans van der Meer
2010-03-23 18:00 ` framedtext Hans Hagen

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