mirror of
https://github.com/ElegantLaTeX/ElegantBook.git
synced 2026-01-26 20:34:36 +08:00
Compare commits
33 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
6f642ae8bf | ||
|
|
807841afb1 | ||
|
|
312aee23c0 | ||
|
|
f2b772505e | ||
|
|
177453468b | ||
|
|
0e5fd1f813 | ||
|
|
0b421561cf | ||
|
|
e4e166946b | ||
|
|
0752a76fd5 | ||
|
|
e4371c7bf3 | ||
|
|
77ac771ad1 | ||
|
|
5f024a8e5b | ||
|
|
fbb6a6f124 | ||
|
|
61d54173fb | ||
|
|
7e0a8f1015 | ||
|
|
f93ad428c0 | ||
|
|
0171d1836f | ||
|
|
fb33d093fb | ||
|
|
2530dc26f4 | ||
|
|
6575c773be | ||
|
|
ef71af7bee | ||
|
|
c9f9ddcfb8 | ||
|
|
4733c40279 | ||
|
|
8dd28f18c7 | ||
|
|
75e407bd63 | ||
|
|
c1b4a2ad23 | ||
|
|
5772ce6253 | ||
|
|
41fd2cb8df | ||
|
|
f970cb422f | ||
|
|
13d0d93a83 | ||
|
|
6a6c17519d | ||
|
|
83735a3b70 | ||
|
|
f7cfd8243a |
3
.gitignore
vendored
3
.gitignore
vendored
@@ -11,11 +11,8 @@
|
|||||||
*.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
|
||||||
|
|||||||
36
README.md
36
README.md
@@ -1,37 +1,25 @@
|
|||||||
<!-- Author : Dongsheng Deng & Liam Huang-->
|
<!-- Author : Dongsheng Deng & Liam Huang-->
|
||||||
<!-- Program Email: elegantlatex2e@gmail.com -->
|
<!-- Program Email: elegantlatex2e@gmail.com -->
|
||||||
|
|
||||||
[Homepage](https://elegantlatex.org/) | [Github](https://github.com/ElegantLaTeX/ElegantBook) | [CTAN](https://ctan.org/pkg/elegantbook) | [Download](https://github.com/ElegantLaTeX/ElegantBook/releases) |
|
# ElegantBook
|
||||||
|
|
||||||
   
|
[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: 优美的 LaTeX 书籍模板 An Elegant LaTeX Template for Books
|
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 书籍写作而设计的模板,由 [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)维护。如果你有其他问题、建议或者报告 bug,可以提交 issues 或者加入我们的 QQ 用户交流群:692108391。
|
如果你有其他问题、建议或者报告 bug,可以提交 issues 或者给我们发邮件:elegantlatex2e@gmail.com。最近我们新建了一个 QQ 用户交流群(Q 群:692108391),欢迎加入。
|
||||||
|
|
||||||
ElegantBook is designed for writing books, created by [Ethan Deng](https://github.com/EthanDeng) and [Liam Huang](https://github.com/Liam0205), and maintained by [Ethan Deng](https://github.com/EthanDeng), [syvshc](https://github.com/syvshc) and [sikouhjw](https://github.com/sikouhjw). Just enjoy it! If you have any questions, suggestions or bug reports, you can create issues or contact us at elegantlatex2e@gmail.com.
|
**注意:** 由于新版本进行了重构,并且 3.6 版本对于封面进行了改版,3.6 以后的版本并不兼容之前版本,如果你想把之前版本的文件转为 3.6 以后的版本,请查看[跨版本转换](https://github.com/ElegantLaTeX/ElegantBook/wiki/convert)。
|
||||||
|
|
||||||
|
**重要提示:出于某些因素的考虑,ElegantLaTeX 项目自 2019 年 5 月 20 日开始,不再接受任何非作者预约性质的提交(pull request)!如果你想改进模板,你可以给我们提交 issue,或者可以在遵循协议的情况下,克隆到自己仓库下进行修改**。
|
||||||
|
|
||||||
## 致谢 Acknowledgement
|
# License
|
||||||
|
|
||||||
|
|
||||||
特别感谢 [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
|
|
||||||
|
|
||||||
本模板发布遵循 LaTeX 项目公共许可证 1.3 c 或更高版本。
|
|
||||||
如果是衍生作品,请务必加入协议声明和模板信息(github、CTAN 地址)。
|
|
||||||
|
|
||||||
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 或更高版本。
|
||||||
## 衍生品 Derivative Works
|
|
||||||
|
|
||||||
+ [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 做了字体适配。
|
|
||||||
+ [PanBook](https://github.com/annProg/PanBook):[annProg](https://github.com/annProg) 开发并维护的基于 Markdown 写作的工作流,收录了 ElegantBook 和 ElegantPaper 模板。
|
|
||||||
|
|||||||
5
delete-temp-files.bat
Normal file
5
delete-temp-files.bat
Normal file
@@ -0,0 +1,5 @@
|
|||||||
|
@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
|
||||||
1276
elegantbook-cn.tex
1276
elegantbook-cn.tex
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
1717
elegantbook.cls
1717
elegantbook.cls
File diff suppressed because it is too large
Load Diff
Binary file not shown.
|
Before Width: | Height: | Size: 90 KiB |
BIN
figure/logo.png
Normal file
BIN
figure/logo.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 90 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 87 KiB |
Binary file not shown.
|
Before Width: | Height: | Size: 111 KiB |
BIN
image/scatter.pdf
Normal file
BIN
image/scatter.pdf
Normal file
Binary file not shown.
27
image/scatter.py
Normal file
27
image/scatter.py
Normal file
@@ -0,0 +1,27 @@
|
|||||||
|
# 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)
|
||||||
BIN
image/star.png
Normal file
BIN
image/star.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 45 KiB |
BIN
image/tlshell.png
Normal file
BIN
image/tlshell.png
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 218 KiB |
Reference in New Issue
Block a user