Skip to content

Commit de86b07

Browse files
committed
refactor(git lfs): lfs tracking pptx and key files.
0 parents  commit de86b07

32 files changed

+206
-0
lines changed

.gitattributes

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
*.ppt filter=lfs diff=lfs merge=lfs -text
2+
*.keynote filter=lfs diff=lfs merge=lfs -text
3+
*.key filter=lfs diff=lfs merge=lfs -text
4+
*.pptx filter=lfs diff=lfs merge=lfs -text
5+
*.zip filter=lfs diff=lfs merge=lfs -text
6+
*.rar filter=lfs diff=lfs merge=lfs -text

.gitignore

+2
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
.DS_Store
2+
~$*.pptx

Keynote/Contrib/fb-tao.key

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:eabc1fa96ab51b90aaa143e074413c4d0609ec13ff2d2ce8f2abc0ef6f8becd7
3+
size 1335501

Keynote/Darmstadt/beaver.key

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:7534ed718245355e465d1bfc0411a389262fdfd43ec940e4fe110efc01ee03e5
3+
size 1088985

Keynote/Darmstadt/crane.key

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:3122bafb8be5c84207a3b06acd9a4c2a1290a8e05d86942b07242f1b6f95df7c
3+
size 1092185

Keynote/Darmstadt/default.key

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:60a3b07ea001f58046679a623ddf2daf04012971c879b29d2b2fa1dd4dbdc445
3+
size 1324817

Keynote/Singapore/default.key

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:ff40eee7a293d0c08ab45c04f52b29dcfde0027b7a3698cea795e6ab0439ed8a
3+
size 1250024

Keynote/default/default.key

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:1ba838a2d6b416af1952a91143f9fec5360024d193b6aadfd2b1be94c50617b1
3+
size 1058160

LICENSE

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2018 Joseph Pan
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

Makefile

