我有这样的序言:
\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}
\binoppenalty=10000
\relpenalty=10000
\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 厘米,但当我禁止所有单词的连字符时,边框增大,文本开始超出范围:
如何解决这个问题?请帮忙。
答案1
microtype
可以帮助缓解这个问题,如果其他方法都失败了,\sloppy
会将丑陋的过满的水平盒子转换成丑陋的过大的单词间距。