[NTG-context] Alignment in \framed

2012-06-04 Thread Marcin Borkowski
Hi,

I'd like to have a big \framed with a small text, positioned at the
bottom left corner.  I tried something like this:

\starttext

\framed[width=100mm,height=100mm,align={bottom,left}]{text}

\stoptext

but text appears in the exact opposite corner.

What am I doing wrong?

TIA

-- 
Marcin Borkowski
http://mbork.pl

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


Re: [NTG-context] Alignment in \framed

2012-06-04 Thread Hans Hagen

On 4-6-2012 23:15, Marcin Borkowski wrote:

Hi,

I'd like to have a big \framed with a small text, positioned at the
bottom left corner.  I tried something like this:

\starttext

\framed[width=100mm,height=100mm,align={bottom,left}]{text}

\stoptext

but text appears in the exact opposite corner.

What am I doing wrong?


left == raggedleft

you can use flushright

-
  Hans Hagen | PRAGMA ADE
  Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
tel: 038 477 53 69 | voip: 087 875 68 74 | www.pragma-ade.com
 | www.pragma-pod.nl
-
___
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
___


Re: [NTG-context] Alignment in \framed

2012-06-04 Thread Marcin Borkowski
Dnia 2012-06-04, pon o godzinie 23:26 +0200, Hans Hagen pisze:
 On 4-6-2012 23:15, Marcin Borkowski wrote:
  Hi,
 
  I'd like to have a big \framed with a small text, positioned at the
  bottom left corner.  I tried something like this:
 
  \starttext
 
  \framed[width=100mm,height=100mm,align={bottom,left}]{text}
 
  \stoptext
 
  but text appears in the exact opposite corner.
 
  What am I doing wrong?
 
 left == raggedleft
 
 you can use flushright

Thanks a lot!

But what about vertical alignment?

-- 
Marcin Borkowski
http://mbork.pl

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


Re: [NTG-context] Alignment in \framed

2012-06-04 Thread Marcin Borkowski
Dnia 2012-06-04, pon o godzinie 23:31 +0200, Marcin Borkowski pisze:
 Dnia 2012-06-04, pon o godzinie 23:26 +0200, Hans Hagen pisze:
  On 4-6-2012 23:15, Marcin Borkowski wrote:
   Hi,
  
   I'd like to have a big \framed with a small text, positioned at the
   bottom left corner.  I tried something like this:
  
   \starttext
  
   \framed[width=100mm,height=100mm,align={bottom,left}]{text}
  
   \stoptext
  
   but text appears in the exact opposite corner.
  
   What am I doing wrong?
  
  left == raggedleft
  
  you can use flushright
 
 Thanks a lot!
 
 But what about vertical alignment?
 

OK, I've got it!
[top=\vss,bottom=]

-- 
Marcin Borkowski
http://mbork.pl

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


Re: [NTG-context] Alignment in \framed

2012-06-04 Thread Marco
On 2012-06-04 Marcin Borkowski mb...@wmi.amu.edu.pl wrote:

   What am I doing wrong?
  
  left == raggedleft
  
  you can use flushright
 
 Thanks a lot!
 
 But what about vertical alignment?

\framed[width=100mm,height=100mm,align={low,flushleft}]{text}

I don't know if the alignment key “bottom” is even supported. At
least it doesn't seem to be documented anywhere.

Marco


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