About
Shop
LaTeX
Software
Books
Gallery
News
Contact
Blog
Settings
Account
Latest news 2024-12-13: Ebook sale (12th December 2024 – 1st January 2025): cybercrime fiction short stories Unsocial Media and Smile for the Camera free; crime fiction short story The Briefcase free; short story noir crime fiction I’ve Heard the Mermaid Sing free; crime fiction novel The Private Enemy US$1.99; illustrated children’s story The Foolish Hedgehog US$0.99.

A Pie Chart (pgf-pie.sty)

\documentclass{article}

\usepackage{pgf-pie}

\begin{document}

\begin{tikzpicture}
\pie
 [explode={0,0.5,0,0.75,0},% offset segments 2 and 4
  color={yellow,cyan,green,pink,orange},% segment colour 
  text=legend% create a legend
 ]% settings
 {5/A,10/B,15/C,30/D,40/E}% values and labels
\end{tikzpicture}

\end{document}

Download pgf-pie-sample.tex or pgf-pie-sample.pdf.

© 2015 Dickimaw Books. "Dickimaw", "Dickimaw Books" and the Dickimaw parrot logo are trademarks. The Dickimaw parrot was painted by Magdalene Pritchett.

Terms of Use Privacy Policy Cookies Site Map FAQs