gpt4 book ai didi

latex - 如何突出显示背面的引用文献编号和引文?

转载 作者:行者123 更新时间:2023-12-04 01:38:57 25 4
gpt4 key购买 nike

我想在修改后的论文中突出我的更改,以便将其提交给期刊。具体来说,我想要
突出显示多引用引用中包含的特定引用编号。

我尝试使用 "\usepackage{soul}"使用 "\hl{}",但它会给我错误,除非我跳过引用(即\cite{})和引用表格或数字的句子(\ref{})。

我有两个问题:

1- 如何在从 11 到 15 开始的多重引用中仅突出显示特定引用编号(例如,引用编号 13)?

如这里(我无法突出显示引用编号 13):

 \documentclass[10pt,journal,compsoc]{IEEEtran}
\usepackage{soul}
\usepackage{xcolor}
\usepackage{cite}
\sethlcolor{yellow}

\begin{document}

Second, sensor-based approaches~\cite{yamazoe1991new,korotcenkov2011instability,park2015material,rosi2011social,clark1992optimal} rely on



\bibliography{Refernces_file}
\bibliographystyle{unsrt}

\end{document}

引用文件:
@article{yamazoe1991new,
title={New approaches for improving semiconductor gas sensors},
author={Yamazoe, Noboru},
journal={Sensors and Actuators B: Chemical},
volume={5},
number={1-4},
pages={7--19},
year={1991},
publisher={Elsevier}
}



@article{korotcenkov2011instability,
title={Instability of metal oxide-based conductometric gas sensors and
approaches to stability improvement (short survey)},
author={Korotcenkov, G and Cho, BK},
journal={Sensors and Actuators B: Chemical},
volume={156},
number={2},
pages={527--538},
year={2011},
publisher={Elsevier}
}

@article{park2015material,
title={Material approaches to stretchable strain sensors},
author={Park, Jaeyoon and You, Insang and Shin, Sangbaie and Jeong,
Unyong},
journal={ChemPhysChem},
volume={16},
number={6},
pages={1155--1163},
year={2015},
publisher={Wiley Online Library}
}



@inproceedings{rosi2011social,
title={Social sensors and pervasive services: Approaches and
perspectives},
author={Rosi, Alberto and Mamei, Marco and Zambonelli, Franco and
Dobson, Simon and Stevenson, Graeme and Ye, Juan},
booktitle={2011 IEEE international conference on pervasive computing and
communications workshops (PERCOM Workshops)},
pages={525--530},
year={2011},
organization={IEEE}
}


@article{clark1992optimal,
title={Optimal placement of piezoelectric actuators and polyvinylidene
fluoride error sensors in active structural acoustic control approaches},
author={Clark, Robert L and Fuller, Chris R},
journal={The Journal of the Acoustical Society of America},
volume={92},
number={3},
pages={1521--1533},
year={1992},
publisher={ASA}
}

enter image description here

2- 如何突出一个短语,包括部分、表格或图形的引用和引用?

如这里(我无法突出显示部分的数量):
\documentclass[10pt,journal,compsoc]{IEEEtran}
\usepackage{soul}
\hl{In Section}~\ref{section 5}, \hl{we add a supplemental case study.}\hl{
In Section}~\ref{section 6} \hl{a description of related work is given, and
in Section}~\ref{section 7},\hl{ we conclude the paper.}

输出:

enter image description here

最佳答案

使用 \ref在突出显示的文本中,将其包裹在 {} 的附加层中和 \cite命令可以隐藏在 \mbox 中(对于非数字引用样式,这可能会导致换行问题):

 \documentclass[10pt,journal,compsoc]{IEEEtran}
\usepackage{soul}
\usepackage{xcolor}
\usepackage{cite}
\sethlcolor{yellow}

\begin{document}

\section{section 5}
\label{section5}
\section{section 6}
\label{section6}
\section{section 7}
\label{section7}

\hl{In Section~{\ref{section5}}, we add a supplemental case study. In Section~{\ref{section6}} a description of related work is given, and
in Section~{\ref{section7}}, we conclude the paper.}

\hl{test\mbox{\cite{yamazoe1991new}} test}

\bibliography{\jobname}
\bibliographystyle{unsrt}

\end{document}

与问题无关,但您应该避免标签中的空格

enter image description here

关于latex - 如何突出显示背面的引用文献编号和引文?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/58391698/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com