Compare commits
159 Commits
v3.09
...
083a52026c
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
083a52026c | ||
|
|
81bc14a063 | ||
|
|
f9f002a586 | ||
|
|
56f3042066 | ||
|
|
4611cd6d7b | ||
|
|
ea643e3783 | ||
|
|
ba69287a64 | ||
|
|
5d8a544e0e | ||
|
|
9b8b09df54 | ||
|
|
99eb12f4c4 | ||
|
|
cf516c7f2e | ||
|
|
ecf5bf6309 | ||
|
|
a495c98ca4 | ||
|
|
e4c102f011 | ||
|
|
aeefa43d01 | ||
|
|
81bf10a58b | ||
|
|
94152955a2 | ||
|
|
d7febb69f7 | ||
|
|
85176416ad | ||
|
|
4c9ca031d8 | ||
|
|
4cc89482f8 | ||
|
|
f91390ddfc | ||
|
|
35f058868e | ||
|
|
4949004371 | ||
|
|
ccb5464463 | ||
|
|
b1585deeb9 | ||
|
|
48f19691fc | ||
|
|
5b410a1cff | ||
|
|
3f7c85e5c7 | ||
|
|
5c0f54819a | ||
|
|
81a25970e8 | ||
|
|
63d0dda991 | ||
|
|
921777db03 | ||
|
|
3c6c0f163c | ||
|
|
b3108df9c2 | ||
|
|
083483f7b5 | ||
|
|
b1f7d7b30d | ||
|
|
db7fd517dd | ||
|
|
6f2173674f | ||
|
|
d11253214e | ||
|
|
943493a29c | ||
|
|
61b911ebd6 | ||
|
|
02bc4225fb | ||
|
|
c0bdf12916 | ||
|
|
4a764ff1f2 | ||
|
|
3545a46449 | ||
|
|
7f1dedd79f | ||
|
|
7506140be9 | ||
|
|
f9b2d0eb80 | ||
|
|
d2c10a1d02 | ||
|
|
3f77eb1adc | ||
|
|
4955628d8c | ||
|
|
acc71ecea2 | ||
|
|
eb233e4309 | ||
|
|
34e2225019 | ||
|
|
91f5e46c94 | ||
|
|
6a60b16e14 | ||
|
|
909fb2c997 | ||
|
|
c669c4a263 | ||
|
|
53547c11e4 | ||
|
|
093c73e4c9 | ||
|
|
3d0f25cc6a | ||
|
|
a7e5c032c5 | ||
|
|
bf40203c9f | ||
|
|
b518213c77 | ||
|
|
71c0f9e1a5 | ||
|
|
d40cb2c42e | ||
|
|
6c64e5900b | ||
|
|
3bebe9697f | ||
|
|
30a916c26c | ||
|
|
61ac6a08c4 | ||
|
|
f123c6a83b | ||
|
|
e771b81dc8 | ||
|
|
f75907371d | ||
|
|
f192cf44fa | ||
|
|
ce87722d38 | ||
|
|
01951eeb28 | ||
|
|
4e53474e6e | ||
|
|
cf755a0387 | ||
|
|
9092103354 | ||
|
|
303d2e5c9d | ||
|
|
a8123170ca | ||
|
|
5d02e85f01 | ||
|
|
9ef6a5bf5a | ||
|
|
d281e3e834 | ||
|
|
78fe2c7daf | ||
|
|
ae7a9ae8f6 | ||
|
|
c84f79922d | ||
|
|
6ab10beda8 | ||
|
|
09b71b9ab7 | ||
|
|
6924603f5c | ||
|
|
eecad6acf6 | ||
|
|
8ca2077cb4 | ||
|
|
083ef244ac | ||
|
|
f8729c63a9 | ||
|
|
c2a4b318ec | ||
|
|
fa2cf2f5f1 | ||
|
|
b6e1a2e8e3 | ||
|
|
bd16ebc36e | ||
|
|
b756eb2966 | ||
|
|
cf2dd78ad8 | ||
|
|
b62319de1f | ||
|
|
622b95d238 | ||
|
|
695157cd46 | ||
|
|
460a7f4b68 | ||
|
|
f34e05ff6d | ||
|
|
07ec82321f | ||
|
|
1dbf0eca16 | ||
|
|
0beebfc087 | ||
|
|
2450fad609 | ||
|
|
870a8c28d2 | ||
|
|
406f0a3d34 | ||
|
|
a1d2dedc13 | ||
|
|
ce8c1d582d | ||
|
|
b8c165a6b7 | ||
|
|
e9513f88da | ||
|
|
9505ac286f | ||
|
|
b5d556ec74 | ||
|
|
225d2416a5 | ||
|
|
e8cc07a13e | ||
|
|
a6830816e4 | ||
|
|
d03959f9d2 | ||
|
|
4f324f2ca9 | ||
|
|
b50d464206 | ||
|
|
3495afdd26 | ||
|
|
56a1795834 | ||
|
|
c366c01998 | ||
|
|
c23d12e635 | ||
|
|
6d60bf404e | ||
|
|
531532c837 | ||
|
|
195e2634e3 | ||
|
|
97a9668bd0 | ||
|
|
2d7e2f7d70 | ||
|
|
87f4d64810 | ||
|
|
16bcf11414 | ||
|
|
8c15cf9210 | ||
|
|
6d336e113e | ||
|
|
1a831740e6 | ||
|
|
4b2626d4f1 | ||
|
|
ada05e3415 | ||
|
|
fc1c639248 | ||
|
|
ad68db6337 | ||
|
|
39c6d631ae | ||
|
|
91d5839af2 | ||
|
|
6018efc5d6 | ||
|
|
824977a888 | ||
|
|
774825f729 | ||
|
|
811acb3660 | ||
|
|
6c077e8c2d | ||
|
|
ebaae39f46 | ||
|
|
e2a72bc70c | ||
|
|
d9c7afb6ba | ||
|
|
73486a8e88 | ||
|
|
ebd4909a8d | ||
|
|
9865cbb9f6 | ||
|
|
8508d62b62 | ||
|
|
99958b31cf | ||
|
|
c6a2863ca1 | ||
|
|
83732ec957 |
8
.gitattributes
vendored
Normal file
@@ -0,0 +1,8 @@
|
|||||||
|
* text=auto
|
||||||
|
*.tex text eol=lf
|
||||||
|
.gitignore text eol=lf
|
||||||
|
LICENSE text eol=lf
|
||||||
|
*.md text eol=lf
|
||||||
|
.gitattributes text eol=lf
|
||||||
|
*.cls text eol=lf
|
||||||
|
*.bib text eol=lf
|
||||||
3
.gitignore
vendored
@@ -11,8 +11,11 @@
|
|||||||
*.cb
|
*.cb
|
||||||
*.cb2
|
*.cb2
|
||||||
.*.lb
|
.*.lb
|
||||||
|
.DS_Store
|
||||||
|
clean.bat
|
||||||
elegant*-cn.pdf
|
elegant*-cn.pdf
|
||||||
elegant*-en.pdf
|
elegant*-en.pdf
|
||||||
|
*.dates
|
||||||
|
|
||||||
## Intermediate documents:
|
## Intermediate documents:
|
||||||
*.dvi
|
*.dvi
|
||||||
|
|||||||
77
README.md
@@ -1,79 +1,36 @@
|
|||||||
<!-- Author : Dongsheng Deng & Liam Huang-->
|
<!-- Author : Dongsheng Deng & Liam Huang & Ran Wang-->
|
||||||
<!-- Program Email: elegantlatex2e@gmail.com -->
|
<!-- Program Email: elegantlatex2e@gmail.com (inactive) & ranwang.osbert@outlook.com -->
|
||||||
|
|
||||||
# ElegantBook: An Elegant LaTeX Template for Books
|
[Github](https://github.com/ElegantLaTeX/ElegantBook) | [CTAN](https://ctan.org/pkg/elegantbook) | [Download](https://github.com/ElegantLaTeX/ElegantBook/releases) |
|
||||||
|
|
||||||
[Homepage](https://elegantlatex.org/) | [Github](https://github.com/ElegantLaTeX/ElegantBook) | [CTAN](https://ctan.org/pkg/elegantbook) | [Download](https://github.com/ElegantLaTeX/ElegantBook/releases) | [Wiki](https://github.com/ElegantLaTeX/ElegantBook/wiki) | [Weibo](https://weibo.com/elegantlatex)
|
   
|
||||||
|
|
||||||

|
-------
|
||||||

|
|
||||||

|
|
||||||

|
|
||||||
|
|
||||||
ElegantBook is designed for books. Just enjoy it! If you have any questions, suggestions or bug reports, you can create issues or contact us at elegantlatex2e@gmail.com.
|
# ElegantBook: 优美的 LaTeX 书籍模板 An Elegant LaTeX Template for Books
|
||||||
|
|
||||||
ElegantBook 是为 LaTeX 书籍写作而设计的模板,如果你有其他问题、建议或者报告 bug,可以提交 issues 或者给我们发邮件:elegantlatex2e@gmail.com。QQ 用户交流群:692108391,欢迎加入。
|
ElegantBook 是为 LaTeX 书籍写作而设计的模板,由 [Ethan Deng](https://github.com/EthanDeng) 和 [Liam Huang](https://github.com/Liam0205) 创立,而后由 [Ethan Deng](https://github.com/EthanDeng)、[乙醇](https://github.com/syvshc)和[死抠](https://github.com/sikouhjw)维护。自2026年起,由[啸行](https://github.com/OsbertWang)负责维护和发行。如果你有其他问题、建议或者报告 bug,可以提交 issues 或者加入我们的 QQ 用户交流群:692108391。
|
||||||
|
|
||||||
## 重要提示
|
ElegantBook is a template designed for LaTeX book writing, created by [Ethan Deng](https://github.com/EthanDeng) and [Liam Huang](https://github.com/Liam0205), and later maintained by [Ethan Deng](https://github.com/EthanDeng), [ethanol](https://github.com/syvshc), and [sikouhjw](https://github.com/sikouhjw). Since 2026, [Osbert Wang](https://github.com/OsbertWang) has been responsible for its maintenance and distribution. If you have any questions, suggestions, or need to report bugs, feel free to submit issues or join our QQ user group: 692108391.
|
||||||
|
|
||||||
**Version Note** Users for 2.x, please refer to [Version Convert](https://github.com/ElegantLaTeX/ElegantBook/wiki/convert).
|
**本模板自 2023 年 1 月 1 日起停止维护,并不建议使用,但鉴于用户群体庞大,自 2026 年起重新发布。为保证之前版本的用户仍能查阅说明文档,本说明文档保留了过往信息。**
|
||||||
|
|
||||||
**版本提醒:** 由于新版本进行了重构,并且 3.6 版本对于封面进行了改版,3.6 以后的版本并不兼容之前版本,如果你想把之前版本的文件转为 3.6 以后的版本,请查看[跨版本转换](https://github.com/ElegantLaTeX/ElegantBook/wiki/convert)。
|
**This template was discontinued as of January 1, 2023, and its use was not recommended. However, due to its large user base, it has been re-released since 2026. To ensure that users of previous versions can still access the documentation, this documentation retains past information.**
|
||||||
|
|
||||||
**Important Info** For some reasons, pull request is unacceptable since May 20, 2019. For those who want to help revise the templates, submit issues or clone to your own repository to modify under the constriction of LPPL-1.3c.
|
## 致谢 Acknowledgement
|
||||||
|
|
||||||
**重要提示:出于某些因素的考虑,ElegantLaTeX 项目自 2019 年 5 月 20 日开始,不再接受任何非作者预约性质的提交(pull request)!如果你想改进模板,你可以给我们提交 issue,或者可以在遵循协议的情况下,克隆到自己仓库下进行修改**。
|
特别感谢 [sikouhjw](https://github.com/sikouhjw) 和 [syvshc](https://github.com/syvshc) 长期以来对于 Github 上 issue 的快速回应,以及各个社区论坛对于 ElegantLaTeX 相关问题的回复。特别感谢 ChinaTeX 以及 [LaTeX 工作室](http://www.latexstudio.net/)对于本系列模板的大力宣传与推广。
|
||||||
|
|
||||||
|
Thank [sikouhjw](https://github.com/sikouhjw) and [syvshc](https://github.com/syvshc) for their quick response to Github issues and continuously support work for ElegantLaTeX community. Thank ChinaTeX and [LaTeX Studio](http://www.latexstudio.net/) for their promotion.
|
||||||
|
|
||||||
|
## 协议 License
|
||||||
|
|
||||||
## Acknowledgement 致谢
|
本模板发布遵循 LaTeX 项目公共许可证 1.3 c 或更高版本。
|
||||||
|
如果是衍生作品,请务必加入协议声明和模板信息(github、CTAN 地址)。
|
||||||
The number of stars on Github for ElegantBook reached 100 on May 20, 2019.
|
|
||||||
|
|
||||||
2019 年 5 月 20 日,ElegantBook 模板在 Github 上的 Star 数达到了 100,这对于 ElegantLaTeX 系列模板是一个非常重要的里程碑!
|
|
||||||
|
|
||||||
Thank ChinaTeX and [LaTeX Studio](http://www.latexstudio.net/) for their promotion. LaTeX studio offers tons of valuable posts and templates for discovery. It is the most comprehensive website on LaTeX in China. Thank [muzimuzhi](https://github.com/muzimuzhi) for the revision of the template.
|
|
||||||
|
|
||||||
在此特别感谢 ChinaTeX 以及 [LaTeX 工作室](http://www.latexstudio.net/)对于本系列模板的大力宣传与推广。LaTeX 工作室网站上有很多精彩的帖子和精致的模板,欢迎大家去挖掘里面的宝藏。这也是我所见到的国内最全面的 LaTeX 相关的网站。特别感谢 [muzimuzhi](https://github.com/muzimuzhi) 对于模板的完善。
|
|
||||||
|
|
||||||
If you like our template, star on Github.
|
|
||||||
|
|
||||||
如果你喜欢我们的模板,你可以在 Github 上收藏我们的模板。
|
|
||||||
|
|
||||||
|
|
||||||
## 捐赠
|
|
||||||
|
|
||||||
To express your love for our templates and/or our developers, please do not hesitate to tip us. Since last release of 3.08, we have received about a thousand RMB! (The emergence of a millionaire is on the way. Loading... )
|
|
||||||
|
|
||||||
如果您非常喜爱我们的模板或者我,你还可以选择捐赠以表达您对我们模板和我的支持。本模板自 3.08 版本发布了捐赠信息之后,收到了近千元的捐赠(四舍五入就是一个亿),非常感谢!
|
|
||||||
|
|
||||||

|
|
||||||
|
|
||||||
The explanation right of the tip usage belongs to ElegantLaTeX with no supervision. Feel free to tip us. Those who donate more than 10 RMB will be recorded in the Donation List. Thank all the tippers!
|
|
||||||
|
|
||||||
**赞赏费用的使用解释权归 ElegantLaTeX 所有,并且不接受监督,请自愿理性打赏**。10 元以上的赞赏,我们将列入捐赠榜,谢谢各位金主!
|
|
||||||
|
|
||||||
| 捐赠者/Tipper | 金额/Amount | 时间/Date | 渠道/Channel |
|
|
||||||
| :------: | :----: | :----: | :------: |
|
|
||||||
| Lerh | 10 RMB | 2019/05/15 | 微信/Wechat |
|
|
||||||
| 越过地平线 | 10 RMB | 2019/05/15 | 微信/Wechat |
|
|
||||||
| 大熊 | 20 RMB | 2019/05/27 | 微信/Wechat |
|
|
||||||
| 佚名 | 10 RMB | 2019/05/30 | 微信/Wechat |
|
|
||||||
| [latexstudio.net](http://www.latexstudio.net/) | 666 RMB | 2019/06/05 | 支付宝/Alipay |
|
|
||||||
| Cassis | 11 RMB | 2019/06/30 | 微信/Wechat |
|
|
||||||
| 佚名 | 10 RMB | 2019/07/23 | 微信/Wechat |
|
|
||||||
|
|
||||||
Thank you all.
|
|
||||||
|
|
||||||
再次感谢大家对于模板的喜爱!
|
|
||||||
|
|
||||||
## License 协议
|
|
||||||
|
|
||||||
This work is released under the LaTeX Project Public License, v1.3c or later.
|
This work is released under the LaTeX Project Public License, v1.3c or later.
|
||||||
|
|
||||||
本模板发布遵循 LaTeX 项目公共许可证 1.3 c 或更高版本。如果是衍生作品,请务必加入协议声明和模板信息(github、CTAN 地址)。
|
## 衍生品 Derivative Works
|
||||||
|
|
||||||
## Derived Works 衍生与拓展开发
|
|
||||||
|
|
||||||
+ [ElegantBookdown](https://github.com/XiangyunHuang/ElegantBookdown):[XiangyunHuang](https://github.com/XiangyunHuang) 开发并维护的基于 ElegantBook 的 Bookdown 模板。
|
+ [ElegantBookdown](https://github.com/XiangyunHuang/ElegantBookdown):[XiangyunHuang](https://github.com/XiangyunHuang) 开发并维护的基于 ElegantBook 的 Bookdown 模板。
|
||||||
+ [bookdownplus](https://github.com/pzhaonet/bookdownplus):应网友要求,[pzhaonet](https://github.com/pzhaonet) 在 bookdownplus 收录了 ElegantPaper 模板,并为 Mac 做了字体适配。
|
+ [bookdownplus](https://github.com/pzhaonet/bookdownplus):应网友要求,[pzhaonet](https://github.com/pzhaonet) 在 bookdownplus 收录了 ElegantPaper 模板,并为 Mac 做了字体适配。
|
||||||
|
|||||||
@@ -1,5 +0,0 @@
|
|||||||
@echo off
|
|
||||||
del /q *.aux *.bbl *.blg *.log *.out *.toc *.bcf *.xml *.synctex *.nlo *.nls *.bak *.ind *.idx *.ilg *.lof *.lot *.ent-x *.tmp *.ltx *.los *.lol *.loc *.listing *.gz *.userbak *.nav *.snm *.vrb *.synctex(busy)
|
|
||||||
|
|
||||||
|
|
||||||
del /q *.nav *.snm *.vrb *.fls *.xdv *.fdb_latexmk
|
|
||||||
1243
elegantbook-cn.tex
1780
elegantbook.cls
BIN
figure/logo-blue.png
Normal file
|
After Width: | Height: | Size: 90 KiB |
BIN
figure/logo.png
|
Before Width: | Height: | Size: 90 KiB |
BIN
image/donate.jpg
|
Before Width: | Height: | Size: 138 KiB |
BIN
image/founder.png
Normal file
|
After Width: | Height: | Size: 87 KiB |
BIN
image/scatter.jpg
Normal file
|
After Width: | Height: | Size: 111 KiB |
@@ -1,27 +0,0 @@
|
|||||||
# This file is the source file of the scatter.pdf
|
|
||||||
# source page: https://matplotlib.org/gallery/shapes_and_collections/scatter.html
|
|
||||||
import numpy as np
|
|
||||||
import matplotlib.pyplot as plt
|
|
||||||
|
|
||||||
# Fixing random state for reproducibility
|
|
||||||
np.random.seed(19680801)
|
|
||||||
|
|
||||||
|
|
||||||
N = 50
|
|
||||||
x = np.random.rand(N)
|
|
||||||
y = np.random.rand(N)
|
|
||||||
colors = np.random.rand(N)
|
|
||||||
area = (30 * np.random.rand(N))**2 # 0 to 15 point radii
|
|
||||||
|
|
||||||
ax = plt.subplot(111)
|
|
||||||
ax.scatter(x, y, s=area, c=colors, alpha=0.5)
|
|
||||||
|
|
||||||
# Hide the right and top spines
|
|
||||||
ax.spines['right'].set_visible(False)
|
|
||||||
ax.spines['top'].set_visible(False)
|
|
||||||
|
|
||||||
# Only show ticks on the left and bottom spines
|
|
||||||
ax.yaxis.set_ticks_position('left')
|
|
||||||
ax.xaxis.set_ticks_position('bottom')
|
|
||||||
|
|
||||||
plt.savefig('scatter.pdf', transparent=True)
|
|
||||||
|
Before Width: | Height: | Size: 20 KiB |
BIN
image/star.png
|
Before Width: | Height: | Size: 45 KiB |
|
Before Width: | Height: | Size: 218 KiB |