Hello, I am trying to indent my section/subsection etc. progressively. I am using *numbercommand* and added *hspace* before the numbers. But the section title is not moved to the right along with the section number and overlaps with it. I tried adding *loffset=2cm* (since all the options of *\framed* are valid for *setuplist*) also, but doesn't seem to have any effect. Please point out the mistake. Regards, Devendra *MWE* \definehspace[myem][2em] \def\secnum#1{\hspace[myem]#1} \setuplist [section] [numbercommand={\secnum}] \starttext \completecontent[alternative=c] \chapter{A} \section{B} \stoptext
Am 04.02.2013 um 21:11 schrieb Devendra Ghate
Hello,
I am trying to indent my section/subsection etc. progressively. I am using *numbercommand* and added *hspace* before the numbers. But the section title is not moved to the right along with the section number and overlaps with it. I tried adding *loffset=2cm* (since all the options of *\framed* are valid for *setuplist*) also, but doesn't seem to have any effect.
Please point out the mistake.
Regards, Devendra
*MWE*
\definehspace[myem][2em] \def\secnum#1{\hspace[myem]#1} \setuplist [section] [numbercommand={\secnum}]
\setuplist[…][margin=2em] Wolfgang
On 02/05/2013 01:47 AM, Wolfgang Schuster wrote:
Am 04.02.2013 um 21:11 schrieb Devendra Ghate
: Hello,
I am trying to indent my section/subsection etc. progressively. I am using *numbercommand* and added *hspace* before the numbers. But the section title is not moved to the right along with the section number and overlaps with it. I tried adding *loffset=2cm* (since all the options of *\framed* are valid for *setuplist*) also, but doesn't seem to have any effect.
Please point out the mistake.
Regards, Devendra
*MWE*
\definehspace[myem][2em] \def\secnum#1{\hspace[myem]#1} \setuplist [section] [numbercommand={\secnum}] \setuplist[…][margin=2em]
Wolfgang Thank you very much.
Devendra
___________________________________________________________________________________ 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 ___________________________________________________________________________________
participants (2)
-
Devendra Ghate
-
Wolfgang Schuster