144 Commits
v3.09 ... v4.4

Author SHA1 Message Date
EthanDeng
81bf10a58b fix dates 2022-08-15 12:57:50 +08:00
EthanDeng
94152955a2 fix comma 2022-08-15 12:53:35 +08:00
EthanDeng
d7febb69f7 update readme 2022-08-15 12:49:30 +08:00
EthanDeng
85176416ad update document 2022-08-15 12:36:42 +08:00
EthanDeng
4c9ca031d8 remove gitee 2022-08-12 10:43:26 +08:00
EthanDeng
4cc89482f8 Merge branch 'dev' of github.com:ElegantLaTeX/ElegantBook into dev 2022-08-12 10:32:32 +08:00
EthanDeng
f91390ddfc merge 2022-08-12 10:32:15 +08:00
syvshc
35f058868e fix the patch for hyperref before 2022/05/16 2022-06-06 23:07:45 +08:00
syvshc
4949004371 为兼容 2022/05/16 前的 hyperref 增加判断 2022-06-05 04:47:53 +08:00
syvshc
ccb5464463 将 \section 中的 \lstinline 改为 \texttt, 消除 overfull box 警告 2022-06-02 23:44:20 +08:00
syvshc
b1585deeb9 将 scheme=chinese 时的“第1章”改为“第一章” 2022-05-28 03:20:26 +08:00
syvshc
48f19691fc v4.4 pre
* 重要改动:提供了一个定义定理类环境的命令 \elegantnewtheorem;
* 重要改动:为所有内置定理类环境提供了带星号的版本,带星号的定理类环境不会编号;fix #167
* 将 TeX Gyre Termes 改为 TeX Gyre TermesX,使英文部分字形与 newtx
  系列宏包更相近;
* 重写了内置定理类环境的实现方法。
2022-05-25 22:55:09 +08:00
syvshc
5b410a1cff 修复对编译的判断, 修改英文字体为 TG TermesX 2022-05-06 13:23:20 +08:00
syvshc
3f7c85e5c7 fix #194 2022-05-06 12:40:09 +08:00
syvshc
5c0f54819a fix: 🐛 修复单独使用 newtxmath 宏包时的 op, \mathrm/bf/it 时的字体错误
 Closes: #196
2022-05-05 14:01:34 +08:00
syvshc
81a25970e8 fix: 🐛 fix a bug when \label contains =
 Closes: #194
