I've been struggling to use the field \note[item] in a Beamer document in LyX. I can use \note[item] or \note inside or outside a frame environment if I write in a regular TeX document, but I can't seem to make it work in LyX. LyX throws an error: "Package keyval Error: item undefined."
Below is a simple document that I cannot compile as an example. I'm running LyX version 2.2.3 and MikTex (2.9, 32-bit... I think) on Windows 10.
Can anyone help me out? Thank you so much!
Code: Select all
% Preview source code
%% LyX 2.2.3 created this file. For more info, see http://www.lyx.org/.
%% Do not edit unless you really know what you are doing.
\documentclass[english,show notes]{beamer}
\usepackage[T1]{fontenc}
\usepackage[latin9]{inputenc}
\setcounter{secnumdepth}{3}
\setcounter{tocdepth}{3}
\makeatletter
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% Textclass specific LaTeX commands.
% this default might be overridden by plain title style
\newcommand\makebeamertitle{\frame{\maketitle}}%
% (ERT) argument for the TOC
\AtBeginDocument{%
\let\origtableofcontents=\tableofcontents
\def\tableofcontents{\@ifnextchar[{\origtableofcontents}{\gobbletableofcontents}}
\def\gobbletableofcontents#1{\origtableofcontents}
}
\makeatother
\usepackage{babel}
\begin{document}
\begin{frame}{My title}
\end{frame}
\note[item]{Here is a note}
\end{document}