使用 \cite 中的方括号或圆括号,使用 \usepackage{biblatex-chicago}

使用 \cite 中的方括号或圆括号,使用 \usepackage{biblatex-chicago}

在此处输入图片描述

我想将方括号或圆括号与 \cite\usepackage{biblatex-chicago}一起使用\usepackage{polyglossia}

因为当我使用时\usepackage{hyperref},就会出现错误。

代码如下:

\begin{filecontents}{\jobname.bib}
@inbook{hall2012teaching,
author      = "Hall, J.K.",
title       = "Teaching and Researching: Language and Culture",
series={Applied Linguistics in Action},
editor      = "Christopher N Candin and David R Hall",
booktitle   = "Applied Linguistics in Action",
publisher   = "Taylor \& Francis",
%  address     = "Oxford",
year        = 2012,
pages       = "30-36",
chapter     = 2,
}
\end{filecontents}
\documentclass[12pt,oneside]{Thesis} 
\usepackage{filecontents}
\usepackage{enumerate}
\usepackage[shortlabels]{enumitem}
\usepackage{xcolor}
\usepackage{tabularx} % in the preamble
\usepackage{graphicx}
\usepackage[table,xcdraw]{xcolor}
\usepackage{tipa}
\usepackage{csquotes}
\usepackage[authordate16,backend=biber]{biblatex-chicago}
\usepackage{polyglossia}% the document is in English
\setdefaultlanguage{english}
 \setotherlanguage{urdu}   % with some bits in Urdu
 % the following line specifies Urdu font and its location
 %\usepackage[T1]{fontenc}
\usepackage{fontspec}
\setmainfont{Times New Roman}
\newfontfamily{\urdufont}[Script=Arabic]{Jameel Noori Nastaleeq.ttf}
\usepackage{adjustbox}
\addbibresource{\jobname.bib}

\begin{document}
He gives an overview on the nature of language and culture by demonstrating 
the function of language in constructing our social identities in real world 
settings~\cite[p. 30-36]{hall2012teaching}.

\printbibliography
\end{document}

答案1

通常biblatex,您可以使用\parencite括号中的引用(如伯纳德 在评论中)。如果您喜欢使用括号内的引用风格,我强烈建议您使用\autocite并告知biblatex在必要时使用括号内引用\autocite(括号内的引用\autocite已经是biblatex-chicago作者-日期格式的默认设置,因此您无需执行任何其他操作)。

注意polyglossia 必须在 之前加载biblatex(或)。在较新版本中,如果您在 之后biblatex-chicago加载,则会收到错误。在较旧版本中,某些功能可能无法按预期工作。polyglossiabiblatex

\documentclass[12pt,oneside]{article} 

\usepackage{fontspec}

% polyglossia must be loaded before biblatex
\usepackage{polyglossia}
\setdefaultlanguage{english}
\setotherlanguage{urdu}

\usepackage{csquotes}
\usepackage[authordate16,backend=biber]{biblatex-chicago}

\begin{filecontents}{\jobname.bib}
@inbook{hall2012teaching,
  author      = {Hall, J. K.},
  title       = {Teaching and Researching: Language and Culture},
  editor      = {Christopher N. Candin and David R. Hall},
  booktitle   = {Applied Linguistics in Action},
  publisher   = {Taylor \& Francis},
  %  address  = {Oxford},
  year        = 2012,
  pages       = {30-36},
  chapter     = 2,
  series      = {Applied Linguistics in Action},
}
\end{filecontents}
\addbibresource{\jobname.bib}

\begin{document}
He gives an overview on the nature of language and culture by demonstrating 
the function of language in constructing our social identities in real world 
settings~\autocite[30-36]{hall2012teaching}.

\printbibliography
\end{document}

他通过展示语言在现实世界中构建我们的社会身份的作用,概述了语言和文化的本质(Hall 2012,30-36)。

还要注意,我使用article的例子而不是\documentclass[12pt,oneside]{Thesis},因为有太多的论文类,不知道你使用了哪一个。

相关内容