Beamer for SNNUer
Author
Jiahao Shi
Last Updated
6 месяцев назад
License
Creative Commons CC BY 4.0
Аннотация
This is a simple beamer template for SNNUers
%author : Jiahao Shi 2024/5/10
\documentclass[10pt]{beamer}
\usepackage[utf8]{inputenc}
\usepackage{xeCJK}
\usepackage{graphicx}
\usepackage {mathtools}
\usepackage{utopia} %font utopia imported
\usetheme{Madrid}
\usecolortheme{dolphin}
% custom colors 自定义颜色,可根据主题调整
\definecolor{redforsnnu}{RGB}{155,35,28}
\definecolor{blueforsnnu}{RGB}{0, 47, 167}
\definecolor{greenforsnnu}{RGB}{14,133,66}
\definecolor{darkblue}{RGB}{0,49,82}
\definecolor{middleblue}{RGB}{0, 102, 204}
\definecolor{lightblue}{RGB}{0, 128, 255}
\setbeamercolor*{palette primary}{bg=lightblue}
\setbeamercolor*{palette secondary}{bg=middleblue, fg = white}
\setbeamercolor*{palette tertiary}{bg=blueforsnnu, fg = white}
\setbeamercolor*{titlelike}{fg=blueforsnnu}
\setbeamercolor*{title}{bg=blueforsnnu, fg = white}
\setbeamercolor*{item}{fg=blueforsnnu}
\setbeamercolor*{caption name}{fg=blueforsnnu}
\usefonttheme{professionalfonts}
\usepackage{natbib}
\usepackage{hyperref}
\usepackage{tikz}
\titlegraphic {
\begin{tikzpicture}[overlay,remember picture]
\node[left=8cm] at (current page.32){
\includegraphics[height=1.5cm]{logo.jpg}
};
\node[left=0.2cm] at (current page.31){
\includegraphics[height=1.45cm]{school_logo1.png}
};
\end{tikzpicture}
}
%------------------------------------------------------------
%\titlegraphic{\includegraphics[height=2cm]{school_logo1.png}}%%根据需求修改Logo
\setbeamerfont{title}{size=\large}
\setbeamerfont{subtitle}{size=\small}
\setbeamerfont{author}{size=\small}
\setbeamerfont{date}{size=\small}
\setbeamerfont{institute}{size=\small}
\title[Hydrodynamic model in Heavy-ion collisions]{\textbf{Hydrodynamic model in Heavy-ion collisions}}%主标题
%\subtitle{ }%%副标题
\author[Jiahao Shi]{Jiahao Shi}%%作者
\institute[sjhsnnu@snnu.edu.cn]{School of Physics and Information Technology\\Shaanxi Normal University\\Xi'an 710119, China}%%学校,单位
\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
\transfade
\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{\textbf{Introduction}}
\begin{frame}{Introduction}
In this part we'll...
\end{frame}
\section{\textbf{Results}}
\begin{frame}{Results}
\begin{figure}
\begin{center}
\includegraphics[width=0.5\textwidth]{quark.png}
\caption{quark model}
\end{center}
\end{figure}
\end{frame}
\section{\textbf{Conclusion}}
\begin{frame}{Conclusion}
Conclusion of the above...
\end{frame}
\section{\textbf{Prospect}}
\begin{frame}{Prospect}
Future research plan....
\end{frame}
\section*{Acknowledgement}
\begin{frame}
\textcolor{black}{\Huge{\centerline{Thank you!}}}
\end{frame}
\end{document}