2022-04-30 11:53:54 +08:00
syvshc
63d0dda991 fix typo: lsset -> lstset 2022-04-29 03:52:32 +08:00
EthanDeng
921777db03 remove defbib 2022-04-21 12:51:31 +08:00
EthanDeng
3c6c0f163c fix hyperref color back to winered 2022-04-18 18:50:03 +08:00
EthanDeng
b3108df9c2 confirm the bug fixed 2022-04-18 18:41:14 +08:00
EthanDeng
083483f7b5 error 2022-04-18 18:33:20 +08:00
EthanDeng
b1f7d7b30d tcb theorem 2022-04-18 18:31:16 +08:00
Dongsheng Deng
db7fd517dd Merge pull request #190 from syvshc/bugfix
compatibility with tcb theorem style
2022-04-18 18:29:16 +08:00
syvshc
6f2173674f update theorem-like environment introduction 2022-04-18 17:32:06 +08:00
syvshc
d11253214e fix thm color 2022-04-18 17:26:55 +08:00
syvshc
943493a29c compatibility with tcb theorem style 2022-04-18 14:43:36 +08:00
EthanDeng
61b911ebd6 update readme 2022-04-09 12:33:43 +08:00
EthanDeng
02bc4225fb remove the redundant imgs 2022-04-09 12:25:54 +08:00
EthanDeng
c0bdf12916 fix minor chagne 2022-04-09 12:08:16 +08:00
EthanDeng
4a764ff1f2 merge 2022-04-09 12:06:53 +08:00
EthanDeng
3545a46449 remove option founder 2022-04-09 12:05:25 +08:00
EthanDeng
7f1dedd79f version 4.3 2022-04-09 12:01:59 +08:00
EthanDeng
7506140be9 update git ignore 2022-04-08 17:29:06 +08:00
EthanDeng
f9b2d0eb80 pre 2022-04-08 17:25:12 +08:00
EthanDeng
d2c10a1d02 version 4.3 pre release 2022-04-08 17:22:27 +08:00
EthanDeng
3f77eb1adc Merge branch 'dev' of github.com:ElegantLaTeX/ElegantBook into dev 2022-04-07 21:48:17 +08:00
EthanDeng
4955628d8c -f 2022-04-07 21:46:54 +08:00
EthanDeng
acc71ecea2 update sansfont 2022-04-07 21:45:40 +08:00
EthanDeng
eb233e4309 update font settings 2022-04-07 21:33:50 +08:00
EthanDeng
34e2225019 version 4.2 2022-03-07 17:18:48 +08:00
EthanDeng
91f5e46c94 update version id 2022-03-07 17:17:56 +08:00
EthanDeng
6a60b16e14 bug fix for newtx pkg update 2022-03-07 17:04:26 +08:00
Dongsheng Deng
909fb2c997 Merge pull request #178 from valdigleis/pt-branch
Add portuguese translation
2022-02-14 16:23:18 +08:00
valdigleis
c669c4a263 Add portuguese translation 2022-02-05 21:15:01 -03:00
Dongsheng Deng
53547c11e4 Merge pull request #177 from syvshc/hotfix
patch for newtx v1.7 or later
2022-01-15 10:00:34 +08:00
syvshc
093c73e4c9 patch for newtx v1.7 or later 2022-01-15 00:50:18 +08:00
EthanDeng
3d0f25cc6a update readme 2022-01-04 13:42:26 +08:00
EthanDeng
a7e5c032c5 update install latex site 2021-05-13 21:53:13 +08:00
EthanDeng
bf40203c9f modify md 2021-05-02 21:14:42 +08:00
EthanDeng
b518213c77 version 4.1 2021-05-02 21:02:32 +08:00
EthanDeng
71c0f9e1a5 fix confilct 2021-02-23 13:25:55 +08:00
EthanDeng
d40cb2c42e chapter section settings and fix header 2021-02-23 13:22:47 +08:00
EthanDeng
6c64e5900b fix confilct 2021-01-02 12:27:55 +08:00
EthanDeng
3bebe9697f fix fonts problem 2021-01-02 12:25:30 +08:00
EthanDeng
30a916c26c add spanish translation provided by Gustavo A. Corradi 2020-11-16 12:23:32 +08:00
EthanDeng
61ac6a08c4 update restart 2020-10-26 21:06:12 +08:00
EthanDeng
f123c6a83b update language translation 2020-09-02 12:29:44 +08:00
EthanDeng
e771b81dc8 update readme 2020-08-19 11:58:45 +08:00
Dongsheng Deng
f75907371d Merge pull request #116 from azzamsa/master
fix link typo
2020-08-19 12:04:08 +08:00
azzamsa
f192cf44fa fix link typo 2020-08-19 10:18:16 +07:00
EthanDeng
ce87722d38 update donation list 2020-08-13 12:14:20 +08:00
EthanDeng
01951eeb28 fix problemset header problem 2020-08-04 22:25:03 +08:00
EthanDeng
4e53474e6e primary of 4.0.5 2020-08-04 12:21:07 +08:00
EthanDeng
cf755a0387 hyperref toc clickable 2020-07-29 13:37:20 +08:00
EthanDeng
9092103354 update biblatex 2020-07-06 22:39:58 +08:00
EthanDeng
303d2e5c9d modify readme 2020-06-09 12:20:40 +08:00
EthanDeng
a8123170ca readme to chinese and english 2020-06-09 12:17:12 +08:00
EthanDeng
5d02e85f01 update version date number 2020-06-03 20:24:19 +08:00
EthanDeng
9ef6a5bf5a revert theorem usage to amsthm style 2020-06-03 20:22:15 +08:00
EthanDeng
d281e3e834 update english guide 2020-04-13 21:32:59 +08:00
EthanDeng
78fe2c7daf frozen 3.11 2020-04-12 13:43:33 +08:00
EthanDeng
ae7a9ae8f6 update 3.11 2020-04-12 12:00:13 +08:00
EthanDeng
c84f79922d frozen 3.x 2020-04-11 10:19:16 +08:00
EthanDeng
6ab10beda8 fix problem/example/exercise space 2020-03-21 00:23:42 +08:00
EthanDeng
09b71b9ab7 add lang=it 2020-03-19 13:14:30 +08:00
EthanDeng
6924603f5c version 3.10 2020-02-10 21:52:06 +08:00
EthanDeng
eecad6acf6 update guide 2020-02-10 10:15:50 +08:00
EthanDeng
8ca2077cb4 3.10 pre release 2020-02-08 20:06:27 +08:00
EthanDeng
083ef244ac remove medskip 2020-02-02 13:24:38 +08:00
EthanDeng
f8729c63a9 update titlepage 2020-02-02 12:44:08 +08:00
EthanDeng
c2a4b318ec pre release 3.10 2020-01-17 11:20:43 +08:00
EthanDeng
fa2cf2f5f1 renew environment name 2020-01-14 13:42:25 +08:00
EthanDeng
b6e1a2e8e3 remove last page and add bibstyle 2020-01-13 13:40:56 +08:00
EthanDeng
bd16ebc36e add axiom and postulate 2019-12-31 17:28:18 +08:00
EthanDeng
b756eb2966 update donation 2019-12-30 23:46:23 +08:00
EthanDeng
cf2dd78ad8 readme.md typo 2019-12-02 14:09:09 +08:00
EthanDeng
b62319de1f update options 2019-11-26 13:33:58 +08:00
EthanDeng
622b95d238 typo 2019-11-19 11:48:21 +08:00
EthanDeng
695157cd46 update donation list 2019-11-19 11:41:46 +08:00
EthanDeng
460a7f4b68 remove sb 2019-11-09 20:46:07 +08:00
EthanDeng
f34e05ff6d rearrange the order of readme.md 2019-11-09 18:48:17 +08:00
EthanDeng
07ec82321f renew readme 2019-11-09 18:24:37 +08:00
EthanDeng
1dbf0eca16 last 2019-11-09 17:59:41 +08:00
EthanDeng
0beebfc087 renew my name 2019-11-09 17:59:41 +08:00
EthanDeng
2450fad609 renew readme information 2019-11-09 17:59:41 +08:00
EthanDeng
870a8c28d2 fix part of indentation 2019-11-09 17:59:41 +08:00
EthanDeng
406f0a3d34 about lvert problem? 2019-11-09 17:59:41 +08:00
EthanDeng
a1d2dedc13 remove the ceshi 2019-11-09 17:59:41 +08:00
EthanDeng
ce8c1d582d remove pagestyles from titlesec pkg and set parindent for lang=cn 2019-11-09 17:59:41 +08:00
EthanDeng
b8c165a6b7 remove the negative space before section/subsection 2019-11-09 17:59:41 +08:00
EthanDeng
e9513f88da fix header odd/even 2019-11-09 17:59:41 +08:00
EthanDeng
9505ac286f remove the md image 2019-11-09 17:59:41 +08:00
EthanDeng
b5d556ec74 resize 2019-11-09 17:59:41 +08:00
EthanDeng
225d2416a5 version 3.09 release 2019-11-09 17:59:41 +08:00
EthanDeng
e8cc07a13e version 3.09 2019-11-09 17:59:41 +08:00
EthanDeng
a6830816e4 no error no warnings, SLEEP 2019-11-09 17:59:41 +08:00
EthanDeng
d03959f9d2 no error no warnings with font/symbol fixed 2019-11-09 17:59:41 +08:00
EthanDeng
4f324f2ca9 revert back to cmlargesymbols 2019-11-09 17:59:38 +08:00
EthanDeng
b50d464206 remove elegantpar 2019-11-09 17:59:19 +08:00
EthanDeng
3495afdd26 remove the elegantpar command 2019-11-09 17:59:19 +08:00
EthanDeng
56a1795834 donation 2019-11-09 17:59:19 +08:00
EthanDeng
c366c01998 wrong update 2019-11-09 17:59:19 +08:00
EthanDeng
c23d12e635 update new fix 2019-11-09 17:59:19 +08:00
EthanDeng
6d60bf404e add toc option 2019-11-09 17:59:19 +08:00
EthanDeng
531532c837 fix linewidth 2019-11-09 17:59:18 +08:00
EthanDeng
195e2634e3 remove space 2019-11-09 17:59:18 +08:00
EthanDeng
97a9668bd0 renew acknow 2019-11-09 17:59:18 +08:00
EthanDeng
2d7e2f7d70 renew acknow 2019-11-09 17:59:18 +08:00
EthanDeng
87f4d64810 version 3.08 release 2019-11-09 17:59:18 +08:00
EthanDeng
16bcf11414 version 3.08 2019-11-09 17:59:14 +08:00
EthanDeng
8c15cf9210 remove mtpro2 2019-11-09 17:57:50 +08:00
EthanDeng
6d336e113e remove typo 2019-11-09 17:57:50 +08:00
EthanDeng
1a831740e6 fix math operator cmex font selectiong 2019-11-09 17:57:50 +08:00
EthanDeng
4b2626d4f1 renew partname 2019-11-09 17:57:50 +08:00
EthanDeng
ada05e3415 typo 2019-11-09 17:57:50 +08:00
EthanDeng
fc1c639248 change px to bp 2019-11-09 17:57:50 +08:00
EthanDeng
ad68db6337 remove pdf 2019-11-09 17:57:50 +08:00
EthanDeng
39c6d631ae remove pdf 2019-11-09 17:57:50 +08:00
EthanDeng
91d5839af2 add device option pad 2019-11-09 17:57:50 +08:00
EthanDeng
6018efc5d6 add introduction environment 2019-11-09 17:57:50 +08:00
EthanDeng
824977a888 remove the warnings 2019-11-09 17:57:50 +08:00
EthanDeng
774825f729 convert url 2019-11-09 17:57:50 +08:00
EthanDeng
811acb3660 add QQ Group info 2019-11-09 17:57:50 +08:00
EthanDeng
6c077e8c2d space 2019-11-09 17:57:50 +08:00
EthanDeng
ebaae39f46 elegantbook 3.07 2019-11-09 17:57:49 +08:00
EthanDeng
e2a72bc70c elegantbook 3.07 2019-11-09 17:57:49 +08:00
EthanDeng
d9c7afb6ba theorem modification complete 2019-11-09 17:57:49 +08:00
EthanDeng
73486a8e88 typo 2019-11-09 17:57:49 +08:00
EthanDeng
ebd4909a8d add custom environment 2019-11-09 17:57:49 +08:00
EthanDeng
9865cbb9f6 add convert method from elegantbook 2.x to elegantbook 3.x 2019-11-09 17:57:49 +08:00
EthanDeng
8508d62b62 remove medskip 2019-11-09 17:57:49 +08:00
EthanDeng
99958b31cf update 3.07(pending) 2019-11-09 17:57:49 +08:00
EthanDeng
c6a2863ca1 change the logo/cover 2019-11-09 17:57:49 +08:00
EthanDeng
83732ec957 auto merge by git 2019-11-09 17:57:49 +08:00
15 changed files with 3158 additions and 2137 deletions

