I have some `beamer` slides with notes on the right hand side, and would like to horizontally and vertically center the text on the note page.
I've tried:
\documentclass[11pt]{beamer}
\usepackage[gen]{eurosym}
\setbeamerfont{caption}{size=\scriptsize}
\renewcommand*{\thefootnote}{\fnsymbol{footnote}}
\renewcommand*\footnoterule{}
\setbeamerfont{footnote}{size=\tiny}
\setbeamersize{text margin left=7mm,text margin right=7mm}
\usepackage{pgfpages}
\setbeameroption{show notes on second screen=right}
\begin{document}
\begin{frame}{Slide Title}
Some text in the main slides
\end{frame}
\note{
\begin{center}
Center this horizontally and vertically
\end{center}
}
%------------------------------------------------
\end{document}
Which results in:
[![enter image description here][1]][1]
I know we can use `\begin{frame}[c]` in the main slides but such option is not available for notes pages. Besides [this answer][2], is there a simple/straightforward approach?
[1]: https://i.stack.imgur.com/vXfgA.png
[2]: https://tex.stackexchange.com/a/208635/2720
Top Answer
samcarter
The answer from @marmot beautifully explains how to centre individual notes.
In case all notes should be centred, one could define a new template for the note page:
```
\documentclass[11pt]{beamer}
\usepackage[gen]{eurosym}
\setbeamerfont{caption}{size=\scriptsize}
\renewcommand*{\thefootnote}{\fnsymbol{footnote}}
\renewcommand*\footnoterule{}
\setbeamerfont{footnote}{size=\tiny}
\setbeamersize{text margin left=7mm,text margin right=7mm}
\usepackage{pgfpages}
\setbeameroption{show notes on second screen=right}
\makeatletter
\defbeamertemplate*{note page}{center}
{%
{%
\scriptsize
\usebeamerfont{note title}\usebeamercolor[fg]{note title}%
\ifbeamercolorempty[bg]{note title}{}{%
\insertvrule{.25\paperheight}{note title.bg}%
\vskip-.25\paperheight%
\nointerlineskip%
}%
\vbox{
\hfill\insertslideintonotes{0.25}\hskip-\Gm@rmargin\hskip0pt%
\vskip-0.25\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 .25\paperheight{\vskip0.5em
\hbox{\insertshorttitle[width=0.75\textwidth]}%
\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]{0.71\textwidth}\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]{0.71\textwidth}\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=0.67\textwidth]}\fi%
}%
\vfil}%
}%
\ifbeamercolorempty[bg]{note page}{}{%
\nointerlineskip%
\insertvrule{.75\paperheight}{note page.bg}%
\vskip-.75\paperheight%
}%
\vskip.25em
\nointerlineskip
\begin{minipage}[c][.7\paperheight][c]{\linewidth}
\centering
\insertnote
\end{minipage}
}
\makeatother
\begin{document}
\begin{frame}{Slide Title}
Some text in the main slides
\end{frame}
\note{
Center this horizontally and vertically
}
\begin{frame}{Slide Title}
Some text in the main slides
\end{frame}
\setbeamertemplate{note page}[default]
\note{
switch back to default note
}
%------------------------------------------------
\end{document}
```
Just add `\vfill`s.
\documentclass[11pt]{beamer}
\usepackage[gen]{eurosym}
\setbeamerfont{caption}{size=\scriptsize}
\renewcommand*{\thefootnote}{\fnsymbol{footnote}}
\renewcommand*\footnoterule{}
\setbeamerfont{footnote}{size=\tiny}
\setbeamersize{text margin left=7mm,text margin right=7mm}
\usepackage{pgfpages}
\setbeameroption{show notes on second screen=right}
\begin{document}
\begin{frame}{Slide Title}
Some text in the main slides
\end{frame}
\note{\vfill
\begin{center}
Center this horizontally and vertically
\end{center}
\vfill
}
%------------------------------------------------
\end{document}
[![enter image description here][1]][1]
[1]: https://i.stack.imgur.com/cBAeS.png