如何删除长列表表格造成的空白页

如何删除长列表表格造成的空白页

我在论坛中搜索并阅读了相关帖子,但没有找到可以让空白页消失的解决方案。我使用

  \nopagebreak[0]

以前,它可以工作,但我不知道为什么当我将打印类型从双面更改为单面时它不再工作了。

=======================================================

我知道空白页从哪里出来,可以通过删除“缩写列表”中的一行来删除它,但我仍然需要所有信息。有没有办法去除空白页,同时保留缩写列表中的所有信息?

\documentclass[a4paper, 12pt, headsepline,DIV=12,oneside]{report}
\usepackage{mathptmx} %times new roman font
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[backend=bibtex,
        style=numeric,natbib=true,sorting=none]{biblatex}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{parskip}
\usepackage{array}
\usepackage{float}
\usepackage{textcomp}
\usepackage{csquotes}
\usepackage{scrpage2}     
\pagestyle{scrheadings}   
\clearscrheadfoot         
\automark[section]{chapter}   
\ohead{\pagemark}              
\ihead{\headmark}           
\usepackage[normalem]{ulem}
\usepackage{blindtext}
\usepackage{array, booktabs, caption}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{ltxtable}
\setlength{\tabcolsep}{10pt}
\renewcommand{\arraystretch}{1.5}
\usepackage{longtable}
\setlength{\tabcolsep}{13pt}
\renewcommand{\arraystretch}{1.5}
\usepackage{lipsum}

\begin{document}
\setcounter{secnumdepth}{-1}
\pagestyle{empty}
\pagestyle{scrheadings}
\pagenumbering{roman}   
\chapter{Abstract}
\blindtext
\nopagebreak[0]
\chapter{List of Abbreviations}
\thispagestyle{plain}
\begin{tabular}{ll}
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\  
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
 \end{tabular}%
 \label{tab:addlabel}%
 \lipsum[1-0]
 \setcounter{secnumdepth}{3}    
 \tableofcontents
 \clearpage
 \pagenumbering{arabic} 
 \chapter{Chapter1}
 \blindtext
 \pagenumbering{roman}  
 \setcounter{page}{10}
 \end{document}

感谢您的帮助!

答案1

如果你真的想在一页上再多挤一行,你可以使用\enlargethispage{}。如果你要添加更多条目,你应该研究一下分页的表格,例如longtable

\documentclass[a4paper, 12pt, headsepline,DIV=12,oneside]{report}
\usepackage{mathptmx} %times new roman font
\usepackage[english]{babel}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[backend=bibtex,
        style=numeric,natbib=true,sorting=none]{biblatex}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\usepackage{parskip}
\usepackage{array}
\usepackage{float}
\usepackage{textcomp}
\usepackage{csquotes}
\usepackage{scrpage2}     
\pagestyle{scrheadings}   
\clearscrheadfoot         
\automark[section]{chapter}   
\ohead{\pagemark}              
\ihead{\headmark}           
\usepackage[normalem]{ulem}
\usepackage{blindtext}
\usepackage{array, booktabs, caption}
\usepackage{multicol}
\usepackage{multirow}
\usepackage{ltxtable}
\setlength{\tabcolsep}{10pt}
\renewcommand{\arraystretch}{1.5}
\usepackage{longtable}
\setlength{\tabcolsep}{13pt}
\renewcommand{\arraystretch}{1.5}
\usepackage{lipsum}

\begin{document}
\setcounter{secnumdepth}{-1}
\pagestyle{empty}
\pagestyle{scrheadings}
\pagenumbering{roman}   
\chapter{Abstract}
\blindtext
\nopagebreak[0]
\chapter{List of Abbreviations}
\thispagestyle{plain}
\enlargethispage{1em}
\begin{tabular}{ll}
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\  
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
ABS   & Anti-lock Brake System \\ 
 \end{tabular}%
 \label{tab:addlabel}%
 \lipsum[1-0]
 \setcounter{secnumdepth}{3}    
 \tableofcontents
 \clearpage
% \pagenumbering{arabic} 
 \chapter{Chapter1}
 \blindtext
 \end{document}

答案2

您可以尝试使用\input它来代替,\include因为它不包含\pagebreak您不应该遇到空白页问题。

相关内容