-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
6b7dd75
commit 4da2a53
Showing
35 changed files
with
266 additions
and
98 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,6 @@ | ||
{ | ||
"markdown.marp.themes": [ | ||
"./themes/academic-sustech.css", //写自己想用的css文件名就可以了 | ||
"./themes/academic-sustech-1.css", //写自己想用的css文件名就可以了 | ||
"./themes/academic-sustech-2.css", | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,109 @@ | ||
--- | ||
marp: true | ||
theme: academic-sustech-2 | ||
paginate: false | ||
math: katex | ||
--- | ||
|
||
<!-- _class: lead --> | ||
|
||
# 南方科技大学汇报 | ||
|
||
|
||
<br> | ||
|
||
#### *"每天叫醒我们的不是闹钟,而是中国高教改革的梦想"* | ||
|
||
|
||
<br> | ||
|
||
<br> | ||
|
||
<br> | ||
|
||
**朱清时** | ||
南方科技大学创校校长 | ||
YYYY/MM/DD | ||
|
||
|
||
|
||
--- | ||
<!-- backgroundImage: url("./images/theme/background.png") --> | ||
<!-- _header: 目录 --> | ||
|
||
|
||
|
||
#### 1. 简介 | ||
#### 2. 代码块 | ||
#### 3. 公式 | ||
#### 4. 插图 | ||
|
||
--- | ||
|
||
<!-- _header: 简介 --> | ||
|
||
- Marp 是一款用于在 **Markdown** 中创建**幻灯片**的软件。 | ||
- 支持基本 Markdown 语法。 | ||
- 您只需在 Markdown 中插入“---”分隔符即可移动到下一页$^1$。 | ||
- 该主题参考了[marp-theme-academic](https://github.com/kaisugi/marp-theme-academic)$^2$ | ||
|
||
|
||
> 1: Marp 是根据 CommonMark Markdown 规范开发的,因此它不提供 CommonMark 中未包含的“脚注”语法(使用 '[^1]')。 因此,我们参考了 https://github.com/marp-team/marp/discussions/150#discussioncomment-1302384 并实现了一个伪脚注。 | ||
> 2:一个无聊的脚注 | ||
--- | ||
|
||
<!-- _header: 代码块 --> | ||
|
||
```python | ||
import torch | ||
print(torch.cuda.is_available()) | ||
``` | ||
|
||
你可以编写这样的代码块。 | ||
|
||
```python | ||
from transformers import AutoModelForMaskedLM, AutoTokenizer | ||
model = AutoModelForMaskedLM.from_pretrained("cl-tohoku/bert-base-japanese-whole-word-masking") | ||
tokenizer = AutoTokenizer.from_pretrained("cl-tohoku/bert-base-japanese-whole-word-masking") | ||
|
||
inputs = tokenizer.encode_plus("私はとても[MASK]です。", return_tensors='pt') | ||
outputs = model(**inputs) | ||
tokenizer.convert_ids_to_tokens(outputs.logits[0][1:-1].argmax(axis=-1)) | ||
``` | ||
|
||
宽度是可自行缩放的(请参阅 [auto-scaling](https://github.com/marp-team/marp-core#auto-scaling-features) 文档中的自动缩放)。 | ||
|
||
--- | ||
|
||
<!-- _header: 公式 --> | ||
<br> | ||
|
||
$$ I_{xx}=\int\int_Ry^2f(x,y)\cdot{}dydx $$ | ||
|
||
$$ | ||
f(x) = \int_{-\infty}^\infty | ||
\hat f(\xi)\,e^{2 \pi i \xi x} | ||
\,d\xi | ||
$$ | ||
|
||
你可以写一个这样的公式。 当然,您也可以使用内联 $LaTeX$。 | ||
|
||
顺便说一句,您还可以使用表情符号:smile: :art: :fire: | ||
|
||
|
||
<!-- _footer: 总结框模板! 在这里进行单行总结! --> | ||
--- | ||
|
||
<!-- _header: 插图 --> | ||
|
||
1. 首先,右键单击从 [链接](https://www.irasutoya.com/2018/10/blog-post_723.html) 下载图像('kenkyu_woman_seikou.png')。 | ||
2. 在此 Markdown 目录中创建一个名为“images”的目录,并放置您刚刚下载的图片。 现在你已经准备好了。 | ||
|
||
<br> | ||
|
||
![w:300 center](./images/kenkyu_woman_seikou.png) | ||
|
||
|
||
--- | ||
![bg](./images/theme/thanks.png) |
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file was deleted.
Oops, something went wrong.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,131 @@ | ||
/* @theme academic-sustech-2 */ | ||
|
||
@charset "UTF-8"; | ||
/* @import 'default'; */ | ||
@import 'uncover'; | ||
|
||
|
||
/* @import-theme 'default'; */ | ||
:root { | ||
--color-background: #fff; | ||
--color-foreground: #0d2023; | ||
--color-highlight: #dc7625; | ||
} | ||
|
||
section { | ||
background-image: none; | ||
font-family: Arial, Helvetica, sans-serif; | ||
padding-top: 90px; | ||
padding-left: 40px; | ||
padding-right: 40px; | ||
font-size: 28px; | ||
} | ||
|
||
/* https://github.com/marp-team/marpit/issues/271 */ | ||
section::after { | ||
font-weight: 800; | ||
content: attr(data-marpit-pagination) '/' attr(data-marpit-pagination-total); | ||
} | ||
|
||
ul ul { | ||
font-size: 0.85em; | ||
} | ||
|
||
h1 { | ||
text-align:left; | ||
color: #dc7625; | ||
margin-top: 20px; | ||
margin-bottom: 20px; | ||
font-size:50px; | ||
line-height: 25px; | ||
} | ||
|
||
h2 { | ||
text-align:left; | ||
margin-top: 12px; | ||
font-size: 30px; | ||
line-height: 25px; | ||
margin-bottom: 15px; | ||
} | ||
|
||
h3 { | ||
text-align:left; | ||
margin-top: 10px; | ||
margin-bottom: 12px; | ||
font-size: 27px; | ||
line-height: 25px; | ||
} | ||
|
||
h4 { | ||
color: #14363b; | ||
text-align:left; | ||
} | ||
|
||
p { | ||
text-align:left; | ||
font-size: 21px; | ||
margin-top: 7px; | ||
margin-bottom: 10px; | ||
/* margin-left: 30px; */ | ||
letter-spacing: 1px; | ||
/* text-indent: 50px; */ | ||
} | ||
|
||
|
||
|
||
|
||
header { | ||
left: 57px; | ||
right: 50px; | ||
top: 15px; | ||
height: 50px; | ||
/* background-image: url("./header.png"); | ||
background-position: center; | ||
background-repeat: no-repeat; */ | ||
/* background-size: 200px; */ | ||
text-align:left; | ||
color: #dc7625; | ||
font-weight: bold; | ||
font-size:44px; | ||
} | ||
|
||
|
||
footer { | ||
height: auto; | ||
font-size:24px; | ||
border-color: #dc7625; | ||
border-width: 4px; | ||
border-style: solid; | ||
font-weight: bold; | ||
list-style-type: square; | ||
content: 'shsh'; | ||
padding-left: 20px; | ||
padding-top: 12px; | ||
padding-bottom: 12px; | ||
color: rgb(37, 64, 97); | ||
/* display:inline-block; */ | ||
} | ||
|
||
blockquote { | ||
max-width: 85%; | ||
/* border-top: 0.01em dashed #14363b; */ | ||
font-size: 50%; | ||
position: absolute; | ||
bottom: 10px; | ||
} | ||
|
||
blockquote::before { | ||
content: ""; | ||
} | ||
blockquote::after { | ||
content: ""; | ||
} | ||
|
||
img[alt~="center"] { | ||
display: block; | ||
margin: 0 auto; | ||
} | ||
|
||
code { | ||
font-family: 'Source Code Pro', monospace; | ||
} |