[NTG-context] Setting up layout - basic questions
atl at comp.lancs.ac.uk
Tue Feb 8 12:47:46 CET 2005
Vit Zyka said this at Tue, 8 Feb 2005 09:31:46 +0100:
>> Also, is it generally possible to make all the headings start at the
>>left margin, with everything else (eg paragraphs, lists, etc) indented? Eg:
Actually, I think I know what cormullion is after: this is almost
precisely the layout I used when setting my Masters thesis in Framemaker
(9 years ago, sigh). I remember it fondly because it first got me
interested in structured typesetting...
This is my interpretation. It uses some undocumented stuff, and a lot of
this is new to me:
% First we set up some `virtual' dimensions.
\newdimen\HeadOutdent % distance from Heading to text body
\newdimen\HeadBackspace % inner margin, including head
\newdimen\HeadCutspace % outer margin, including head
% Hans: this was made a bit tougher because horoffset wasn't respected in the
% even layout... why?
%different sections could be outdented differently, etc.
\setuppagenumbering[alternative=doublesided] % hmmm...
\input knuth \page
>> Chapter X
>> Section X
>> Subsection y
>> Thanks for any pointers. I’m more of a FrameMaker user up to now, so I
>>may not yet be thinking the ConTeXt way. :-)
It's not too tough a transition, so long as you're not afraid of a little
(Welcome to the ConTeXt list... I noticed your posts to the MacTeX list
Adam T. Lindsay, Computing Dept. atl at comp.lancs.ac.uk
Lancaster University, InfoLab21 +44(0)1524/510.514
Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492
More information about the ntg-context