首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用biblatex获取书目

使用biblatex获取书目
EN

Stack Overflow用户
提问于 2021-10-22 16:47:00
回答 1查看 138关注 0票数 0

我正在使用下面的代码作为引用。

代码语言:javascript
复制
\documentclass[12pt]{article}

\usepackage{amssymb,amsmath,amsfonts,eurosym,geometry,ulem,graphicx,caption,color,setspace,sectsty,comment,footmisc,caption,pdflscape,subfigure,array,booktabs,dcolumn,threeparttable,adjustbox,dirtytalk,multirow,tabularx,booktabs,longtable,placeins,tikz}

\usepackage[backend=biber,natbib,style=authoryear,citestyle=authoryear]{biblatex}

\usepackage{float}
\restylefloat{table}

\usepackage{pgfplots}
\pgfplotsset{width=12cm,compat=1.9}
\usepackage{pst-func}
\psset{unit=2cm}

\usepackage[english]{babel}

\usepackage{hyperref}
\hypersetup{colorlinks=true,urlcolor=blue,citecolor=blue,linkcolor=red}

\addbibresource{segmentation.bib}

\begin{document}

This is a sample \cite{sample}.

\end{document}

我得到的输出是:

然而,我需要它就像(作者,年份)。另外,我希望参考书目出现在论文中,但我不能这样做,我希望整个作者都能链接起来,也就是说,当我点击它时,它会带我到书目中的相关页面。

你能帮我一下吗?

谢谢

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2021-10-22 17:00:13

要在文档中获取参考书目,需要使用宏

若要在引用中插入

  • ,请使用

代码语言:javascript
复制
\documentclass[12pt]{article}

\usepackage{amssymb,amsmath,amsfonts,eurosym,geometry,ulem,graphicx,caption,color,setspace,sectsty,comment,footmisc,caption,pdflscape,subfigure,array,booktabs,dcolumn,threeparttable,adjustbox,dirtytalk,multirow,tabularx,booktabs,longtable,placeins,tikz}

\usepackage[backend=biber,natbib,style=authoryear,citestyle=authoryear]{biblatex}

\usepackage{float}
\restylefloat{table}

\usepackage{pgfplots}
\pgfplotsset{width=12cm,compat=1.9}
\usepackage{pst-func}
\psset{unit=2cm}

\usepackage[english]{babel}

\usepackage{hyperref}
\hypersetup{colorlinks=true,urlcolor=blue,citecolor=blue,linkcolor=red}

\addbibresource{biblatex-examples.bib}

\begin{document}

This is a sample \citep{knuth:ct}.


\printbibliography

\end{document}
票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/69680489

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档