ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Patrick Gundlach <patrick@gundla.ch>
To: ntg-context@ntg.nl
Subject: Re: Vertical align inside a frame?
Date: Sat, 28 Jul 2007 07:54:29 +0200	[thread overview]
Message-ID: <m1ir85844q.fsf@levana.de> (raw)
In-Reply-To: <1083894524.20070728014649@iol.it> (Giuseppe Bilotta's message of "Sat, 28 Jul 2007 01:46:49 +0200")

Hi Giuseppe,

> the location= of the inner frame as desired. Am I missing
> something obvious?

I don't think so, this was an example from Hans:

--------------------------------------------------
\starttext
\ruledhbox
   {A
    \framed[width=2cm,align=middle,location=hanging]{location\\equals\\hanging}
    \framed[width=2cm,align=middle,location=depth]  {location\\equals\\depth}
    \framed[width=2cm,align=middle,location=height] {location\\equals\\height}
    B}

\vskip2cm

\ruledhbox
   {A
    \framed[width=2cm,align=middle,location=low]    {location\\equals\\low}
    \framed[width=2cm,align=middle,location=line]   {location\\equals\\line}
    \framed[width=2cm,align=middle,location=high]   {location\\equals\\high}
    B}

\vskip2cm

\ruledhbox
  {A
   \framed[width=2cm,align=middle,location=top]    {location\\equals\\top}
   \framed[width=2cm,align=middle,location=bottom] {location\\equals\\bottom}
   \framed[width=2cm,align=middle,location=lohi]   {location\\equals\\lohi}
   \framed[width=2cm,align=middle,location=middle] {location\\equals\\middle}
   B}

\stoptext

--------------------------------------------------

Patrick

PS: welcome back!
___________________________________________________________________________________
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  : https://foundry.supelec.fr/projects/contextrev/
wiki     : http://contextgarden.net
___________________________________________________________________________________


  parent reply	other threads:[~2007-07-28  5:54 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-07-27 23:46 Giuseppe Bilotta
2007-07-28  5:32 ` Thomas A. Schmitz
2007-07-28  7:57   ` Giuseppe Bilotta
2007-07-28  5:54 ` Patrick Gundlach [this message]
2007-07-28  8:00   ` Giuseppe Bilotta

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=m1ir85844q.fsf@levana.de \
    --to=patrick@gundla.ch \
    --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).