Skip to content

Commit

Permalink
fit for SCUECer and add minted sample
Browse files Browse the repository at this point in the history
  • Loading branch information
Visors committed Jan 9, 2021
1 parent 061f088 commit dff216d
Show file tree
Hide file tree
Showing 10 changed files with 1,036 additions and 6,788 deletions.
Binary file added .DS_Store
Binary file not shown.
10 changes: 6 additions & 4 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,11 @@
# THU-Beamer-Theme
# SCUEC-Beamer-Theme

最初能追溯到的版本是 [https://www.latexstudio.net/archives/4051.html](https://www.latexstudio.net/archives/4051.html)
借助THU Beamer Theme魔改了一下,原项目:

我在16年的时候魔改了一发,20年的时候小修了一下,变成现在这样
最初能追溯到的版本是 [https://www.latexstudio.net/archives/4051.html](https://www.latexstudio.net/archives/4051.html)

Overleaf模板位于:[https://www.overleaf.com/latex/templates/thu-beamer-theme/vwnqmzndvwyb](https://www.overleaf.com/latex/templates/thu-beamer-theme/vwnqmzndvwyb),可以直接点开

其中的教程部分参考了大鹰团长的介绍:[https://tuna.moe/event/2018/latex/](https://tuna.moe/event/2018/latex/)
现项目GitHub:[https://github.com/Visors/SCUEC-Beamer-Theme](https://github.com/Visors/SCUEC-Beamer-Theme)

添加了minted用例,由于正文字体大,使用时可按需调整fontsize参数。
2 changes: 1 addition & 1 deletion Tsinghua.sty → SCUEC.sty
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@
%\useoutertheme{default}
%\useinnertheme[shadow=true]{rounded}

\xdefinecolor{tsinghua}{rgb}{0.455,0.204,0.506} %RGB#82318E
\xdefinecolor{tsinghua}{rgb}{0.05,0.45,0.23} %RGB#0D723A
\setbeamercolor{footline}{bg=tsinghua}
\setbeamercolor{frametitle}{bg=tsinghua,fg=white}
\setbeamercolor{title}{bg=tsinghua}
Expand Down
Binary file added minted.pdf
Binary file not shown.
Binary file added pic/.DS_Store
Binary file not shown.
6,772 changes: 0 additions & 6,772 deletions pic/Tsinghua_University_Logo.eps

This file was deleted.

995 changes: 995 additions & 0 deletions pic/scuec-logo.eps

Large diffs are not rendered by default.

Binary file added pic/scuec-logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
8 changes: 4 additions & 4 deletions ref.bib
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
@inproceedings{origin,
author = {unknown},
title = {THU Beamer Theme},
year = {2015},
url = {http://far.tooold.cn/post/latex/beamertsinghua},
author = {Zuoquan Wan},
title = {SCUEC Beamer Theme},
year = {2021},
url = {https://github.com/Visors/SCUEC-Beamer-Theme},
}
37 changes: 30 additions & 7 deletions slide.tex
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,23 @@
\usepackage{latexsym,amsmath,xcolor,multicol,booktabs,calligra}
\usepackage{graphicx,pstricks,listings,stackengine}

\author{翁家翌}
\title{THU Beamer Theme}
% my settings
\definecolor{mintbg}{rgb}{0.95,0.95,0.95}
\usepackage{minted}
\setminted{
breaklines,
linenos,
mathescape,
bgcolor=mintbg
}
%

\author{万祚全}
\title{SCUEC Beamer Theme}
\subtitle{毕业设计开题报告}
\institute{清华大学计算机科学与技术系}
\date{2020年1月2日}
\usepackage{Tsinghua}
\institute{中南民族大学计算机科学学院}
\date{2021年1月8日}
\usepackage{SCUEC}

% defs
\def\cmd#1{\texttt{\color{red}\footnotesize $\backslash$#1}}
Expand Down Expand Up @@ -40,7 +51,7 @@
\titlepage
\begin{figure}[htpb]
\begin{center}
\includegraphics[width=0.2\linewidth]{pic/Tsinghua_University_Logo.eps}
\includegraphics[width=0.2\linewidth]{pic/scuec-logo.eps}
\end{center}
\end{figure}
\end{frame}
Expand Down Expand Up @@ -338,11 +349,23 @@ \subsection{如何更好地做Beamer}
\end{itemize}
\begin{figure}[htpb]
\centering
\includegraphics[width=0.2\linewidth]{pic/Tsinghua_University_Logo.eps}
\includegraphics[width=0.2\linewidth]{pic/scuec-logo.eps}
\caption{这个校徽就是矢量图}
\end{figure}
\end{frame}

\begin{frame}[fragile]{快速展示代码}
% 更多关于minted的用法请参考minted.pdf
\begin{minted}{c++}
#include <iostream>

int main() {
std::cout << "Hello, World!" << std::endl;
return 0;
}
\end{minted}
\end{frame}


\section{计划进度}
\begin{frame}
Expand Down

0 comments on commit dff216d

Please sign in to comment.