The color background of figures in tikz manual is really good. Its some sort of beige or cream color. How can we apply this in our own figures. Secondly I want to have this as background color for my beamer slides. How to do that ?

  • The figure examples are typeset within an 'environment' named codeexample which both shows code and the output of it. See /usr/local/texlive/2017/texmf-dist/doc/generic/pgf/macros>pgfmanual-en-macros.tex for more information (on TeXLive, however) – user31729 Oct 29 '17 at 8:09

As per Christian Hupfer's comment, you can find the definitions in /usr/local/texlive/2017/texmf-dist/doc/generic/pgf/macros/pg‌​fmanual-en-macros.te‌​x.


\colorbox{graphicbackground}{Ti\textit{k}Z graphic background}

\colorbox{codebackground}{Ti\textit{k}Z code background}


enter image description here

To set this color for the background of your beamer presentations, simply use

\setbeamercolor{background canvas}{bg=graphicbackground}
|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.