latex beamer技巧

扫码查看
%章节标题
\section{Related work(LSH)}
%开始一页ppt
\begin{frame}{Related work}{} \partitle{Locality-Sensitive Hashing, LSH} \\ \vspace{1ex} \qquad LSH reduces the dimensionality of \alert{high-dimensional data}. LSH hashes input items so that similar items map to the same “buckets” with high probability. \footnote{Locality-Sensitive Hashing, LSH. Wikipedia} \vspace{2ex}
%插入图片
\begin{figure}[H]
\includegraphics[width=6cm,height=3cm]{2}
\hspace{3ex}
\includegraphics[width=4cm,height=3cm]{3}
\end{figure} \end{frame}

下面是整个ppt的模板

\documentclass[10pt, aspectratio=43]{beamer}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{verbatim}
\usepackage{amsmath, amsfonts, amssymb, amsthm, bm}
\usepackage{graphicx, tikz, pgfplots}
\usepackage{times, courier, verbatim}
\usepackage{multicol, multirow}
\usepackage{booktabs}
\usepackage{caption}
%\usepackage[UTF8,noindent]{ctexcap}
\usetheme{CambridgeUS}
\usecolortheme{seahorse}
%主题:AnnArbor Antibes Bergen Berkeley Berlin Boadilla boxes CambridgeUS Copenhagen Darmstadt default Dresden Frankfurt Goettingen Hannover Ilmenau JuanLesPinsLuebeck Madrid Malmoe Marburg Montpellier PaloAlto Pittsburgh Rochester Singapore Szeged Warsaw
%颜色:albatross beaver beetle crane default dolphin dove fly lily orchid rose seagull seahorse sidebartab structure whale wolverine \defbeamertemplate*{footline}{myfootline}
{%
\leavevmode%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.5ex,dp=1.125ex,center]{author in head/foot} Shan Yiran %
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.5ex,dp=1.125ex,center]{subsection in head/foot} Group\_meeting %
\end{beamercolorbox}%
\begin{beamercolorbox}[wd=.333333\paperwidth,ht=2.5ex,dp=1.125ex,center]{time in head/foot}
\usebeamerfont{date in head/foot}\insertshortdate{}\hspace*{2em}
\insertframenumber{} / \inserttotalframenumber\hspace*{2ex}
\end{beamercolorbox}%
\vskip0pt%
} \newcommand{\partitle}[1]{\underline{\textbf{\large#1}}}
\setlength{\columnsep}{2ex}
\setbeamertemplate{items}[ball]
%\renewcommand\thesection{\arabic{section}}
%\renewcommand\thesubsection{\thesection.\arabic{subsection}} \begin{document}
\setbeamertemplate{footline}{}
\bibliographystyle{unsrt}
\title{Graph Neural Networks}
\subtitle {A review of Methods and Applications}
\author{Shan Yiran}
\institute {BNRIST Bioinformatics Division\\ Department of Automation \\Tsinghua University,Beijing 100084, China
}
\date{\today}
\setbeamercovered{invisible}
\setbeamertemplate{navigation symbols}{}
%第一页ppt
\begin{frame}
\titlepage
\end{frame} \begin{frame} \begin{center}
\includegraphics[width=1\linewidth]{1}
\end{center} \end{frame}
%测试ppt
\begin{frame}
\frametitle{Frame title}
\begin{block}{Observation 1}
Simmons Hall is composed of metal and concrete.
\end{block}
\begin{exampleblock}{Observation 2}
Simmons Dormitory is composed of brick.
\end{exampleblock}
\begin{alertblock}{Conclusion}
Simmons Hall $\not=$ Simmons Dormitory.
\end{alertblock}
\end{frame} %第二页ppt \begin{frame}
\frametitle{Frame title}
\begin{block}{Observation 1}
Simmons Hall is composed of metal and concrete.
\end{block}
\begin{exampleblock}{Observation 2}
Simmons Dormitory is composed of brick.
\end{exampleblock}
\begin{alertblock}{Conclusion}
Simmons Hall $\not=$ Simmons Dormitory.
\end{alertblock}
\end{frame} \setbeamertemplate{footline}[myfootline] \begin{frame}{Content}
\setbeamertemplate{section in toc}[]
\tableofcontents[]
\end{frame} \AtBeginSection[] {
\begin{frame}<beamer>
\frametitle{Content}
\tableofcontents[currentsection]
\end{frame}
} \section{The fundamental computing problem} \begin{frame}{The fundamental computing problem}{} \partitle{The query of High dimension data} \\ \vspace{1ex} \qquad \alert{Large-scale} and \alert{high dimension data} attracts more and more attention. \vspace{2ex} The specific application: \begin{itemize}
\item Duplicate checking
\item Identifying similar images in a database
\item Identifying similar documentson the web
\item Image retrieval
\item Music retrieval
\item Fingerprint matching
\end{itemize} \vspace{1ex} \end{frame} \section{Related work(LSH)} \begin{frame}{Related work}{} \partitle{Locality-Sensitive Hashing, LSH} \\ \vspace{1ex} \qquad LSH reduces the dimensionality of \alert{high-dimensional data}. LSH hashes input items so that similar items map to the same “buckets” with high probability. \footnote{Locality-Sensitive Hashing, LSH. Wikipedia} \vspace{2ex} \end{frame} \section{The fly algorithm } \begin{frame}{The fly algorithm}{based on the fly olfactory circuit} \partitle{The fly algorithm principle} \\ \vspace{1ex} \qquad The fly circuit assigns
\alert{similar neural activity patterns} to similar odors, so that behaviors learned from one odor can
be applied when a similar odor is experienced. \vspace{2ex} \end{frame} \section{Differences between Fly \& LSH} \begin{frame}{Differences between Fly \& LSH}{} \partitle{The fly algorithm principle} \\ \vspace{1ex} \begin{itemize}
\item Sparse, binary random projections VS Dense,
Gaussian random projections
\item Expands the dimensionality VS Reduces
the dimensionality
\item The higher-dimensionality representation
VS A dense representation.
\end{itemize}
\vspace{2ex} \end{frame} \section{Result} \begin{frame}{Result\&Conclusion}{} \partitle{Overall comparison between the fly algorithm and LSH.} \\ \vspace{1ex} \partitle{Conclussion: AI already has olfactory systems...} \end{frame} \begin{frame}{}{}
{\centering\begin{center}
\bf \Huge Thanks!
\end{center} }
\end{frame} \end{document}

编译器的设置:

latex beamer技巧-LMLPHP

下面是具体的一些小贴士和实现效果,持续更新中...

1.-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

文字加入边框:(exampleblock)

\begin{frame}
\frametitle{Frame title}
\begin{block}{Observation 1}
Simmons Hall is composed of metal and concrete.
\end{block}
\begin{exampleblock}{Observation 2}
Simmons Dormitory is composed of brick.
\end{exampleblock}
\begin{alertblock}{Conclusion}
Simmons Hall $\not=$ Simmons Dormitory.
\end{alertblock}
\end{frame}

效果

latex beamer技巧-LMLPHP

2.-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

举例

\begin{frame}
\begin{enumerate}
\item haha \textbf{PGF}: dd \textbf{TikZ}: dd \item dd: dd(dd、2-dd-dd)
\item dd:dd
\end{enumerate}
\end{frame}

效果

latex beamer技巧-LMLPHP

3.-------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

双栏

\begin{frame}[t]{Main Title}{Subtitle}
\begin{columns}
\begin{column}[T]{0.5\textwidth}
\includegraphics[width=\textwidth]{1}
\end{column}
\begin{column}[T]{0.5\textwidth}
blah, blah, blah...
\end{column}
\end{columns}
\end{frame}

latex beamer技巧-LMLPHP

05-11 15:24
查看更多