LaTex 作者上标,双单位问题 LaTex 作者单位有两个,怎么实现双上标1,2,求代码

Posted

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了LaTex 作者上标,双单位问题 LaTex 作者单位有两个,怎么实现双上标1,2,求代码相关的知识,希望对你有一定的参考价值。

参考技术A \documentclassarticle
\usepackageamsmath,ctex
\renewcommand\thefootnote\arabicfootnote
\title哇哈哈
\author\renewcommand\thefootnote\arabicfootnote Author\footnotemark$\phantom\;^,$\footnotemark

\begindocument %_____________________________________begin
\maketitle
\renewcommand\thefootnote\arabicfootnote \footnotetext[1]单位一\footnotetext[2]单位二
哈哈哈asdfasdfsadfljljk

\enddocument

凑了很久才凑出来的,title里默认的footnote是星号,我好不容易改成数字了以后角注的显示还是不能跟着改过来,所以只好这样凑一个出来了。
latex真心麻烦

参考资料:latex companion 2ed

本回答被提问者采纳

Latex:在同一位置引用同名作者的两篇参考文献时如何避免省略作者姓名

【中文标题】Latex:在同一位置引用同名作者的两篇参考文献时如何避免省略作者姓名【英文标题】:Latex: How to avoid omitting the author's name when citing two references with the same name author in the same position 【发布时间】:2020-08-26 14:06:30 【问题描述】:

我通过\citepliu2007cast,liu2011shadow 命令引用了2 个引用,它的样式(编译后)是:

In [Liu et al., 2011, 2007], the lower intensity rule is used as a preclassier in their method.

但我想要的风格是:

In [Liu et al. 2011, Liu et al. 2007], the lower intensity rule is used as a preclassier in their method.

如 ref.bib 所示,两位作者的姓名并不完全相同。但是第二个参考文献的作者默认省略了。

我的 book.tex 样本

\documentclass[a4paper,12pt]article
\usepackageamsmath
\usepackagegraphicx
\usepackagefloat
\usepackage[semicolon,square,sort&compress,sectionbib]natbib
\renewcommand\theequation\arabicsection-\arabicequation
\renewcommand\thefigure\arabicsection-\arabicfigure
\titleIn nature
\authorNull
\date

\begindocument
In \citepliu2007cast,liu2011shadow, the lower intensity rule is used as a preclassifier in their method. 
\bibliographystyleabbrvnat
\bibliographyref
\enddocument

我的参考书目样本

@inproceedingsliu2007cast,
  title=Cast shadow removal combining local and global features,
  author=Liu, Zhou and Huang, Kaiqi and Tan, Tieniu and Wang, Liangsheng,
  booktitle=2007 IEEE Conference on Computer Vision and Pattern Recognition,
  pages=1--8,
  year=2007,
  organization=IEEE

@articleliu2011shadow,
  title=Shadow detection in remotely sensed images based on self-adaptive feature selection,
  author=Liu, Jiahang and Fang, Tao and Li, Deren,
  journal=IEEE Transactions on Geoscience and Remote Sensing,
  volume=49,
  number=12,
  pages=5092--5103,
  year=2011,
  publisher=IEEE

【问题讨论】:

【参考方案1】:

您可以使用\citep* 宏:

\documentclass[a4paper,12pt]article
\usepackageamsmath
\usepackagegraphicx
\usepackagefloat
\usepackage[semicolon,square,sectionbib,sort&compress,mcite]natbib
\renewcommand\theequation\arabicsection-\arabicequation
\renewcommand\thefigure\arabicsection-\arabicfigure
\titleIn nature
\authorNull
\date

\beginfilecontents*[overwrite]\jobname.bib
@inproceedingsliu2007cast,
  title=Cast shadow removal combining local and global features,
  author=Liu, Zhou and Huang, Kaiqi and Tan, Tieniu and Wang, Liangsheng,
  booktitle=2007 IEEE Conference on Computer Vision and Pattern Recognition,
  pages=1--8,
  year=2007,
  organization=IEEE

@articleliu2011shadow,
  title=Shadow detection in remotely sensed images based on self-adaptive feature selection,
  author=Liu, Jiahang and Fang, Tao and Li, Deren,
  journal=IEEE Transactions on Geoscience and Remote Sensing,
  volume=49,
  number=12,
  pages=5092--5103,
  year=2011,
  publisher=IEEE

\endfilecontents*

\begindocument
In \citep*liu2007cast,liu2011shadow, the lower intensity rule is used as a preclassifier in their method. 
\bibliographystyleabbrvnat
\bibliography\jobname
\enddocument

【讨论】:

以上是关于LaTex 作者上标,双单位问题 LaTex 作者单位有两个,怎么实现双上标1,2,求代码的主要内容,如果未能解决你的问题,请参考以下文章

Latex elsarticle 作者与单位角标不一致

LATEX中一个作者怎样加多个地址

LaTex实战笔记 2-文档层次与结构

latex生成pdf 出现missing$ inserted

Latex:在同一位置引用同名作者的两篇参考文献时如何避免省略作者姓名

如何在 Latex 中仅将一位作者与其他三位作者居中对齐