Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
i4
TeX Vorlagen
neo
Commits
745eebaa
Commit
745eebaa
authored
Feb 18, 2019
by
Bernhard Heinloth
Browse files
support beamer notes
parent
6c7659c5
Changes
3
Hide whitespace changes
Inline
Side-by-side
beamertheme-source/beamerinnerthemeneo.dtx
View file @
745eebaa
...
...
@@ -41,6 +41,7 @@
\RequirePackage{keyval}
\RequirePackage{calc}
\RequirePackage{pgfopts}
\RequirePackage{pgfpages}
\RequirePackage{tikz}
% \end{macrocode}
%
...
...
@@ -578,6 +579,13 @@
fg=palette primary.fg
}
\usebeamercolor[fg]{palette primary}
\makeatletter
\def\beamer@framenotesbegin{% at beginning of slide
\usebeamercolor[fg]{palette primary}
\gdef\beamer@noteitems{}%
\gdef\beamer@notes{}%
}
\makeatother
}
% \end{macrocode}
%
...
...
@@ -603,6 +611,11 @@
%
% \begin{macrocode}
\AtBeginEnvironment{beamer@frameslide}{
\makeatletter
\usebeamercolor[fg]{normal text}
\gdef\beamer@noteitems{}%
\gdef\beamer@notes{}%
\makeatother
\ifbool{neo@standout}{
\centering
\usebeamerfont{standout}
...
...
beamertheme-source/beamerthemeneo.dtx
View file @
745eebaa
...
...
@@ -32,6 +32,7 @@
%
% \begin{macrocode}
\RequirePackage{etoolbox}
\RequirePackage{pgfpages}
\RequirePackage{pgfopts}
% \end{macrocode}
%
...
...
@@ -100,6 +101,22 @@
% \end{macrocode}
% \end{macro}
%
% \begin{macro}{notes}
% Show notes in presentation
% \begin{macrocode}
\pgfkeys{/neo/notes/.cd,
.is choice,
none/.code=\pgfkeysalso{notes=hide},
hide/.code=\setbeameroption{hide notes},
show/.code=\setbeameroption{show notes},
only/.code=\setbeameroption{show only notes},
left/.code=\setbeameroption{show notes on second screen=left},
right/.code=\setbeameroption{show notes on second screen=right},
top/.code=\setbeameroption{show notes on second screen=top},
bottom/.code=\setbeameroption{show notes on second screen=bottom},
}
% \end{macrocode}
%
% Shortcut option names as aliases to the corresponding |key=value| options.
%
% \begin{macrocode}
...
...
beamertheme-source/pdfpcnotes.dtx
View file @
745eebaa
...
...
@@ -83,9 +83,9 @@
% define command \pnote{} that works like note but
% additionally writes notes to file in pdfpc readable format
\newcommand{\pnote}[
1
]{%
\newcommand{\pnote}[
2][item
]{%
% keep normal notes working
\note
{
#1}%
\note
[
#1
]{#2
}%
% if frame changed - write a new header
\ifdim\thepage pt>\lastpage pt
...
...
@@ -97,7 +97,7 @@
\fi
% write note to file
\immediate\write\pdfpcnotesfile{\unexpanded{#
1
}}%
\immediate\write\pdfpcnotesfile{\unexpanded{#
2
}}%
}
% close file on \begin{document}
\AtEndDocument{%
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment