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

请教参考文献的水平引用和上标引用 #11

Open
forthemoon2026 opened this issue Aug 26, 2024 · 2 comments
Open

请教参考文献的水平引用和上标引用 #11

forthemoon2026 opened this issue Aug 26, 2024 · 2 comments

Comments

@forthemoon2026
Copy link

使用\cite好像只能实现上标引用,有时候需要设置水平引用,类似文献[1]指出……

cls文件好像没看到这方面的设置

请教应该如何设置

@forthemoon2026
Copy link
Author

我是这样修改的

\usepackage[numbers,square,comma,sort&compress]{natbib}%这是更新的
%\usepackage[super,square,comma,sort&compress]{natbib}%这是原来的

main文件加一个这个
\newcommand{\upcite}[1]{\textsuperscript{\cite{#1}}}

\cite 是水平引用,\upcite是上标引用

@Sophie10001b
Copy link
Owner

感谢提交issue!目前上标与水平混用确实大部分用的是类似的方法,默认水平,然后用\textsuperscript单独设置上标,不过考虑到我所涉及的学科中基本上还是用上标居多,因此还是将上标引用作为默认设置。不过这个issue可以一直开着,之后有人有同样需求的话可以直接参考你的设置~

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