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-------------------------%
|
||||
\usepackage[english]{babel}
|
||||
\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}
|
||||
\frame[plain]{\titlepage}
|
||||
\frame{\frametitle{Outline}\tableofcontents}
|
||||
|
||||
\author{Zhibo Wang}
|
||||
\title{Beamer Theme}
|
||||
\date{November 26th, 2018}
|
||||
\section{Introduction}
|
||||
|
||||
\AtBeginSection[]{
|
||||
\frame{\frametitle{Outline}\tableofcontents[currentsection,
|
||||
subsectionstyle=show/show/shaded]}
|
||||
}
|
||||
|
||||
\begin{document}
|
||||
|
||||
\frame[plain]{\titlepage}
|
||||
\frame{\frametitle{Outline}\tableofcontents}
|
||||
|
||||
\section{Introduction}
|
||||
|
||||
\begin{frame}
|
||||
\begin{frame}
|
||||
\frametitle{Latex and Beamer}
|
||||
|
||||
LaTeX is a high-quality typesetting system;
|
||||
@ -43,12 +20,12 @@
|
||||
The beamer class is focussed on producing (on-screen) presentations,
|
||||
along with support material such as handouts and speaker notes.
|
||||
|
||||
\end{frame}
|
||||
\end{frame}
|
||||
|
||||
\section{Beamer Basic}
|
||||
\subsection{Hightlight}
|
||||
\section{Beamer Basic}
|
||||
\subsection{Hightlight}
|
||||
|
||||
\begin{frame}
|
||||
\begin{frame}
|
||||
\frametitle{Block and Alert}
|
||||
|
||||
\vspace{-1.1cm}
|
||||
@ -69,9 +46,9 @@
|
||||
\end{alertblock}
|
||||
|
||||
\alert{Hightlight} these words are highlighted by $\backslash alert$.
|
||||
\end{frame}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}
|
||||
\begin{frame}
|
||||
\frametitle{Proof}
|
||||
|
||||
\begin{block}{Pythagorean theorem}
|
||||
@ -91,11 +68,11 @@
|
||||
% \vspace*{-\baselineskip}\setlength\belowdisplayshortskip{0pt}
|
||||
\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]
|
||||
\KwData{this text}
|
||||
@ -113,9 +90,9 @@
|
||||
\caption{How to write algorithms
|
||||
(copied from \href{https://en.wikibooks.org/wiki/LaTeX/Algorithms}{here})}
|
||||
\end{algorithm}
|
||||
\end{frame}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}{More}
|
||||
\begin{frame}{More}
|
||||
|
||||
More environments such as
|
||||
|
||||
@ -126,13 +103,13 @@
|
||||
\item example
|
||||
\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{figure}[h]
|
||||
\includegraphics[width=\textwidth]{imgs/pythagorean.jpg}
|
||||
@ -152,9 +129,9 @@
|
||||
\end{itemize}
|
||||
\end{minipage}
|
||||
|
||||
\end{frame}
|
||||
\end{frame}
|
||||
|
||||
\begin{frame}{Columns}
|
||||
\begin{frame}{Columns}
|
||||
\begin{columns}
|
||||
\column{0.5\textwidth}
|
||||
This is a text in first column.
|
||||
@ -173,14 +150,12 @@
|
||||
\end{block}
|
||||
|
||||
\end{columns}
|
||||
\end{frame}
|
||||
\end{frame}
|
||||
|
||||
\subsection{Table}
|
||||
\subsection{Table}
|
||||
|
||||
|
||||
|
||||
|
||||
\begin{frame}{Create Tables}
|
||||
\begin{frame}{Create Tables}
|
||||
\begin{center}
|
||||
\begin{table}[!t]
|
||||
% \caption{Three line}
|
||||
@ -196,12 +171,12 @@
|
||||
\end{tabular}
|
||||
\end{table}
|
||||
\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.
|
||||
\end{frame}
|
||||
|
||||
\end{document}
|
||||
\end{frame}
|
@ -1,3 +1,7 @@
|
||||
\documentclass[aspectratio=169]{beamer}
|
||||
\input{template_long.tex}
|
||||
\input{content.tex}
|
||||
\input{pkgs.tex}
|
||||
\input{setting169.tex}
|
||||
\input{global.tex}
|
||||
\begin{document}
|
||||
\input{content.tex}
|
||||
\end{document}
|
@ -1,10 +1,7 @@
|
||||
\documentclass{beamer}
|
||||
|
||||
\usetheme{Copenhagen}
|
||||
\usecolortheme{beaver}
|
||||
\input{template_short.tex}
|
||||
|
||||
\input{pkgs.tex}
|
||||
\input{global.tex}
|
||||
\input{setting43.tex}
|
||||
\begin{document}
|
||||
\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