Need help with \setuphead and spacing
![](https://secure.gravatar.com/avatar/090d700659c29b78036a4502f251f5e3.jpg?s=120&d=mm&r=g)
Hi, I still have a couple of requests from a publisher, which I do not know how to fulfill: 1) I need to shift the title 12pt below the top margin. This is my command now: \definefont[TitleStyle][SerifBold at 14pt] \setuphead[title][ style=TitleStyle, align=middle, textstyle=WORD, before={\blank[12pt]}, after={\blank[3pt]} ] But 'before' does not seem to have any effect. My document starts with \starttext\title{...}. 2) I need (sub)section titles indented by .75cm, regardless of the section number, so that in: 1 First Section 1.1 First Subsection 100 Another Section Title 100.1 Another subsection the section titles are aligned. I have tried to use the 'distance' option, but that seems to set the distance between the section number and the section title. I am stuck with these, so any help would greatly be appreciated. I am using MKIV 2011.02.25 22:03 to compile. Nicola
![](https://secure.gravatar.com/avatar/02a711d78d02355347d6cff73fda2572.jpg?s=120&d=mm&r=g)
On 2011-04-02 Nicola
1) I need to shift the title 12pt below the top margin. This is my command now:
\definefont[TitleStyle][SerifBold at 14pt] \setuphead[title][ style=TitleStyle, align=middle, textstyle=WORD,
before={\blank[12pt,force]},
after={\blank[3pt]} ]
But 'before' does not seem to have any effect. My document starts with \starttext\title{...}.
2) I need (sub)section titles indented by .75cm, regardless of the section number, so that in:
1 First Section 1.1 First Subsection 100 Another Section Title 100.1 Another subsection
\setuphead [chapter,section] [command=\myseccmd] \def\myseccmd#1#2{\hbox to .75cm{#1}#2} Marco
![](https://secure.gravatar.com/avatar/090d700659c29b78036a4502f251f5e3.jpg?s=120&d=mm&r=g)
In article <20110402135950.0a07eef4@glyph>, Marco
On 2011-04-02 Nicola
wrote: 1) I need to shift the title 12pt below the top margin. This is my command now:
\definefont[TitleStyle][SerifBold at 14pt] \setuphead[title][ style=TitleStyle, align=middle, textstyle=WORD,
before={\blank[12pt,force]},
after={\blank[3pt]} ]
But 'before' does not seem to have any effect. My document starts with \starttext\title{...}.
2) I need (sub)section titles indented by .75cm, regardless of the section number, so that in:
1 First Section 1.1 First Subsection 100 Another Section Title 100.1 Another subsection
\setuphead [chapter,section] [command=\myseccmd] \def\myseccmd#1#2{\hbox to .75cm{#1}#2}
That works great! I must say that, looking backwards, the choice of using ConTeXt for my paper (as opposed to LaTeX) has turned out to be a winning one, although at the beginning I was a little afraid of using a typesetting system that is still under active development. With the help of the people from this list I have been able to easily solve many layout and typographical challenges (at least, challenges for me). So, thank you! Nicola
![](https://secure.gravatar.com/avatar/386a116d129cdc597f2bb6210bbaff7a.jpg?s=120&d=mm&r=g)
On Sat, Apr 2, 2011 at 3:30 PM, Nicola
In article <20110402135950.0a07eef4@glyph>, Marco
wrote: On 2011-04-02 Nicola
wrote: 1) I need to shift the title 12pt below the top margin. This is my command now:
\definefont[TitleStyle][SerifBold at 14pt] \setuphead[title][ style=TitleStyle, align=middle, textstyle=WORD,
before={\blank[12pt,force]},
after={\blank[3pt]} ]
But 'before' does not seem to have any effect. My document starts with \starttext\title{...}.
2) I need (sub)section titles indented by .75cm, regardless of the section number, so that in:
1 First Section 1.1 First Subsection 100 Another Section Title 100.1 Another subsection
\setuphead [chapter,section] [command=\myseccmd] \def\myseccmd#1#2{\hbox to .75cm{#1}#2}
That works great!
I must say that, looking backwards, the choice of using ConTeXt for my paper (as opposed to LaTeX) has turned out to be a winning one, although at the beginning I was a little afraid of using a typesetting system that is still under active development. With the help of the people from this list I have been able to easily solve many layout and typographical challenges (at least, challenges for me). So, thank you! Currently there are few examples on typesetting math with mkiv; maybe you can wikify someone from your paper ?
-- luigi
![](https://secure.gravatar.com/avatar/93131e1e6e2204bd13501390d768dbdc.jpg?s=120&d=mm&r=g)
Am 02.04.2011 um 13:59 schrieb Marco:
On 2011-04-02 Nicola
wrote: 2) I need (sub)section titles indented by .75cm, regardless of the section number, so that in:
1 First Section 1.1 First Subsection 100 Another Section Title 100.1 Another subsection
\setuphead [chapter,section] [command=\myseccmd] \def\myseccmd#1#2{\hbox to .75cm{#1}#2}
\setuphead[chapter,section][numberwidth=0.75cm] Wolfgang
participants (4)
-
luigi scarso
-
Marco
-
Nicola
-
Wolfgang Schuster