ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Aditya Mahajan <adityam@umich.edu>
Subject: Re: vertically centered aligment of different sized texts
Date: Tue, 16 May 2006 20:02:50 -0400 (EDT)	[thread overview]
Message-ID: <Pine.WNT.4.63.0605162000590.2000@nqvgln> (raw)
In-Reply-To: <20060516235035.GI29682@obiit.org>

On Wed, 17 May 2006, frantisek holop wrote:

> hi there,
>
> another question to which shamefully i cannot find the answer.
> perhaps it's just too late...
>
>
> consider the following example:
>
>
> \definefont[BigFont][Regular sa 3]
> \starttext
> {\tfc The {\BigFont 7}\high{th} Seal}
> \stoptext
>
>
> how can i make that line vertically centered, like
>    --,
> the  /th seal
>    /
>
> :)
>

I do not know if this is the best way to do this, but you can exploit 
inframed.

{\tfc The \inframed[foregroundstyle=\BigFont,frame=off]{ 7}\high{th} Seal}
or
{\tfc The \inframed[foregroundstyle=\BigFont,frame=off]{ 7\high{th}} Seal}

depending on what you want.


> is \startalignment used for this?

I think that startalignment is only for horizontal alignment, but I 
may be wrong here.

Aditya

-- 
Aditya Mahajan, EECS Systems, University of Michigan
http://www.eecs.umich.edu/~adityam || Ph: 7342624008

  reply	other threads:[~2006-05-17  0:02 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-16 23:50 frantisek holop
2006-05-17  0:02 ` Aditya Mahajan [this message]
2006-05-17 16:28   ` Willi Egger
2006-05-17 16:53     ` Taco Hoekwater
2006-05-17 20:15       ` frantisek holop
2006-05-18  6:48         ` Taco Hoekwater
2006-05-18  9:46           ` frantisek holop
2006-05-18  9:57             ` Hans Hagen
2006-05-18 10:29               ` frantisek holop
2006-05-18 14:42                 ` Hans Hagen
2006-05-18 10:08             ` Taco Hoekwater
2006-05-17 20:19     ` frantisek holop

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=Pine.WNT.4.63.0605162000590.2000@nqvgln \
    --to=adityam@umich.edu \
    --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).