diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex')
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/COPYING | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/README | 3 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/README.md | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/RELEASE_NOTES.md | 4 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/before-after-number.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/before-after-number.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/cloud.svg (renamed from Master/texmf-dist/doc/latex/pgf-pie/cloud.svg) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/cloud.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/cloud.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/color.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/color.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/colorwheel.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/colorwheel.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/explode.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/explode.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/first-pie.svg (renamed from Master/texmf-dist/doc/latex/pgf-pie/first-pie.svg) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/first-pie.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/first-pie.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/hide-number.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/hide-number.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/legend.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/legend.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/polar.svg (renamed from Master/texmf-dist/doc/latex/pgf-pie/polar.svg) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/polar.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/polar.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/population.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/population.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/radius.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/radius.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/scalefont.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/scalefont.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/shadow.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/shadow.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/square.svg (renamed from Master/texmf-dist/doc/latex/pgf-pie/square.svg) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/square.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/square.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/sum.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/sum.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/text-inside.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/text-inside.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/demo/text.tex (renamed from Master/texmf-dist/doc/latex/pgf-pie/text.tex) | 0 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/description.html | 1 | ||||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/pgf-pie-manual.pdf | bin | 84480 -> 181416 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/latex/pgf-pie/pgf-pie-manual.tex | 156 |
28 files changed, 86 insertions, 97 deletions
diff --git a/Master/texmf-dist/doc/latex/pgf-pie/COPYING b/Master/texmf-dist/doc/latex/pgf-pie/COPYING index 63e7458132e..8cdb9667946 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/COPYING +++ b/Master/texmf-dist/doc/latex/pgf-pie/COPYING @@ -7,5 +7,5 @@ alternatively under the terms of the General Public License (GPL) Version 2. The terms of each license can be found in the source repository: -Apache License: ./LICENSE-LPPL1.3c.txt -GPL2 License: ./LICENSE-GPL2.txt +LaTeX Project Public License: doc/latex/pgf-pie/LICENSE-LPPL1.3c.txt +General Public License 2: doc/latex/pgf-pie/LICENSE-GPL2.txt diff --git a/Master/texmf-dist/doc/latex/pgf-pie/README b/Master/texmf-dist/doc/latex/pgf-pie/README deleted file mode 100644 index 68492099160..00000000000 --- a/Master/texmf-dist/doc/latex/pgf-pie/README +++ /dev/null @@ -1,3 +0,0 @@ -Some LaTeX macros for pie chart by using PGF/Tikz package. -Home page of project: http://pgf-pie.googlecode.com/ -Please read pgf-pie-manual.pdf for more information. diff --git a/Master/texmf-dist/doc/latex/pgf-pie/README.md b/Master/texmf-dist/doc/latex/pgf-pie/README.md new file mode 100644 index 00000000000..a35f1b23c76 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/README.md @@ -0,0 +1,15 @@ +# pgf-pie + +![CI](https://github.com/pgf-tikz/pgf-pie/workflows/CI/badge.svg) + +Some LaTeX macros for pie charts using the PGF/TikZ package. + +Please go to the official repository at https://github.com/pgf-tikz/pgf-pie or +the official mailing list at https://tug.org/mailman/listinfo/pgf-tikz to +submit bug reports, request new features, etc. + +Please read pgf-pie-manual.pdf for more information. + +## License + +pgf-pie is released under the terms of both the LPPL v1.3c and the GPL v2. diff --git a/Master/texmf-dist/doc/latex/pgf-pie/RELEASE_NOTES.md b/Master/texmf-dist/doc/latex/pgf-pie/RELEASE_NOTES.md new file mode 100644 index 00000000000..a70048c12f8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/RELEASE_NOTES.md @@ -0,0 +1,4 @@ +# Bug fixes + +Loop counter variables have been renamed with the \pgfpie@ prefix to avoid +clashes with user macros. diff --git a/Master/texmf-dist/doc/latex/pgf-pie/before-after-number.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/before-after-number.tex index 0a50ebf9d9e..0a50ebf9d9e 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/before-after-number.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/before-after-number.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/cloud.svg b/Master/texmf-dist/doc/latex/pgf-pie/demo/cloud.svg index 3fb608e5fb8..3fb608e5fb8 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/cloud.svg +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/cloud.svg diff --git a/Master/texmf-dist/doc/latex/pgf-pie/cloud.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/cloud.tex index fba25f896ce..fba25f896ce 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/cloud.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/cloud.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/color.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/color.tex index cb79b8c0efc..cb79b8c0efc 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/color.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/color.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/colorwheel.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/colorwheel.tex index 1543fbe7c8d..1543fbe7c8d 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/colorwheel.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/colorwheel.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/explode.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/explode.tex index 94c83fc70ac..94c83fc70ac 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/explode.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/explode.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/first-pie.svg b/Master/texmf-dist/doc/latex/pgf-pie/demo/first-pie.svg index 9feb8fe15c1..9feb8fe15c1 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/first-pie.svg +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/first-pie.svg diff --git a/Master/texmf-dist/doc/latex/pgf-pie/first-pie.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/first-pie.tex index e8c63761b40..e8c63761b40 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/first-pie.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/first-pie.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/hide-number.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/hide-number.tex index 53252173e08..53252173e08 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/hide-number.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/hide-number.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/legend.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/legend.tex index f6665f6c8ef..f6665f6c8ef 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/legend.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/legend.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/polar.svg b/Master/texmf-dist/doc/latex/pgf-pie/demo/polar.svg index a4442a04dfe..a4442a04dfe 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/polar.svg +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/polar.svg diff --git a/Master/texmf-dist/doc/latex/pgf-pie/polar.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/polar.tex index 4d868724938..4d868724938 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/polar.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/polar.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/population.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/population.tex index 9267acb3fc3..9267acb3fc3 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/population.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/population.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/radius.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/radius.tex index 944e2182192..944e2182192 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/radius.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/radius.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/scalefont.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/scalefont.tex index df61709c40a..df61709c40a 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/scalefont.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/scalefont.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/shadow.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/shadow.tex index 9ccfd9ffb58..9ccfd9ffb58 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/shadow.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/shadow.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/square.svg b/Master/texmf-dist/doc/latex/pgf-pie/demo/square.svg index 8e0a48f86a4..8e0a48f86a4 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/square.svg +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/square.svg diff --git a/Master/texmf-dist/doc/latex/pgf-pie/square.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/square.tex index dd37da64cf9..dd37da64cf9 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/square.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/square.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/sum.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/sum.tex index 13e2b7365c2..13e2b7365c2 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/sum.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/sum.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/text-inside.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/text-inside.tex index 07cf42eafd3..07cf42eafd3 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/text-inside.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/text-inside.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/text.tex b/Master/texmf-dist/doc/latex/pgf-pie/demo/text.tex index 95ef1085782..95ef1085782 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/text.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/demo/text.tex diff --git a/Master/texmf-dist/doc/latex/pgf-pie/description.html b/Master/texmf-dist/doc/latex/pgf-pie/description.html new file mode 100644 index 00000000000..820aa9bb3de --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/description.html @@ -0,0 +1 @@ +<p>The package provides the means to draw pie (and variant) charts, using <a data-cke-saved-href="/pkg/pgf" href="/pkg/pgf">PGF/TikZ</a>.<br></p> diff --git a/Master/texmf-dist/doc/latex/pgf-pie/pgf-pie-manual.pdf b/Master/texmf-dist/doc/latex/pgf-pie/pgf-pie-manual.pdf Binary files differindex 961445766e1..f8485f2bf0b 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/pgf-pie-manual.pdf +++ b/Master/texmf-dist/doc/latex/pgf-pie/pgf-pie-manual.pdf diff --git a/Master/texmf-dist/doc/latex/pgf-pie/pgf-pie-manual.tex b/Master/texmf-dist/doc/latex/pgf-pie/pgf-pie-manual.tex index f9235a2eb7f..c1e16c4e068 100644 --- a/Master/texmf-dist/doc/latex/pgf-pie/pgf-pie-manual.tex +++ b/Master/texmf-dist/doc/latex/pgf-pie/pgf-pie-manual.tex @@ -2,30 +2,32 @@ % chart. Written by Xu Yuan <xuyuan.cn@gmail.com> This file is part of % pgf-pie you may get it at https://github.com/pgf-tikz/pgf-pie -\documentclass{article} -\usepackage[margin=12mm]{geometry} -\usepackage{hyperref} +\documentclass{ltxdoc} \usepackage{pgf-pie} \usetikzlibrary{shadows} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\usepackage{listings} -\usepackage{color} -\definecolor{listinggray}{gray}{0.92} -\lstset{ % -language=[LaTeX]TeX, -breaklines=true, -frame=single, -% frameround=tttt, -basicstyle=\footnotesize\ttfamily, -backgroundcolor=\color{listinggray}, -keywordstyle=\color{blue} +\usepackage[a4paper,left=2.25cm,right=2.25cm,top=2.5cm,bottom=2.5cm,nohead]{geometry} +\usepackage{calc} +\usepackage{graphicx} +\input{pgfmanual-en-macros.tex} + +\pgfqkeys{/codeexample}{% + scale/.store in=\pgfpieexamplescale, + scale=1, + every codeexample/.style={% + width=.4\textwidth+7pt, + pre={ + \setbox\codeexamplebox=\hbox\bgroup + }, + post={ + \egroup + \resizebox{\pgfpieexamplescale\textwidth}{!}{\box\codeexamplebox}% + }, + }, } -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\hypersetup{ +\usepackage[ colorlinks=true, linkcolor=blue, anchorcolor=black, @@ -33,53 +35,23 @@ keywordstyle=\color{blue} filecolor=magenta, menucolor=red, urlcolor=blue -} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand{\demo}[2][1]{ - \begin{center} - \begin{tabular}{cc} - \begin{minipage}{.49\linewidth} - \centering - \resizebox{#1\linewidth}{!}{ - \input{demo/#2} - } - \end{minipage} - & - \begin{minipage}{.45\linewidth} - \lstinputlisting{demo/#2} - \end{minipage} - \end{tabular} - \end{center} -} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% - -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\newcommand{\example}[2][1]{ - \begin{center} - \resizebox{#1\linewidth}{!}{ - \input{demo/#2} - } - \end{center} - \lstinputlisting{demo/#2} -} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +]{hyperref} + +\newcommand\pgfpiename{\texttt{pgf-pie}} \begin{document} -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -\title{Drawing Pie Chart by using \texttt{pgf-pie}} + +\title{Drawing Pie Chart by using \pgfpiename} \author{\href{mailto:xuyuan.cn@gmail.com}{Yuan Xu}} -\date{\today{}~(v0.3)} +\date{\today{}~(v0.5)} \maketitle -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \begin{abstract} - \texttt{pgf-pie} is a LaTeX package for drawing pie chart (and + \pgfpiename\ is a LaTeX package for drawing pie chart (and variant charts). As stated by its name, it is based on a very - popular graphic package \texttt{PGF/TikZ}. This document presents - the usage of \texttt{pgf-pie} and collects some pie charts as - examples. \texttt{pgf-pie} can be downloaded from + popular graphic package \pgfname/\tikzname. This document presents + the usage of \pgfpiename\ and collects some pie charts as + examples. \pgfpiename\ can be downloaded from \href{https://github.com/pgf-tikz/pgf-pie}{https://github.com/pgf-tikz/pgf-pie}. \end{abstract} @@ -88,28 +60,28 @@ keywordstyle=\color{blue} \section{Usage} \subsection{First Pie} -\lstinline|\pie| is the only coomand that provided by -\texttt{pgf-pie}. The argument is a list of number and text -combination in the formate of \texttt{number/text}, i.e. \texttt{10/A, - 20/B, 30/C, 40/D}. The result is shown in figure \ref{fig:first-pie}. +|\pie| is the only coomand that provided by +\pgfpiename. The argument is a list of number and text +combination in the formate of |number/text|, i.e. |10/A, 20/B, 30/C, 40/D|. +The result is shown in figure \ref{fig:first-pie}. \begin{figure} \centering - \demo[0.6]{first-pie} + \codeexample[scale=0.25,from file={demo/first-pie.tex}] \caption{The first pie.} \label{fig:first-pie} \end{figure} \subsection{Position, Rotation, Size} -The center of chart can be set by \texttt{pos}, default is -\texttt{\{0,0\}}. The chart can be rotated by setting \texttt{rotate} -(in degrees). The size of chart can be set by \texttt{radius}, default +The center of chart can be set by |pos|, default is +|{0,0}|. The chart can be rotated by setting |rotate| +(in degrees). The size of chart can be set by |radius|, default is 3. -\demo{radius} +\codeexample[scale=0.4,from file={demo/radius.tex}] \subsection{Color} -The color can be specified by \texttt{color}, the default color wheel +The color can be specified by |color|, the default color wheel is shown in figure \ref{fig:color-wheel}. \begin{figure} \centering @@ -118,52 +90,52 @@ is shown in figure \ref{fig:color-wheel}. \label{fig:color-wheel} \end{figure} -\demo{color} +\codeexample[scale=0.4,from file={demo/color.tex}] \subsection{Explode} -\demo{explode} +\codeexample[scale=0.4,from file={demo/explode.tex}] \subsection{Angle of slices} -The value of \texttt{sum} indicats the sum of all data in the chart, +The value of |sum| indicats the sum of all data in the chart, it is 100 by default. It can be calculated automatically when -\texttt{auto} is set. Then the angle of slices are determined by -number value and \texttt{sum}. +|auto| is set. Then the angle of slices are determined by +number value and |sum|. -\demo{sum} +\codeexample[scale=0.4,from file={demo/sum.tex}] \subsection{Text} \subsubsection{Number} -Two parameters can be used to decorate number: \texttt{before number} -and \texttt{after number}. Both are empty by default, but if -\texttt{sum=100}, \texttt{after number} will be set to \% +Two parameters can be used to decorate number: |before number| +and |after number|. Both are empty by default, but if +|sum=100|, |after number| will be set to \% automatically if user doesn't set it. -\demo[0.6]{before-after-number} +\codeexample[scale=0.25,from file={demo/before-after-number.tex}] -The number also can be hide by \texttt{hide number}: +The number also can be hide by |hide number|: -\demo[0.6]{hide-number} +\codeexample[scale=0.25,from file={demo/hide-number.tex}] \paragraph{Scale font} The size of font in size pie can be scaled according to how big the part is automatically. -\demo[0.6]{scalefont} +\codeexample[scale=0.25,from file={demo/scalefont.tex}] \subsubsection{Label text} -The value of \texttt{text} can be \texttt{label}(default), -\texttt{pin}, \texttt{inside} or \texttt{legend}. +The value of |text| can be |label| (default), +|pin|, |inside| or |legend|. -\demo[0.6]{text} +\codeexample[scale=0.25,from file={demo/text.tex}] -\demo[0.5]{text-inside} +\codeexample[scale=0.25,from file={demo/text-inside.tex}] -\demo[0.6]{legend} +\codeexample[scale=0.25,from file={demo/legend.tex}] \subsection{More about style} \subsubsection{shadow} -\demo[0.6]{shadow} +\codeexample[scale=0.25,from file={demo/shadow.tex}] \section{Variant Charts} \subsection{Polar area diagram} @@ -171,17 +143,17 @@ The polar area diagram is similar to a usual pie chart, except sectors are equal angles and differ rather in how far each sector extends from the center of the circle. -\demo[0.6]{polar} +\codeexample[scale=0.25,from file={demo/polar.tex}] \subsection{Square} -\demo[0.6]{square} +\codeexample[scale=0.25,from file={demo/square.tex}] -Note: \texttt{explode} has no affects in sqaure chart. +Note: |explode| has no affects in sqaure chart. \subsection{Clouds} -\demo[0.6]{cloud} +\codeexample[scale=0.25,from file={demo/cloud.tex}] \section{Examples} @@ -189,7 +161,7 @@ Note: \texttt{explode} has no affects in sqaure chart. % \example{population} \section{Acknowledgements} -Many people contributed to \texttt{pgf-pie} by reporting problems, +Many people contributed to \pgfpiename\ by reporting problems, suggesting various improvements or submitting code. Here is a list of these people: \href{mailto:mohammed.alfaki@ii.uib.no}{Mohammed Alfaki}, |