Giter Club home page Giter Club logo

Comments (6)

NominHanggai avatar NominHanggai commented on July 29, 2024 1

有一些 \label\caption 被我错放在 threeparttable 环境里了,应该把它们提出来,放在 table 环境里,5ab99f4 已经把这个错误改正了。

其他的 undefined ref 太多了,之后慢慢改吧 ///

from szaboqc.

NominHanggai avatar NominHanggai commented on July 29, 2024 1

根据这个回答:https://tex.stackexchange.com/a/172742/182597
我重新定义了 hyperref 宏包提供的命令 \sectionautorefname 和 \chapterautorefname 等如下

\def\chapterautorefname~#1\null{第#1章\null}
\def\sectionautorefname~#1\null{小节#1)\null}
\def\subsectionautorefname~#1\null{小节#1)\null}
\def\subsubsectionautorefname~#1\null{小节#1)\null}
\def\equationautorefname~#1\null{式(#1)\null}
\def\tableautorefname~#1\null{表#1\null}
\def\figureautorefname~#1\null{图#1\null}```

这样的话,只要使用 `\autoref{}` 就能自动带着“第…章”这样的字符了。当然,`\ref` 和 `\eqref` 仍然可以在恰当的时候使用。

from szaboqc.

hebrewsnabla avatar hebrewsnabla commented on July 29, 2024

还有一些小问题:

  • \label{t4.12} 这个写法我感觉是对的,但是始终报错undefined.
  • \ref{ch:1} 这种我已经修复了报错,但是编译出来就是“一”而不是”第一章“(如175页),不太好看,或许可以封装一个\chapref{}?或者还有其他优雅的方式吗。

from szaboqc.

NominHanggai avatar NominHanggai commented on July 29, 2024

还有一些小问题:

* `\label{t4.12}` 这个写法我感觉是对的,但是始终报错undefined.

* `\ref{ch:1}` 这种我已经修复了报错,但是编译出来就是“一”而不是”第一章“(如175页),不太好看,或许可以封装一个\chapref{}?或者还有其他优雅的方式吗。

我明天看一下这个

from szaboqc.

NominHanggai avatar NominHanggai commented on July 29, 2024

还有一些小问题:

* `\label{t4.12}` 这个写法我感觉是对的,但是始终报错undefined.

* `\ref{ch:1}` 这种我已经修复了报错,但是编译出来就是“一”而不是”第一章“(如175页),不太好看,或许可以封装一个\chapref{}?或者还有其他优雅的方式吗。`

\label{t4.12} 也已经修复。还是那个问题: \caption{t4.12} 被放在 threeparttable 环境中而 \label{t4.12} 被放在了外面。见 76775ff

from szaboqc.

hebrewsnabla avatar hebrewsnabla commented on July 29, 2024

还有一些小问题:

* `\label{t4.12}` 这个写法我感觉是对的,但是始终报错undefined.

* `\ref{ch:1}` 这种我已经修复了报错,但是编译出来就是“一”而不是”第一章“(如175页),不太好看,或许可以封装一个\chapref{}?或者还有其他优雅的方式吗。`

\label{t4.12} 也已经修复。还是那个问题: \caption{t4.12} 被放在 threeparttable 环境中而 \label{t4.12} 被放在了外面。见 76775ff

👍 ,原来是这样。

from szaboqc.

Related Issues (16)

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.