ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: epsilon cygni <epsilon.cygni@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: section head number
Date: Sat, 15 Aug 2009 19:33:36 +0000 (UTC)	[thread overview]
Message-ID: <loom.20090815T192557-914@post.gmane.org> (raw)
In-Reply-To: <6faad9f00908151008k51814084s552b426633f6607a@mail.gmail.com>


> 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
___________________________________________________________________________________


  parent reply	other threads:[~2009-08-15 19:33 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-08-15 15:29 epsilon cygni
2009-08-15 17:08 ` Mojca Miklavec
2009-08-15 17:24   ` Wolfgang Schuster
2009-08-15 19:33   ` epsilon cygni [this message]
2009-08-15 20:56     ` epsilon cygni

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=loom.20090815T192557-914@post.gmane.org \
    --to=epsilon.cygni@gmail.com \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).