[NTG-context] Setting up layout - basic questions

Vit Zyka vit.zyka at seznam.cz
Tue Feb 8 09:31:46 CET 2005


cormullion wrote:
> Hi there. I’m a newcomer to ConTeXt, and I’m so far really impressed with the power and flexibility I now have access to. I’d be grateful for a few tips - I’ve been reading the documentation over the last few days, and my head’s getting full. Please excuse me if these questions are obvious.
> 
> I want to make headings in a sans serif font, such as Helvetica, and keep the body text in serif font (such as Times). (I use these font names loosely, I have no idea which fonts I can actually use, since I can’t get XeTeX working yet.) I know that I should do something like this:
> 
> \setuphead
>     [chapter]
>     [number=yes, 
>     style=\ss]

       style=\ssc

> 
> \setuphead
>     [section]
>     [number=no, 
>     style=\ss]

       style=\ssa

You can choose from 7 sizes: \ssxx, \ssx, \ss, \ssa, \ssb, ssc, \ssd

Vit Zyka
> 
> but the sizes of the different levels of heading are lost... So something like 16pt for chapter, 14pt for section, 12 point for subsection?
> 
> Also, is it generally possible to make all the headings start at the left margin, with everything else (eg paragraphs, lists, etc) indented? Eg:

something like

\setuphead
   [chapter]
   [alternative=inmargin]

Vit Zyka

> Chapter X
>                Paragraph
> Section X
>                Paragraph
> Subsection y
>                Paragraph
>               
> Thanks for any pointers. I’m more of a FrameMaker user up to now, so I may not yet be thinking the ConTeXt way. :-)



More information about the ntg-context mailing list