我正在使用apacite
BibTeX 创建参考书目/参考文献部分。但是,在其中一个条目之后,有一个额外的空白行。如果我删除空白行上方条目最后一行的一个字符,该行就会消失,但我需要保留所有字符。此外,这不是我第一次遇到这种情况,所以我想找到一种方法来自动(以编程方式)解决它。
以下是我正在做的事情:
\documentclass[12pt, man]{apa6}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{placeins}
\usepackage{pdflscape}
\usepackage{dcolumn}
\usepackage [english]{babel}
\usepackage [autostyle, english = american]{csquotes}
\MakeOuterQuote{"}
\usepackage{apacite}
\author{NS}
\title{Title}
\shorttitle{Short Title}
\begin{document}
\maketitle
\section{Introduction}
This is a sentence \cite{Steif2004}. This is another \cite{AtesCataloglu2007}. And one more \cite{Dewey1997}. Website \cite{GravityLightn.d.}. Book section \cite{Lave1991}. Electronic book \cite{Learningn.d.}.
\medskip
\bibliographystyle{apacite}
\bibliography{test5.bib}
\end{document}
这是我的.bib 文件的相关部分。
@Article{AtesCataloglu2007,
author = {Ates, Salih and Cataloglu, Erdat},
title = {The effects of students' cognitive styles on conceptual understandings and problem-solving skills in introductory mechanics},
journal = {Research in Science \& Technological Education},
year = {2007},
volume = {25},
number = {2},
pages = {167-178},
doi = {10.1080/02635140701250618}
}
@Misc{Steif2004,
author = {Steif, Paul S.},
title = {Initial data from a statics concept inventory},
howpublished = {Paper presented at ASEE Annual Conference and Exposition},
year = {2004},
address = {Salt Lake City, UT},
url = {https://peer.asee.org/13849}
}
@Book{Dewey1997,
title = {Experience and education},
publisher = {Touchstone},
year = {1997},
author = {Dewey, John},
address = {New York, NY}
}
任何建议将不胜感激!!
答案1
一种可能性是添加到您的序言中(参见下面的 MWE)。另一种可能性是使用命令或更好的\usepackage{microtype}
方法仅左对齐打印参考书目(需要加载包)。\raggedright
\RaggedRight
ragged2e
梅威瑟:
\RequirePackage{filecontents}
\begin{filecontents*}{\jobname.bib}
@Article{AtesCataloglu2007,
author = {Ates, Salih and Cataloglu, Erdat},
title = {The effects of students' cognitive styles on conceptual
understandings and problem-solving skills in introductory
mechanics},
journal = {Research in Science \& Technological Education},
year = {2007},
volume = {25},
number = {2},
pages = {167--178},
doi = {10.1080/02635140701250618},
}
@Misc{Steif2004,
author = {Steif, Paul S.},
title = {Initial data from a statics concept inventory},
howpublished = {Paper presented at ASEE Annual Conference and Exposition},
year = {2004},
address = {Salt Lake City, UT},
url = {https://peer.asee.org/13849},
}
@Book{Dewey1997,
title = {Experience and education},
publisher = {Touchstone},
year = {1997},
author = {Dewey, John},
address = {New York, NY},
}
\end{filecontents*}
\documentclass[12pt, man]{apa6}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage[%
autostyle,
english = american
]{csquotes}
\MakeOuterQuote{"}
\usepackage{microtype} % <==============================================
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphicx}
\usepackage{placeins}
\usepackage{pdflscape}
\usepackage{dcolumn}
\usepackage{apacite}
\usepackage{showframe}
\author{NS}
\title{Title}
\shorttitle{Short Title}
\begin{document}
\maketitle
\section{Introduction}
This is a sentence \cite{Steif2004}.
This is another \cite{AtesCataloglu2007}.
And one more \cite{Dewey1997}.
Website %\cite{GravityLightn.d.}. Book section \cite{Lave1991}. Electronic book \cite{Learningn.d.}.
\medskip
\bibliographystyle{apacite}
\bibliography{\jobname} % test5.bib
\end{document}
结果:
添加\RaggedRight
\usepackage{ragged2e}
你的序言和使用
{\RaggedRight
\bibliographystyle{apacite}
\bibliography{\jobname} % test5.bib
}
仅打印左对齐的参考书目。