Giter Club home page Giter Club logo

Comments (6)

sikouhjw avatar sikouhjw commented on August 12, 2024

你搞错顺序了,是先 \appendix\backmatter,所以你的问题不存在。

from forum.

muzimuzhi avatar muzimuzhi commented on August 12, 2024

假设你的模板和使用 ctex/ctexheading 设置章节标题样式兼容,可以使用(可以把那一段重定义为 \backmatter

\documentclass{ctexbook}

\begin{document}
\frontmatter
\tableofcontents
\listoffigures

\mainmatter
\chapter{title}
\chapter{title}
\begin{figure}
  \fbox{text}
  \caption{text}
\end{figure}

% backmatter settings
\makeatletter
\if@openright
  \cleardoublepage
\else
  \clearpage
\fi
\makeatother
\setcounter{chapter}{0}
\renewcommand{\thechapter}{\Alph{chapter}}
\ctexset{
  chapter/name={附录,},
  chapter/number=\Alph{chapter},
}

\chapter{title}
\begin{figure}
  \fbox{text}
  \caption{text}
\end{figure}
\chapter{title}
\end{document}

image
image

附录中的图、表、数学表达式、参考文献等另行编序号,与正文分开,一律用阿拉伯数字编码,但在数码前冠以附录的序号,例如“图A.1”,“表B.2”,“式(C-3)”等。

我没懂这里「附录中的参考文献另行编序号」的意思,你也没问,就这样吧。或者可以新 issue 见。

往一个 LaTeX 文档实现新增需求时,有时候解决方案和「文档里现在是这么加载包、怎么设置、怎么使用的」高度相关,最好能提供具体例子。

from forum.

zepinglee avatar zepinglee commented on August 12, 2024

\appendix\@mainmattertrue。这种看一下 \mainmatter\backmatter 的定义应该不难理解。

from forum.

zepinglee avatar zepinglee commented on August 12, 2024

你搞错顺序了,是先 \appendix\backmatter,所以你的问题不存在。

@sikouhjw 他们的“致谢”跟 \backmatter 格式一样,但是在 \appendix 前。

from forum.

sakurayang avatar sakurayang commented on August 12, 2024

通过重新定义宏解决了

from forum.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.