书目宽度太窄

书目宽度太窄

我的书目有问题。宽度太窄,看起来很奇怪。我怎样才能将书目的宽度改为全宽?

这里是我的 LaTeX 代码的摘要:

\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[numbers]{natbib}
\usepackage[margin=3cm]{geometry}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage[rightcaption]{sidecap}
\usepackage{wrapfig}
\usepackage{tabularx}
\usepackage{bbm}
\graphicspath{ {./plots/} }
...
content of the file
...
\bibliographystyle{plainnat}
\bibliography{references}

在此处输入图片描述

编辑:嗨,感谢您的第一条评论!

在我的文档中,最后有这样一段话:

\begin{wraptable}{r}{0.6\textwidth}
\caption{Caption}
\label{tab:strategy_explanation}
\begin{tabularx}{0.6\textwidth}{lX}
\toprule
Strategy &   Description \\
\midrule
Cell 1 &   Cell 2  \\
\bottomrule
\end{tabularx}
\end{wraptable}

这是我的代码的可编译版本:

主文本

\documentclass[11pt]{article}
\usepackage[utf8]{inputenc}
\usepackage[numbers]{natbib}
\usepackage[margin=3cm]{geometry}
\usepackage{booktabs}
\usepackage{graphicx}
\usepackage[rightcaption]{sidecap}
\usepackage{wrapfig}
\usepackage{tabularx}
\usepackage{bbm}
\graphicspath{ {./plots/} }
\begin{document}
\tableofcontents
\pagebreak
\section{Introduction}
\begin{wraptable}{r}{0.6\textwidth}
\caption{caption}
\label{tab:strategy_explanation}
\begin{tabularx}{0.6\textwidth}{lX}
\toprule
Strategy &   Description \\
\midrule
Cell 1                &  Cell 2  \\
Cell 1                &  Cell 2  \\
Cell 1                &  Cell 2  \\
Cell 1                &  Cell 2  \\
Cell 1                &  Cell 2  \\
Cell 1                &  Cell 2  \\
Cell 1                &  Cell 2  \\
Cell 1                &  Cell 2  \\
Cell 1                &  Cell 2  \\
Cell 1                &  Cell 2  \\
Cell 1                &  Cell 2  \\
Cell 1                &  Cell 2  \\
Cell 1                &  Cell 2  \\
Cell 1                &  Cell 2  \\
Cell 1                &  Cell 2  \\
Cell 1                &  Cell 2  \\
\bottomrule
\end{tabularx}
\end{wraptable}

test cite: \cite{Irvin2019}

\pagebreak

\bibliographystyle{plainnat}
\bibliography{references}

\end{document}

这是 references.bib

@article{Irvin2019,
title = {{CheXpert: A Large Chest Radiograph Dataset with Uncertainty Labels and Expert Comparison}},
year = {2019},
journal = {Proceedings of the AAAI Conference on Artificial Intelligence},
author = {Irvin, Jeremy and Rajpurkar, Pranav and Ko, Michael and Yu, Yifan and Ciurea-Ilcus, Silviana and Chute, Chris and Marklund, Henrik and Haghgoo, Behzad and Ball, Robyn and Shpanskaya, Katie and Seekins, Jayne and Mong, David A. and Halabi, Safwan S. and Sandberg, Jesse K. and Jones, Ricky and Larson, David B. and Langlotz, Curtis P. and Patel, Bhavik N. and Lungren, Matthew P. and Ng, Andrew Y.},
month = {1},
pages = {590--597},
volume = {33},
url = {https://arxiv.org/abs/1901.07031 http://arxiv.org/abs/1901.07031},
doi = {10.1609/aaai.v33i01.3301590},
issn = {2159-5399},
arxivId = {1901.07031}
 }

答案1

此处的根本问题是,参考书目被定义为列表,而参考书目前面是使用包输入的“包装”表\wraptablewrapfigure其结果是将可用于设置参考书目条目的宽度缩小到适合表格左侧窄列的宽度。

wrapfigure据记录, 该包与任何列表环境不兼容。

尝试插入 来打破不必要的关联\newpage,但没有达到预期效果。用 替换 确实\clearpage取得了预期效果,恢复了参考书目使用的全页宽度。

\newpage和之间有什么区别\clearpage?除了继续进入新页面外,\clearpage还会强制解析所有待处理的浮动,然后再继续。除此之外,这还会将页面宽度恢复到正常值。

相关内容