* How to achieve: (a) sectiontitle
@ 2006-07-30 17:21 Steffen Wolfrum
2006-07-30 17:52 ` Taco Hoekwater
2006-07-30 17:55 ` Aditya Mahajan
0 siblings, 2 replies; 3+ messages in thread
From: Steffen Wolfrum @ 2006-07-30 17:21 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to achieve: (a) sectiontitle
2006-07-30 17:21 How to achieve: (a) sectiontitle Steffen Wolfrum
@ 2006-07-30 17:52 ` Taco Hoekwater
2006-07-30 17:55 ` Aditya Mahajan
1 sibling, 0 replies; 3+ messages in thread
From: Taco Hoekwater @ 2006-07-30 17:52 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: How to achieve: (a) sectiontitle
2006-07-30 17:21 How to achieve: (a) sectiontitle Steffen Wolfrum
2006-07-30 17:52 ` Taco Hoekwater
@ 2006-07-30 17:55 ` Aditya Mahajan
1 sibling, 0 replies; 3+ messages in thread
From: Aditya Mahajan @ 2006-07-30 17:55 UTC (permalink / raw)
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
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2006-07-30 17:55 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2006-07-30 17:21 How to achieve: (a) sectiontitle Steffen Wolfrum
2006-07-30 17:52 ` Taco Hoekwater
2006-07-30 17:55 ` Aditya Mahajan
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).