如何在背面突出显示参考编号和引用?

问题描述 投票:0回答:1

[我想在修订后的论文中强调我的更改,以将其提交给期刊。具体来说,我要突出显示多参考文献引用中包含的特定参考数字。

我尝试使用“ \ usepackage {soul}”对“ \ hl {}”进行尝试,但是除非我跳过引文(即\ cite {})并重新引用表格或图形的句子(\ ref {}),否则它会给我带来错误。 。

我有两个问题:

1-如何从11到15开头的多重参考中仅突出显示特定参考数字(例如,参考数字13?

如此处(我不能突出显示参考号13):

 \documentclass[10pt,journal,compsoc]{IEEEtran}
 \usepackage{soul}    
  Second, sensor-based approaches~\cite{reference 11,reference 12,reference 
  13,reference 14,reference 15} rely on

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

latex
1个回答
0
投票

要在突出显示的文本中使用\ref,请将其包装在{}的附加层中:

\documentclass[10pt,journal,compsoc]{IEEEtran}

\usepackage{xcolor}
\usepackage{soul}
\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.}

\end{document}

与问题无关,但应避免在标签内留空格

enter image description here

© www.soinside.com 2019 - 2024. All rights reserved.