Debian Codegraph @

texmf-dist/doc/latex/pgfplotsthemebeamer/README.md

raw
1 # pgfplotsthemebeamer
2
3 [![License](https://img.shields.io/github/license/samcarter/pgfplotsthemebeamer.svg?color=blue)](http://www.latex-project.org/lppl.txt)
4 [![GitHub tag](https://img.shields.io/github/tag/samcarter/pgfplotsthemebeamer.svg?label=current%20version&color=blue)](https://github.com/samcarter/pgfplotsthemebeamer/releases/latest)
5 [![CTAN](https://img.shields.io/ctan/v/pgfplotsthemebeamer.svg?color=blue)](https://ctan.org/pkg/pgfplotsthemebeamer)
6
7 A package for using colours from the current beamer theme in pgfplots diagrams.
8
9 This project is licensed under the LaTeX Project Public License v1.3c or later, see http://www.latex-project.org/lppl.txt .
10
11 The project repository, including a bug tracker, can be found at https://github.com/samcarter/pgfplotsthemebeamer/issues .
12
13 ### Usage
14
15 ```latex
16 \documentclass{beamer}
17
18 \usetheme{moloch}% just as an example for a colour theme
19 \usepackage{pgfplotsthemebeamer}
20
21 \begin{document}
22
23 \begin{frame}[plain]
24 \centering
25 \begin{tikzpicture}
26 \begin{axis}[
27 beamercolors
28 ]
29 \addplot {x}; \addplot {x-1}; \addplot {x-2};
30 \addplot {x-3}; \addplot {x-4}; \addplot {x-5};
31 \addplot {x-6}; \addplot {x-7}; \addplot {x-8};
32 \end{axis}
33 \end{tikzpicture}
34 \end{frame}
35
36 \end{document}
37 ```
38
39 For more details, please consult the [package documentation](https://github.com/samcarter/pgfplotsthemebeamer/blob/main/DOCUMENTATION.pdf).