+4
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
teaser: preview/tile.png
2+
3+
preview/tile.png: preview/*.jpg
4+
cd preview && sh tile.sh && cd -

PowerPoint/Contrib/fb-tao.pptx

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:be06043469a03430de27f337ed20ef3f98672726a3805815bd57613a5f13050d
3+
size 235671

PowerPoint/Darmstadt/beaver.pptx

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:735dc48cf329b3498304f2ebcb14028e54660bc452fe33c3aae27aaa2d43a555
3+
size 87068

PowerPoint/Darmstadt/crane.pptx

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:181fd63f5de68d23e16b78b373c7aab090ec545b61d179288fc5356b7715d526
3+
size 88074

PowerPoint/Darmstadt/default.pptx

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:e07b2cda7eab0824b085b0821ee8a20bef277606c7162878ac338e3d76d0e6f3
3+
size 244638

PowerPoint/Singapore/default.pptx

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:e6e6644e2eb0bba65c346595c02ece5b074921ebe71db6f6942ae93d8034d7e7
3+
size 241485

PowerPoint/default/default.pptx

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
version https://git-lfs.github.com/spec/v1
2+
oid sha256:a5fe5fc6c5b90cf58aad515f6e6380c07a0929a14465cf95d8a5f24069b3c3b5
3+
size 75602

README.md

+112
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
# BeamerStyleSlides
2+
3+
Beamer风格的幻灯片模板集。包含了PowerPoint和Keynote两种格式。尤其适用于晋升述职、技术分享和学术汇报。
4+
5+
<h1 align="center">
6+
<img width="100%" src="https://raw.githubusercontent.com/wzpan/BeamerStyleSlides/master/preview/tile.png" alt="teaser">
7+
</h1>
8+
9+
## 主题
10+
11+
所有主题的风格尽力与 Beamer 所提供的风格保持一致。可以在 [beamer-theme-matrix](https://hartwork.org/beamer-theme-matrix/) 中查看对应的主题样式。
12+
13+
不过,我做了一些取舍:
14+
15+
1. 去掉了深色背景主题。个人认为深色背景主题在处理白底的图片时很不美观,所以我没有制作深色背景的 slides 的动力。当然,我愿意接受深色背景主题的pull request。
16+
2. PowerPoint 和 Keynote 并没有提供类似 Beamer 那样酷炫的导航栏功能,所以带导航栏的主题都不会进行复刻。
17+
18+
目前完成的主题如下表所示。其中,单元格内容不为 `TBD` 的主题说明已经完成了复刻,为 `TBD` 表示正在复刻中(`To Be Done`);以 0 结尾的链接指向封面的预览图,以 1 结尾的链接指向正文的预览图。
19+
20+
| collection | default | beaver | crane | dolphin | dove | lily | orchid | rose | seagull | seahorse | whale | wolverine |
21+
| ----- | ------- | ------ | ----- | ------- | ---- | ---- | ------ | ---- | ------- | -------- | ----- | --------- |
22+
| default | [default-default-0], [default-default-1] | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
23+
| AnnArbor | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
24+
| Antibes | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
25+
| Berlin | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
26+
| Boadilla | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
27+
| CambridgeUS | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
28+
| Copenhagen | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
29+
| Darmstadt | [darmstadt-default-0], [darmstadt-default-1] | [darmstadt-beaver-0], [darmstadt-beaver-1] | [darmstadt-crane-0], [darmstadt-crane-1] | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
30+
| Dresden | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
31+
| Frankfurt | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
32+
| Ilmenau | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
33+
| JuanLesPins | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
34+
| Luebeck | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
35+
| Madrid | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
36+
| Malmoe | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
37+
| Montpellier | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
38+
| Pittsburgh | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
39+
| Rochester | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
40+
| Singapore | [singapore-default-0], [singapore-default-1] | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
41+
| Szeged | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
42+
| Warsaw | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD | TBD |
43+
44+
45+
## 第三方主题
46+
47+
请按顺序在下面添加你贡献的主题(不要插队)。
48+
49+
| 主题名 | 贡献者 | 预览 |
50+
| ---- | ----- | ---- |
51+
| fb-tao | [wzpan](http://github.com/wzpan/) | [contrib-fb-tao-0], [contrib-fb-tao-1] |
52+
53+
54+
## 使用技巧
55+
56+
1. 首先可以在 [beamer-theme-matrix](https://hartwork.org/beamer-theme-matrix/) 中找找看有没有心仪的样式;
57+
2. 在上面的主题列表中看看对应的主题是否已经完成了复刻。
58+
3. 如果有,可以点击查看预览图,看看效果是否满意。
59+
4. 一些底部带有包含作者信息(author)、标题(title)字段的主题,可以通过编辑模板修改对应字段的值。
60+
5. 为了方便鹅厂的同事,项目符号用了腾讯的logo。如果你不是腾讯的员工,可以在项目符号和编号里将这个logo改为其他的图案。
61+
62+
## 致谢
63+
64+
* 整套模板主题主要参考自 [beamer-theme-matrix](https://hartwork.org/beamer-theme-matrix/)
65+
66+
## 如何贡献
67+
68+
- 欢迎 fork 这个项目,并通过 pull request 的形式贡献你的主题!
69+
1. 第三方模板请分别保存到 Keynote / PowerPoint 目录里的 Contrib 目录中;
70+
2. 比较省事的制作方式是先制作一个 PowerPoint 的模板,然后在 Keynote 里导入 PowerPoint 模板再另存为 Keynote 模板;
71+
3. 完成后别忘了在 [第三方主题](#第三方主题) 里添加你的大作。
72+
4. 主题的存放必须遵循按照现有的目录形式:
73+
74+
```
75+
[-] ~/Documents/projects/BeamerStyleSlides/
76+
|-[-] Keynote
77+
| |-[-] Contrib
78+
| | |- mycustom.key # 你的主题名
79+
| | ‘- ...
80+
| ‘- ...
81+
|-[-] PowerPoint
82+
| |-[-] Contrib
83+
| | |- mycustom.pptx # 你的主题名
84+
| | ‘- ...
85+
| ‘- ...
86+
|-[-] preview
87+
| |- ...
88+
| |- Custom-mycustom-0.jpg # 你的主题封面预览图(建议用PowerPoint导出功能导出)
89+
| |- Custom-mycustom-1.jpg # 你的主题正文预览图(建议用PowerPoint导出功能导出)
90+
| ‘- ...
91+
‘- README.md # 完成后编辑这个README,在第三方主题中插入你的主题说明。
92+
```
93+
94+
- 如果喜欢这个项目,不放给它加一星,或给我打赏:
95+
96+
| 支付宝 | 微信支付 |
97+
| ------ | --------- |
98+
| <img src="http://7xj89i.com1.z0.glb.clouddn.com/ali_pay_01.jpg" height="248px" width="164px" title="支付宝" style="display:inherit;"/> | <img src="http://7xj89i.com1.z0.glb.clouddn.com/wechat_pay_02.png" height="248px" width="164px" title="微信支付" style="display:inherit;"/> |
99+
100+
101+
[default-default-0]: https://github.com/wzpan/BeamerStyleSlides/blob/master/preview/default-default-0.jpg
102+
[default-default-1]: https://github.com/wzpan/BeamerStyleSlides/blob/master/preview/default-default-1.jpg
103+
[darmstadt-default-0]: https://github.com/wzpan/BeamerStyleSlides/blob/master/preview/Darmstadt-default-0.jpg
104+
[darmstadt-default-1]: https://github.com/wzpan/BeamerStyleSlides/blob/master/preview/Darmstadt-default-1.jpg
105+
[singapore-default-0]: https://github.com/wzpan/BeamerStyleSlides/blob/master/preview/Singapore-default-0.jpg
106+
[singapore-default-1]: https://github.com/wzpan/BeamerStyleSlides/blob/master/preview/Singapore-default-1.jpg
107+
[darmstadt-beaver-0]: https://github.com/wzpan/BeamerStyleSlides/blob/master/preview/Darmstadt-beaver-0.jpg
108+
[darmstadt-beaver-1]: https://github.com/wzpan/BeamerStyleSlides/blob/master/preview/Darmstadt-beaver-1.jpg
109+
[darmstadt-crane-0]: https://github.com/wzpan/BeamerStyleSlides/blob/master/preview/Darmstadt-crane-0.jpg
110+
[darmstadt-crane-1]: https://github.com/wzpan/BeamerStyleSlides/blob/master/preview/Darmstadt-crane-1.jpg
111+
[contrib-fb-tao-0]: https://github.com/wzpan/BeamerStyleSlides/blob/master/preview/contrib-fb-tao-0.jpg
112+
[contrib-fb-tao-1]: https://github.com/wzpan/BeamerStyleSlides/blob/master/preview/contrib-fb-tao-1.jpg

preview/.gitattributes

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
tile.png filter=lfs diff=lfs merge=lfs -text

preview/Darmstadt-beaver-0.jpg

30.3 KB
Loading

preview/Darmstadt-beaver-1.jpg

16.2 KB
Loading

preview/Darmstadt-crane-0.jpg

33.9 KB
Loading

preview/Darmstadt-crane-1.jpg

17.8 KB
Loading

preview/Darmstadt-default-0.jpg

35.7 KB
Loading

preview/Darmstadt-default-1.jpg

21.9 KB
Loading

preview/Singapore-default-0.jpg

30 KB
Loading

preview/Singapore-default-1.jpg

17.8 KB
Loading

preview/contrib-fb-tao-0.jpg

31.3 KB
Loading

preview/contrib-fb-tao-1.jpg

21.5 KB
Loading

preview/default-default-0.jpg

27.7 KB
Loading

preview/default-default-1.jpg

14.9 KB
Loading

preview/tile.png

+3
Loading

preview/tile.sh

+21
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
#!/bin/bash
2+
3+
center=0 # Start position of the center of the first image.
4+
# This can be ANYTHING, as only relative changes are important.
5+
for image in ./*-0.jpg
6+
do
7+
# Add 70 to the previous images relative offset to add to each image
8+
#
9+
center=`convert xc: -format "%[fx: $center +320 ]" info:`
10+
# read image, add fluff, and using centered padding/trim locate the
11+
# center of the image at the next location (relative to the last).
12+
#
13+
convert -size 2600x2600 "$image" -thumbnail 720x720 \
14+
-set caption '%t' -bordercolor Lavender -background black \
15+
-pointsize 12 -density 196x196 +polaroid -resize 60% \
16+
-gravity center -background None -extent 1000x1000 -trim \
17+
-repage +${center}+0\! MIFF:-
18+
done |
19+
# read pipeline of positioned images, and merge together
20+
convert -background skyblue MIFF:- -layers merge +repage \
21+
-bordercolor skyblue -border 3x3 tile.png

0 commit comments

Comments
 (0)