3
.gitignore vendored
View File

@@ -11,8 +11,11 @@
*.cb
*.cb2
.*.lb
.DS_Store
clean.bat
elegant*-cn.pdf
elegant*-en.pdf
*.dates
## Intermediate documents:
*.dvi

View File

@@ -1,79 +1,36 @@
<!-- Author : Dongsheng Deng & Liam Huang-->
<!-- Program Email: elegantlatex2e@gmail.com -->
# ElegantBook: An Elegant LaTeX Template for Books
[Homepage](https://elegantlatex.org/) | [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)
![License](https://img.shields.io/ctan/l/elegantbook.svg) ![CTAN Version](https://img.shields.io/ctan/v/elegantbook.svg) ![Github Version](https://img.shields.io/github/release/ElegantLaTeX/ElegantBook.svg) ![Repo Size](https://img.shields.io/github/repo-size/ElegantLaTeX/ElegantBook.svg)
![License](https://img.shields.io/ctan/l/elegantbook.svg)
![CTAN Version](https://img.shields.io/ctan/v/elegantbook.svg)
![Github Version](https://img.shields.io/github/release/ElegantLaTeX/ElegantBook.svg)
![Repo Size](https://img.shields.io/github/repo-size/ElegantLaTeX/ElegantBook.svg)
-------
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)维护。如果你有其他问题、建议或者报告 bug可以提交 issues 或者加入我们的 QQ 用户交流群692108391。
## 重要提示
**Version Note** Users for 2.x, please refer to [Version Convert](https://github.com/ElegantLaTeX/ElegantBook/wiki/convert).
**版本提醒:** 由于新版本进行了重构,并且 3.6 版本对于封面进行了改版3.6 以后的版本并不兼容之前版本,如果你想把之前版本的文件转为 3.6 以后的版本,请查看[跨版本转换](https://github.com/ElegantLaTeX/ElegantBook/wiki/convert)。
**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.
**重要提示出于某些因素的考虑ElegantLaTeX 项目自 2019 年 5 月 20 日开始不再接受任何非作者预约性质的提交pull request)!如果你想改进模板,你可以给我们提交 issue或者可以在遵循协议的情况下克隆到自己仓库下进行修改**
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.
## Acknowledgement 致谢
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 上收藏我们的模板。
## 致谢 Acknowledgement
## 捐赠
特别感谢 [sikouhjw](https://github.com/sikouhjw) 和 [syvshc](https://github.com/syvshc) 长期以来对于 Github 上 issue 的快速回应,以及各个社区论坛对于 ElegantLaTeX 相关问题的回复。特别感谢 ChinaTeX 以及 [LaTeX 工作室](http://www.latexstudio.net/)对于本系列模板的大力宣传与推广。
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... )
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.
如果您非常喜爱我们的模板或者我,你还可以选择捐赠以表达您对我们模板和我的支持。本模板自 3.08 版本发布了捐赠信息之后,收到了近千元的捐赠(四舍五入就是一个亿),非常感谢!
![](https://github.com/ElegantLaTeX/ElegantBook/wiki/donate.jpg)
## 协议 License
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!
本模板发布遵循 LaTeX 项目公共许可证 1.3 c 或更高版本。
如果是衍生作品请务必加入协议声明和模板信息github、CTAN 地址)。
**赞赏费用的使用解释权归 ElegantLaTeX 所有,并且不接受监督,请自愿理性打赏**。10 元以上的赞赏,我们将列入捐赠榜,谢谢各位金主!
This work is released under the LaTeX Project Public License, v1.3c or later.
| 捐赠者/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.
本模板发布遵循 LaTeX 项目公共许可证 1.3 c 或更高版本。如果是衍生作品请务必加入协议声明和模板信息github、CTAN 地址)。
## Derived Works 衍生与拓展开发
## 衍生品 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 做了字体适配。

View File

@@ -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

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

BIN
figure/logo-blue.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 90 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 90 KiB

BIN
image/founder.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 87 KiB

BIN
image/scatter.jpg Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 111 KiB

Binary file not shown.

View File

@@ -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)

Binary file not shown.

Before

Width:  |  Height:  |  Size: 20 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 45 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 218 KiB