Skip to content

Feature request: more manual control of figure/table caption numbering #855

Open
@lbramley

Description

@lbramley

It would be great to have more manual control over figure and table caption numbering - specifically, to be able to restart numbering and to add a prefix. Many journals allow the inclusion of supplementary materials but captions need to be marked as e.g. "Supplementary table X:" and the numbers need to restart from 1. Ideally it'd need to work for the bookdown::word_document2 format as journals often require submission as a .docx.

This has been asked as well by others on StackOverflow, but I didn't see any answers, so I'm assuming it'd be a feature request.


By filing an issue to this repo, I promise that

  • I have fully read the issue guide at https://yihui.org/issue/.
  • I have provided the necessary information about my issue.
    • If I'm asking a question, I have already asked it on Stack Overflow or RStudio Community, waited for at least 24 hours, and included a link to my question there.
    • If I'm filing a bug report, I have included a minimal, self-contained, and reproducible example, and have also included xfun::session_info('bookdown'). I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version: remotes::install_github('rstudio/bookdown').
    • If I have posted the same issue elsewhere, I have also mentioned it in this issue.
  • I have learned the Github Markdown syntax, and formatted my issue correctly.

I understand that my issue may be closed if I don't fulfill my promises.

Metadata

Metadata

Assignees

No one assigned

    Labels

    featurea feature request or enhancement

    Type

    No type

    Projects

    Status

    Backlog

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions