I'm using beamer
and beamerarticle
for my class notes. I would like to include frametitles
as margin notes in <article>
mode aligned with frame content but they are a little bit misplaced.
According to LaTeX reference manual
The
\marginpar
command creates a note in the margin. The first line of the note will have the same baseline as the line in the text where the \marginpar occurs.
So, I think this misalignment is produced because there is no line (frametitle
disappears) to be used as reference. Do you know how can it be improved?
Previous example was obtained with next code
%\documentclass{beamer}
\documentclass{article}
\usepackage{beamerarticle}
\usepackage{lipsum}
\mode<article>{\setbeamertemplate{frametitle}{%
\marginpar{\insertframetitle\\%
\scriptsize\insertframesubtitle}}}
\begin{document}
\begin{frame}{Frame 1}
\lipsum[1]
\end{frame}
\begin{frame}{Frame 2}
\only<article>{\lipsum[3]}
\lipsum[2]
\end{frame}
\begin{frame}{This is a long frame title}
\lipsum[3]
\end{frame}
\end{document}