\cite 不带超链接(在标题中引用)

\cite 不带超链接(在标题中引用)

我想在 里面引用一个参考文献(通过使用\citet,\citeauthor或.) 。像这样:\citeyear\caption{}

\caption{Characteristics assessed in \citet{perell_fall_2001}}

我正在使用natbib包以及hyperref。问题是我不希望参考文献包含指向其参考书目条目的超链接(因为它在文档开头的表格列表中看起来很糟糕)。

有什么办法可以实现这个吗?我发现一个问题非常接近我所寻找的问题:

未包含超链接的选定参考文献

但它是为了\ref,不是为了\cite......

梅威瑟:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{tabularx}
\usepackage{natbib}
\usepackage{hyperref}

\begin{document}

\begin{table}\small
\centering
    \caption{Characteristics assessed in \citet{perell_fall_2001}}
    \newcolumntype{Y}{>{\raggedright\arraybackslash}X}
    \begin{tabularx}{\textwidth}{YY}
\bfseries Patient Characteristic & Number of studies\\
\firsthline\\
Mental status or cognitive impairment & 5 \\
        \lasthline\\
    \end{tabularx}
    \label{tab:PerrellAssesment}
\end{table}

\nocite{*}
\bibliographystyle{IEEEtranSN}
\bibliography{refs}


\end{document}

哪里refs.bib

@article{perell_fall_2001,
    title = {Fall Risk Assessment Measures An Analytic Review},
    volume = {56},
    issn = {1079-5006, 1758-{535X}},
    url = {http://biomedgerontology.oxfordjournals.org/content/56/12/M761},
    doi = {10.1093/gerona/56.12.M761},
    number = {12},
    journal = {The Journals of Gerontology Series A: Biological Sciences and Medical Sciences},
    author = {Perell, Karen L. and Nelson, Audrey and Goldman, Ronald L. and Luther, Stephen L. and Prieto-Lewis, Nicole and Rubenstein, Laurence Z.},
}

答案1

您可以hyperref使用环境暂时禁用NoHyper。环境很脆弱,因此您必须使用\protect

 \caption{Characteristics assessed in {\protect\NoHyper\citet{perell_fall_2001}\protect\endNoHyper}}

以下是完整的 MWE:

\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{tabularx}
\usepackage{natbib}
\usepackage{hyperref}
\usepackage{filecontents}
\begin{filecontents}{refs.bib}
@article{perell_fall_2001,
    title = {Fall Risk Assessment Measures An Analytic Review},
    volume = {56},
    issn = {1079-5006, 1758-{535X}},
    url = {http://biomedgerontology.oxfordjournals.org/content/56/12/M761},
    doi = {10.1093/gerona/56.12.M761},
    number = {12},
    journal = {The Journals of Gerontology Series A: Biological Sciences and Medical Sciences},
    author = {Perell, Karen L. and Nelson, Audrey and Goldman, Ronald L. and Luther, Stephen L. and Prieto-Lewis, Nicole and Rubenstein, Laurence Z.},
}
\end{filecontents}
\begin{document}
\listoftables
\begin{table}[!ht]

    \caption{Characteristics assessed in {\protect\NoHyper\citet{perell_fall_2001}\protect\endNoHyper}}
    \label{tab:PerrellAssesment}
\end{table}

\nocite{*}
\bibliographystyle{IEEEtranSN}
\bibliography{refs}


\end{document}

也许您想使用标题的可选参数:

 \caption[Characteristics assessed in {\protect\NoHyper\citet{perell_fall_2001}\protect\endNoHyper}]{Characteristics assessed in \citet{perell_fall_2001}}

下一个提示:\label之后立即使用\caption

相关内容