Skip to content

Commit ab9f1aa

Browse files
authored
Merge pull request #48 from Lancern/master
Set TeX typesetting parameters to make sure all paragraphs are well typesetted
2 parents af1ff61 + 819da36 commit ab9f1aa

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)