Skip to content

Commit

Permalink
Format code
Browse files Browse the repository at this point in the history
  • Loading branch information
zepinglee committed Oct 13, 2020
1 parent 17853e5 commit 025cf86
Showing 1 changed file with 17 additions and 17 deletions.
34 changes: 17 additions & 17 deletions thuthesis.dtx
Original file line number Diff line number Diff line change
Expand Up @@ -2502,6 +2502,23 @@
\thu@option@hook{main-language}{\thu@set@indent}
% \end{macrocode}
%
% 设置 url 样式,与上下文一致
% \begin{macrocode}
\urlstyle{same}
% \end{macrocode}
%
% 使用 \pkg{xurl} 的方法,增加 URL 可断行的位置。
% \begin{macrocode}
\g@addto@macro\UrlBreaks{%
\do0\do1\do2\do3\do4\do5\do6\do7\do8\do9%
\do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M
\do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z
\do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l\do\m
\do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z
}
\Urlmuskip=0mu plus 0.1mu
% \end{macrocode}
%
% 取消列表的间距,以符合中文习惯。
% \begin{macrocode}
\partopsep=\z@skip
Expand Down Expand Up @@ -2615,23 +2632,6 @@
}
% \end{macrocode}
%
% 设置 url 样式,与上下文一致
% \begin{macrocode}
\urlstyle{same}
% \end{macrocode}
%
% 使用 \pkg{xurl} 的方法,增加 URL 可断行的位置。
% \begin{macrocode}
\g@addto@macro\UrlBreaks{%
\do0\do1\do2\do3\do4\do5\do6\do7\do8\do9%
\do\A\do\B\do\C\do\D\do\E\do\F\do\G\do\H\do\I\do\J\do\K\do\L\do\M
\do\N\do\O\do\P\do\Q\do\R\do\S\do\T\do\U\do\V\do\W\do\X\do\Y\do\Z
\do\a\do\b\do\c\do\d\do\e\do\f\do\g\do\h\do\i\do\j\do\k\do\l\do\m
\do\n\do\o\do\p\do\q\do\r\do\s\do\t\do\u\do\v\do\w\do\x\do\y\do\z
}
\Urlmuskip=0mu plus 0.1mu
% \end{macrocode}
%
%
% \subsubsection{数学相关}
% \label{sec:equation}
Expand Down

0 comments on commit 025cf86

Please sign in to comment.