我正在使用beamer
带note
页面的课程。在右上角我总是看到笔记所指的幻灯片。可以更改此预览的大小吗?
\documentclass{beamer}
\setbeameroption{show notes}
\begin{document}
\section{foo}
\begin{frame}{foo}
Some text.
\end{frame}
\note{Many notes}
\end{document}
答案1
Beamer 的模板note page
(见beamerouterthemedefault.sty
)定义了笔记页的构造方式。笔记页中的幻灯片大小在此模板中是硬编码的。默认情况下,笔记标题使用.25\paperheight
其中的幻灯片,而笔记中的幻灯片缩小为.25\paperheight x .25\paperwidth
。
在下一个代码中,我复制了note page
模板并更改了注释标题和幻灯片注释比例以使用.45\paperheight
。这不是一个优雅的解决方案,它减少了注释的可用空间。也许其他人会提供更好的答案。
\documentclass[notes]{beamer}
\usepackage{mwe}
\makeatletter
\defbeamertemplate*{note page}{mynotes}
{%
{%
\scriptsize
\usebeamerfont{note title}\usebeamercolor[fg]{note title}%
\ifbeamercolorempty[bg]{note title}{}{%
\insertvrule{.45\paperheight}{note title.bg}%
\vskip-.45\paperheight%
\nointerlineskip%
}%
\vbox{
\hfill\insertslideintonotes{0.45}\hskip-\Gm@rmargin\hskip0pt%
\vskip-0.45\paperheight%
\nointerlineskip
\begin{pgfpicture}{0cm}{0cm}{0cm}{0cm}
\begin{pgflowlevelscope}{\pgftransformrotate{90}}
{\pgftransformshift{\pgfpoint{-2cm}{0.2cm}}%
\pgftext[base,left]{\usebeamerfont{note date}\usebeamercolor[fg]{note date}\the\year-\ifnum\month<10\relax0\fi\the\month-\ifnum\day<10\relax0\fi\the\day}}
\end{pgflowlevelscope}
\end{pgfpicture}}
\nointerlineskip
\vbox to .45\paperheight{\vskip0.5em
\hbox{\insertshorttitle[width=8cm]}%
\setbox\beamer@tempbox=\hbox{\insertsection}%
\hbox{\ifdim\wd\beamer@tempbox>1pt{\hskip4pt\raise3pt\hbox{\vrule
width0.4pt height7pt\vrule width 9pt
height0.4pt}}\hskip1pt\hbox{\begin{minipage}[t]{7.5cm}\def\breakhere{}\insertsection\end{minipage}}\fi%
}%
\setbox\beamer@tempbox=\hbox{\insertsubsection}%
\hbox{\ifdim\wd\beamer@tempbox>1pt{\hskip17.4pt\raise3pt\hbox{\vrule
width0.4pt height7pt\vrule width 9pt
height0.4pt}}\hskip1pt\hbox{\begin{minipage}[t]{7.5cm}\def\breakhere{}\insertsubsection\end{minipage}}\fi%
}%
\setbox\beamer@tempbox=\hbox{\insertshortframetitle}%
\hbox{\ifdim\wd\beamer@tempbox>1pt{\hskip30.8pt\raise3pt\hbox{\vrule
width0.4pt height7pt\vrule width 9pt
height0.4pt}}\hskip1pt\hbox{\insertshortframetitle[width=7cm]}\fi%
}%
\vfil}%
}%
\ifbeamercolorempty[bg]{note page}{}{%
\nointerlineskip%
\insertvrule{.55\paperheight}{note page.bg}%
\vskip-.55\paperheight%
}%
\vskip.25em
\nointerlineskip
\insertnote
}
\makeatother
\setbeameroption{show notes}
\setbeamertemplate{note page}[mynotes]
\begin{document}
\begin{frame}
\lipsum[1]
\end{frame}
\note[itemize]
{\item This is a note
\item A second note}
\end{document}