当前位置:网站首页>(已解决)Latex--取消正文中参考文献引用的上标显示(gbt7714-2015会导致默认上角标引用)(上角标&平齐标混合使用教程)
(已解决)Latex--取消正文中参考文献引用的上标显示(gbt7714-2015会导致默认上角标引用)(上角标&平齐标混合使用教程)
2022-06-11 00:47:00 【计算机视觉-Archer】
0 为什么有这个问题,因为我的中文论文无论采用\upcite{}还是\cite{}都是上角标
这是因为GBT7714-2015宏包支持的标注样式:super / numbers / authoryear
其中可以加以下几种宏包
\usepackage[super]{gbt7714}
\usepackage[numbers]{gbt7714}
\usepackage[authoryear]{gbt7714}
而\usepackage{gbt7714}默认的就是super,也就是上角标
这就是问题所在!!!!
1 查看自己文献格式
使用的参考文献格式
使用的参考文献格式(gbt7714-numerical.bst)以及gbt7714-2015宏包(gbt7714.sty)均来自于https://github.com/CTeX-org/gbt7714-bibtex-style 。
建议.bst文件和.sty文件 使用代码仓库里同一个version中的,否则不同版本的两个文件可能会引起编译报错,例如"Error: [email protected] has been defined."
我的默认宏包是
文件夹中后缀是.bst的是
2 尝试取消文献引用上标模式(参考这个博客)
从以下链接
https://github.com/CTeX-org/gbt7714-bibtex-style/issues/65
知道了
GBT7714-2015宏包支持的标注样式:super / numbers / authoryear
从标注样式名称可以看出,super代表着以上标形式显示引文编号,那么猜测不使用上标显示我就应该指定numbers或authoryear,但我要用数字形式显示,所以指定numbers。
latex代码如下:
\usepackage[numbers]{gbt7714}%使用自有目录中的gbt7714.sty文件(宏包)
\begin{document}
\bibliographystyle{gbt7714-numerical} %%指定gbt7714-numerical.bst文件
\bibliography{mybib}\end{document}
这样设置后,在正文中使用\cite{BibKey}指令就使得最终文档里的引用标号和文字在同一水平线上。
简单来说就2步骤
1
2
这就是文件中gbt7714.bst
3 此时我发现还是仅能用平齐标引用,而不能上角标引用(\upcite{}会报错)
解决办法:

A第一行改为numbers,super
\usepackage[numbers,super]{gbt7714}
numbers代表平齐标引用
super代表上角标引用
这样写意思是两者都有,默认平齐标引用
B第二行添加这个是服务于\upcite{}, 有了这个才能用上角标
\newcommand{\upcite}[1]{\textsuperscript{\textsuperscript{\cite{#1}}}}
C正文中如下撰写即可![]()
这里是上标\upcite{xxx1},这里是平齐\cite{xxx2}
边栏推荐
- [traitement d'image] système multifonctionnel de traitement d'image basé sur l'interface graphique MATLAB [y compris le code source MATLAB 1876]
- "It looks like robbing tickets but actually robbing money". Don't be fooled by fancy ticket robbing products again and again
- 1.7、PX4遥控器校准
- 2021-3-1matlas MNIST database training for CNN writing
- 薪的测试开发程序员们,你为何要走?和产品相互残杀到天昏地暗......
- 2021-2-26 compilation of programming language knowledge points
- Leetcode string problem
- QGC ground station tutorial
- 【HaaS Hands-On】全新视频节目上线 创意案例我们一起上手做 第一期E01: 物联网工程师 和你一起上手做遥控机械臂
- Leetcode permutation and combination problem backtracking
猜你喜欢

On permutation and combination in probability and statistics

2.2. Ros+px4 simulation multi-point cruise flight - Square

2.0、ROS与PX4通信详解

【音乐】基于matlab演奏《青花瓷》【含Matlab源码 1873期】
![[leetcode] path sum II (first glimpse recursion + backtracking)](/img/a8/54920e54a026ebef3eb0a1336e5b62.jpg)
[leetcode] path sum II (first glimpse recursion + backtracking)
![[leetcode] restore binary search tree](/img/92/14c4d670f318f93297040241a61c41.jpg)
[leetcode] restore binary search tree

【音乐】基于matlab演奏《过火》【含Matlab源码 1875期】
![[leetcode] balanced binary tree](/img/77/a37557295646010326dac024cf869a.jpg)
[leetcode] balanced binary tree
![[leetcode] same tree + symmetric binary tree](/img/e5/40803ce66756c03737aa8991f7ec92.jpg)
[leetcode] same tree + symmetric binary tree

2.0 detailed explanation of ROS and Px4 communication
随机推荐
LeetCode 1029 Two City Scheduling (dp)
"It looks like robbing tickets but actually robbing money". Don't be fooled by fancy ticket robbing products again and again
[interpretation of the paper] sort out the papers on the vision based autonomous landing platform of UAV
字节北京23k和拼多多上海28K,我该怎么选?
Flutter status management
flutter_swiper 轮播图 插件
Leetcode 430 flat a multilevel double linked list (DFS linked list)
【交通标志识别】基于matlab GUI YCbCr特征提取+BP神经网络交通标志识别【含Matlab源码 1869期】
MeterSphere教程:接口返回结果为空时如何进行断言
[geometric vision] 4.2 piecewise linear transformation
2021-2-14 gephi learning notes
Leetcode binary tree problem
LeetCode 1609 Even Odd Tree (bfs)
【图像处理】基于matlab GUI多功能图像处理系统【含Matlab源码 1876期】
[leetcode] a group of K flipped linked lists
A tutorial on building a website from scratch with complete steps (7000 words and 102 screenshots for everyone to understand, with source code attached)
Leetcode permutation and combination problem backtracking
Px4 from abandonment to mastery (twenty four): customized model
2.2. Ros+px4 simulation multi-point cruise flight - Square
The problem of slow response of cs-3120 actuator during use

