[NTG-context] Setting up layout - basic questions

cormullion cormullion at mac.com
Mon Feb 7 23:20:02 CET 2005


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]

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

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:

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