ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
* Switching to smaller font more thoroughly
@ 2005-09-11 18:53 Giuseppe Bilotta
  2005-09-12  6:44 ` Taco Hoekwater
  0 siblings, 1 reply; 10+ messages in thread
From: Giuseppe Bilotta @ 2005-09-11 18:53 UTC (permalink / raw)


For a particular table, I need to switch to a smaller body
font. Currently I'm using

{\tfxx
\placetable etc

\par}

but this way the math in the table doesn't get switched. Is
there a way to make a more thorough switch? I tried
\switchtobodyfont but it didn't work ...

-- 
Giuseppe "Oblomov" Bilotta

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

* Re: Switching to smaller font more thoroughly
  2005-09-11 18:53 Switching to smaller font more thoroughly Giuseppe Bilotta
@ 2005-09-12  6:44 ` Taco Hoekwater
  2005-09-12  7:42   ` Re[2]: " Giuseppe Bilotta
  2005-09-12  8:28   ` Hans Hagen
  0 siblings, 2 replies; 10+ messages in thread
From: Taco Hoekwater @ 2005-09-12  6:44 UTC (permalink / raw)


Giuseppe Bilotta wrote:
> For a particular table, I need to switch to a smaller body
> font. Currently I'm using
> 
> {\tfxx
> \placetable etc
> 
> \par}
> 
> but this way the math in the table doesn't get switched. Is
> there a way to make a more thorough switch? I tried
> \switchtobodyfont but it didn't work ...

Have you tried to put the \swichtobodyfont inside the
argument?

   \placetable[here][tables]{Caption}{
      \switchtobodyfont[5pt]
      etc.
   }

Cheers,

Taco

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

* Re[2]: Switching to smaller font more thoroughly
  2005-09-12  6:44 ` Taco Hoekwater
@ 2005-09-12  7:42   ` Giuseppe Bilotta
  2005-09-12  8:05     ` Taco Hoekwater
  2005-09-12  8:28   ` Hans Hagen
  1 sibling, 1 reply; 10+ messages in thread
From: Giuseppe Bilotta @ 2005-09-12  7:42 UTC (permalink / raw)


Monday, September 12, 2005 Taco Hoekwater wrote:

> Giuseppe Bilotta wrote:
>> For a particular table, I need to switch to a smaller body
>> font. Currently I'm using
>> 
>> {\tfxx
>> \placetable etc
>> 
>> \par}
>> 
>> but this way the math in the table doesn't get switched. Is
>> there a way to make a more thorough switch? I tried
>> \switchtobodyfont but it didn't work ...

> Have you tried to put the \swichtobodyfont inside the
> argument?

>    \placetable[here][tables]{Caption}{
>       \switchtobodyfont[5pt]
>       etc.
>    }

It doesn't work either way.

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

* Re: Switching to smaller font more thoroughly
  2005-09-12  7:42   ` Re[2]: " Giuseppe Bilotta
@ 2005-09-12  8:05     ` Taco Hoekwater
  2005-09-12 14:35       ` Re[2]: " Giuseppe Bilotta
  0 siblings, 1 reply; 10+ messages in thread
From: Taco Hoekwater @ 2005-09-12  8:05 UTC (permalink / raw)




Giuseppe Bilotta wrote:
> 
> 
>>   \placetable[here][tables]{Caption}{
>>      \switchtobodyfont[5pt]
>>      etc.
>>   }
> 
> 
> It doesn't work either way.

Do you have an example?

Taco

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

* Re: Switching to smaller font more thoroughly
  2005-09-12  6:44 ` Taco Hoekwater
  2005-09-12  7:42   ` Re[2]: " Giuseppe Bilotta
@ 2005-09-12  8:28   ` Hans Hagen
  2005-09-12 14:41     ` Re[2]: " Giuseppe Bilotta
  1 sibling, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2005-09-12  8:28 UTC (permalink / raw)


Taco Hoekwater wrote:

> Giuseppe Bilotta wrote:
>
>> For a particular table, I need to switch to a smaller body
>> font. Currently I'm using
>>
>> {\tfxx
>> \placetable etc
>>
>> \par}
>>
>> but this way the math in the table doesn't get switched. Is
>> there a way to make a more thorough switch? I tried
>> \switchtobodyfont but it didn't work ...
>
>
> Have you tried to put the \swichtobodyfont inside the
> argument?
>
>   \placetable[here][tables]{Caption}{
>      \switchtobodyfont[5pt]
>      etc.
>   }

\setuptables[bodyfont=small]
\setuptabulate[bodyfont=small]

the reason is that spacing depends on the bodyfont size so it need to be controlled somehow

Hans 

 

-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re[2]: Switching to smaller font more thoroughly
  2005-09-12  8:05     ` Taco Hoekwater
@ 2005-09-12 14:35       ` Giuseppe Bilotta
  0 siblings, 0 replies; 10+ messages in thread
From: Giuseppe Bilotta @ 2005-09-12 14:35 UTC (permalink / raw)


Monday, September 12, 2005 Taco Hoekwater wrote:



> Giuseppe Bilotta wrote:
>> 
>> 
>>>   \placetable[here][tables]{Caption}{
>>>      \switchtobodyfont[5pt]
>>>      etc.
>>>   }
>> 
>> 
>> It doesn't work either way.

> Do you have an example?

See the example I just posted in the "Need more
documentation on tables" thread.

-- 
Giuseppe "Oblomov" Bilotta

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

* Re[2]: Switching to smaller font more thoroughly
  2005-09-12  8:28   ` Hans Hagen
