Skip to content

Commit 819da36

Browse files
committed
Set TeX typesetting parameters to make sure all paragraphs are well typesetted.
1 parent 5b4ea2d commit 819da36

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

graduation-thesis/main.tex

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -176,6 +176,12 @@
176176
\renewcommand{\thetable}{\thechapter-\arabic{table}}
177177
\captionsetup[table]{font=small,labelsep=space,skip=2pt}
178178

179+
% 调整底层 TeX 排版引擎参数以保证所有段落能够很好地以两端对齐的方式呈现
180+
\tolerance=1
181+
\emergencystretch=\maxdimen
182+
\hyphenpenalty=10000
183+
\hbadness=10000
184+
179185
% 设置数学公式编号格式
180186
\renewcommand{\theequation}{\arabic{chapter}-\arabic{equation}}
181187

0 commit comments

Comments
 (0)