如何在 displayquote 环境中添加

如何在 displayquote 环境中添加

我尝试在 displayquote 环境中添加 [...],但是却得到了奇怪的结果:

\begin{displayquote}
[...]feedback was least effective when it focused on the task in hand, 
and more effective when it focused on the details at hand, and most
effective when it focused on the details of the task and involved
goal-setting (\citeNP[s. 140]{will10})
\end{displayquote}

这是我得到的输出:

当反馈集中于手头的任务时,其效果最差;当反馈集中于手头的细节时,其效果较佳;而当反馈集中于任务的细节并涉及目标设定时,其效果最佳。(William,2010,第 140 节)(...)

我如何在引文中添加语法 [...]?

这是一个“最小代码示例”:

主文件(链接子文件,即章节 - 文件名:main.tex)

\documentclass[12pt,twoside,onecolumn]{article}
\usepackage{a4}
\usepackage[margin=0.9in]{geometry}
\usepackage{pdfpages}
\usepackage{apacite}
\usepackage{jneurosci}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[norsk]{babel}
\usepackage{subfiles}
\usepackage{graphicx}
\usepackage{url}
\usepackage{amsmath} 
\usepackage{relsize}
\usepackage{amssymb} 
\usepackage{tocbibind}
\usepackage{fixltx2e}
\usepackage{perpage}
\usepackage{csquotes}
\usepackage{epigraph}
\usepackage{ragged2e}

\MakePerPage{footnote}

\addto\captionsenglish{%
  \renewcommand{\figurename}{Figur}
}

\makeatletter
\def\@documentnocite#1{\@bsphack
  \@for\@citeb:=#1\do{%
    \edef\@citeb{\expandafter\@firstofone\@citeb}%
    \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
    \@ifundefined{b@\@citeb}{\G@refundefinedtrue
      \@latex@warning{Citation `\@citeb' undefined}}{}}%
  \@esphack}
\AtBeginDocument{\let\nocite\@documentnocite}
\makeatother

\begin{document}
\pagenumbering{roman} 

\subfile{chapter3}

\subfile{biblo}

\end{document}

我尝试引用的章节 [...](文件名 chapter3.tex)

\documentclass[main.tex]{subfiles} 
\begin{document}
\begin{displayquote}
[...]feedback was least effective when it focused on the task in hand, and more effective when it focused on the details
at hand, and most effective when it focused on the details of the task and involved goal-setting.
(\citeNP[s. 140]{will10})
\end{displayquote}
\end{document}

参考书目(文件名:biblo.tex):

\documentclass[main.tex]{subfiles} 

\begin{document}
\bibliographystyle{apacite}
\bibliography{database}
\nocite{*}
\end{document}

书目数据库(文件名:database.bib):

@incollection{will10,
  author  = "Dylan William",
  editor  = "H. Dumont and D. Istance and F. Benavides",
  title   = "The {R}ole of {F}ormative {A}ssessments in {E}ffective {L}earning {E}nvironments",
  booktitle = "{T}he {N}ature og {L}earning. {U}sing {R}esearch to {I}nspire {P}ractice.",
  year = "2010",
  pages = "153--159",
  isbn = 9789264086470,
  publisher = "{O}{E}{C}{D} {P}ublishing"
}

答案1

有一个针对csquotes定义环境的特定命令来打印省略号,它是\textelp。您可以在包文档中进一步研究它。

尽管如此

\documentclass[12pt,twoside,onecolumn,a4]{article}
\usepackage[margin=0.9in]{geometry}
\usepackage{pdfpages}
\usepackage{apacite}
\usepackage{jneurosci}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage[norsk]{babel}
\usepackage{subfiles}
\usepackage{graphicx}
\usepackage{url}
\usepackage{amsmath} 
\usepackage{relsize}
\usepackage{amssymb} 
\usepackage{tocbibind}
\usepackage{perpage}
\usepackage{csquotes}
\usepackage{epigraph}
\usepackage{ragged2e}

\MakePerPage{footnote}

\addto\captionsenglish{%
  \renewcommand{\figurename}{Figur}
}

\makeatletter
\def\@documentnocite#1{\@bsphack
  \@for\@citeb:=#1\do{%
    \edef\@citeb{\expandafter\@firstofone\@citeb}%
    \if@filesw\immediate\write\@auxout{\string\citation{\@citeb}}\fi
    \@ifundefined{b@\@citeb}{\G@refundefinedtrue
      \@latex@warning{Citation `\@citeb' undefined}}{}}%
  \@esphack}
\AtBeginDocument{\let\nocite\@documentnocite}
\makeatother

\begin{document}
\begin{displayquote}[]
\textelp{} feedback was least effective when it focused on the task in hand, and more effective when it focused on the details
at hand, and most effective when it focused on the details of the task and involved goal-setting.
(\citeNP[s. 140]{will10})
\end{displayquote}
\end{document}

印刷:

在此处输入图片描述

相关内容