\documentclass[serif,11pt]{beamer}
%=================================================
% theme and color
%=================================================
\usetheme{Warsaw} %Themes http://www.hartwork.org/beamer-theme-matrix/
\definecolor{colorA}{RGB}{96, 34, 59}
\definecolor{colorB}{RGB}{140, 151, 154}
\setbeamercolor{structure}{fg=colorA,bg=colorB}
\setbeamertemplate{headline}{}
\usepackage[ruled, linesnumbered, vlined]{algorithm2e}
\usepackage{epsfig, subfigure, amssymb, multirow, algorithmic, amsmath}
\bibliographystyle{elsarticle-num}
\usepackage{pdfcomment}
\newcommand*{\superscript}[1]{\ensuremath{^{\rm #1}}}
\newcommand*{\subscript}[1]{\ensuremath{_{\rm #1}}}
\newcommand{\pdfnote}[1]{\marginnote{\pdfcomment[icon=note]{#1}}}%
\newcounter{saveenumi}
\newcommand{\seti}{\setcounter{saveenumi}{\value{enumi}}}
\newcommand{\conti}{\setcounter{enumi}{\value{saveenumi}}}
\resetcounteronoverlays{saveenumi}
\setbeamertemplate{caption}[numbered]
\usepackage[british]{datetime}
%===============
%(preamble)
%==============
\title[State University, South \hspace{0.6cm} \insertframenumber/\inserttotalframenumber]
{hidden Markov model for the detection and classification of fishs \vspace*{-0.3cm}}
\author[]{\vspace*{-0.2cm}Cutie Mohammed}
\institute{Department of Electrical and Electronic Engineering, \\ State uni, South}
\begin{document}
%========================
% title page
%========================
\begin{frame}
\begin{center}
\vspace{0.02cm}
\includegraphics[scale=0.35]{kks.jpeg}
\end{center}
\titlepage
\end{frame}
\begin{frame}
\frametitle{Contents}
\tableofcontents
\end{frame}
\section{Introduction}
\begin{frame}{Background}
\setbeamertemplate{itemize items}[triangle]
\Large {Introduction.}
\pdfnote{\alert {...because of their importance. The importance include....}}
\begin{itemize}
\item Economic value.
\pdfnote{\alert {Economics importance of whales are:} \newline Tourism: whale watching and tourism involve about 87 nations
\newline generates \$2 Billion annually (J S Smith paper)
\newline Thus, creating employments \& generate revenue for government.}
\vspace{0.5cm}
\pause \item Contribute to the maintenance of healthy marine ecosystem.
\pdfnote{Predator control: They serve as predators, thus controlling the population of small marine animals.
\item Circulate ocean nutrients when they defecate: because they consume small mammal,
\item Reduce the amount of carbon in the ocean because they consume large amount of small fish.
\item Climate regulation: because they store carbon in their body.
\item Serve as sentry (guard) species for marine system.}
\vspace{0.5cm}
\pause \item Security.
\pdfnote{Because of their exceptional sensory capabilities, whale have been deployed by military organisations for tasks such as mine detection and clearance, port security and coastal patrol.}
\end{itemize}
\end{frame}
\end{document}
答案1
您可以直接使用 beamer 的\note
宏,也可以\pdfnote
像这样重新定义宏:
\documentclass[serif,11pt]{beamer}
%=================================================
% theme and color
%=================================================
\usetheme{Warsaw} %Themes http://www.hartwork.org/beamer-theme-matrix/
\definecolor{colorA}{RGB}{96, 34, 59}
\definecolor{colorB}{RGB}{140, 151, 154}
\setbeamercolor{structure}{fg=colorA,bg=colorB}
\setbeamertemplate{headline}{}
\usepackage[ruled, linesnumbered, vlined]{algorithm2e}
\usepackage{epsfig, subfigure, amssymb, multirow, algorithmic, amsmath}
\bibliographystyle{elsarticle-num}
\usepackage{pdfcomment}
\newcommand*{\superscript}[1]{\ensuremath{^{\rm #1}}}
\newcommand*{\subscript}[1]{\ensuremath{_{\rm #1}}}
\newcommand{\pdfnote}[1]{\marginnote{\pdfcomment[icon=note]{#1}}}%
\newcounter{saveenumi}
\newcommand{\seti}{\setcounter{saveenumi}{\value{enumi}}}
\newcommand{\conti}{\setcounter{enumi}{\value{saveenumi}}}
\resetcounteronoverlays{saveenumi}
\setbeamertemplate{caption}[numbered]
\usepackage[british]{datetime}
%===============
%(preamble)
%==============
\title[State University, South \hspace{0.6cm} \insertframenumber/\inserttotalframenumber]
{hidden Markov model for the detection and classification of fishs \vspace*{-0.3cm}}
\author[]{\vspace*{-0.2cm}Cutie Mohammed}
\institute{Department of Electrical and Electronic Engineering, \\ State uni, South}
\setbeameroption{show notes on second screen}
\renewcommand{\pdfnote}[1]{\note{#1}}
\begin{document}
%========================
% title page
%========================
\begin{frame}
\begin{center}
\vspace{0.02cm}
% \includegraphics[scale=0.35]{kks.jpeg}
\end{center}
\titlepage
\end{frame}
\begin{frame}
\frametitle{Contents}
\tableofcontents
\end{frame}
\section{Introduction}
\begin{frame}{Background}
\setbeamertemplate{itemize items}[triangle]
\Large {Introduction.}
\pdfnote{\alert{...because of their importance. The importance include....}}
\begin{itemize}
\item Economic value.
\pdfnote{\alert {Economics importance of whales are:} \newline Tourism: whale watching and tourism involve about 87 nations
\newline generates \$2 Billion annually (J S Smith paper)
\newline Thus, creating employments \& generate revenue for government.}
\vspace{0.5cm}
\pause \item Contribute to the maintenance of healthy marine ecosystem.
\pdfnote{Predator control: They serve as predators, thus controlling the population of small marine animals.
\begin{itemize}
\item Circulate ocean nutrients when they defecate: because they consume small mammal,
\item Reduce the amount of carbon in the ocean because they consume large amount of small fish.
\item Climate regulation: because they store carbon in their body.
\item Serve as sentry (guard) species for marine system.
\end{itemize}
}
\vspace{0.5cm}
\pause \item Security.
\pdfnote{Because of their exceptional sensory capabilities, whale have been deployed by military organisations for tasks such as mine detection and clearance, port security and coastal patrol.}
\end{itemize}
\end{frame}
\end{document}
(有关在单独屏幕上显示注释的专用 PDF 查看器列表,请参阅Linux 上是否有专门用于 Latex-Beamer 演示文稿的 Pdf 查看器?)