如何在背面突出显示参考编号和引用? [英] How to highlight references numbers and citations in overleaf?

查看:236
本文介绍了如何在背面突出显示参考编号和引用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

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

I want to highlight my changes in the revised paper for submitting it to the journal. Specifically, I want to highlight specific reference numbers included in multi-reference citations.

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

I tried with "\hl{}" using "\usepackage{soul}" but it gives me errors unless I skip the citations (i.e., \cite{}) and refrering sentences for tables or figures (\ref{}).

我有两个问题:

1-在11到15开头的多个参考文献中,我如何仅突出显示特定的参考文献编号(例如,参考文献编号13)?

1- How I can highlight only a specific reference number (e.g., reference number 13) among the multi references that started from 11 to 15?

如下所示(我不能突出显示参考号13):

as here (I can not highlight reference number 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}
     }

2-如何突出显示短语,包括对节,表或图形的引用和引用?

2- How I can highlight a phrase with including citations and references of sections, tables or figures?

如下所示(我无法突出显示部分的编号):

as here (I can not highlight numbers of the sections):

\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.}

输出:

推荐答案

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

To use \ref within a highlighted text, wrap it in an additional layer of {} and \cite commands can be hidden in an \mbox (for non-numerical reference styles this might lead to problems with linebreaks):

 \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}

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

Unrelated to the problem, but you should avoid spaces within labels

这篇关于如何在背面突出显示参考编号和引用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