Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

参考文献的排序不是从正文开始而是从图目录开始的 #17

Open
ilikevegetable opened this issue Mar 22, 2023 · 2 comments

Comments

@ilikevegetable
Copy link

当前版本的一个问题是,如果某个图的caption中带有引用,因为图目录在正文前面,所以引用顺序就不是从正文开始的,而是从图目录开始的。
引用顺序应该从正文开始才对,改问题有待解决啊。

@muzimuzhi
Copy link

muzimuzhi commented Mar 22, 2023

\caption[图标题][图标题\cite{...}] \caption[图标题]{图标题\cite{...}},这样图目录里显示的是不带 \cite图标题

文档类的角度,可以为几个目录临时重定义 \cite, \label/\ref 等命令,但因为命令会有各种各样的变体和语法,难以覆盖全面。

@ilikevegetable
Copy link
Author

ilikevegetable commented Mar 22, 2023

感谢感谢!搞定了!
但是你说的有一点点错误哈,有一个花括号写成了方括号
应该是把\caption{图标题\cite{...}} 改成 \caption[图标题]{图标题\cite{...}}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants