diff options
author | Norbert Preining <preining@logic.at> | 2021-04-05 01:43:33 +0000 |
---|---|---|
committer | Norbert Preining <preining@logic.at> | 2021-04-05 01:43:33 +0000 |
commit | a0c34b582e3f057d294123f01f48c36394602785 (patch) | |
tree | 8860ec4f46c34d0e188d0b02fa6d654a4d2c12a5 /Master/texmf-dist/doc/latex/thuthesis | |
parent | 2e5fcbba355cdc61c85c2d0c67db185c51d462f0 (diff) |
thuthesis (5apr21)
git-svn-id: svn://tug.org/texlive/trunk@58750 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/latex/thuthesis')
-rw-r--r-- | Master/texmf-dist/doc/latex/thuthesis/CHANGELOG.md | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex | 48 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/thuthesis/ref/refs.bib | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/thuthesis/spine.pdf | bin | 24008 -> 23815 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/thuthesis/thusetup.tex | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.pdf | bin | 399314 -> 405628 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf | bin | 1139361 -> 1144457 bytes |
7 files changed, 56 insertions, 12 deletions
diff --git a/Master/texmf-dist/doc/latex/thuthesis/CHANGELOG.md b/Master/texmf-dist/doc/latex/thuthesis/CHANGELOG.md index 1b80aec4979..2532ff0458c 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/CHANGELOG.md +++ b/Master/texmf-dist/doc/latex/thuthesis/CHANGELOG.md @@ -6,6 +6,18 @@ ## [Unreleased] +## [v7.2.2] - 2021-04-03 +### Changed +- 修改授权说明的内容和格式,同 2020 年 12 月版 Word 模板一致(#625)。 +- 去掉参考文献的页码前与冒号之间的空格,同步 2020 年 3 月版《指南》的格式修改(#629)。 +- 著者-出版年制参考文献表的著者姓名与年份之间改为逗号。 + +### Fixed +- 修正图表等浮动体与文字之间的距离(#614、#617)。 +- 修正表格、算法等浮动体的行距(#619)。 +- 修正了上标式引用后与中文之间多余的空格(#624)。 +- 修正了参考文献的姓名或年份中含有中括号时的引用错误(#630)。 + ## [v7.2.1] - 2021-03-21 ### Added - 在文档中添加更多关于数学公式样式的说明。 @@ -674,7 +686,8 @@ -[Unreleased]: https://github.com/tuna/thuthesis/compare/v7.2.1...HEAD +[Unreleased]: https://github.com/tuna/thuthesis/compare/v7.2.2...HEAD +[v7.2.2]: https://github.com/tuna/thuthesis/compare/v7.2.1...v7.2.2 [v7.2.1]: https://github.com/tuna/thuthesis/compare/v7.2.0...v7.2.1 [v7.2.0]: https://github.com/tuna/thuthesis/compare/v7.1.0...v7.2.0 [v7.1.0]: https://github.com/tuna/thuthesis/compare/v7.0.0...v7.1.0 diff --git a/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex b/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex index 8d6c2b070ec..d084a3ccc2d 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/data/chap02.tex @@ -140,14 +140,42 @@ Row 38 & & & \\ Row 39 & & & \\ Row 40 & & & \\ - Row 41 & & & \\ - Row 42 & & & \\ - Row 43 & & & \\ - Row 44 & & & \\ - Row 45 & & & \\ - Row 46 & & & \\ - Row 47 & & & \\ - Row 48 & & & \\ - Row 49 & & & \\ - Row 50 & & & \\ \end{longtable} + + + +\section{算法} + +算法环境可以使用 \pkg{algorithms} 或者 \pkg{algorithm2e} 宏包。 + +\renewcommand{\algorithmicrequire}{\textbf{输入:}\unskip} +\renewcommand{\algorithmicensure}{\textbf{输出:}\unskip} + +\begin{algorithm} + \caption{Calculate $y = x^n$} + \label{alg1} + \small + \begin{algorithmic} + \REQUIRE $n \geq 0 \vee x \neq 0$ + \ENSURE $y = x^n$ + + \STATE $y \leftarrow 1$ + \IF{$n < 0$} + \STATE $X \leftarrow 1 / x$ + \STATE $N \leftarrow -n$ + \ELSE + \STATE $X \leftarrow x$ + \STATE $N \leftarrow n$ + \ENDIF + + \WHILE{$N \neq 0$} + \IF{$N$ is even} + \STATE $X \leftarrow X \times X$ + \STATE $N \leftarrow N / 2$ + \ELSE[$N$ is odd] + \STATE $y \leftarrow y \times X$ + \STATE $N \leftarrow N - 1$ + \ENDIF + \ENDWHILE + \end{algorithmic} +\end{algorithm} diff --git a/Master/texmf-dist/doc/latex/thuthesis/ref/refs.bib b/Master/texmf-dist/doc/latex/thuthesis/ref/refs.bib index 4ca6bccded1..7c397888d50 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/ref/refs.bib +++ b/Master/texmf-dist/doc/latex/thuthesis/ref/refs.bib @@ -316,7 +316,6 @@ @online{oclc2000about, author = {{Online Computer Library Center, Inc}}, title = {About {OCLC}: History of Cooperation}, - year = {2000}, urldate = {2000-01-08}, url = {http://www.oclc.org/about/cooperation.en.htm}, } diff --git a/Master/texmf-dist/doc/latex/thuthesis/spine.pdf b/Master/texmf-dist/doc/latex/thuthesis/spine.pdf Binary files differindex a029427c310..17f54571d32 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/spine.pdf +++ b/Master/texmf-dist/doc/latex/thuthesis/spine.pdf diff --git a/Master/texmf-dist/doc/latex/thuthesis/thusetup.tex b/Master/texmf-dist/doc/latex/thuthesis/thusetup.tex index 768e67c27f1..dc74d148bdf 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/thusetup.tex +++ b/Master/texmf-dist/doc/latex/thuthesis/thusetup.tex @@ -135,6 +135,10 @@ % 跨页表格 \usepackage{longtable} +% 算法 +\usepackage{algorithm} +\usepackage{algorithmic} + % 量和单位 \usepackage{siunitx} diff --git a/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.pdf b/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.pdf Binary files differindex 2e03185e82b..e994bb2e6dd 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.pdf +++ b/Master/texmf-dist/doc/latex/thuthesis/thuthesis-example.pdf diff --git a/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf b/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf Binary files differindex b1700ca1d31..ff10a7f10f9 100644 --- a/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf +++ b/Master/texmf-dist/doc/latex/thuthesis/thuthesis.pdf |