我的文档中有些行变得非常“冗长”。这是我的序言:
\documentclass[bachelor, subf]{gost732}
\usepackage[a4paper,includefoot,
left=3.5cm, right=1cm,
top=2cm, bottom=2cm,
headsep=1cm, footskip=1cm]{geometry}
\usepackage[T2A]{fontenc}
\usepackage[cp1251]{inputenc}
\usepackage[english]{babel}
\setcounter{tocdepth}{2}
\usepackage{tikz}
\usepackage{tabularx}
\usepackage{graphics}
\usepackage{afterpage}
\usepackage{pscyr}
\usepackage[14pt]{extsizes}
\usepackage[perpage,symbol]{footmisc}
\usepackage{enumitem}
\binoppenalty=10000
\relpenalty=10000
\renewcommand{\labelenumii}{\arabic{enumi}.\arabic{enumii}.}
\renewcommand{\thechapterfont}{\normalsize\bfseries}
\renewcommand{\prethechapter}{}
\renewcommand{\postthechapter}{.~}
\renewcommand{\appendixfont}{\normalsize\bfseries}
\renewcommand{\chapterfont}{\normalsize\bfseries}
\renewcommand{\sectionfont}{\normalsize\bfseries}
\renewcommand{\subsectionfont}{\normalsize\bfseries}
\renewcommand{\subsubsectionfont}{\normalsize\bfseries}
\renewcommand{\theappendixalign}{\hfill}
\renewcommand{\theappendix}{\arabic{chapter}}
\renewcommand{\pretheappendix}{\protect{Attachment}~}
\renewcommand{\tocpretheappendix}{\protect{Attachment}~}
\renewcommand{\introname}{Introduction}
\renewcommand{\sectionindent}{1cm}
\renewcommand{\subsectionindent}{1cm}
\renewcommand{\aftersection}{6pt plus .1pt}
\renewcommand{\aftersubsection}{3pt plus .1pt}
\renewcommand{\conclusionname}{Conclusion}
\ifpdf\usepackage{epstopdf}\fi
\def\headfont{\small}
\pagestyle{headcenter}
\chapterpagestyle{empty}
\makeatletter
\renewcommand{\@biblabel}[1]{#1.\hfil}
\makeatother
\hyphenpenalty=10000
这是一个例子。我注意到,当行后有新的缩进时,行会变得非常“拉伸”。为什么它们会这么“拉伸”?
答案1
看起来好像您正在使用\linebreak
来结束段落;如果是这种情况,请删除这些\linebreak
命令并留下一个空白行,或使用\par
来结束段落。