-
Notifications
You must be signed in to change notification settings - Fork 62
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
Showing
18 changed files
with
294 additions
and
205 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
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,23 @@ | ||
MAIN = main | ||
NAME = ustcbeamer | ||
STYFILES = $(NAME).sty | ||
|
||
SHELL = bash | ||
LATEXMK = latexmk -xelatex | ||
|
||
.PHONY : main sty clean all FORCE_MAKE | ||
|
||
main : $(MAIN).pdf | ||
|
||
all : main | ||
|
||
sty : $(STYFILES) | ||
|
||
$(MAIN).pdf : $(MAIN).tex $(STYFILES) FORCE_MAKE | ||
$(LATEXMK) $< | ||
|
||
clean : FORCE_MAKE | ||
$(LATEXMK) -c $(MAIN).tex | ||
|
||
distclean : | ||
$(LATEXMK) -C $(MAIN).tex |
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,11 +1,27 @@ | ||
# USTC Beamer 模板 | ||
# 中国科学技术大学Beamer模板 | ||
|
||
生成文档: | ||
``` | ||
latexmk | ||
``` | ||
本项目是基于 [thomasWeise/ustcSlides](https://github.com/thomasWeise/ustcSlides) 修改而来,加了几种不同的颜色主题。 | ||
|
||
清理临时文件: | ||
``` | ||
latexmk -c | ||
``` | ||
科大官网上有与之对应的[USTC公用PPT模板](http://lswhw.ustc.edu.cn/public/inc/editer/attached/file/20181106/20181106152958_72346.zip)。 | ||
|
||
## 使用说明 | ||
|
||
`beamer.tex` 文件运行 `xelatex` 即可。模板 ustcbeamer 中定义了五个选项供选择:`ustcblue`, `ustcred`, `black`, `violet`, `blue`;分别对应了五种主题颜色。 | ||
|
||
建议使用 `ustcblue` 和 `ustcred`,两者均为[科大党委宣传部](http://lswhw.ustc.edu.cn/index.php/index/info/3370)规定的校徽标准红蓝配色。两个标准配色分别为:蓝 `cmyk(100,80,0,0)`、红 `cmyk(0,100,100,0)`,在 LaTeX 中使用需要除以 100。 | ||
|
||
本模板参考了 [thomasWeise/ustcSlides](https://github.com/thomasWeise/ustcSlides) 的,故而保留了 Thomas Weise 先生的原始配色(blue)。 | ||
|
||
此外,个人不太建议使用黑色(black),看上去像讣告。 | ||
|
||
|
||
## 下载地址 | ||
|
||
- GitHub Releases:https://github.com/ustctug/ustcbeamer/releases | ||
|
||
|
||
## 其他 | ||
|
||
本人第一次做 LaTeX 模板,有什么问题望及时反馈,谢谢! | ||
|
||
有其他的颜色或格式的需求可在github上反馈。 |
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.
File renamed without changes.
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,19 +1,9 @@ | ||
$pdf_mode = 1; | ||
|
||
$pdflatex = "xelatex -file-line-error -halt-on-error -interaction=nonstopmode -synctex=1 %O %S"; | ||
$xelatex = "xelatex -file-line-error -halt-on-error -interaction=nonstopmode -no-pdf -synctex=1 %O %S"; | ||
$xdvipdfmx="xdvipdfmx -E -o %D %O %S"; | ||
|
||
$pdf_mode = 1; | ||
$dvi_mode = 0; | ||
$postscript_mode = 0; | ||
$xdvipdfmx = "xdvipdfmx -q -E -o %D %O %S"; | ||
|
||
$bibtex_use = 1.5; | ||
|
||
$go_mode = 1; | ||
|
||
$clean_ext = 'glo gls hd nav snm synctex.gz xdv'; | ||
|
||
$makeindex = 'makeindex -s gind.ist %O -o %D %S'; | ||
add_cus_dep('glo', 'gls', 0, 'makegls'); | ||
sub makegls { | ||
system("makeindex -s gglo.ist -o \"$_[0].gls\" \"$_[0].glo\""); | ||
} |
Oops, something went wrong.