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:
something like
\setuphead [chapter] [alternative=inmargin]
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 \HeadOutdent=20mm \newdimen\HeadBackspace % inner margin, including head \HeadBackspace=35mm \newdimen\HeadCutspace % outer margin, including head \HeadCutspace=45mm \definelayout[fm] [backspace=\dimexpr(\HeadBackspace+\HeadOutdent), cutspace=\HeadCutspace, width=middle] \definelayout[even][backspace=\HeadBackspace, cutspace=\dimexpr(\HeadCutspace+\HeadOutdent), width=middle] % Hans: this was made a bit tougher because horoffset wasn't respected in the % even layout... why? \setuplayout[fm] \setuphead[section] [margin=-\HeadOutdent, style=\ssc] %different sections could be outdented differently, etc. \setuppagenumbering[alternative=doublesided] % hmmm... \showframe \starttext \section{Hi there} \subsection{Ho there} \input knuth \page \subsection{Hey there} \subsubsection{Ha there} \input knuth \stoptext
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. :-)
It's not too tough a transition, so long as you're not afraid of a little math. (Welcome to the ConTeXt list... I noticed your posts to the MacTeX list earlier...) -- =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-= Adam T. Lindsay, Computing Dept. atl@comp.lancs.ac.uk Lancaster University, InfoLab21 +44(0)1524/510.514 Lancaster, LA1 4WA, UK Fax:+44(0)1524/510.492 -=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-