mirror of
https://github.com/congyu711/BeamerTheme.git
synced 2025-07-12 08:31:31 +08:00
split by functions
This commit is contained in:
parent
08128c7bb4
commit
a66026b364
85
content.tex
85
content.tex
@ -1,32 +1,9 @@
|
|||||||
%-------------------main body-------------------------%
|
\frame[plain]{\titlepage}
|
||||||
\usepackage[english]{babel}
|
\frame{\frametitle{Outline}\tableofcontents}
|
||||||
\usepackage{amsmath,amssymb,amstext} % math
|
|
||||||
\usepackage{float}
|
|
||||||
\usepackage{array} % array table
|
|
||||||
\usepackage{fancyhdr} % header footer
|
|
||||||
\usepackage{graphicx} % figure
|
|
||||||
\usepackage{lmodern}
|
|
||||||
\usepackage{xcolor}
|
|
||||||
\usepackage{algorithm2e}
|
|
||||||
\usepackage{booktabs}
|
|
||||||
|
|
||||||
\author{Zhibo Wang}
|
\section{Introduction}
|
||||||
\title{Beamer Theme}
|
|
||||||
\date{November 26th, 2018}
|
|
||||||
|
|
||||||
\AtBeginSection[]{
|
\begin{frame}
|
||||||
\frame{\frametitle{Outline}\tableofcontents[currentsection,
|
|
||||||
subsectionstyle=show/show/shaded]}
|
|
||||||
}
|
|
||||||
|
|
||||||
\begin{document}
|
|
||||||
|
|
||||||
\frame[plain]{\titlepage}
|
|
||||||
\frame{\frametitle{Outline}\tableofcontents}
|
|
||||||
|
|
||||||
\section{Introduction}
|
|
||||||
|
|
||||||
\begin{frame}
|
|
||||||
\frametitle{Latex and Beamer}
|
\frametitle{Latex and Beamer}
|
||||||
|
|
||||||
LaTeX is a high-quality typesetting system;
|
LaTeX is a high-quality typesetting system;
|
||||||
@ -43,12 +20,12 @@
|
|||||||
The beamer class is focussed on producing (on-screen) presentations,
|
The beamer class is focussed on producing (on-screen) presentations,
|
||||||
along with support material such as handouts and speaker notes.
|
along with support material such as handouts and speaker notes.
|
||||||
|
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\section{Beamer Basic}
|
\section{Beamer Basic}
|
||||||
\subsection{Hightlight}
|
\subsection{Hightlight}
|
||||||
|
|
||||||
\begin{frame}
|
\begin{frame}
|
||||||
\frametitle{Block and Alert}
|
\frametitle{Block and Alert}
|
||||||
|
|
||||||
\vspace{-1.1cm}
|
\vspace{-1.1cm}
|
||||||
@ -69,9 +46,9 @@
|
|||||||
\end{alertblock}
|
\end{alertblock}
|
||||||
|
|
||||||
\alert{Hightlight} these words are highlighted by $\backslash alert$.
|
\alert{Hightlight} these words are highlighted by $\backslash alert$.
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\begin{frame}
|
\begin{frame}
|
||||||
\frametitle{Proof}
|
\frametitle{Proof}
|
||||||
|
|
||||||
\begin{block}{Pythagorean theorem}
|
\begin{block}{Pythagorean theorem}
|
||||||
@ -91,11 +68,11 @@
|
|||||||
% \vspace*{-\baselineskip}\setlength\belowdisplayshortskip{0pt}
|
% \vspace*{-\baselineskip}\setlength\belowdisplayshortskip{0pt}
|
||||||
\end{proof}
|
\end{proof}
|
||||||
|
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\subsection{Other Environments}
|
\subsection{Other Environments}
|
||||||
|
|
||||||
\begin{frame}[shrink=15]{Algorithm}
|
\begin{frame}[shrink=15]{Algorithm}
|
||||||
|
|
||||||
\begin{algorithm}[H]
|
\begin{algorithm}[H]
|
||||||
\KwData{this text}
|
\KwData{this text}
|
||||||
@ -113,9 +90,9 @@
|
|||||||
\caption{How to write algorithms
|
\caption{How to write algorithms
|
||||||
(copied from \href{https://en.wikibooks.org/wiki/LaTeX/Algorithms}{here})}
|
(copied from \href{https://en.wikibooks.org/wiki/LaTeX/Algorithms}{here})}
|
||||||
\end{algorithm}
|
\end{algorithm}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\begin{frame}{More}
|
\begin{frame}{More}
|
||||||
|
|
||||||
More environments such as
|
More environments such as
|
||||||
|
|
||||||
@ -126,13 +103,13 @@
|
|||||||
\item example
|
\item example
|
||||||
\end{itemize}
|
\end{itemize}
|
||||||
|
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\section{Beamer More}
|
\section{Beamer More}
|
||||||
|
|
||||||
\subsection{Split Screen}
|
\subsection{Split Screen}
|
||||||
|
|
||||||
\begin{frame}{Minipage}
|
\begin{frame}{Minipage}
|
||||||
\begin{minipage}{0.5\linewidth}
|
\begin{minipage}{0.5\linewidth}
|
||||||
\begin{figure}[h]
|
\begin{figure}[h]
|
||||||
\includegraphics[width=\textwidth]{imgs/pythagorean.jpg}
|
\includegraphics[width=\textwidth]{imgs/pythagorean.jpg}
|
||||||
@ -152,9 +129,9 @@
|
|||||||
\end{itemize}
|
\end{itemize}
|
||||||
\end{minipage}
|
\end{minipage}
|
||||||
|
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\begin{frame}{Columns}
|
\begin{frame}{Columns}
|
||||||
\begin{columns}
|
\begin{columns}
|
||||||
\column{0.5\textwidth}
|
\column{0.5\textwidth}
|
||||||
This is a text in first column.
|
This is a text in first column.
|
||||||
@ -173,14 +150,12 @@
|
|||||||
\end{block}
|
\end{block}
|
||||||
|
|
||||||
\end{columns}
|
\end{columns}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\subsection{Table}
|
\subsection{Table}
|
||||||
|
|
||||||
|
|
||||||
|
\begin{frame}{Create Tables}
|
||||||
|
|
||||||
\begin{frame}{Create Tables}
|
|
||||||
\begin{center}
|
\begin{center}
|
||||||
\begin{table}[!t]
|
\begin{table}[!t]
|
||||||
% \caption{Three line}
|
% \caption{Three line}
|
||||||
@ -196,12 +171,12 @@
|
|||||||
\end{tabular}
|
\end{tabular}
|
||||||
\end{table}
|
\end{table}
|
||||||
\end{center}
|
\end{center}
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\section{Conclusion}
|
|
||||||
|
|
||||||
\begin{frame}{End}
|
|
||||||
|
\section{Conclusion}
|
||||||
|
|
||||||
|
\begin{frame}{End}
|
||||||
This document just aims to test styles in beamer.
|
This document just aims to test styles in beamer.
|
||||||
\end{frame}
|
\end{frame}
|
||||||
|
|
||||||
\end{document}
|
|
@ -1,3 +1,7 @@
|
|||||||
\documentclass[aspectratio=169]{beamer}
|
\documentclass[aspectratio=169]{beamer}
|
||||||
\input{template_long.tex}
|
\input{pkgs.tex}
|
||||||
\input{content.tex}
|
\input{setting169.tex}
|
||||||
|
\input{global.tex}
|
||||||
|
\begin{document}
|
||||||
|
\input{content.tex}
|
||||||
|
\end{document}
|
@ -1,10 +1,7 @@
|
|||||||
\documentclass{beamer}
|
\documentclass{beamer}
|
||||||
|
\input{pkgs.tex}
|
||||||
\usetheme{Copenhagen}
|
\input{global.tex}
|
||||||
\usecolortheme{beaver}
|
\input{setting43.tex}
|
||||||
\input{template_short.tex}
|
\begin{document}
|
||||||
|
|
||||||
\input{content.tex}
|
\input{content.tex}
|
||||||
|
\end{document}
|
||||||
|
|
||||||
|
|
8
global.tex
Normal file
8
global.tex
Normal file
@ -0,0 +1,8 @@
|
|||||||
|
\author{Zhibo Wang}
|
||||||
|
\title{Beamer Theme}
|
||||||
|
\date{November 26th, 2018}
|
||||||
|
|
||||||
|
\AtBeginSection[]{
|
||||||
|
\frame{\frametitle{Outline}\tableofcontents[currentsection,
|
||||||
|
subsectionstyle=show/show/shaded]}
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user