Hi, I am confused about the ")" and setupsection or setuphead: What I need is a section that looks like this a) text b) text and a section like this (aa) text (bb) text The conversion is clear but what about ")", resp. "(" before and ")" after the sectionnumber. How and where is this called? Steffen
Steffen Wolfrum wrote:
The conversion is clear but what about ")", resp. "(" before and ")" after the sectionnumber.
Easy solution: define your own conversion. \def\parenthisedchar#1{(\character{#1})} \defineconversion[parenthised][\parenthisedchar] now you can use 'parenthised' everywhere context accepts a "conversion" as an argument. Cheers, Taco
On Sun, 30 Jul 2006, Steffen Wolfrum wrote:
Hi,
I am confused about the ")" and setupsection or setuphead:
What I need is a section that looks like this a) text b) text
and a section like this (aa) text (bb) text
The conversion is clear but what about ")", resp. "(" before and ")" after the sectionnumber.
How and where is this called?
You can use numbercommand to format the number. For example \setupsection[section-3][conversion=character] \setuphead[section][numbercommand=\MyCommand] \def\MyCommand#1{#1)} gives you a) text b) text and \setupsection[section-3][conversion=character] \setuphead[section][numbercommand=\MyCommand] \def\MyCommand#1{(#1#1)} gives you (aa) text (bb) text Aditya
participants (3)
-
Aditya Mahajan
-
Steffen Wolfrum
-
Taco Hoekwater