Beamer for SCNUer
Author
Longjie Chen
Last Updated
před 2 lety
License
Creative Commons CC BY 4.0
Abstract
这是一个简单的beamer for scnuer,可根据需求自行修改,部分已注释。
\documentclass[10pt]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{xeCJK}
\usepackage{graphicx}
\usepackage {mathtools}
\usepackage{utopia} %font utopia imported
\usetheme{CambridgeUS}
\usecolortheme{dolphin}
% set colors
\definecolor{myNewColorA}{RGB}{25,25,112}
\definecolor{myNewColorB}{RGB}{25,25,112}
\definecolor{myNewColorC}{RGB}{25,25,112}%%请根据需求调整主题颜色,参考RGB配色
\setbeamercolor*{palette primary}{bg=myNewColorC}
\setbeamercolor*{palette secondary}{bg=myNewColorB, fg = white}
\setbeamercolor*{palette tertiary}{bg=myNewColorA, fg = white}
\setbeamercolor*{titlelike}{fg=myNewColorA}
\setbeamercolor*{title}{bg=myNewColorA, fg = white}
\setbeamercolor*{item}{fg=myNewColorA}
\setbeamercolor*{caption name}{fg=myNewColorA}
\usefonttheme{professionalfonts}
\usepackage{natbib}
\usepackage{hyperref}
%------------------------------------------------------------
\titlegraphic{\includegraphics[height=1.5cm]{logo.jpg}}%%根据需求修改Logo
\setbeamerfont{title}{size=\large}
\setbeamerfont{subtitle}{size=\small}
\setbeamerfont{author}{size=\small}
\setbeamerfont{date}{size=\small}
\setbeamerfont{institute}{size=\small}
\title[SCNU]{Parton Model}%主标题
%\subtitle{ }%%副标题
\author[Longjie Chen]{Longjie Chen}%%作者
\institute[IQM]{South China
%%上一行IQM可改为自己邮箱
Normal University}%%学校,单位
\date[\textcolor{white}{\today} ]
{\today}%%时间
%------------------------------------------------------------
%This block of commands puts the table of contents at the
%beginning of each section and highlights the current section:
%\AtBeginSection[]
%{
% \begin{frame}
% \frametitle{Contents}
% \tableofcontents[currentsection]
% \end{frame}
%}
\AtBeginSection[]{
\begin{frame}
\vfill
\centering
\begin{beamercolorbox}[sep=8pt,center,shadow=true,rounded=true]{title}
\usebeamerfont{title}\insertsectionhead\par%
\end{beamercolorbox}
\vfill
\end{frame}
}
%------------------------------------------------------------
\begin{document}
%The next statement creates the title page.
\frame{\titlepage}
\begin{frame}
\frametitle{Contents}
\tableofcontents
\end{frame}
%------------------------------------------------------------
\section{Introduction}
\begin{frame}{Introduction}
In this part I'll...
\end{frame}
\section{Contents}
\begin{frame}{Contents}
Contens...
\end{frame}
\section{Summary}
\begin{frame}{Summary}
Summary of the above...
\end{frame}
\section{Prospect}
\begin{frame}{Prospect}
Future research plan....
\end{frame}
\section*{Acknowledgement}
\begin{frame}
\textcolor{myNewColorA}{\Huge{\centerline{Thank you!}}}
\end{frame}
\end{document}