咋把图注的“图1:”换成“图1.1”或者“图1-1”

2021-03-02 10:22发布

## 编译环境 操作系统 * [x] Windows 7/8/10 * [ ] macOS * [ ] Linux `若需勾选,请把[ ]改成[x]` Tex发行版 * [ ] TexLive `年...

## 编译环境 操作系统 * [x] Windows 7/8/10 * [ ] macOS * [ ] Linux `若需勾选,请把[ ]改成[x]` Tex发行版 * [ ] TexLive `年份` * [x] MikTeX `版本号` * [ ] CTeX `若需勾选,请把[ ]改成[x]` ## 我的问题 在此输入你遇到的问题...
2条回答
sikouhjw
2021-03-02 12:31
```tex \documentclass{article} \counterwithin{figure}{section} \begin{document} \section{test} \begin{figure} \caption{test} \end{figure} \renewcommand{\thefigure}{\thesection-\arabic{figure}} \begin{figure} \caption{test} \end{figure} \end{document} ``` `texdoc source2e`, *File p, ltcounts.dtx, sec 1 Counters and Lengths* or `texdoc lshort-zh-cn`, *sec 8.3*

一周热门 更多>