Re: [NTG-context] Lower the title of TOC

2014-05-02 Thread H. Özoguz

\definehead[contenttitle][title]

\setuphead[contenttitle][before={\blank[force,2cm]}]

\starttext

\contenttitle{Contents}

\placecontent

\chapter{First chapter}

\chapter{Second chapter}

\stoptext

Wolfgang


Thanks Wolfgang, thats exactly what I was searching for!

Huseyin
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___


Re: [NTG-context] Lower the title of TOC

2014-05-02 Thread Wolfgang Schuster

Am 02.05.2014 um 09:38 schrieb H. Özoguz :

> Hi,
> 
> how to lower the TOC-title, s.t. it begins with a greater distance to the top?
> Here a min-examlpe.
> 
> \starttext
> \completecontent
> \chapter{Blub1}
> \chapter{Blub2}
> \stoptext
> 
> 
> I mean something like:
> 
> \starttext
> \strut\blank[2cm]
> \completecontent
> \chapter{Blub1}
> \chapter{Blub2}
> \stoptext
> 
> But of course that produce only an empty page before the TOC and can not work.
> How to achieve this correctly?

\definehead[contenttitle][title]

\setuphead[contenttitle][before={\blank[force,2cm]}]

\starttext

\contenttitle{Contents}

\placecontent

\chapter{First chapter}

\chapter{Second chapter}

\stoptext

Wolfgang
___
If your question is of interest to others as well, please add an entry to the 
Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://tex.aanhet.net
archive  : http://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___