단일 명령으로 참고문헌 번호와 저자 연도를 제어하는 ​​방법

단일 명령으로 참고문헌 번호와 저자 연도를 제어하는 ​​방법

natbib 패키지를 사용하고 있습니다. 단일 명령으로 턱받이 스타일을 제어하고 싶습니다 \numberedref.

내 요구 사항은 \numberedref명령이 tex 파일에서 사용 가능한 경우 출력이 표시되는 것입니다.번호가 매겨진 참고 목록모든 인용 링크는 번호로 표시되어야 합니다. 명령을 기본적으로 사용할 수 없는 경우 작성자 연도 참조가 표시되어야 합니다. 이런 일이 일어날 것입니다다음과 같은 참조 목록 항목을 변경하지 않고\bibitem[Sabatinis et al., 1999]{Sabatini:1999}

그런데 그 생각을 모르겠어요 사용자 정의 단일 명령을 제어하는 ​​방법\numberedref

아래에 언급된 내 tex 파일은 다음과 같습니다.

\documentclass[twocolumn]{article}
\usepackage{endnotes}
\usepackage[noblocks]{authblk}
\usepackage[switch]{lineno}
\usepackage{mdframed}
\usepackage{amsmath}
\usepackage{natbib}
\usepackage[colorlinks=true,allcolors=black]{hyperref}
\definecolor{gray}{cmyk}{0,0,0,0.70}
\bibpunct[, ]{(}{)}{;}{a}{\color{gray},}{,}
\hypersetup{colorlinks,linkcolor=black,citecolor=gray}

\def\@editor{}
\def\editor#1{%
     \gdef\@editor{\raggedright \textbf{Edited by:}\newline #1}}



\def\@reviewer{}
\def\reviewer#1{%
     \gdef\@reviewer{\raggedright \textbf{Reviewed by:}\newline #1}}

\def\@metanote{}
\def\metanote#1{%
     \gdef\@metanote{\raggedright  #1}}

\def\@correspondence{}
\def\correspondence#1{%
     \gdef\@correspondence{\textbf{\textit{*Correspondence:}}\newline%
       \raggedright  #1}}

\def\@abstract{}
\def\abstract#1{%
     \gdef\@abstract{\fontsize{9.5}{11.5}\selectfont #1}}

\def\@keywords{}
\def\keywords#1{%
     \gdef\@keywords{\textbf{Keywords:} #1}}

\def\@firstpara{}
\def\firstpara#1{%
     \gdef\@firstpara{\raggedright  #1}}

\mdfdefinestyle{theoremstyle}{%
linecolor=black,middlelinewidth=2pt,%
theoremseparator={~|},%
frametitlerule=false,%
apptotikzsetting={\tikzset{mdfframetitlebackground/.append style={%
shade,left color=white, right color=black}}},
frametitlerulecolor=black,
frametitlerulewidth=1pt,
innertopmargin=6pt,
innerbottommargin=6pt,
innerleftmargin=6pt,
innerrightmargin=6pt,
frametitlebelowskip=0pt,
}



\mdtheorem[style=theoremstyle]{keybox}{KEY CONCEPT}

\begin{document}


\theendnotes

\title{Hormonal crosstalk for root development: a combined experimental and modeling perspective}
\author[1]{Junli Liu}
\author[2]{James Rowe}
\author[2]{Keith Lindsey}
\affil[1]{Integrative Cell Biology Laboratory, School of Biological and Biomedical Sciences, The Bio physical Sciences Institute, Durham University, Durham, UK}
\affil[1]{Integrative Cell Biology Laboratory, School of Biological and Biomedical Sciences, The Bio physical Sciences Institute, Durham University, Durham, UK}
\reviewer{Jedrzej Jakub Szymanski, Max Planck Institute of Molecular Plant Physiology, Germany }
\reviewer{Dimas Mendes Ribeiro, Universidade Federal de Vi\c{c}osa, Brazil}
\correspondence{Keith Lindsey is Professor of Plant Molecular Biology.}
\abstract{Plants are sessile organisms and therefore they must adapt their growth and architecture to a changing environment.}
\metanote{$\dagger$Joint corresponding authors}
\keywords{root development, POLARIS peptide, hormonal crosstalk, osmotic stress, kinetic modelin}
\firstpara{\section*{Introduction}
Hormone signaling systems coordinate plant \hfilneg}
\maketitle




Patterning in Arabidopsis root development is coordinated via a localized auxin concentration maximum in the root tip (\citealp{Sabatini:1999}), requiring the regulated expression of speciÞc genes. This auxin gradient has been hypothesized to be sink-driven (\citealp{Friml:2002}) and com- putational modeling suggests that auxin efßux carrier activity may be sufÞcient to generate the gradient in the absence of auxin biosynthesis in the root. 

\clearpage


\begin{thebibliography}{999}
\bibitem[Sabatinis et al., 1999]{Sabatini:1999}Sabatini, S., Sabatini, S., Beis, D., Wolkenfelt, H., Murfett, J., Guilfoyle, T., et al. (1999). An auxin-dependent distal organizer of pattern and polarity in the Arabidopsis root. Cell 99, 463--472. doi: 10.1016/S0092-8674(00)81535-4
\bibitem[Friml et al., 2002]{Friml:2002}Friml, J., Benkova, E., Blilou, I., Wisniewska, J., Hamann, T., Ljung, K., et al. (2002). AtPIN4 mediates sink-driven auxin gradients and root patterning in Arabidopsis. Cell 108, 661--673. doi: 10.1016/S0092-8674(02)00656-6
\end{thebibliography}

\end{document}

저자 연도를 번호가 매겨진 턱받이로 변경

관련 정보