Re: [NTG-context] vertically centered aligment of different sized texts

2006-05-18 Thread Hans Hagen
frantisek holop wrote: > hmm, on Thu, May 18, 2006 at 11:57:47AM +0200, Hans Hagen said that > >>> i haven't used latex for quite some time now, so i can't >>> recall how problematic it was to accomplish something like this, >>> but i find it interesting that there is no easy approach to this. >

Re: [NTG-context] vertically centered aligment of different sized texts

2006-05-18 Thread frantisek holop
hmm, on Thu, May 18, 2006 at 11:57:47AM +0200, Hans Hagen said that > > i haven't used latex for quite some time now, so i can't > > recall how problematic it was to accomplish something like this, > > but i find it interesting that there is no easy approach to this. > > > there probably is, so

Re: [NTG-context] vertically centered aligment of different sized texts

2006-05-18 Thread Taco Hoekwater
frantisek holop wrote: > i've tried the old style numeral but i didn't like it. > by "keeping the same vertical alignment ratio" do you > mean something like \raise? Take the 'normal' 7 in the 'normal' tf size, but place it as if it was an old-style numeral (using something like \lower2pt\hbox{

Re: [NTG-context] vertically centered aligment of different sized texts

2006-05-18 Thread Hans Hagen
frantisek holop wrote: > hmm, on Thu, May 18, 2006 at 08:48:23AM +0200, Taco Hoekwater said that > >> The mathematical center of the line is not necesarily the >> optical center, so a somewhat more correct approach would >> put all the stuff in an \hbox and then compute manually >> how far it ha

Re: [NTG-context] vertically centered aligment of different sized texts

2006-05-18 Thread frantisek holop
hmm, on Thu, May 18, 2006 at 08:48:23AM +0200, Taco Hoekwater said that > The mathematical center of the line is not necesarily the > optical center, so a somewhat more correct approach would > put all the stuff in an \hbox and then compute manually > how far it has to drop down. i haven't used la

Re: [NTG-context] vertically centered aligment of different sized texts

2006-05-17 Thread Taco Hoekwater
frantisek holop wrote: > hmm, on Wed, May 17, 2006 at 06:53:47PM +0200, Taco Hoekwater said that > >>Abusing math mode is easiest: >> >> \def\vcentered#1% >> {\dontleavehmode\mathematics{\vcenter{\hbox{#1 >> \starttext >> {\tfc The \vcentered{{\BigFont 7}\high{th}} Seal} >> \stopte

Re: [NTG-context] vertically centered aligment of different sized texts

2006-05-17 Thread frantisek holop
hmm, on Wed, May 17, 2006 at 06:28:51PM +0200, Willi Egger said that > Hi, > > Vertical positioning requires a \strut as an anchor. Hereafter you might > use \vfill \vfill > > \starttext > \strut > \vfill > Your Text > \vfill > \stoptext i think this is something else.

Re: [NTG-context] vertically centered aligment of different sized texts

2006-05-17 Thread frantisek holop
hmm, on Wed, May 17, 2006 at 06:53:47PM +0200, Taco Hoekwater said that > Abusing math mode is easiest: > >\def\vcentered#1% > {\dontleavehmode\mathematics{\vcenter{\hbox{#1 >\starttext >{\tfc The \vcentered{{\BigFont 7}\high{th}} Seal} >\stoptext thanks a lot. but if thi

Re: [NTG-context] vertically centered aligment of different sized texts

2006-05-17 Thread Taco Hoekwater
> >how can i make that line vertically centered, like > --, >the /th seal > / > >:) Abusing math mode is easiest: \def\vcentered#1% {\dontleavehmode\mathematics{\vcenter{\hbox{#1 \starttext {\tfc The \vcentered{{\BigFont 7}\high{th}} Seal} \stoptext Cheers, Taco _

Re: [NTG-context] vertically centered aligment of different sized texts

2006-05-17 Thread Willi Egger
Hi, Vertical positioning requires a \strut as an anchor. Hereafter you might use \vfill \vfill \starttext \strut \vfill Your Text \vfill \stoptext Willi Aditya Mahajan wrote: > On Wed, 17 May 2006, frantisek holop wrote: > > >> hi there, >> >> another question to wh

Re: [NTG-context] vertically centered aligment of different sized texts

2006-05-16 Thread Aditya Mahajan
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

[NTG-context] vertically centered aligment of different sized texts

2006-05-16 Thread frantisek holop
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