[NTG-context] sans serif in titles

Aditya Mahajan adityam at umich.edu
Wed Aug 16 02:57:45 CEST 2006


On Tue, 15 Aug 2006, Stuart Jansen wrote:

> On Wed, 2006-08-16 at 00:18 +0000, Horacio Suarez wrote:
>> Hello:
>>
>> I need help in this:
>>
>> I want that all titles, subjetcs, subsubjects, etc in Sans Serif but
>> bodytext in serif font.
>>
>> Im near to find it, but its not enough. :).
>
> Do you mean like this:
>
>
> \setuphead
>  [chapter,section,subsection]
>  [textstyle=\ss,numberstyle=\ss]

One can also use

   [textstlye=sans, numberstyle=sans]

or

   [style=sans]


> \starttext
> \chapter{Foo}
> \section{Bar}
> \input knuth
> \subsection{Baz}
> \input zapf
> \chapter{Qux}
> \section{Quux}
> \input douglas
> \subsection{Corge}
> \input hawking
> \stoptext
>
>

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


More information about the ntg-context mailing list