* section head number
@ 2009-08-15 15:29 epsilon cygni
2009-08-15 17:08 ` Mojca Miklavec
0 siblings, 1 reply; 5+ messages in thread
From: epsilon cygni @ 2009-08-15 15:29 UTC (permalink / raw)
To: ntg-context
[-- Attachment #1.1: Type: text/plain, Size: 199 bytes --]
hi,
I need to place a 'dot' in front of every section and subsection head
number, for example, section '2.3' must be displayed as section '2.3.'
How can I add this dot?
Thanks in advance.
--
ana
[-- Attachment #1.2: Type: text/html, Size: 415 bytes --]
[-- Attachment #2: Type: text/plain, Size: 487 bytes --]
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: section head number
2009-08-15 15:29 section head number epsilon cygni
@ 2009-08-15 17:08 ` Mojca Miklavec
2009-08-15 17:24 ` Wolfgang Schuster
2009-08-15 19:33 ` epsilon cygni
0 siblings, 2 replies; 5+ messages in thread
From: Mojca Miklavec @ 2009-08-15 17:08 UTC (permalink / raw)
To: mailing list for ConTeXt users
On Sat, Aug 15, 2009 at 17:29, epsilon cygni wrote:
> hi,
>
> I need to place a 'dot' in front of every section and subsection head
> number, for example, section '2.3' must be displayed as section '2.3.'
>
> How can I add this dot?
In MKII or MKIV? In MKII you can do the following:
\setuphead
[section]
[numbercommand=\mynumberwithcomma]
\def\mynumberwithcomma#1{#1.}
MKIV has a finer control over sectioning, so you should better use
that solution (but I don't know it by heart).
Mojca
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: section head number
2009-08-15 17:08 ` Mojca Miklavec
@ 2009-08-15 17:24 ` Wolfgang Schuster
2009-08-15 19:33 ` epsilon cygni
1 sibling, 0 replies; 5+ messages in thread
From: Wolfgang Schuster @ 2009-08-15 17:24 UTC (permalink / raw)
To: mailing list for ConTeXt users
Am 15.08.2009 um 19:08 schrieb Mojca Miklavec:
> MKIV has a finer control over sectioning, so you should better use
> that solution (but I don't know it by heart).
You can write in MkIV \setupheads[sectionstopper={.}] :)
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: section head number
2009-08-15 17:08 ` Mojca Miklavec
2009-08-15 17:24 ` Wolfgang Schuster
@ 2009-08-15 19:33 ` epsilon cygni
2009-08-15 20:56 ` epsilon cygni
1 sibling, 1 reply; 5+ messages in thread
From: epsilon cygni @ 2009-08-15 19:33 UTC (permalink / raw)
To: ntg-context
> On Sat, Aug 15, 2009 at 17:29, epsilon cygni wrote:
> > hi,
> >
> > I need to place a 'dot' in front of every section and subsection head
> > number, for example, section '2.3' must be displayed as section '2.3.'
> >
> > How can I add this dot?
>
> In MKII or MKIV? In MKII you can do the following:
>
> \setuphead
> [section]
> [numbercommand=\mynumberwithcomma]
> \def\mynumberwithcomma#1{#1.}
>
> MKIV has a finer control over sectioning, so you should better use
> that solution (but I don't know it by heart).
>
> Mojca
>
Great this works! :) I need as well an appended dot in front of every figure and
table number, i.e 'Figure 2.3.' instead of 'Figure 2.3' How can I append the dot?
Thanks!
--
ana
___________________________________________________________________________________
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 : https://foundry.supelec.fr/projects/contextrev/
wiki : http://contextgarden.net
___________________________________________________________________________________
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2009-08-15 20:56 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-08-15 15:29 section head number epsilon cygni
2009-08-15 17:08 ` Mojca Miklavec
2009-08-15 17:24 ` Wolfgang Schuster
2009-08-15 19:33 ` epsilon cygni
2009-08-15 20:56 ` epsilon cygni
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).