@ 2005-09-12 14:41     ` Giuseppe Bilotta
  2005-09-12 15:17       ` Hans Hagen
  0 siblings, 1 reply; 10+ messages in thread
From: Giuseppe Bilotta @ 2005-09-12 14:41 UTC (permalink / raw)


Monday, September 12, 2005 Hans Hagen wrote:

> \setuptables[bodyfont=small]
> \setuptabulate[bodyfont=small]

> the reason is that spacing depends on the bodyfont size
> so it need to be controlled somehow

What if want it for only some of the tables?

-- 
Giuseppe "Oblomov" Bilotta

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

* Re: Switching to smaller font more thoroughly
  2005-09-12 14:41     ` Re[2]: " Giuseppe Bilotta
@ 2005-09-12 15:17       ` Hans Hagen
  2005-09-13  0:07         ` Re[2]: " Giuseppe Bilotta
  0 siblings, 1 reply; 10+ messages in thread
From: Hans Hagen @ 2005-09-12 15:17 UTC (permalink / raw)


Giuseppe Bilotta wrote:

>Monday, September 12, 2005 Hans Hagen wrote:
>
>  
>
>>\setuptables[bodyfont=small]
>>\setuptabulate[bodyfont=small]
>>    
>>
>
>  
>
>>the reason is that spacing depends on the bodyfont size
>>so it need to be controlled somehow
>>    
>>
>
>What if want it for only some of the tables?
>  
>
\placetable
  {some clever things}
  {\setuptable[...]
   \starttable....}


-----------------------------------------------------------------
                                          Hans Hagen | PRAGMA ADE
              Ridderstraat 27 | 8061 GH Hasselt | The Netherlands
     tel: 038 477 53 69 | fax: 038 477 53 74 | www.pragma-ade.com
                                             | www.pragma-pod.nl
-----------------------------------------------------------------

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

* Re[2]: Switching to smaller font more thoroughly
  2005-09-12 15:17       ` Hans Hagen
@ 2005-09-13  0:07         ` Giuseppe Bilotta
  2005-09-18 17:48           ` Re[3]: " Giuseppe Bilotta
  0 siblings, 1 reply; 10+ messages in thread
From: Giuseppe Bilotta @ 2005-09-13  0:07 UTC (permalink / raw)


Monday, September 12, 2005 Hans Hagen wrote:

> Giuseppe Bilotta wrote:

>>Monday, September 12, 2005 Hans Hagen wrote:
>>
>>>\setuptables[bodyfont=small]
>>>\setuptabulate[bodyfont=small]
>>
>>>the reason is that spacing depends on the bodyfont size
>>>so it need to be controlled somehow
>>
>>What if want it for only some of the tables?
>>  
>>
> \placetable
>   {some clever things}
>   {\setuptable[...]
>    \starttable....}


The math still comes up full-sized, though. Could be an
unexpected interaction with the nath package ...

-- 
Giuseppe "Oblomov" Bilotta

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

* Re[3]: Switching to smaller font more thoroughly
  2005-09-13  0:07         ` Re[2]: " Giuseppe Bilotta
@ 2005-09-18 17:48           ` Giuseppe Bilotta
  0 siblings, 0 replies; 10+ messages in thread
From: Giuseppe Bilotta @ 2005-09-18 17:48 UTC (permalink / raw)


Tuesday, September 13, 2005 Giuseppe Bilotta wrote:

> Monday, September 12, 2005 Hans Hagen wrote:

>> Giuseppe Bilotta wrote:

>>>Monday, September 12, 2005 Hans Hagen wrote:
>>>
>>>>\setuptables[bodyfont=small]
>>>>\setuptabulate[bodyfont=small]
>>>
>>>>the reason is that spacing depends on the bodyfont size
>>>>so it need to be controlled somehow
>>>
>>>What if want it for only some of the tables?
>>>  
>>>
>> \placetable
>>   {some clever things}
>>   {\setuptable[...]
>>    \starttable....}


> The math still comes up full-sized, though. Could be an
> unexpected interaction with the nath package ...


No, it was because I had disabled \preloadfonts.
Interesting. Is this intentional or unintended? It would
seem that without preloadfonts math never gets properly
initialized.

-- 
Giuseppe "Oblomov" Bilotta

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

end of thread, other threads:[~2005-09-18 17:48 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-09-11 18:53 Switching to smaller font more thoroughly Giuseppe Bilotta
2005-09-12  6:44 ` Taco Hoekwater
2005-09-12  7:42   ` Re[2]: " Giuseppe Bilotta
2005-09-12  8:05     ` Taco Hoekwater
2005-09-12 14:35       ` Re[2]: " Giuseppe Bilotta
2005-09-12  8:28   ` Hans Hagen
2005-09-12 14:41     ` Re[2]: " Giuseppe Bilotta
2005-09-12 15:17       ` Hans Hagen
2005-09-13  0:07         ` Re[2]: " Giuseppe Bilotta
2005-09-18 17:48           ` Re[3]: " Giuseppe Bilotta

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