ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Henri Menke <henrimenke@gmail.com>
To: ntg-context@ntg.nl
Subject: Re: figure numbering S3, S4, S6, ...
Date: Fri, 14 Jul 2017 09:31:55 +1200	[thread overview]
Message-ID: <1499981515.11851.17.camel@gmail.com> (raw)
In-Reply-To: <fdb6f20e-69e2-31ab-b827-538263517004@thomasmoebius.de>

On Thu, 2017-07-13 at 09:54 +0200, Thomas Möbius wrote:
> Dear list,
> 
> I am compiling some figures as supplementary material and would like to 
> have figure captions follow the convention:
> 
> Figure S3
> Figure S4
> Figure S5
> ...
> 
> and I need that the numbering starts with S3 instead of S1.
> 
> How can I achieve this?

\setuppapersize[A6]
\setupexternalfigures[location=default]

\setupfloatcaption
  [figure]
  [way=bytext,numberstarter={S}]

\setcounter[figure][2]

\starttext

\startplacefigure[title={Cow}]
  \externalfigure[cow][width=2cm]
\stopplacefigure


\startplacefigure[title={Another Cow}]
  \externalfigure[cow][width=2cm]
\stopplacefigure

\stoptext

> 
> Minimal example:
> 
> \setuppapersize[A6]
> \setupexternalfigures[location=default]
> 
> \setupcaptions[way=bytext]
> 
> \placefigure
>      {Cow}
>      {\externalfigure[cow][width=2cm]}
> 
> \placefigure
>      {Another Cow}
>      {\externalfigure[cow][width=2cm]}
> ___________________________________________________________________________________
> 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://context.aanhet.net
> archive  : https://bitbucket.org/phg/context-mirror/commits/
> wiki     : http://contextgarden.net
> ___________________________________________________________________________________
___________________________________________________________________________________
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://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

      reply	other threads:[~2017-07-13 21:31 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-13  7:54 Thomas Möbius
2017-07-13 21:31 ` Henri Menke [this message]

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=1499981515.11851.17.camel@gmail.com \
    --to=henrimenke@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).