TeX - LaTeX Asked by Yuki Takahashi on August 29, 2020
I’d like to remove the header of Beamer’s notes section but would like to keep the gray background color to distinguish it from slides. May I ask how to do this?
I found this thread (Notes on the side of beamer slides) which showed how to remove the header. But when I followed their suggestion, the background color became white.
I also tried this thread’s suggestions (How to change Beamer note page background color?), but it didn’t work once I removed the header.
MWE:
documentclass{beamer}
usepackage{pgfpages}
setbeameroption{show notes on second screen=bottom}
setbeamertemplate{note page}{insertnote}
setbeamercolor{note page}{bg=white!90!black, fg=black}
setbeamercolor{note title}{bg=white!80!black, fg=black}
setbeamercolor{note date}{parent=note title}
begin{document}
begin{frame}
This is my slides.
note{This is my notes. The background color should be gray to distinguish it from slides.}
end{frame}
end{document}
Output (the 2nd slide’s background color should be gray):
With the help of the tcolorbox
package
documentclass{beamer}
usepackage{pgfpages}
usepackage[skins]{tcolorbox}
newtcolorbox{note box}{enhanced,
height=paperheight,
frame hidden,
boxrule=0mm,
colback=bg, % note background color defined by beamer
arc=0mm,
grow to left by=1cm,
grow to right by=1cm,
}
setbeameroption{show notes on second screen=bottom}
%setbeamercolor{note page}{bg=white!90!black, fg=black}
%setbeamercolor{note title}{bg=white!80!black, fg=black}
setbeamertemplate{note page}{%
begin{note box}
insertnote
end{note box}
}
begin{document}
begin{frame}
This is my slides.
note{This is my notes. The background color should be gray to distinguish it from slides. }
end{frame}
end{document}
Correct answer by Hafid Boukhoulda on August 29, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP