ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Alignment in \framed
@ 2012-06-04 21:15 Marcin Borkowski
  2012-06-04 21:26 ` Hans Hagen
  0 siblings, 1 reply; 5+ messages in thread
From: Marcin Borkowski @ 2012-06-04 21:15 UTC (permalink / raw)
  To: ConTeXt mailing list

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
___________________________________________________________________________________


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

* Re: Alignment in \framed
  2012-06-04 21:15 Alignment in \framed Marcin Borkowski
@ 2012-06-04 21:26 ` Hans Hagen
  2012-06-04 21:31   ` Marcin Borkowski
  0 siblings, 1 reply; 5+ messages in thread
From: Hans Hagen @ 2012-06-04 21:26 UTC (permalink / raw)
  To: mailing list for ConTeXt users

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
___________________________________________________________________________________


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

* Re: Alignment in \framed
  2012-06-04 21:26 ` Hans Hagen
@ 2012-06-04 21:31   ` Marcin Borkowski
  2012-06-04 22:27     ` Marcin Borkowski
  2012-06-04 22:30     ` Marco
  0 siblings, 2 replies; 5+ messages in thread
From: Marcin Borkowski @ 2012-06-04 21:31 UTC (permalink / raw)
  To: ConTeXt mailing list

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
___________________________________________________________________________________


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

* Re: Alignment in \framed
  2012-06-04 21:31   ` Marcin Borkowski
@ 2012-06-04 22:27     ` Marcin Borkowski
  2012-06-04 22:30     ` Marco
  1 sibling, 0 replies; 5+ messages in thread
From: Marcin Borkowski @ 2012-06-04 22:27 UTC (permalink / raw)
  To: ntg-context

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
___________________________________________________________________________________


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

* Re: Alignment in \framed
  2012-06-04 21:31   ` Marcin Borkowski
  2012-06-04 22:27     ` Marcin Borkowski
@ 2012-06-04 22:30     ` Marco
  1 sibling, 0 replies; 5+ messages in thread
From: Marco @ 2012-06-04 22:30 UTC (permalink / raw)
  To: ntg-context

On 2012-06-04 Marcin Borkowski <mbork@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
___________________________________________________________________________________

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

end of thread, other threads:[~2012-06-04 22:30 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-06-04 21:15 Alignment in \framed Marcin Borkowski
2012-06-04 21:26 ` Hans Hagen
2012-06-04 21:31   ` Marcin Borkowski
2012-06-04 22:27     ` Marcin Borkowski
2012-06-04 22:30     ` Marco

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