diff options
author | Karl Berry <karl@freefriends.org> | 2020-05-27 21:39:47 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2020-05-27 21:39:47 +0000 |
commit | c25adb343a3ddbab8ff40167b3f6b40d7713cee6 (patch) | |
tree | aa62f87cf7b00b791dbc0bef11f31e22afa0e4a2 /Master | |
parent | 8c714e8ff9d61ab509a20af39929083877642efe (diff) |
pgf-pie (27may20)
git-svn-id: svn://tug.org/texlive/trunk@55295 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
32 files changed, 1835 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/pgf-pie/COPYING b/Master/texmf-dist/doc/latex/pgf-pie/COPYING new file mode 100644 index 00000000000..63e7458132e --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/COPYING @@ -0,0 +1,11 @@ +This file is part of pgf-pie. + +Copyright 2011-2020 Yuan Xu + +pgf-pie is licensed under the terms of the The LaTeX Project Public License (LPPL) 1.3c, or +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 diff --git a/Master/texmf-dist/doc/latex/pgf-pie/LICENSE-GPL2.txt b/Master/texmf-dist/doc/latex/pgf-pie/LICENSE-GPL2.txt new file mode 100644 index 00000000000..1f963da0d1c --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/LICENSE-GPL2.txt @@ -0,0 +1,340 @@ + GNU GENERAL PUBLIC LICENSE + Version 2, June 1991 + + Copyright (C) 1989, 1991 Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA + Everyone is permitted to copy and distribute verbatim copies + of this license document, but changing it is not allowed. + + Preamble + + The licenses for most software are designed to take away your +freedom to share and change it. By contrast, the GNU General Public +License is intended to guarantee your freedom to share and change free +software--to make sure the software is free for all its users. This +General Public License applies to most of the Free Software +Foundation's software and to any other program whose authors commit to +using it. (Some other Free Software Foundation software is covered by +the GNU Lesser General Public License instead.) You can apply it to +your programs, too. + + When we speak of free software, we are referring to freedom, not +price. Our General Public Licenses are designed to make sure that you +have the freedom to distribute copies of free software (and charge for +this service if you wish), that you receive source code or can get it +if you want it, that you can change the software or use pieces of it +in new free programs; and that you know you can do these things. + + To protect your rights, we need to make restrictions that forbid +anyone to deny you these rights or to ask you to surrender the rights. +These restrictions translate to certain responsibilities for you if you +distribute copies of the software, or if you modify it. + + For example, if you distribute copies of such a program, whether +gratis or for a fee, you must give the recipients all the rights that +you have. You must make sure that they, too, receive or can get the +source code. And you must show them these terms so they know their +rights. + + We protect your rights with two steps: (1) copyright the software, and +(2) offer you this license which gives you legal permission to copy, +distribute and/or modify the software. + + Also, for each author's protection and ours, we want to make certain +that everyone understands that there is no warranty for this free +software. If the software is modified by someone else and passed on, we +want its recipients to know that what they have is not the original, so +that any problems introduced by others will not reflect on the original +authors' reputations. + + Finally, any free program is threatened constantly by software +patents. We wish to avoid the danger that redistributors of a free +program will individually obtain patent licenses, in effect making the +program proprietary. To prevent this, we have made it clear that any +patent must be licensed for everyone's free use or not licensed at all. + + The precise terms and conditions for copying, distribution and +modification follow. + + GNU GENERAL PUBLIC LICENSE + TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION + + 0. This License applies to any program or other work which contains +a notice placed by the copyright holder saying it may be distributed +under the terms of this General Public License. The "Program", below, +refers to any such program or work, and a "work based on the Program" +means either the Program or any derivative work under copyright law: +that is to say, a work containing the Program or a portion of it, +either verbatim or with modifications and/or translated into another +language. (Hereinafter, translation is included without limitation in +the term "modification".) Each licensee is addressed as "you". + +Activities other than copying, distribution and modification are not +covered by this License; they are outside its scope. The act of +running the Program is not restricted, and the output from the Program +is covered only if its contents constitute a work based on the +Program (independent of having been made by running the Program). +Whether that is true depends on what the Program does. + + 1. You may copy and distribute verbatim copies of the Program's +source code as you receive it, in any medium, provided that you +conspicuously and appropriately publish on each copy an appropriate +copyright notice and disclaimer of warranty; keep intact all the +notices that refer to this License and to the absence of any warranty; +and give any other recipients of the Program a copy of this License +along with the Program. + +You may charge a fee for the physical act of transferring a copy, and +you may at your option offer warranty protection in exchange for a fee. + + 2. You may modify your copy or copies of the Program or any portion +of it, thus forming a work based on the Program, and copy and +distribute such modifications or work under the terms of Section 1 +above, provided that you also meet all of these conditions: + + a) You must cause the modified files to carry prominent notices + stating that you changed the files and the date of any change. + + b) You must cause any work that you distribute or publish, that in + whole or in part contains or is derived from the Program or any + part thereof, to be licensed as a whole at no charge to all third + parties under the terms of this License. + + c) If the modified program normally reads commands interactively + when run, you must cause it, when started running for such + interactive use in the most ordinary way, to print or display an + announcement including an appropriate copyright notice and a + notice that there is no warranty (or else, saying that you provide + a warranty) and that users may redistribute the program under + these conditions, and telling the user how to view a copy of this + License. (Exception: if the Program itself is interactive but + does not normally print such an announcement, your work based on + the Program is not required to print an announcement.) + +These requirements apply to the modified work as a whole. If +identifiable sections of that work are not derived from the Program, +and can be reasonably considered independent and separate works in +themselves, then this License, and its terms, do not apply to those +sections when you distribute them as separate works. But when you +distribute the same sections as part of a whole which is a work based +on the Program, the distribution of the whole must be on the terms of +this License, whose permissions for other licensees extend to the +entire whole, and thus to each and every part regardless of who wrote it. + +Thus, it is not the intent of this section to claim rights or contest +your rights to work written entirely by you; rather, the intent is to +exercise the right to control the distribution of derivative or +collective works based on the Program. + +In addition, mere aggregation of another work not based on the Program +with the Program (or with a work based on the Program) on a volume of +a storage or distribution medium does not bring the other work under +the scope of this License. + + 3. You may copy and distribute the Program (or a work based on it, +under Section 2) in object code or executable form under the terms of +Sections 1 and 2 above provided that you also do one of the following: + + a) Accompany it with the complete corresponding machine-readable + source code, which must be distributed under the terms of Sections + 1 and 2 above on a medium customarily used for software interchange; or, + + b) Accompany it with a written offer, valid for at least three + years, to give any third party, for a charge no more than your + cost of physically performing source distribution, a complete + machine-readable copy of the corresponding source code, to be + distributed under the terms of Sections 1 and 2 above on a medium + customarily used for software interchange; or, + + c) Accompany it with the information you received as to the offer + to distribute corresponding source code. (This alternative is + allowed only for noncommercial distribution and only if you + received the program in object code or executable form with such + an offer, in accord with Subsection b above.) + +The source code for a work means the preferred form of the work for +making modifications to it. For an executable work, complete source +code means all the source code for all modules it contains, plus any +associated interface definition files, plus the scripts used to +control compilation and installation of the executable. However, as a +special exception, the source code distributed need not include +anything that is normally distributed (in either source or binary +form) with the major components (compiler, kernel, and so on) of the +operating system on which the executable runs, unless that component +itself accompanies the executable. + +If distribution of executable or object code is made by offering +access to copy from a designated place, then offering equivalent +access to copy the source code from the same place counts as +distribution of the source code, even though third parties are not +compelled to copy the source along with the object code. + + 4. You may not copy, modify, sublicense, or distribute the Program +except as expressly provided under this License. Any attempt +otherwise to copy, modify, sublicense or distribute the Program is +void, and will automatically terminate your rights under this License. +However, parties who have received copies, or rights, from you under +this License will not have their licenses terminated so long as such +parties remain in full compliance. + + 5. You are not required to accept this License, since you have not +signed it. However, nothing else grants you permission to modify or +distribute the Program or its derivative works. These actions are +prohibited by law if you do not accept this License. Therefore, by +modifying or distributing the Program (or any work based on the +Program), you indicate your acceptance of this License to do so, and +all its terms and conditions for copying, distributing or modifying +the Program or works based on it. + + 6. Each time you redistribute the Program (or any work based on the +Program), the recipient automatically receives a license from the +original licensor to copy, distribute or modify the Program subject to +these terms and conditions. You may not impose any further +restrictions on the recipients' exercise of the rights granted herein. +You are not responsible for enforcing compliance by third parties to +this License. + + 7. If, as a consequence of a court judgment or allegation of patent +infringement or for any other reason (not limited to patent issues), +conditions are imposed on you (whether by court order, agreement or +otherwise) that contradict the conditions of this License, they do not +excuse you from the conditions of this License. If you cannot +distribute so as to satisfy simultaneously your obligations under this +License and any other pertinent obligations, then as a consequence you +may not distribute the Program at all. For example, if a patent +license would not permit royalty-free redistribution of the Program by +all those who receive copies directly or indirectly through you, then +the only way you could satisfy both it and this License would be to +refrain entirely from distribution of the Program. + +If any portion of this section is held invalid or unenforceable under +any particular circumstance, the balance of the section is intended to +apply and the section as a whole is intended to apply in other +circumstances. + +It is not the purpose of this section to induce you to infringe any +patents or other property right claims or to contest validity of any +such claims; this section has the sole purpose of protecting the +integrity of the free software distribution system, which is +implemented by public license practices. Many people have made +generous contributions to the wide range of software distributed +through that system in reliance on consistent application of that +system; it is up to the author/donor to decide if he or she is willing +to distribute software through any other system and a licensee cannot +impose that choice. + +This section is intended to make thoroughly clear what is believed to +be a consequence of the rest of this License. + + 8. If the distribution and/or use of the Program is restricted in +certain countries either by patents or by copyrighted interfaces, the +original copyright holder who places the Program under this License +may add an explicit geographical distribution limitation excluding +those countries, so that distribution is permitted only in or among +countries not thus excluded. In such case, this License incorporates +the limitation as if written in the body of this License. + + 9. The Free Software Foundation may publish revised and/or new versions +of the General Public License from time to time. Such new versions will +be similar in spirit to the present version, but may differ in detail to +address new problems or concerns. + +Each version is given a distinguishing version number. If the Program +specifies a version number of this License which applies to it and "any +later version", you have the option of following the terms and conditions +either of that version or of any later version published by the Free +Software Foundation. If the Program does not specify a version number of +this License, you may choose any version ever published by the Free Software +Foundation. + + 10. If you wish to incorporate parts of the Program into other free +programs whose distribution conditions are different, write to the author +to ask for permission. For software which is copyrighted by the Free +Software Foundation, write to the Free Software Foundation; we sometimes +make exceptions for this. Our decision will be guided by the two goals +of preserving the free status of all derivatives of our free software and +of promoting the sharing and reuse of software generally. + + NO WARRANTY + + 11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY +FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW. EXCEPT WHEN +OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES +PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED +OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. THE ENTIRE RISK AS +TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU. SHOULD THE +PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING, +REPAIR OR CORRECTION. + + 12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING +WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR +REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES, +INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING +OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED +TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY +YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER +PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE +POSSIBILITY OF SUCH DAMAGES. + + END OF TERMS AND CONDITIONS + + How to Apply These Terms to Your New Programs + + If you develop a new program, and you want it to be of the greatest +possible use to the public, the best way to achieve this is to make it +free software which everyone can redistribute and change under these terms. + + To do so, attach the following notices to the program. It is safest +to attach them to the start of each source file to most effectively +convey the exclusion of warranty; and each file should have at least +the "copyright" line and a pointer to where the full notice is found. + + <one line to give the program's name and a brief idea of what it does.> + Copyright (C) <year> <name of author> + + This program is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + This program is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License along + with this program; if not, write to the Free Software Foundation, Inc., + 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA. + +Also add information on how to contact you by electronic and paper mail. + +If the program is interactive, make it output a short notice like this +when it starts in an interactive mode: + + Gnomovision version 69, Copyright (C) year name of author + Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'. + This is free software, and you are welcome to redistribute it + under certain conditions; type `show c' for details. + +The hypothetical commands `show w' and `show c' should show the appropriate +parts of the General Public License. Of course, the commands you use may +be called something other than `show w' and `show c'; they could even be +mouse-clicks or menu items--whatever suits your program. + +You should also get your employer (if you work as a programmer) or your +school, if any, to sign a "copyright disclaimer" for the program, if +necessary. Here is a sample; alter the names: + + Yoyodyne, Inc., hereby disclaims all copyright interest in the program + `Gnomovision' (which makes passes at compilers) written by James Hacker. + + <signature of Ty Coon>, 1 April 1989 + Ty Coon, President of Vice + +This General Public License does not permit incorporating your program into +proprietary programs. If your program is a subroutine library, you may +consider it more useful to permit linking proprietary applications with the +library. If this is what you want to do, use the GNU Lesser General +Public License instead of this License. + diff --git a/Master/texmf-dist/doc/latex/pgf-pie/LICENSE-LPPL1.3c.txt b/Master/texmf-dist/doc/latex/pgf-pie/LICENSE-LPPL1.3c.txt new file mode 100644 index 00000000000..9566bc7ca8d --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/LICENSE-LPPL1.3c.txt @@ -0,0 +1,417 @@ +The LaTeX Project Public License +=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=- + +LPPL Version 1.3c 2008-05-04 + +Copyright 1999 2002-2008 LaTeX3 Project + Everyone is allowed to distribute verbatim copies of this + license document, but modification of it is not allowed. + + +PREAMBLE +======== + +The LaTeX Project Public License (LPPL) is the primary license under +which the LaTeX kernel and the base LaTeX packages are distributed. + +You may use this license for any work of which you hold the copyright +and which you wish to distribute. This license may be particularly +suitable if your work is TeX-related (such as a LaTeX package), but +it is written in such a way that you can use it even if your work is +unrelated to TeX. + +The section `WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE', +below, gives instructions, examples, and recommendations for authors +who are considering distributing their works under this license. + +This license gives conditions under which a work may be distributed +and modified, as well as conditions under which modified versions of +that work may be distributed. + +We, the LaTeX3 Project, believe that the conditions below give you +the freedom to make and distribute modified versions of your work +that conform with whatever technical specifications you wish while +maintaining the availability, integrity, and reliability of +that work. If you do not see how to achieve your goal while +meeting these conditions, then read the document `cfgguide.tex' +and `modguide.tex' in the base LaTeX distribution for suggestions. + + +DEFINITIONS +=========== + +In this license document the following terms are used: + + `Work' + Any work being distributed under this License. + + `Derived Work' + Any work that under any applicable law is derived from the Work. + + `Modification' + Any procedure that produces a Derived Work under any applicable + law -- for example, the production of a file containing an + original file associated with the Work or a significant portion of + such a file, either verbatim or with modifications and/or + translated into another language. + + `Modify' + To apply any procedure that produces a Derived Work under any + applicable law. + + `Distribution' + Making copies of the Work available from one person to another, in + whole or in part. Distribution includes (but is not limited to) + making any electronic components of the Work accessible by + file transfer protocols such as FTP or HTTP or by shared file + systems such as Sun's Network File System (NFS). + + `Compiled Work' + A version of the Work that has been processed into a form where it + is directly usable on a computer system. This processing may + include using installation facilities provided by the Work, + transformations of the Work, copying of components of the Work, or + other activities. Note that modification of any installation + facilities provided by the Work constitutes modification of the Work. + + `Current Maintainer' + A person or persons nominated as such within the Work. If there is + no such explicit nomination then it is the `Copyright Holder' under + any applicable law. + + `Base Interpreter' + A program or process that is normally needed for running or + interpreting a part or the whole of the Work. + + A Base Interpreter may depend on external components but these + are not considered part of the Base Interpreter provided that each + external component clearly identifies itself whenever it is used + interactively. Unless explicitly specified when applying the + license to the Work, the only applicable Base Interpreter is a + `LaTeX-Format' or in the case of files belonging to the + `LaTeX-format' a program implementing the `TeX language'. + + + +CONDITIONS ON DISTRIBUTION AND MODIFICATION +=========================================== + +1. Activities other than distribution and/or modification of the Work +are not covered by this license; they are outside its scope. In +particular, the act of running the Work is not restricted and no +requirements are made concerning any offers of support for the Work. + +2. You may distribute a complete, unmodified copy of the Work as you +received it. Distribution of only part of the Work is considered +modification of the Work, and no right to distribute such a Derived +Work may be assumed under the terms of this clause. + +3. You may distribute a Compiled Work that has been generated from a +complete, unmodified copy of the Work as distributed under Clause 2 +above, as long as that Compiled Work is distributed in such a way that +the recipients may install the Compiled Work on their system exactly +as it would have been installed if they generated a Compiled Work +directly from the Work. + +4. If you are the Current Maintainer of the Work, you may, without +restriction, modify the Work, thus creating a Derived Work. You may +also distribute the Derived Work without restriction, including +Compiled Works generated from the Derived Work. Derived Works +distributed in this manner by the Current Maintainer are considered to +be updated versions of the Work. + +5. If you are not the Current Maintainer of the Work, you may modify +your copy of the Work, thus creating a Derived Work based on the Work, +and compile this Derived Work, thus creating a Compiled Work based on +the Derived Work. + +6. If you are not the Current Maintainer of the Work, you may +distribute a Derived Work provided the following conditions are met +for every component of the Work unless that component clearly states +in the copyright notice that it is exempt from that condition. Only +the Current Maintainer is allowed to add such statements of exemption +to a component of the Work. + + a. If a component of this Derived Work can be a direct replacement + for a component of the Work when that component is used with the + Base Interpreter, then, wherever this component of the Work + identifies itself to the user when used interactively with that + Base Interpreter, the replacement component of this Derived Work + clearly and unambiguously identifies itself as a modified version + of this component to the user when used interactively with that + Base Interpreter. + + b. Every component of the Derived Work contains prominent notices + detailing the nature of the changes to that component, or a + prominent reference to another file that is distributed as part + of the Derived Work and that contains a complete and accurate log + of the changes. + + c. No information in the Derived Work implies that any persons, + including (but not limited to) the authors of the original version + of the Work, provide any support, including (but not limited to) + the reporting and handling of errors, to recipients of the + Derived Work unless those persons have stated explicitly that + they do provide such support for the Derived Work. + + d. You distribute at least one of the following with the Derived Work: + + 1. A complete, unmodified copy of the Work; + if your distribution of a modified component is made by + offering access to copy the modified component from a + designated place, then offering equivalent access to copy + the Work from the same or some similar place meets this + condition, even though third parties are not compelled to + copy the Work along with the modified component; + + 2. Information that is sufficient to obtain a complete, + unmodified copy of the Work. + +7. If you are not the Current Maintainer of the Work, you may +distribute a Compiled Work generated from a Derived Work, as long as +the Derived Work is distributed to all recipients of the Compiled +Work, and as long as the conditions of Clause 6, above, are met with +regard to the Derived Work. + +8. The conditions above are not intended to prohibit, and hence do not +apply to, the modification, by any method, of any component so that it +becomes identical to an updated version of that component of the Work as +it is distributed by the Current Maintainer under Clause 4, above. + +9. Distribution of the Work or any Derived Work in an alternative +format, where the Work or that Derived Work (in whole or in part) is +then produced by applying some process to that format, does not relax or +nullify any sections of this license as they pertain to the results of +applying that process. + +10. a. A Derived Work may be distributed under a different license + provided that license itself honors the conditions listed in + Clause 6 above, in regard to the Work, though it does not have + to honor the rest of the conditions in this license. + + b. If a Derived Work is distributed under a different license, that + Derived Work must provide sufficient documentation as part of + itself to allow each recipient of that Derived Work to honor the + restrictions in Clause 6 above, concerning changes from the Work. + +11. This license places no restrictions on works that are unrelated to +the Work, nor does this license place any restrictions on aggregating +such works with the Work by any means. + +12. Nothing in this license is intended to, or may be used to, prevent +complete compliance by all parties with all applicable laws. + + +NO WARRANTY +=========== + +There is no warranty for the Work. Except when otherwise stated in +writing, the Copyright Holder provides the Work `as is', without +warranty of any kind, either expressed or implied, including, but not +limited to, the implied warranties of merchantability and fitness for a +particular purpose. The entire risk as to the quality and performance +of the Work is with you. Should the Work prove defective, you assume +the cost of all necessary servicing, repair, or correction. + +In no event unless required by applicable law or agreed to in writing +will The Copyright Holder, or any author named in the components of the +Work, or any other party who may distribute and/or modify the Work as +permitted above, be liable to you for damages, including any general, +special, incidental or consequential damages arising out of any use of +the Work or out of inability to use the Work (including, but not limited +to, loss of data, data being rendered inaccurate, or losses sustained by +anyone as a result of any failure of the Work to operate with any other +programs), even if the Copyright Holder or said author or said other +party has been advised of the possibility of such damages. + + +MAINTENANCE OF THE WORK +======================= + +The Work has the status `author-maintained' if the Copyright Holder +explicitly and prominently states near the primary copyright notice in +the Work that the Work can only be maintained by the Copyright Holder +or simply that it is `author-maintained'. + +The Work has the status `maintained' if there is a Current Maintainer +who has indicated in the Work that they are willing to receive error +reports for the Work (for example, by supplying a valid e-mail +address). It is not required for the Current Maintainer to acknowledge +or act upon these error reports. + +The Work changes from status `maintained' to `unmaintained' if there +is no Current Maintainer, or the person stated to be Current +Maintainer of the work cannot be reached through the indicated means +of communication for a period of six months, and there are no other +significant signs of active maintenance. + +You can become the Current Maintainer of the Work by agreement with +any existing Current Maintainer to take over this role. + +If the Work is unmaintained, you can become the Current Maintainer of +the Work through the following steps: + + 1. Make a reasonable attempt to trace the Current Maintainer (and + the Copyright Holder, if the two differ) through the means of + an Internet or similar search. + + 2. If this search is successful, then enquire whether the Work + is still maintained. + + a. If it is being maintained, then ask the Current Maintainer + to update their communication data within one month. + + b. If the search is unsuccessful or no action to resume active + maintenance is taken by the Current Maintainer, then announce + within the pertinent community your intention to take over + maintenance. (If the Work is a LaTeX work, this could be + done, for example, by posting to comp.text.tex.) + + 3a. If the Current Maintainer is reachable and agrees to pass + maintenance of the Work to you, then this takes effect + immediately upon announcement. + + b. If the Current Maintainer is not reachable and the Copyright + Holder agrees that maintenance of the Work be passed to you, + then this takes effect immediately upon announcement. + + 4. If you make an `intention announcement' as described in 2b. above + and after three months your intention is challenged neither by + the Current Maintainer nor by the Copyright Holder nor by other + people, then you may arrange for the Work to be changed so as + to name you as the (new) Current Maintainer. + + 5. If the previously unreachable Current Maintainer becomes + reachable once more within three months of a change completed + under the terms of 3b) or 4), then that Current Maintainer must + become or remain the Current Maintainer upon request provided + they then update their communication data within one month. + +A change in the Current Maintainer does not, of itself, alter the fact +that the Work is distributed under the LPPL license. + +If you become the Current Maintainer of the Work, you should +immediately provide, within the Work, a prominent and unambiguous +statement of your status as Current Maintainer. You should also +announce your new status to the same pertinent community as +in 2b) above. + + +WHETHER AND HOW TO DISTRIBUTE WORKS UNDER THIS LICENSE +====================================================== + +This section contains important instructions, examples, and +recommendations for authors who are considering distributing their +works under this license. These authors are addressed as `you' in +this section. + +Choosing This License or Another License +---------------------------------------- + +If for any part of your work you want or need to use *distribution* +conditions that differ significantly from those in this license, then +do not refer to this license anywhere in your work but, instead, +distribute your work under a different license. You may use the text +of this license as a model for your own license, but your license +should not refer to the LPPL or otherwise give the impression that +your work is distributed under the LPPL. + +The document `modguide.tex' in the base LaTeX distribution explains +the motivation behind the conditions of this license. It explains, +for example, why distributing LaTeX under the GNU General Public +License (GPL) was considered inappropriate. Even if your work is +unrelated to LaTeX, the discussion in `modguide.tex' may still be +relevant, and authors intending to distribute their works under any +license are encouraged to read it. + +A Recommendation on Modification Without Distribution +----------------------------------------------------- + +It is wise never to modify a component of the Work, even for your own +personal use, without also meeting the above conditions for +distributing the modified component. While you might intend that such +modifications will never be distributed, often this will happen by +accident -- you may forget that you have modified that component; or +it may not occur to you when allowing others to access the modified +version that you are thus distributing it and violating the conditions +of this license in ways that could have legal implications and, worse, +cause problems for the community. It is therefore usually in your +best interest to keep your copy of the Work identical with the public +one. Many works provide ways to control the behavior of that work +without altering any of its licensed components. + +How to Use This License +----------------------- + +To use this license, place in each of the components of your work both +an explicit copyright notice including your name and the year the work +was authored and/or last substantially modified. Include also a +statement that the distribution and/or modification of that +component is constrained by the conditions in this license. + +Here is an example of such a notice and statement: + + %% pig.dtx + %% Copyright 2005 M. Y. Name + % + % This work may be distributed and/or modified under the + % conditions of the LaTeX Project Public License, either version 1.3 + % of this license or (at your option) any later version. + % The latest version of this license is in + % http://www.latex-project.org/lppl.txt + % and version 1.3 or later is part of all distributions of LaTeX + % version 2005/12/01 or later. + % + % This work has the LPPL maintenance status `maintained'. + % + % The Current Maintainer of this work is M. Y. Name. + % + % This work consists of the files pig.dtx and pig.ins + % and the derived file pig.sty. + +Given such a notice and statement in a file, the conditions +given in this license document would apply, with the `Work' referring +to the three files `pig.dtx', `pig.ins', and `pig.sty' (the last being +generated from `pig.dtx' using `pig.ins'), the `Base Interpreter' +referring to any `LaTeX-Format', and both `Copyright Holder' and +`Current Maintainer' referring to the person `M. Y. Name'. + +If you do not want the Maintenance section of LPPL to apply to your +Work, change `maintained' above into `author-maintained'. +However, we recommend that you use `maintained', as the Maintenance +section was added in order to ensure that your Work remains useful to +the community even when you can no longer maintain and support it +yourself. + +Derived Works That Are Not Replacements +--------------------------------------- + +Several clauses of the LPPL specify means to provide reliability and +stability for the user community. They therefore concern themselves +with the case that a Derived Work is intended to be used as a +(compatible or incompatible) replacement of the original Work. If +this is not the case (e.g., if a few lines of code are reused for a +completely different task), then clauses 6b and 6d shall not apply. + + +Important Recommendations +------------------------- + + Defining What Constitutes the Work + + The LPPL requires that distributions of the Work contain all the + files of the Work. It is therefore important that you provide a + way for the licensee to determine which files constitute the Work. + This could, for example, be achieved by explicitly listing all the + files of the Work near the copyright notice of each file or by + using a line such as: + + % This work consists of all files listed in manifest.txt. + + in that place. In the absence of an unequivocal list it might be + impossible for the licensee to determine what is considered by you + to comprise the Work and, in such a case, the licensee would be + entitled to make reasonable conjectures as to which files comprise + the Work. + + diff --git a/Master/texmf-dist/doc/latex/pgf-pie/README b/Master/texmf-dist/doc/latex/pgf-pie/README new file mode 100644 index 00000000000..68492099160 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/README @@ -0,0 +1,3 @@ +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/before-after-number.tex b/Master/texmf-dist/doc/latex/pgf-pie/before-after-number.tex new file mode 100644 index 00000000000..0a50ebf9d9e --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/before-after-number.tex @@ -0,0 +1,3 @@ +\begin{tikzpicture} + \pie[before number={\$}, after number=,]{10/A, 20/B, 30/C, 40/D} +\end{tikzpicture}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-pie/cloud.svg b/Master/texmf-dist/doc/latex/pgf-pie/cloud.svg new file mode 100644 index 00000000000..3fb608e5fb8 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/cloud.svg @@ -0,0 +1,93 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="223.928pt" height="173.029pt" viewBox="0 0 223.928 173.029" version="1.1"> +<defs> +<g> +<symbol overflow="visible" id="glyph0-0"> +<path style="stroke:none;" d="M 4.625 -8.3125 C 4.578125 -8.46875 4.546875 -8.53125 4.390625 -8.53125 C 4.21875 -8.53125 4.203125 -8.5 4.140625 -8.3125 L 1.640625 -1.15625 C 1.46875 -0.671875 1.140625 -0.359375 0.375 -0.34375 L 0.375 0 C 1.09375 -0.03125 1.125 -0.03125 1.515625 -0.03125 C 1.859375 -0.03125 2.421875 -0.03125 2.734375 0 L 2.734375 -0.34375 C 2.234375 -0.359375 1.9375 -0.609375 1.9375 -0.9375 C 1.9375 -1.015625 1.9375 -1.046875 2 -1.1875 L 2.546875 -2.78125 L 5.5625 -2.78125 L 6.21875 -0.90625 C 6.28125 -0.765625 6.28125 -0.734375 6.28125 -0.703125 C 6.28125 -0.34375 5.671875 -0.34375 5.359375 -0.34375 L 5.359375 0 C 5.640625 -0.03125 6.59375 -0.03125 6.921875 -0.03125 C 7.25 -0.03125 8.109375 -0.03125 8.390625 0 L 8.390625 -0.34375 C 7.609375 -0.34375 7.40625 -0.34375 7.234375 -0.84375 Z M 4.046875 -7.109375 L 5.4375 -3.125 L 2.671875 -3.125 Z M 4.046875 -7.109375 "/> +</symbol> +<symbol overflow="visible" id="glyph0-1"> +<path style="stroke:none;" d="M 3.4375 -7.65625 C 3.4375 -7.9375 3.4375 -7.953125 3.203125 -7.953125 C 2.921875 -7.625 2.3125 -7.1875 1.09375 -7.1875 L 1.09375 -6.84375 C 1.359375 -6.84375 1.953125 -6.84375 2.625 -7.140625 L 2.625 -0.921875 C 2.625 -0.484375 2.578125 -0.34375 1.53125 -0.34375 L 1.15625 -0.34375 L 1.15625 0 C 1.484375 -0.03125 2.640625 -0.03125 3.03125 -0.03125 C 3.4375 -0.03125 4.578125 -0.03125 4.90625 0 L 4.90625 -0.34375 L 4.53125 -0.34375 C 3.484375 -0.34375 3.4375 -0.484375 3.4375 -0.921875 Z M 3.4375 -7.65625 "/> +</symbol> +<symbol overflow="visible" id="glyph0-2"> +<path style="stroke:none;" d="M 5.359375 -3.828125 C 5.359375 -4.8125 5.296875 -5.78125 4.859375 -6.6875 C 4.375 -7.6875 3.515625 -7.953125 2.921875 -7.953125 C 2.234375 -7.953125 1.390625 -7.609375 0.9375 -6.609375 C 0.609375 -5.859375 0.484375 -5.109375 0.484375 -3.828125 C 0.484375 -2.671875 0.578125 -1.796875 1 -0.9375 C 1.46875 -0.03125 2.296875 0.25 2.921875 0.25 C 3.953125 0.25 4.546875 -0.375 4.90625 -1.0625 C 5.328125 -1.953125 5.359375 -3.125 5.359375 -3.828125 Z M 2.921875 0.015625 C 2.53125 0.015625 1.75 -0.203125 1.53125 -1.5 C 1.40625 -2.21875 1.40625 -3.125 1.40625 -3.96875 C 1.40625 -4.953125 1.40625 -5.828125 1.59375 -6.53125 C 1.796875 -7.34375 2.40625 -7.703125 2.921875 -7.703125 C 3.375 -7.703125 4.0625 -7.4375 4.296875 -6.40625 C 4.453125 -5.71875 4.453125 -4.78125 4.453125 -3.96875 C 4.453125 -3.171875 4.453125 -2.265625 4.3125 -1.53125 C 4.09375 -0.21875 3.328125 0.015625 2.921875 0.015625 Z M 2.921875 0.015625 "/> +</symbol> +<symbol overflow="visible" id="glyph0-3"> +<path style="stroke:none;" d="M 9.09375 -1.734375 C 9.09375 -3.109375 8.421875 -4.140625 7.5625 -4.140625 C 6.6875 -4.140625 5.84375 -3.15625 5.84375 -1.75 C 5.84375 -0.28125 6.703125 0.671875 7.5625 0.671875 C 8.421875 0.671875 9.09375 -0.40625 9.09375 -1.734375 Z M 7.578125 0.4375 C 7.40625 0.4375 6.53125 0.34375 6.53125 -1.734375 C 6.53125 -3.84375 7.40625 -3.90625 7.578125 -3.90625 C 8.234375 -3.90625 8.828125 -2.96875 8.828125 -1.75 C 8.828125 -0.484375 8.21875 0.4375 7.578125 0.4375 Z M 8.015625 -8.53125 C 8.09375 -8.640625 8.109375 -8.671875 8.109375 -8.734375 C 8.109375 -8.890625 8 -8.96875 7.90625 -8.96875 C 7.78125 -8.96875 7.75 -8.90625 7.65625 -8.78125 C 6.890625 -7.75 5.875 -7.65625 5.421875 -7.65625 C 5.1875 -7.65625 4.15625 -7.65625 3.1875 -8.59375 C 2.9375 -8.84375 2.671875 -8.96875 2.359375 -8.96875 C 1.5 -8.96875 0.640625 -7.96875 0.640625 -6.5625 C 0.640625 -5.109375 1.5 -4.140625 2.359375 -4.140625 C 3.234375 -4.140625 3.890625 -5.21875 3.890625 -6.546875 C 3.890625 -6.890625 3.875 -7.34375 3.640625 -7.9375 C 4.40625 -7.484375 5.078125 -7.421875 5.421875 -7.421875 C 5.75 -7.421875 6.40625 -7.484375 7.046875 -7.875 L 7.046875 -7.859375 L 1.71875 0.234375 C 1.65625 0.34375 1.625 0.375 1.625 0.4375 C 1.625 0.578125 1.734375 0.671875 1.859375 0.671875 C 1.953125 0.671875 2.015625 0.578125 2.078125 0.5 Z M 2.375 -4.390625 C 2.21875 -4.390625 1.34375 -4.46875 1.34375 -6.546875 C 1.34375 -8.65625 2.203125 -8.71875 2.375 -8.71875 C 3.03125 -8.71875 3.640625 -7.796875 3.640625 -6.5625 C 3.640625 -5.296875 3.03125 -4.390625 2.375 -4.390625 Z M 2.375 -4.390625 "/> +</symbol> +<symbol overflow="visible" id="glyph1-0"> +<path style="stroke:none;" d="M 0.609375 -9.796875 L 0.609375 -9.375 L 0.90625 -9.375 C 1.9375 -9.375 1.984375 -9.234375 1.984375 -8.703125 L 1.984375 -1.09375 C 1.984375 -0.5625 1.9375 -0.421875 0.90625 -0.421875 L 0.609375 -0.421875 L 0.609375 0 L 6.015625 0 C 7.859375 0 9.15625 -1.25 9.15625 -2.625 C 9.15625 -3.78125 8.109375 -4.9375 6.390625 -5.125 C 7.765625 -5.375 8.75 -6.296875 8.75 -7.375 C 8.75 -8.609375 7.5 -9.796875 5.625 -9.796875 Z M 3.0625 -5.234375 L 3.0625 -8.8125 C 3.0625 -9.28125 3.09375 -9.375 3.734375 -9.375 L 5.53125 -9.375 C 6.96875 -9.375 7.484375 -8.140625 7.484375 -7.375 C 7.484375 -6.421875 6.734375 -5.234375 5.15625 -5.234375 Z M 3.734375 -0.421875 C 3.09375 -0.421875 3.0625 -0.515625 3.0625 -0.984375 L 3.0625 -4.953125 L 5.75 -4.953125 C 7.125 -4.953125 7.84375 -3.75 7.84375 -2.640625 C 7.84375 -1.484375 6.96875 -0.421875 5.5625 -0.421875 Z M 3.734375 -0.421875 "/> +</symbol> +<symbol overflow="visible" id="glyph1-1"> +<path style="stroke:none;" d="M 6.3125 -2.40625 L 6 -2.40625 C 5.953125 -2.171875 5.84375 -1.375 5.6875 -1.140625 C 5.59375 -1.015625 4.78125 -1.015625 4.34375 -1.015625 L 1.6875 -1.015625 C 2.078125 -1.34375 2.953125 -2.265625 3.328125 -2.609375 C 5.515625 -4.625 6.3125 -5.359375 6.3125 -6.78125 C 6.3125 -8.4375 5 -9.53125 3.34375 -9.53125 C 1.671875 -9.53125 0.703125 -8.125 0.703125 -6.890625 C 0.703125 -6.15625 1.328125 -6.15625 1.375 -6.15625 C 1.671875 -6.15625 2.046875 -6.375 2.046875 -6.828125 C 2.046875 -7.234375 1.78125 -7.5 1.375 -7.5 C 1.25 -7.5 1.21875 -7.5 1.171875 -7.484375 C 1.453125 -8.46875 2.21875 -9.125 3.15625 -9.125 C 4.375 -9.125 5.125 -8.109375 5.125 -6.78125 C 5.125 -5.5625 4.421875 -4.5 3.59375 -3.578125 L 0.703125 -0.34375 L 0.703125 0 L 5.9375 0 Z M 6.3125 -2.40625 "/> +</symbol> +<symbol overflow="visible" id="glyph1-2"> +<path style="stroke:none;" d="M 6.421875 -4.59375 C 6.421875 -5.78125 6.359375 -6.9375 5.84375 -8.03125 C 5.25 -9.21875 4.21875 -9.53125 3.515625 -9.53125 C 2.6875 -9.53125 1.65625 -9.125 1.140625 -7.9375 C 0.734375 -7.03125 0.59375 -6.140625 0.59375 -4.59375 C 0.59375 -3.203125 0.6875 -2.15625 1.203125 -1.140625 C 1.765625 -0.046875 2.75 0.296875 3.5 0.296875 C 4.75 0.296875 5.46875 -0.4375 5.875 -1.28125 C 6.390625 -2.359375 6.421875 -3.765625 6.421875 -4.59375 Z M 3.5 0.015625 C 3.046875 0.015625 2.109375 -0.25 1.84375 -1.8125 C 1.671875 -2.671875 1.671875 -3.765625 1.671875 -4.765625 C 1.671875 -5.9375 1.671875 -7 1.90625 -7.84375 C 2.15625 -8.8125 2.890625 -9.25 3.5 -9.25 C 4.046875 -9.25 4.875 -8.921875 5.15625 -7.6875 C 5.328125 -6.875 5.328125 -5.734375 5.328125 -4.765625 C 5.328125 -3.796875 5.328125 -2.71875 5.171875 -1.84375 C 4.90625 -0.265625 4 0.015625 3.5 0.015625 Z M 3.5 0.015625 "/> +</symbol> +<symbol overflow="visible" id="glyph1-3"> +<path style="stroke:none;" d="M 10.921875 -2.078125 C 10.921875 -3.734375 10.09375 -4.984375 9.078125 -4.984375 C 8.03125 -4.984375 7.015625 -3.78125 7.015625 -2.09375 C 7.015625 -0.34375 8.046875 0.796875 9.078125 0.796875 C 10.109375 0.796875 10.921875 -0.484375 10.921875 -2.078125 Z M 9.09375 0.515625 C 8.890625 0.515625 7.84375 0.421875 7.84375 -2.078125 C 7.84375 -4.609375 8.875 -4.6875 9.09375 -4.6875 C 9.890625 -4.6875 10.59375 -3.578125 10.59375 -2.09375 C 10.59375 -0.578125 9.875 0.515625 9.09375 0.515625 Z M 9.625 -10.234375 C 9.703125 -10.375 9.734375 -10.40625 9.734375 -10.484375 C 9.734375 -10.671875 9.59375 -10.75 9.484375 -10.75 C 9.34375 -10.75 9.296875 -10.6875 9.1875 -10.546875 C 8.265625 -9.3125 7.046875 -9.1875 6.5 -9.1875 C 6.21875 -9.1875 4.984375 -9.1875 3.828125 -10.3125 C 3.53125 -10.609375 3.21875 -10.75 2.84375 -10.75 C 1.796875 -10.75 0.78125 -9.5625 0.78125 -7.875 C 0.78125 -6.125 1.8125 -4.984375 2.84375 -4.984375 C 3.875 -4.984375 4.671875 -6.265625 4.671875 -7.859375 C 4.671875 -8.28125 4.640625 -8.8125 4.359375 -9.53125 C 5.296875 -8.984375 6.09375 -8.90625 6.515625 -8.90625 C 6.90625 -8.90625 7.6875 -8.984375 8.453125 -9.453125 L 8.46875 -9.4375 L 2.0625 0.28125 C 1.984375 0.421875 1.953125 0.453125 1.953125 0.53125 C 1.953125 0.6875 2.078125 0.796875 2.21875 0.796875 C 2.359375 0.796875 2.421875 0.703125 2.5 0.609375 Z M 2.859375 -5.265625 C 2.65625 -5.265625 1.609375 -5.359375 1.609375 -7.859375 C 1.609375 -10.390625 2.640625 -10.46875 2.859375 -10.46875 C 3.640625 -10.46875 4.359375 -9.359375 4.359375 -7.875 C 4.359375 -6.359375 3.625 -5.265625 2.859375 -5.265625 Z M 2.859375 -5.265625 "/> +</symbol> +<symbol overflow="visible" id="glyph2-0"> +<path style="stroke:none;" d="M 10.6875 -11.6875 C 10.6875 -12 10.671875 -12.015625 10.578125 -12.015625 C 10.5 -12.015625 10.484375 -12 10.359375 -11.796875 L 9.609375 -10.34375 C 8.765625 -11.421875 7.734375 -12.03125 6.40625 -12.03125 C 3.46875 -12.03125 0.796875 -9.4375 0.796875 -5.890625 C 0.796875 -2.3125 3.46875 0.28125 6.421875 0.28125 C 9.0625 0.28125 10.6875 -2.046875 10.6875 -4.03125 C 10.6875 -4.203125 10.6875 -4.265625 10.53125 -4.265625 C 10.40625 -4.265625 10.40625 -4.21875 10.390625 -4.0625 C 10.25 -1.65625 8.515625 -0.171875 6.65625 -0.171875 C 4.90625 -0.171875 2.09375 -1.40625 2.09375 -5.890625 C 2.09375 -10.390625 4.953125 -11.59375 6.625 -11.59375 C 8.578125 -11.59375 9.984375 -9.90625 10.3125 -7.5 C 10.34375 -7.296875 10.34375 -7.265625 10.5 -7.265625 C 10.6875 -7.265625 10.6875 -7.296875 10.6875 -7.609375 Z M 10.6875 -11.6875 "/> +</symbol> +<symbol overflow="visible" id="glyph2-1"> +<path style="stroke:none;" d="M 3.8125 -5.859375 C 5.34375 -5.859375 6.015625 -4.53125 6.015625 -3 C 6.015625 -0.9375 4.90625 -0.140625 3.90625 -0.140625 C 3 -0.140625 1.515625 -0.578125 1.046875 -1.90625 C 1.140625 -1.875 1.21875 -1.875 1.3125 -1.875 C 1.71875 -1.875 2.03125 -2.15625 2.03125 -2.59375 C 2.03125 -3.09375 1.65625 -3.328125 1.3125 -3.328125 C 1.015625 -3.328125 0.5625 -3.1875 0.5625 -2.546875 C 0.5625 -0.96875 2.125 0.28125 3.9375 0.28125 C 5.859375 0.28125 7.3125 -1.21875 7.3125 -2.984375 C 7.3125 -4.65625 5.9375 -5.859375 4.3125 -6.046875 C 5.609375 -6.3125 6.875 -7.484375 6.875 -9.0625 C 6.875 -10.40625 5.515625 -11.375 3.953125 -11.375 C 2.390625 -11.375 1.015625 -10.421875 1.015625 -9.046875 C 1.015625 -8.4375 1.46875 -8.328125 1.6875 -8.328125 C 2.046875 -8.328125 2.359375 -8.5625 2.359375 -9 C 2.359375 -9.453125 2.046875 -9.671875 1.6875 -9.671875 C 1.625 -9.671875 1.53125 -9.671875 1.46875 -9.640625 C 1.96875 -10.78125 3.328125 -10.984375 3.921875 -10.984375 C 4.53125 -10.984375 5.671875 -10.6875 5.671875 -9.046875 C 5.671875 -8.5625 5.59375 -7.703125 5.015625 -6.9375 C 4.5 -6.265625 3.90625 -6.234375 3.34375 -6.1875 C 3.25 -6.1875 2.859375 -6.140625 2.796875 -6.140625 C 2.671875 -6.125 2.59375 -6.109375 2.59375 -5.984375 C 2.59375 -5.875 2.625 -5.859375 2.96875 -5.859375 Z M 3.8125 -5.859375 "/> +</symbol> +<symbol overflow="visible" id="glyph2-2"> +<path style="stroke:none;" d="M 7.234375 -5.53125 C 7.234375 -6.578125 7.21875 -8.375 6.484375 -9.75 C 5.859375 -10.953125 4.84375 -11.375 3.9375 -11.375 C 3.109375 -11.375 2.0625 -11 1.40625 -9.765625 C 0.71875 -8.46875 0.65625 -6.875 0.65625 -5.53125 C 0.65625 -4.546875 0.671875 -3.046875 1.203125 -1.734375 C 1.953125 0.03125 3.265625 0.28125 3.9375 0.28125 C 4.734375 0.28125 5.9375 -0.046875 6.640625 -1.6875 C 7.15625 -2.875 7.234375 -4.265625 7.234375 -5.53125 Z M 3.9375 0 C 2.84375 0 2.1875 -0.953125 1.953125 -2.25 C 1.75 -3.265625 1.75 -4.75 1.75 -5.71875 C 1.75 -7.046875 1.75 -8.140625 1.984375 -9.1875 C 2.3125 -10.65625 3.265625 -11.109375 3.9375 -11.109375 C 4.65625 -11.109375 5.5625 -10.640625 5.890625 -9.234375 C 6.109375 -8.25 6.125 -7.09375 6.125 -5.71875 C 6.125 -4.59375 6.125 -3.21875 5.921875 -2.203125 C 5.5625 -0.328125 4.546875 0 3.9375 0 Z M 3.9375 0 "/> +</symbol> +<symbol overflow="visible" id="glyph2-3"> +<path style="stroke:none;" d="M 12.484375 -2.515625 C 12.484375 -4.515625 11.5 -5.96875 10.34375 -5.96875 C 9.171875 -5.96875 7.984375 -4.609375 7.984375 -2.515625 C 7.984375 -0.40625 9.15625 0.953125 10.34375 0.953125 C 11.5 0.953125 12.484375 -0.5 12.484375 -2.515625 Z M 10.359375 0.671875 C 9.921875 0.671875 8.796875 0.265625 8.796875 -2.515625 C 8.796875 -5.296875 9.921875 -5.703125 10.359375 -5.703125 C 11.3125 -5.703125 12.171875 -4.34375 12.171875 -2.515625 C 12.171875 -0.6875 11.3125 0.671875 10.359375 0.671875 Z M 10.984375 -12.296875 C 11.109375 -12.484375 11.125 -12.5 11.125 -12.59375 C 11.125 -12.796875 10.96875 -12.890625 10.828125 -12.890625 C 10.65625 -12.890625 10.59375 -12.78125 10.46875 -12.640625 C 9.46875 -11.203125 8.09375 -11.046875 7.390625 -11.046875 C 5.671875 -11.046875 4.609375 -12.046875 4.28125 -12.359375 C 4.0625 -12.5625 3.734375 -12.890625 3.15625 -12.890625 C 1.984375 -12.890625 0.796875 -11.53125 0.796875 -9.4375 C 0.796875 -7.328125 1.96875 -5.96875 3.15625 -5.96875 C 4.3125 -5.96875 5.28125 -7.421875 5.28125 -9.4375 C 5.28125 -10.625 4.921875 -11.4375 4.875 -11.53125 C 5.921875 -10.859375 6.953125 -10.78125 7.40625 -10.78125 C 8.5 -10.78125 9.296875 -11.1875 9.734375 -11.484375 L 9.75 -11.46875 L 2.3125 0.3125 C 2.15625 0.546875 2.15625 0.578125 2.15625 0.640625 C 2.15625 0.828125 2.3125 0.953125 2.46875 0.953125 C 2.625 0.953125 2.671875 0.859375 2.796875 0.671875 Z M 3.171875 -6.25 C 2.71875 -6.25 1.59375 -6.65625 1.59375 -9.4375 C 1.59375 -12.21875 2.71875 -12.625 3.171875 -12.625 C 4.109375 -12.625 4.96875 -11.265625 4.96875 -9.4375 C 4.96875 -7.609375 4.109375 -6.25 3.171875 -6.25 Z M 3.171875 -6.25 "/> +</symbol> +<symbol overflow="visible" id="glyph3-0"> +<path style="stroke:none;" d="M 1.078125 -14.109375 L 1.078125 -13.578125 C 2.5 -13.578125 2.734375 -13.578125 2.734375 -12.640625 L 2.734375 -1.46875 C 2.734375 -0.53125 2.5 -0.53125 1.078125 -0.53125 L 1.078125 0 L 7.640625 0 C 10.96875 0 13.640625 -3.0625 13.640625 -6.9375 C 13.640625 -10.84375 11.015625 -14.109375 7.640625 -14.109375 Z M 4.921875 -0.53125 C 4.09375 -0.53125 4.046875 -0.640625 4.046875 -1.34375 L 4.046875 -12.765625 C 4.046875 -13.46875 4.09375 -13.578125 4.921875 -13.578125 L 7.234375 -13.578125 C 8.9375 -13.578125 12.109375 -12.5625 12.109375 -6.9375 C 12.109375 -4.03125 11.25 -2.84375 10.859375 -2.296875 C 10.375 -1.65625 9.1875 -0.53125 7.234375 -0.53125 Z M 4.921875 -0.53125 "/> +</symbol> +<symbol overflow="visible" id="glyph3-1"> +<path style="stroke:none;" d="M 6.9375 -13.359375 C 6.9375 -13.796875 6.921875 -13.8125 6.546875 -13.8125 L 0.40625 -4.046875 L 0.40625 -3.515625 L 5.75 -3.515625 L 5.75 -1.484375 C 5.75 -0.75 5.703125 -0.53125 4.25 -0.53125 L 3.859375 -0.53125 L 3.859375 0 C 4.53125 -0.046875 5.640625 -0.046875 6.34375 -0.046875 C 7.046875 -0.046875 8.15625 -0.046875 8.8125 0 L 8.8125 -0.53125 L 8.421875 -0.53125 C 6.984375 -0.53125 6.9375 -0.75 6.9375 -1.484375 L 6.9375 -3.515625 L 9.046875 -3.515625 L 9.046875 -4.046875 L 6.9375 -4.046875 Z M 5.796875 -12 L 5.796875 -4.046875 L 0.828125 -4.046875 Z M 5.796875 -12 "/> +</symbol> +<symbol overflow="visible" id="glyph3-2"> +<path style="stroke:none;" d="M 8.671875 -6.625 C 8.671875 -7.890625 8.65625 -10.03125 7.78125 -11.6875 C 7.015625 -13.140625 5.796875 -13.65625 4.734375 -13.65625 C 3.734375 -13.65625 2.484375 -13.203125 1.6875 -11.71875 C 0.875 -10.15625 0.78125 -8.234375 0.78125 -6.625 C 0.78125 -5.453125 0.8125 -3.65625 1.453125 -2.09375 C 2.328125 0.046875 3.921875 0.328125 4.734375 0.328125 C 5.6875 0.328125 7.125 -0.0625 7.96875 -2.03125 C 8.59375 -3.453125 8.671875 -5.125 8.671875 -6.625 Z M 4.734375 0 C 3.40625 0 2.625 -1.140625 2.328125 -2.703125 C 2.109375 -3.921875 2.109375 -5.703125 2.109375 -6.859375 C 2.109375 -8.453125 2.109375 -9.765625 2.375 -11.03125 C 2.765625 -12.78125 3.921875 -13.328125 4.734375 -13.328125 C 5.578125 -13.328125 6.671875 -12.765625 7.0625 -11.078125 C 7.328125 -9.890625 7.359375 -8.515625 7.359375 -6.859375 C 7.359375 -5.515625 7.359375 -3.859375 7.109375 -2.640625 C 6.671875 -0.390625 5.453125 0 4.734375 0 Z M 4.734375 0 "/> +</symbol> +<symbol overflow="visible" id="glyph3-3"> +<path style="stroke:none;" d="M 14.96875 -3.015625 C 14.96875 -5.40625 13.796875 -7.171875 12.421875 -7.171875 C 11.015625 -7.171875 9.578125 -5.53125 9.578125 -3.015625 C 9.578125 -0.5 10.984375 1.140625 12.421875 1.140625 C 13.796875 1.140625 14.96875 -0.59375 14.96875 -3.015625 Z M 12.4375 0.8125 C 11.890625 0.8125 10.5625 0.3125 10.5625 -3.015625 C 10.5625 -6.359375 11.890625 -6.84375 12.4375 -6.84375 C 13.578125 -6.84375 14.609375 -5.203125 14.609375 -3.015625 C 14.609375 -0.828125 13.578125 0.8125 12.4375 0.8125 Z M 13.171875 -14.75 C 13.328125 -14.96875 13.34375 -15 13.34375 -15.09375 C 13.34375 -15.34375 13.15625 -15.46875 13 -15.46875 C 12.78125 -15.46875 12.703125 -15.328125 12.5625 -15.15625 C 11.359375 -13.453125 9.703125 -13.265625 8.859375 -13.265625 C 6.796875 -13.265625 5.53125 -14.453125 5.140625 -14.828125 C 4.875 -15.078125 4.484375 -15.46875 3.78125 -15.46875 C 2.375 -15.46875 0.953125 -13.84375 0.953125 -11.3125 C 0.953125 -8.796875 2.359375 -7.171875 3.78125 -7.171875 C 5.171875 -7.171875 6.34375 -8.90625 6.34375 -11.3125 C 6.34375 -12.75 5.90625 -13.71875 5.84375 -13.84375 C 7.109375 -13.03125 8.34375 -12.9375 8.875 -12.9375 C 10.203125 -12.9375 11.15625 -13.421875 11.671875 -13.78125 L 11.6875 -13.75 L 2.765625 0.375 C 2.578125 0.65625 2.578125 0.703125 2.578125 0.765625 C 2.578125 0.984375 2.765625 1.140625 2.953125 1.140625 C 3.140625 1.140625 3.203125 1.03125 3.34375 0.8125 Z M 3.796875 -7.5 C 3.265625 -7.5 1.921875 -8 1.921875 -11.3125 C 1.921875 -14.671875 3.265625 -15.140625 3.796875 -15.140625 C 4.9375 -15.140625 5.96875 -13.515625 5.96875 -11.3125 C 5.96875 -9.125 4.9375 -7.5 3.796875 -7.5 Z M 3.796875 -7.5 "/> +</symbol> +</g> +</defs> +<g id="surface1"> +<path style="fill-rule:nonzero;fill:rgb(39.99939%,39.99939%,100%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 26.890688 0.000375 C 26.890688 14.851937 14.851625 26.891 0.0000625 26.891 C -14.8515 26.891 -26.890562 14.851937 -26.890562 0.000375 C -26.890562 -14.851188 -14.8515 -26.89025 0.0000625 -26.89025 C 14.851625 -26.89025 26.890688 -14.851188 26.890688 0.000375 Z M 26.890688 0.000375 " transform="matrix(1,0,0,-1,27.789,88.016)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-0" x="25.352" y="85.791"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-1" x="19.009" y="97.746"/> + <use xlink:href="#glyph0-2" x="24.862266" y="97.746"/> + <use xlink:href="#glyph0-3" x="30.715532" y="97.746"/> +</g> +<path style="fill-rule:nonzero;fill:rgb(40.000916%,80.703735%,96.237183%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 85.941469 47.910531 C 85.941469 68.914437 68.914125 85.941781 47.910219 85.941781 C 26.906313 85.941781 9.878969 68.914437 9.878969 47.910531 C 9.878969 26.906625 26.906313 9.879281 47.910219 9.879281 C 68.914125 9.879281 85.941469 26.906625 85.941469 47.910531 Z M 85.941469 47.910531 " transform="matrix(1,0,0,-1,27.789,88.016)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph1-0" x="73.066" y="37.735"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph1-1" x="65.163" y="51.483"/> + <use xlink:href="#glyph1-2" x="72.1869" y="51.483"/> + <use xlink:href="#glyph1-3" x="79.210799" y="51.483"/> +</g> +<path style="fill-rule:nonzero;fill:rgb(100%,96.939087%,40.000916%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 113.039125 -37.538688 C 113.039125 -11.812125 92.183656 9.039437 66.461 9.039437 C 40.734437 9.039437 19.882875 -11.812125 19.882875 -37.538688 C 19.882875 -63.261344 40.734437 -84.116813 66.461 -84.116813 C 92.183656 -84.116813 113.039125 -63.261344 113.039125 -37.538688 Z M 113.039125 -37.538688 " transform="matrix(1,0,0,-1,27.789,88.016)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph2-0" x="91.099" y="123.021"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph2-1" x="82.305" y="138.906"/> + <use xlink:href="#glyph2-2" x="90.199982" y="138.906"/> + <use xlink:href="#glyph2-3" x="98.094965" y="138.906"/> +</g> +<path style="fill-rule:nonzero;fill:rgb(100%,69.999695%,39.99939%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 195.24225 33.336312 C 195.24225 63.039437 171.164125 87.117562 141.461 87.117562 C 111.753969 87.117562 87.675844 63.039437 87.675844 33.336312 C 87.675844 3.629281 111.753969 -20.448844 141.461 -20.448844 C 171.164125 -20.448844 195.24225 3.629281 195.24225 33.336312 Z M 195.24225 33.336312 " transform="matrix(1,0,0,-1,27.789,88.016)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph3-0" x="165.066" y="51.941"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph3-1" x="154.913" y="70.408"/> + <use xlink:href="#glyph3-2" x="164.388823" y="70.408"/> + <use xlink:href="#glyph3-3" x="173.864645" y="70.408"/> +</g> +</g> +</svg> diff --git a/Master/texmf-dist/doc/latex/pgf-pie/cloud.tex b/Master/texmf-dist/doc/latex/pgf-pie/cloud.tex new file mode 100644 index 00000000000..fba25f896ce --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/cloud.tex @@ -0,0 +1,3 @@ +\begin{tikzpicture} + \pie[cloud, text=inside, scale font]{10/A, 20/B, 30/C, 40/D} +\end{tikzpicture}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-pie/color.tex b/Master/texmf-dist/doc/latex/pgf-pie/color.tex new file mode 100644 index 00000000000..cb79b8c0efc --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/color.tex @@ -0,0 +1,6 @@ +\begin{tikzpicture} + \pie[color={black!10, black!20, black!30, black!40}] + {10/A, 20/B, 30/C, 40/D} + + \pie[pos={8,0}, color=blue!20] {10/A, 20/B, 30/C, 40/D} +\end{tikzpicture} diff --git a/Master/texmf-dist/doc/latex/pgf-pie/colorwheel.tex b/Master/texmf-dist/doc/latex/pgf-pie/colorwheel.tex new file mode 100644 index 00000000000..1543fbe7c8d --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/colorwheel.tex @@ -0,0 +1,3 @@ +\begin{tikzpicture} + \pie{10/, 10/, 10/, 10/, 10/, 10/, 10/, 10/, 10/, 10/} +\end{tikzpicture}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-pie/explode.tex b/Master/texmf-dist/doc/latex/pgf-pie/explode.tex new file mode 100644 index 00000000000..94c83fc70ac --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/explode.tex @@ -0,0 +1,7 @@ +\begin{tikzpicture} + % explode list + \pie[explode={0, 0, 0, 0.1}] {10/A, 20/B, 30/C, 40/D} + + % explode all + \pie[pos={8,0}, explode=0.1] {10/A, 20/B, 30/C, 40/D} +\end{tikzpicture}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-pie/first-pie.svg b/Master/texmf-dist/doc/latex/pgf-pie/first-pie.svg new file mode 100644 index 00000000000..9feb8fe15c1 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/first-pie.svg @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="192.496pt" height="193.022pt" viewBox="0 0 192.496 193.022" version="1.1"> +<defs> +<g> +<symbol overflow="visible" id="glyph0-0"> +<path style="stroke:none;" d="M 3.96875 -6.9375 C 3.921875 -7.0625 3.890625 -7.140625 3.734375 -7.140625 C 3.578125 -7.140625 3.546875 -7.078125 3.5 -6.9375 L 1.4375 -0.984375 C 1.25 -0.46875 0.859375 -0.3125 0.3125 -0.3125 L 0.3125 0 C 0.546875 -0.015625 0.984375 -0.03125 1.328125 -0.03125 C 1.640625 -0.03125 2.15625 -0.015625 2.484375 0 L 2.484375 -0.3125 C 1.984375 -0.3125 1.734375 -0.5625 1.734375 -0.8125 C 1.734375 -0.84375 1.75 -0.953125 1.75 -0.96875 L 2.21875 -2.265625 L 4.671875 -2.265625 L 5.203125 -0.75 C 5.21875 -0.703125 5.234375 -0.640625 5.234375 -0.609375 C 5.234375 -0.3125 4.671875 -0.3125 4.40625 -0.3125 L 4.40625 0 C 4.765625 -0.03125 5.46875 -0.03125 5.84375 -0.03125 C 6.265625 -0.03125 6.734375 -0.015625 7.140625 0 L 7.140625 -0.3125 L 6.96875 -0.3125 C 6.375 -0.3125 6.234375 -0.375 6.125 -0.703125 Z M 3.4375 -5.828125 L 4.5625 -2.578125 L 2.328125 -2.578125 Z M 3.4375 -5.828125 "/> +</symbol> +<symbol overflow="visible" id="glyph0-1"> +<path style="stroke:none;" d="M 2.9375 -6.375 C 2.9375 -6.625 2.9375 -6.640625 2.703125 -6.640625 C 2.078125 -6 1.203125 -6 0.890625 -6 L 0.890625 -5.6875 C 1.09375 -5.6875 1.671875 -5.6875 2.1875 -5.953125 L 2.1875 -0.78125 C 2.1875 -0.421875 2.15625 -0.3125 1.265625 -0.3125 L 0.953125 -0.3125 L 0.953125 0 C 1.296875 -0.03125 2.15625 -0.03125 2.5625 -0.03125 C 2.953125 -0.03125 3.828125 -0.03125 4.171875 0 L 4.171875 -0.3125 L 3.859375 -0.3125 C 2.953125 -0.3125 2.9375 -0.421875 2.9375 -0.78125 Z M 2.9375 -6.375 "/> +</symbol> +<symbol overflow="visible" id="glyph0-2"> +<path style="stroke:none;" d="M 4.578125 -3.1875 C 4.578125 -3.984375 4.53125 -4.78125 4.1875 -5.515625 C 3.734375 -6.484375 2.90625 -6.640625 2.5 -6.640625 C 1.890625 -6.640625 1.171875 -6.375 0.75 -5.453125 C 0.4375 -4.765625 0.390625 -3.984375 0.390625 -3.1875 C 0.390625 -2.4375 0.421875 -1.546875 0.84375 -0.78125 C 1.265625 0.015625 2 0.21875 2.484375 0.21875 C 3.015625 0.21875 3.78125 0.015625 4.21875 -0.9375 C 4.53125 -1.625 4.578125 -2.40625 4.578125 -3.1875 Z M 2.484375 0 C 2.09375 0 1.5 -0.25 1.328125 -1.203125 C 1.21875 -1.796875 1.21875 -2.71875 1.21875 -3.3125 C 1.21875 -3.953125 1.21875 -4.609375 1.296875 -5.140625 C 1.484375 -6.328125 2.234375 -6.421875 2.484375 -6.421875 C 2.8125 -6.421875 3.46875 -6.234375 3.65625 -5.25 C 3.765625 -4.6875 3.765625 -3.9375 3.765625 -3.3125 C 3.765625 -2.5625 3.765625 -1.890625 3.65625 -1.25 C 3.5 -0.296875 2.9375 0 2.484375 0 Z M 2.484375 0 "/> +</symbol> +<symbol overflow="visible" id="glyph0-3"> +<path style="stroke:none;" d="M 6.828125 -7.09375 C 6.890625 -7.1875 6.90625 -7.21875 6.90625 -7.28125 C 6.90625 -7.390625 6.8125 -7.484375 6.703125 -7.484375 C 6.609375 -7.484375 6.5625 -7.40625 6.5 -7.34375 C 6 -6.65625 5.328125 -6.390625 4.609375 -6.390625 C 3.90625 -6.390625 3.296875 -6.640625 2.734375 -7.15625 C 2.546875 -7.328125 2.34375 -7.484375 2.03125 -7.484375 C 1.265625 -7.484375 0.5625 -6.640625 0.5625 -5.46875 C 0.5625 -4.265625 1.28125 -3.453125 2.03125 -3.453125 C 2.75 -3.453125 3.3125 -4.34375 3.3125 -5.46875 C 3.3125 -5.609375 3.3125 -6.078125 3.109375 -6.59375 C 3.765625 -6.21875 4.25 -6.171875 4.609375 -6.171875 C 5.375 -6.171875 5.875 -6.484375 5.9375 -6.515625 L 5.953125 -6.515625 L 1.46875 0.15625 C 1.390625 0.296875 1.390625 0.34375 1.390625 0.359375 C 1.390625 0.46875 1.484375 0.5625 1.578125 0.5625 C 1.6875 0.5625 1.703125 0.515625 1.78125 0.40625 Z M 2.03125 -3.671875 C 1.828125 -3.671875 1.171875 -3.8125 1.171875 -5.46875 C 1.171875 -7.125 1.828125 -7.25 2.03125 -7.25 C 2.5625 -7.25 3.078125 -6.515625 3.078125 -5.46875 C 3.078125 -4.390625 2.546875 -3.671875 2.03125 -3.671875 Z M 6.453125 0.34375 C 6.25 0.34375 5.59375 0.203125 5.59375 -1.453125 C 5.59375 -3.109375 6.234375 -3.234375 6.453125 -3.234375 C 6.984375 -3.234375 7.484375 -2.5 7.484375 -1.453125 C 7.484375 -0.375 6.96875 0.34375 6.453125 0.34375 Z M 7.734375 -1.453125 C 7.734375 -2.59375 7.140625 -3.453125 6.4375 -3.453125 C 5.6875 -3.453125 4.96875 -2.625 4.96875 -1.453125 C 4.96875 -0.25 5.6875 0.5625 6.4375 0.5625 C 7.171875 0.5625 7.734375 -0.328125 7.734375 -1.453125 Z M 7.734375 -1.453125 "/> +</symbol> +<symbol overflow="visible" id="glyph0-4"> +<path style="stroke:none;" d="M 2.21875 -3.65625 L 2.21875 -6.09375 C 2.21875 -6.4375 2.234375 -6.5 2.703125 -6.5 L 3.9375 -6.5 C 4.90625 -6.5 5.25 -5.65625 5.25 -5.125 C 5.25 -4.484375 4.765625 -3.65625 3.65625 -3.65625 Z M 4.5625 -3.5625 C 5.53125 -3.75 6.21875 -4.390625 6.21875 -5.125 C 6.21875 -5.984375 5.296875 -6.8125 4 -6.8125 L 0.359375 -6.8125 L 0.359375 -6.5 L 0.59375 -6.5 C 1.359375 -6.5 1.390625 -6.390625 1.390625 -6.03125 L 1.390625 -0.78125 C 1.390625 -0.421875 1.359375 -0.3125 0.59375 -0.3125 L 0.359375 -0.3125 L 0.359375 0 L 4.265625 0 C 5.59375 0 6.484375 -0.890625 6.484375 -1.828125 C 6.484375 -2.6875 5.671875 -3.4375 4.5625 -3.5625 Z M 3.953125 -0.3125 L 2.703125 -0.3125 C 2.234375 -0.3125 2.21875 -0.375 2.21875 -0.703125 L 2.21875 -3.421875 L 4.09375 -3.421875 C 5.078125 -3.421875 5.5 -2.5 5.5 -1.828125 C 5.5 -1.125 4.96875 -0.3125 3.953125 -0.3125 Z M 3.953125 -0.3125 "/> +</symbol> +<symbol overflow="visible" id="glyph0-5"> +<path style="stroke:none;" d="M 1.265625 -0.765625 L 2.328125 -1.796875 C 3.875 -3.171875 4.46875 -3.703125 4.46875 -4.703125 C 4.46875 -5.84375 3.578125 -6.640625 2.359375 -6.640625 C 1.234375 -6.640625 0.5 -5.71875 0.5 -4.828125 C 0.5 -4.28125 1 -4.28125 1.03125 -4.28125 C 1.203125 -4.28125 1.546875 -4.390625 1.546875 -4.8125 C 1.546875 -5.0625 1.359375 -5.328125 1.015625 -5.328125 C 0.9375 -5.328125 0.921875 -5.328125 0.890625 -5.3125 C 1.109375 -5.96875 1.65625 -6.328125 2.234375 -6.328125 C 3.140625 -6.328125 3.5625 -5.515625 3.5625 -4.703125 C 3.5625 -3.90625 3.078125 -3.125 2.515625 -2.5 L 0.609375 -0.375 C 0.5 -0.265625 0.5 -0.234375 0.5 0 L 4.203125 0 L 4.46875 -1.734375 L 4.234375 -1.734375 C 4.171875 -1.4375 4.109375 -1 4 -0.84375 C 3.9375 -0.765625 3.28125 -0.765625 3.0625 -0.765625 Z M 1.265625 -0.765625 "/> +</symbol> +<symbol overflow="visible" id="glyph0-6"> +<path style="stroke:none;" d="M 0.5625 -3.40625 C 0.5625 -1.34375 2.171875 0.21875 4.03125 0.21875 C 5.65625 0.21875 6.625 -1.171875 6.625 -2.328125 C 6.625 -2.421875 6.625 -2.5 6.5 -2.5 C 6.390625 -2.5 6.390625 -2.4375 6.375 -2.328125 C 6.296875 -0.90625 5.234375 -0.09375 4.140625 -0.09375 C 3.53125 -0.09375 1.578125 -0.421875 1.578125 -3.40625 C 1.578125 -6.375 3.53125 -6.71875 4.140625 -6.71875 C 5.21875 -6.71875 6.109375 -5.8125 6.3125 -4.359375 C 6.328125 -4.21875 6.328125 -4.1875 6.46875 -4.1875 C 6.625 -4.1875 6.625 -4.21875 6.625 -4.421875 L 6.625 -6.78125 C 6.625 -6.953125 6.625 -7.03125 6.515625 -7.03125 C 6.484375 -7.03125 6.4375 -7.03125 6.359375 -6.90625 L 5.859375 -6.171875 C 5.5 -6.53125 4.984375 -7.03125 4.03125 -7.03125 C 2.15625 -7.03125 0.5625 -5.4375 0.5625 -3.40625 Z M 0.5625 -3.40625 "/> +</symbol> +<symbol overflow="visible" id="glyph0-7"> +<path style="stroke:none;" d="M 2.890625 -3.515625 C 3.703125 -3.78125 4.28125 -4.46875 4.28125 -5.265625 C 4.28125 -6.078125 3.40625 -6.640625 2.453125 -6.640625 C 1.453125 -6.640625 0.6875 -6.046875 0.6875 -5.28125 C 0.6875 -4.953125 0.90625 -4.765625 1.203125 -4.765625 C 1.5 -4.765625 1.703125 -4.984375 1.703125 -5.28125 C 1.703125 -5.765625 1.234375 -5.765625 1.09375 -5.765625 C 1.390625 -6.265625 2.046875 -6.390625 2.40625 -6.390625 C 2.828125 -6.390625 3.375 -6.171875 3.375 -5.28125 C 3.375 -5.15625 3.34375 -4.578125 3.09375 -4.140625 C 2.796875 -3.65625 2.453125 -3.625 2.203125 -3.625 C 2.125 -3.609375 1.890625 -3.59375 1.8125 -3.59375 C 1.734375 -3.578125 1.671875 -3.5625 1.671875 -3.46875 C 1.671875 -3.359375 1.734375 -3.359375 1.90625 -3.359375 L 2.34375 -3.359375 C 3.15625 -3.359375 3.53125 -2.6875 3.53125 -1.703125 C 3.53125 -0.34375 2.84375 -0.0625 2.40625 -0.0625 C 1.96875 -0.0625 1.21875 -0.234375 0.875 -0.8125 C 1.21875 -0.765625 1.53125 -0.984375 1.53125 -1.359375 C 1.53125 -1.71875 1.265625 -1.921875 0.984375 -1.921875 C 0.734375 -1.921875 0.421875 -1.78125 0.421875 -1.34375 C 0.421875 -0.4375 1.34375 0.21875 2.4375 0.21875 C 3.65625 0.21875 4.5625 -0.6875 4.5625 -1.703125 C 4.5625 -2.515625 3.921875 -3.296875 2.890625 -3.515625 Z M 2.890625 -3.515625 "/> +</symbol> +<symbol overflow="visible" id="glyph0-8"> +<path style="stroke:none;" d="M 0.34375 -6.8125 L 0.34375 -6.5 L 0.59375 -6.5 C 1.359375 -6.5 1.375 -6.390625 1.375 -6.03125 L 1.375 -0.78125 C 1.375 -0.421875 1.359375 -0.3125 0.59375 -0.3125 L 0.34375 -0.3125 L 0.34375 0 L 4 0 C 5.671875 0 7.046875 -1.46875 7.046875 -3.34375 C 7.046875 -5.25 5.703125 -6.8125 4 -6.8125 Z M 2.71875 -0.3125 C 2.25 -0.3125 2.234375 -0.375 2.234375 -0.703125 L 2.234375 -6.09375 C 2.234375 -6.4375 2.25 -6.5 2.71875 -6.5 L 3.71875 -6.5 C 4.34375 -6.5 5.03125 -6.28125 5.53125 -5.578125 C 5.96875 -4.984375 6.046875 -4.125 6.046875 -3.34375 C 6.046875 -2.25 5.859375 -1.640625 5.5 -1.15625 C 5.296875 -0.890625 4.734375 -0.3125 3.734375 -0.3125 Z M 2.71875 -0.3125 "/> +</symbol> +<symbol overflow="visible" id="glyph0-9"> +<path style="stroke:none;" d="M 2.9375 -1.640625 L 2.9375 -0.78125 C 2.9375 -0.421875 2.90625 -0.3125 2.171875 -0.3125 L 1.96875 -0.3125 L 1.96875 0 C 2.375 -0.03125 2.890625 -0.03125 3.3125 -0.03125 C 3.734375 -0.03125 4.25 -0.03125 4.671875 0 L 4.671875 -0.3125 L 4.453125 -0.3125 C 3.71875 -0.3125 3.703125 -0.421875 3.703125 -0.78125 L 3.703125 -1.640625 L 4.6875 -1.640625 L 4.6875 -1.953125 L 3.703125 -1.953125 L 3.703125 -6.484375 C 3.703125 -6.6875 3.703125 -6.75 3.53125 -6.75 C 3.453125 -6.75 3.421875 -6.75 3.34375 -6.625 L 0.28125 -1.953125 L 0.28125 -1.640625 Z M 2.984375 -1.953125 L 0.5625 -1.953125 L 2.984375 -5.671875 Z M 2.984375 -1.953125 "/> +</symbol> +</g> +</defs> +<g id="surface1"> +<path style="fill-rule:nonzero;fill:rgb(39.99939%,39.99939%,100%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.001375 -0.00165625 L 85.040438 -0.00165625 C 85.040438 17.951469 79.349031 35.455375 68.802156 49.978813 Z M 0.001375 -0.00165625 " transform="matrix(1,0,0,-1,96.108,95.721)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-0" x="181.203" y="65.713"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-1" x="145.945" y="80.023"/> + <use xlink:href="#glyph0-2" x="150.9263" y="80.023"/> + <use xlink:href="#glyph0-3" x="155.9076" y="80.023"/> +</g> +<path style="fill-rule:nonzero;fill:rgb(40.000916%,80.703735%,96.237183%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.001375 -0.00165625 L 68.802156 49.978813 C 47.149813 79.7835 8.763094 92.260063 -26.272062 80.881156 Z M 0.001375 -0.00165625 " transform="matrix(1,0,0,-1,96.108,95.721)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-4" x="126.152" y="10.629"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-5" x="103.559" y="48.155"/> + <use xlink:href="#glyph0-2" x="108.5403" y="48.155"/> + <use xlink:href="#glyph0-3" x="113.5216" y="48.155"/> +</g> +<path style="fill-rule:nonzero;fill:rgb(100%,96.939087%,40.000916%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.001375 -0.00165625 L -26.272062 80.881156 C -55.162687 71.494438 -76.861906 47.400688 -83.178312 17.685844 C -88.190031 -5.884469 -82.963469 -30.486031 -68.799406 -49.982125 Z M 0.001375 -0.00165625 " transform="matrix(1,0,0,-1,96.108,95.721)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-6" x="3.82" y="65.677"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-7" x="43.891" y="85.178"/> + <use xlink:href="#glyph0-2" x="48.8723" y="85.178"/> + <use xlink:href="#glyph0-3" x="53.8536" y="85.178"/> +</g> +<path style="fill-rule:nonzero;fill:rgb(100%,69.999695%,39.99939%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 0.001375 -0.00165625 L -68.799406 -49.982125 C -41.197844 -87.978219 11.981844 -96.404 49.981844 -68.802437 C 71.997469 -52.806344 85.040438 -27.2165 85.040438 -0.00165625 Z M 0.001375 -0.00165625 " transform="matrix(1,0,0,-1,96.108,95.721)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-8" x="126.116" y="187.624"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-9" x="98.393" y="134.325"/> + <use xlink:href="#glyph0-2" x="103.3743" y="134.325"/> + <use xlink:href="#glyph0-3" x="108.3556" y="134.325"/> +</g> +</g> +</svg> diff --git a/Master/texmf-dist/doc/latex/pgf-pie/first-pie.tex b/Master/texmf-dist/doc/latex/pgf-pie/first-pie.tex new file mode 100644 index 00000000000..e8c63761b40 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/first-pie.tex @@ -0,0 +1,3 @@ +\begin{tikzpicture} + \pie{10/A, 20/B, 30/C, 40/D} +\end{tikzpicture}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-pie/hide-number.tex b/Master/texmf-dist/doc/latex/pgf-pie/hide-number.tex new file mode 100644 index 00000000000..53252173e08 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/hide-number.tex @@ -0,0 +1,3 @@ +\begin{tikzpicture} + \pie[hide number]{10/A, 20/B, 30/C, 40/D} +\end{tikzpicture} diff --git a/Master/texmf-dist/doc/latex/pgf-pie/legend.tex b/Master/texmf-dist/doc/latex/pgf-pie/legend.tex new file mode 100644 index 00000000000..f6665f6c8ef --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/legend.tex @@ -0,0 +1,3 @@ +\begin{tikzpicture} + \pie[text=legend]{10/First, 20/Second, 30/Third, 40/Fourth} +\end{tikzpicture}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-pie/logo.png b/Master/texmf-dist/doc/latex/pgf-pie/logo.png Binary files differnew file mode 100644 index 00000000000..68959bc616b --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/logo.png 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 differnew file mode 100644 index 00000000000..961445766e1 --- /dev/null +++ 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 new file mode 100644 index 00000000000..f9235a2eb7f --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/pgf-pie-manual.tex @@ -0,0 +1,204 @@ +% Manual of pgf-pie.sty, a convenient set of macros for drawing pie +% 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} + +\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} +} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\hypersetup{ + colorlinks=true, + linkcolor=blue, + anchorcolor=black, + citecolor=olive, + 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} +} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\begin{document} +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +\title{Drawing Pie Chart by using \texttt{pgf-pie}} +\author{\href{mailto:xuyuan.cn@gmail.com}{Yuan Xu}} +\date{\today{}~(v0.3)} +\maketitle +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + +\begin{abstract} + \texttt{pgf-pie} 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 + \href{https://github.com/pgf-tikz/pgf-pie}{https://github.com/pgf-tikz/pgf-pie}. +\end{abstract} + +\tableofcontents + +\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}. +\begin{figure} + \centering + \demo[0.6]{first-pie} + \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 +is 3. + +\demo{radius} + +\subsection{Color} +The color can be specified by \texttt{color}, the default color wheel +is shown in figure \ref{fig:color-wheel}. +\begin{figure} + \centering + \input{demo/colorwheel} + \caption{Default color wheel} + \label{fig:color-wheel} +\end{figure} + +\demo{color} + +\subsection{Explode} +\demo{explode} + +\subsection{Angle of slices} +The value of \texttt{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}. + +\demo{sum} + +\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 \% +automatically if user doesn't set it. + +\demo[0.6]{before-after-number} + +The number also can be hide by \texttt{hide number}: + +\demo[0.6]{hide-number} + +\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} + +\subsubsection{Label text} +The value of \texttt{text} can be \texttt{label}(default), +\texttt{pin}, \texttt{inside} or \texttt{legend}. + +\demo[0.6]{text} + +\demo[0.5]{text-inside} + +\demo[0.6]{legend} + +\subsection{More about style} +\subsubsection{shadow} +\demo[0.6]{shadow} + +\section{Variant Charts} +\subsection{Polar area diagram} +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} + +\subsection{Square} + +\demo[0.6]{square} + +Note: \texttt{explode} has no affects in sqaure chart. + +\subsection{Clouds} + +\demo[0.6]{cloud} + +\section{Examples} + +% \subsection{Population of the world} +% \example{population} + +\section{Acknowledgements} +Many people contributed to \texttt{pgf-pie} 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}, +and +\href{mailto:ldrude@mail.uni-paderborn.de}{Lukas Drude} +. + +\end{document} +%%% Local Variables: +%%% mode: Tex-PDF +%%% TeX-master: t +%%% End: diff --git a/Master/texmf-dist/doc/latex/pgf-pie/polar.svg b/Master/texmf-dist/doc/latex/pgf-pie/polar.svg new file mode 100644 index 00000000000..a4442a04dfe --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/polar.svg @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="160.48pt" height="146.966pt" viewBox="0 0 160.48 146.966" version="1.1"> +<defs> +<g> +<symbol overflow="visible" id="glyph0-0"> +<path style="stroke:none;" d="M 3.96875 -6.9375 C 3.921875 -7.0625 3.890625 -7.140625 3.734375 -7.140625 C 3.578125 -7.140625 3.546875 -7.078125 3.5 -6.9375 L 1.4375 -0.984375 C 1.25 -0.46875 0.859375 -0.3125 0.3125 -0.3125 L 0.3125 0 C 0.546875 -0.015625 0.984375 -0.03125 1.328125 -0.03125 C 1.640625 -0.03125 2.15625 -0.015625 2.484375 0 L 2.484375 -0.3125 C 1.984375 -0.3125 1.734375 -0.5625 1.734375 -0.8125 C 1.734375 -0.84375 1.75 -0.953125 1.75 -0.96875 L 2.21875 -2.265625 L 4.671875 -2.265625 L 5.203125 -0.75 C 5.21875 -0.703125 5.234375 -0.640625 5.234375 -0.609375 C 5.234375 -0.3125 4.671875 -0.3125 4.40625 -0.3125 L 4.40625 0 C 4.765625 -0.03125 5.46875 -0.03125 5.84375 -0.03125 C 6.265625 -0.03125 6.734375 -0.015625 7.140625 0 L 7.140625 -0.3125 L 6.96875 -0.3125 C 6.375 -0.3125 6.234375 -0.375 6.125 -0.703125 Z M 3.4375 -5.828125 L 4.5625 -2.578125 L 2.328125 -2.578125 Z M 3.4375 -5.828125 "/> +</symbol> +<symbol overflow="visible" id="glyph0-1"> +<path style="stroke:none;" d="M 2.9375 -6.375 C 2.9375 -6.625 2.9375 -6.640625 2.703125 -6.640625 C 2.078125 -6 1.203125 -6 0.890625 -6 L 0.890625 -5.6875 C 1.09375 -5.6875 1.671875 -5.6875 2.1875 -5.953125 L 2.1875 -0.78125 C 2.1875 -0.421875 2.15625 -0.3125 1.265625 -0.3125 L 0.953125 -0.3125 L 0.953125 0 C 1.296875 -0.03125 2.15625 -0.03125 2.5625 -0.03125 C 2.953125 -0.03125 3.828125 -0.03125 4.171875 0 L 4.171875 -0.3125 L 3.859375 -0.3125 C 2.953125 -0.3125 2.9375 -0.421875 2.9375 -0.78125 Z M 2.9375 -6.375 "/> +</symbol> +<symbol overflow="visible" id="glyph0-2"> +<path style="stroke:none;" d="M 4.578125 -3.1875 C 4.578125 -3.984375 4.53125 -4.78125 4.1875 -5.515625 C 3.734375 -6.484375 2.90625 -6.640625 2.5 -6.640625 C 1.890625 -6.640625 1.171875 -6.375 0.75 -5.453125 C 0.4375 -4.765625 0.390625 -3.984375 0.390625 -3.1875 C 0.390625 -2.4375 0.421875 -1.546875 0.84375 -0.78125 C 1.265625 0.015625 2 0.21875 2.484375 0.21875 C 3.015625 0.21875 3.78125 0.015625 4.21875 -0.9375 C 4.53125 -1.625 4.578125 -2.40625 4.578125 -3.1875 Z M 2.484375 0 C 2.09375 0 1.5 -0.25 1.328125 -1.203125 C 1.21875 -1.796875 1.21875 -2.71875 1.21875 -3.3125 C 1.21875 -3.953125 1.21875 -4.609375 1.296875 -5.140625 C 1.484375 -6.328125 2.234375 -6.421875 2.484375 -6.421875 C 2.8125 -6.421875 3.46875 -6.234375 3.65625 -5.25 C 3.765625 -4.6875 3.765625 -3.9375 3.765625 -3.3125 C 3.765625 -2.5625 3.765625 -1.890625 3.65625 -1.25 C 3.5 -0.296875 2.9375 0 2.484375 0 Z M 2.484375 0 "/> +</symbol> +<symbol overflow="visible" id="glyph0-3"> +<path style="stroke:none;" d="M 6.828125 -7.09375 C 6.890625 -7.1875 6.90625 -7.21875 6.90625 -7.28125 C 6.90625 -7.390625 6.8125 -7.484375 6.703125 -7.484375 C 6.609375 -7.484375 6.5625 -7.40625 6.5 -7.34375 C 6 -6.65625 5.328125 -6.390625 4.609375 -6.390625 C 3.90625 -6.390625 3.296875 -6.640625 2.734375 -7.15625 C 2.546875 -7.328125 2.34375 -7.484375 2.03125 -7.484375 C 1.265625 -7.484375 0.5625 -6.640625 0.5625 -5.46875 C 0.5625 -4.265625 1.28125 -3.453125 2.03125 -3.453125 C 2.75 -3.453125 3.3125 -4.34375 3.3125 -5.46875 C 3.3125 -5.609375 3.3125 -6.078125 3.109375 -6.59375 C 3.765625 -6.21875 4.25 -6.171875 4.609375 -6.171875 C 5.375 -6.171875 5.875 -6.484375 5.9375 -6.515625 L 5.953125 -6.515625 L 1.46875 0.15625 C 1.390625 0.296875 1.390625 0.34375 1.390625 0.359375 C 1.390625 0.46875 1.484375 0.5625 1.578125 0.5625 C 1.6875 0.5625 1.703125 0.515625 1.78125 0.40625 Z M 2.03125 -3.671875 C 1.828125 -3.671875 1.171875 -3.8125 1.171875 -5.46875 C 1.171875 -7.125 1.828125 -7.25 2.03125 -7.25 C 2.5625 -7.25 3.078125 -6.515625 3.078125 -5.46875 C 3.078125 -4.390625 2.546875 -3.671875 2.03125 -3.671875 Z M 6.453125 0.34375 C 6.25 0.34375 5.59375 0.203125 5.59375 -1.453125 C 5.59375 -3.109375 6.234375 -3.234375 6.453125 -3.234375 C 6.984375 -3.234375 7.484375 -2.5 7.484375 -1.453125 C 7.484375 -0.375 6.96875 0.34375 6.453125 0.34375 Z M 7.734375 -1.453125 C 7.734375 -2.59375 7.140625 -3.453125 6.4375 -3.453125 C 5.6875 -3.453125 4.96875 -2.625 4.96875 -1.453125 C 4.96875 -0.25 5.6875 0.5625 6.4375 0.5625 C 7.171875 0.5625 7.734375 -0.328125 7.734375 -1.453125 Z M 7.734375 -1.453125 "/> +</symbol> +<symbol overflow="visible" id="glyph0-4"> +<path style="stroke:none;" d="M 2.21875 -3.65625 L 2.21875 -6.09375 C 2.21875 -6.4375 2.234375 -6.5 2.703125 -6.5 L 3.9375 -6.5 C 4.90625 -6.5 5.25 -5.65625 5.25 -5.125 C 5.25 -4.484375 4.765625 -3.65625 3.65625 -3.65625 Z M 4.5625 -3.5625 C 5.53125 -3.75 6.21875 -4.390625 6.21875 -5.125 C 6.21875 -5.984375 5.296875 -6.8125 4 -6.8125 L 0.359375 -6.8125 L 0.359375 -6.5 L 0.59375 -6.5 C 1.359375 -6.5 1.390625 -6.390625 1.390625 -6.03125 L 1.390625 -0.78125 C 1.390625 -0.421875 1.359375 -0.3125 0.59375 -0.3125 L 0.359375 -0.3125 L 0.359375 0 L 4.265625 0 C 5.59375 0 6.484375 -0.890625 6.484375 -1.828125 C 6.484375 -2.6875 5.671875 -3.4375 4.5625 -3.5625 Z M 3.953125 -0.3125 L 2.703125 -0.3125 C 2.234375 -0.3125 2.21875 -0.375 2.21875 -0.703125 L 2.21875 -3.421875 L 4.09375 -3.421875 C 5.078125 -3.421875 5.5 -2.5 5.5 -1.828125 C 5.5 -1.125 4.96875 -0.3125 3.953125 -0.3125 Z M 3.953125 -0.3125 "/> +</symbol> +<symbol overflow="visible" id="glyph0-5"> +<path style="stroke:none;" d="M 1.265625 -0.765625 L 2.328125 -1.796875 C 3.875 -3.171875 4.46875 -3.703125 4.46875 -4.703125 C 4.46875 -5.84375 3.578125 -6.640625 2.359375 -6.640625 C 1.234375 -6.640625 0.5 -5.71875 0.5 -4.828125 C 0.5 -4.28125 1 -4.28125 1.03125 -4.28125 C 1.203125 -4.28125 1.546875 -4.390625 1.546875 -4.8125 C 1.546875 -5.0625 1.359375 -5.328125 1.015625 -5.328125 C 0.9375 -5.328125 0.921875 -5.328125 0.890625 -5.3125 C 1.109375 -5.96875 1.65625 -6.328125 2.234375 -6.328125 C 3.140625 -6.328125 3.5625 -5.515625 3.5625 -4.703125 C 3.5625 -3.90625 3.078125 -3.125 2.515625 -2.5 L 0.609375 -0.375 C 0.5 -0.265625 0.5 -0.234375 0.5 0 L 4.203125 0 L 4.46875 -1.734375 L 4.234375 -1.734375 C 4.171875 -1.4375 4.109375 -1 4 -0.84375 C 3.9375 -0.765625 3.28125 -0.765625 3.0625 -0.765625 Z M 1.265625 -0.765625 "/> +</symbol> +<symbol overflow="visible" id="glyph0-6"> +<path style="stroke:none;" d="M 0.5625 -3.40625 C 0.5625 -1.34375 2.171875 0.21875 4.03125 0.21875 C 5.65625 0.21875 6.625 -1.171875 6.625 -2.328125 C 6.625 -2.421875 6.625 -2.5 6.5 -2.5 C 6.390625 -2.5 6.390625 -2.4375 6.375 -2.328125 C 6.296875 -0.90625 5.234375 -0.09375 4.140625 -0.09375 C 3.53125 -0.09375 1.578125 -0.421875 1.578125 -3.40625 C 1.578125 -6.375 3.53125 -6.71875 4.140625 -6.71875 C 5.21875 -6.71875 6.109375 -5.8125 6.3125 -4.359375 C 6.328125 -4.21875 6.328125 -4.1875 6.46875 -4.1875 C 6.625 -4.1875 6.625 -4.21875 6.625 -4.421875 L 6.625 -6.78125 C 6.625 -6.953125 6.625 -7.03125 6.515625 -7.03125 C 6.484375 -7.03125 6.4375 -7.03125 6.359375 -6.90625 L 5.859375 -6.171875 C 5.5 -6.53125 4.984375 -7.03125 4.03125 -7.03125 C 2.15625 -7.03125 0.5625 -5.4375 0.5625 -3.40625 Z M 0.5625 -3.40625 "/> +</symbol> +<symbol overflow="visible" id="glyph0-7"> +<path style="stroke:none;" d="M 2.890625 -3.515625 C 3.703125 -3.78125 4.28125 -4.46875 4.28125 -5.265625 C 4.28125 -6.078125 3.40625 -6.640625 2.453125 -6.640625 C 1.453125 -6.640625 0.6875 -6.046875 0.6875 -5.28125 C 0.6875 -4.953125 0.90625 -4.765625 1.203125 -4.765625 C 1.5 -4.765625 1.703125 -4.984375 1.703125 -5.28125 C 1.703125 -5.765625 1.234375 -5.765625 1.09375 -5.765625 C 1.390625 -6.265625 2.046875 -6.390625 2.40625 -6.390625 C 2.828125 -6.390625 3.375 -6.171875 3.375 -5.28125 C 3.375 -5.15625 3.34375 -4.578125 3.09375 -4.140625 C 2.796875 -3.65625 2.453125 -3.625 2.203125 -3.625 C 2.125 -3.609375 1.890625 -3.59375 1.8125 -3.59375 C 1.734375 -3.578125 1.671875 -3.5625 1.671875 -3.46875 C 1.671875 -3.359375 1.734375 -3.359375 1.90625 -3.359375 L 2.34375 -3.359375 C 3.15625 -3.359375 3.53125 -2.6875 3.53125 -1.703125 C 3.53125 -0.34375 2.84375 -0.0625 2.40625 -0.0625 C 1.96875 -0.0625 1.21875 -0.234375 0.875 -0.8125 C 1.21875 -0.765625 1.53125 -0.984375 1.53125 -1.359375 C 1.53125 -1.71875 1.265625 -1.921875 0.984375 -1.921875 C 0.734375 -1.921875 0.421875 -1.78125 0.421875 -1.34375 C 0.421875 -0.4375 1.34375 0.21875 2.4375 0.21875 C 3.65625 0.21875 4.5625 -0.6875 4.5625 -1.703125 C 4.5625 -2.515625 3.921875 -3.296875 2.890625 -3.515625 Z M 2.890625 -3.515625 "/> +</symbol> +<symbol overflow="visible" id="glyph0-8"> +<path style="stroke:none;" d="M 0.34375 -6.8125 L 0.34375 -6.5 L 0.59375 -6.5 C 1.359375 -6.5 1.375 -6.390625 1.375 -6.03125 L 1.375 -0.78125 C 1.375 -0.421875 1.359375 -0.3125 0.59375 -0.3125 L 0.34375 -0.3125 L 0.34375 0 L 4 0 C 5.671875 0 7.046875 -1.46875 7.046875 -3.34375 C 7.046875 -5.25 5.703125 -6.8125 4 -6.8125 Z M 2.71875 -0.3125 C 2.25 -0.3125 2.234375 -0.375 2.234375 -0.703125 L 2.234375 -6.09375 C 2.234375 -6.4375 2.25 -6.5 2.71875 -6.5 L 3.71875 -6.5 C 4.34375 -6.5 5.03125 -6.28125 5.53125 -5.578125 C 5.96875 -4.984375 6.046875 -4.125 6.046875 -3.34375 C 6.046875 -2.25 5.859375 -1.640625 5.5 -1.15625 C 5.296875 -0.890625 4.734375 -0.3125 3.734375 -0.3125 Z M 2.71875 -0.3125 "/> +</symbol> +<symbol overflow="visible" id="glyph0-9"> +<path style="stroke:none;" d="M 2.9375 -1.640625 L 2.9375 -0.78125 C 2.9375 -0.421875 2.90625 -0.3125 2.171875 -0.3125 L 1.96875 -0.3125 L 1.96875 0 C 2.375 -0.03125 2.890625 -0.03125 3.3125 -0.03125 C 3.734375 -0.03125 4.25 -0.03125 4.671875 0 L 4.671875 -0.3125 L 4.453125 -0.3125 C 3.71875 -0.3125 3.703125 -0.421875 3.703125 -0.78125 L 3.703125 -1.640625 L 4.6875 -1.640625 L 4.6875 -1.953125 L 3.703125 -1.953125 L 3.703125 -6.484375 C 3.703125 -6.6875 3.703125 -6.75 3.53125 -6.75 C 3.453125 -6.75 3.421875 -6.75 3.34375 -6.625 L 0.28125 -1.953125 L 0.28125 -1.640625 Z M 2.984375 -1.953125 L 0.5625 -1.953125 L 2.984375 -5.671875 Z M 2.984375 -1.953125 "/> +</symbol> +</g> +</defs> +<g id="surface1"> +<path style="fill-rule:nonzero;fill:rgb(39.99939%,39.99939%,100%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -0.00003125 0.00165625 L 42.5195 0.00165625 C 42.5195 23.482125 23.484344 42.521187 -0.00003125 42.521187 Z M -0.00003125 0.00165625 " transform="matrix(1,0,0,-1,74.543,61.029)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-0" x="108.826" y="26.747"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-1" x="82.904" y="46.996"/> + <use xlink:href="#glyph0-2" x="87.8853" y="46.996"/> + <use xlink:href="#glyph0-3" x="92.8666" y="46.996"/> +</g> +<path style="fill-rule:nonzero;fill:rgb(40.000916%,80.703735%,96.237183%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -0.00003125 0.00165625 L -0.00003125 60.130562 C -33.210969 60.130562 -60.132844 33.208687 -60.132844 0.00165625 Z M -0.00003125 0.00165625 " transform="matrix(1,0,0,-1,74.543,61.029)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-4" x="20.75" y="14.293"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-5" x="40.672" y="39.75"/> + <use xlink:href="#glyph0-2" x="45.6533" y="39.75"/> + <use xlink:href="#glyph0-3" x="50.6346" y="39.75"/> +</g> +<path style="fill-rule:nonzero;fill:rgb(100%,96.939087%,40.000916%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -0.00003125 0.00165625 L -73.644563 0.00165625 C -73.644563 -40.674125 -40.675813 -73.646781 -0.00003125 -73.646781 Z M -0.00003125 0.00165625 " transform="matrix(1,0,0,-1,74.543,61.029)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-6" x="11.056" y="124.129"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-7" x="35.112" y="94.787"/> + <use xlink:href="#glyph0-2" x="40.0933" y="94.787"/> + <use xlink:href="#glyph0-3" x="45.0746" y="94.787"/> +</g> +<path style="fill-rule:nonzero;fill:rgb(100%,69.999695%,39.99939%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:round;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -0.00003125 0.00165625 L -0.00003125 -85.037406 C 46.964812 -85.037406 85.039031 -46.967094 85.039031 0.00165625 Z M -0.00003125 0.00165625 " transform="matrix(1,0,0,-1,74.543,61.029)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-8" x="138.891" y="132.185"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-9" x="100.397" y="99.474"/> + <use xlink:href="#glyph0-2" x="105.3783" y="99.474"/> + <use xlink:href="#glyph0-3" x="110.3596" y="99.474"/> +</g> +</g> +</svg> diff --git a/Master/texmf-dist/doc/latex/pgf-pie/polar.tex b/Master/texmf-dist/doc/latex/pgf-pie/polar.tex new file mode 100644 index 00000000000..4d868724938 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/polar.tex @@ -0,0 +1,3 @@ +\begin{tikzpicture} + \pie[polar]{10/A, 20/B, 30/C, 40/D} +\end{tikzpicture}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-pie/population.tex b/Master/texmf-dist/doc/latex/pgf-pie/population.tex new file mode 100644 index 00000000000..9267acb3fc3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/population.tex @@ -0,0 +1,27 @@ +% data from http://en.wikipedia.org/wiki/List_of_countries_by_population +\begin{tikzpicture} + \pie[cloud, rotate=45, sum=auto, radius=35, after number=, text=pin] {1339/China, + 1210/India, 312/USA, 237/Indonesia, 190/Brazil, 177/Pakistan, + 158/Nigeria, 151/Bangladesh, 142/Russia, 127/Japan, 112/Mexico, + 94/Philippines, 87/Vietnam, 82/Ethiopia, 81/Germany, 80/Egypt, + 75/Iran, 73/Turkey, 67/Thailand, 65/Congo, 65/France, 62/UK, + 60/Italy, 50/South Africa, 48/South Korea, 47/Myanmar, 46/Spain, + 46/Colombia, 45/Ukraine, 43/Tanzania, 40/Argentina, 38/Kenya, + 38/Poland, 36/Algeria, 34/Canada, 32/Morocco, 31/Uganda, 31/Iraq, + 31/Afghanistan, 30/Sudan, 29/Peru, 29/Venezuela, 28/Nepal, + 28/Malaysia, 27/Uzbekistan, 27/Saudi Arabia, 24/Ghana, 24/North + Korea, 23/Syria, 23/Taiwan, 22/Australia, 22/Yemen, 21/Romania, + 20/Madagascar, 20/Sri Lanka, 20/Mozambique, 19/Cote d'Ivoire, + 19/Cameroon, 19/Angola, 17/Chile, 16/Netherlands, 16/Kazakhstan, + 15/Burkina Faso, 15/Niger, 14/Malawi, 14/Mali, 14/Guatemala, + 14/Ecuador, 13/Cambodia, 13/Zambia, 12/Zimbabwe, 12/Senegal, + 11/Cuba, 11/Chad, 10/Belgium, 10/Greece, 10/Portugal, 10/Tunisia, + 10/Czech Republic, 10/Bolivia, 10/Rwanda, 10/Haiti, 10/Hungary, + 10/Guinea, 10/Belarus, 9/Sweden, 9/Dominican Republic, 9/Somalia, + 9/Azerbaijan, 9/Benin, 8/Austria, 8/Burundi, 8/United Arab + Emirates, 8/South Sudan, 8/Honduras, 8/Switzerland, 8/Israel, + 7/Bulgaria, 7/Serbia, 7/Hong Kong } + + % \node[circle,draw=black,thick, fill=white, font=\bf] + % {Population of the world}; +\end{tikzpicture} diff --git a/Master/texmf-dist/doc/latex/pgf-pie/radius.tex b/Master/texmf-dist/doc/latex/pgf-pie/radius.tex new file mode 100644 index 00000000000..944e2182192 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/radius.tex @@ -0,0 +1,7 @@ +\begin{tikzpicture} + \pie{10/, 20/, 30/, 40/} + + \pie[pos={8,0}, rotate=180]{10/, 20/, 30/, 40/} + + \pie[pos={17,0}, radius=4]{10/, 20/, 30/, 40/} +\end{tikzpicture}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-pie/scalefont.tex b/Master/texmf-dist/doc/latex/pgf-pie/scalefont.tex new file mode 100644 index 00000000000..df61709c40a --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/scalefont.tex @@ -0,0 +1,3 @@ +\begin{tikzpicture} + \pie[scale font]{10/A, 20/B, 30/C, 40/D} +\end{tikzpicture}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-pie/shadow.tex b/Master/texmf-dist/doc/latex/pgf-pie/shadow.tex new file mode 100644 index 00000000000..9ccfd9ffb58 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/shadow.tex @@ -0,0 +1,4 @@ +% \usetikzlibrary{shadows} +\begin{tikzpicture} + \pie[style=drop shadow]{10/A, 20/B, 30/C, 40/D} +\end{tikzpicture} diff --git a/Master/texmf-dist/doc/latex/pgf-pie/square.svg b/Master/texmf-dist/doc/latex/pgf-pie/square.svg new file mode 100644 index 00000000000..8e0a48f86a4 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/square.svg @@ -0,0 +1,75 @@ +<?xml version="1.0" encoding="UTF-8"?> +<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="186.625pt" height="185.823pt" viewBox="0 0 186.625 185.823" version="1.1"> +<defs> +<g> +<symbol overflow="visible" id="glyph0-0"> +<path style="stroke:none;" d="M 2.9375 -1.640625 L 2.9375 -0.78125 C 2.9375 -0.421875 2.90625 -0.3125 2.171875 -0.3125 L 1.96875 -0.3125 L 1.96875 0 C 2.375 -0.03125 2.890625 -0.03125 3.3125 -0.03125 C 3.734375 -0.03125 4.25 -0.03125 4.671875 0 L 4.671875 -0.3125 L 4.453125 -0.3125 C 3.71875 -0.3125 3.703125 -0.421875 3.703125 -0.78125 L 3.703125 -1.640625 L 4.6875 -1.640625 L 4.6875 -1.953125 L 3.703125 -1.953125 L 3.703125 -6.484375 C 3.703125 -6.6875 3.703125 -6.75 3.53125 -6.75 C 3.453125 -6.75 3.421875 -6.75 3.34375 -6.625 L 0.28125 -1.953125 L 0.28125 -1.640625 Z M 2.984375 -1.953125 L 0.5625 -1.953125 L 2.984375 -5.671875 Z M 2.984375 -1.953125 "/> +</symbol> +<symbol overflow="visible" id="glyph0-1"> +<path style="stroke:none;" d="M 4.578125 -3.1875 C 4.578125 -3.984375 4.53125 -4.78125 4.1875 -5.515625 C 3.734375 -6.484375 2.90625 -6.640625 2.5 -6.640625 C 1.890625 -6.640625 1.171875 -6.375 0.75 -5.453125 C 0.4375 -4.765625 0.390625 -3.984375 0.390625 -3.1875 C 0.390625 -2.4375 0.421875 -1.546875 0.84375 -0.78125 C 1.265625 0.015625 2 0.21875 2.484375 0.21875 C 3.015625 0.21875 3.78125 0.015625 4.21875 -0.9375 C 4.53125 -1.625 4.578125 -2.40625 4.578125 -3.1875 Z M 2.484375 0 C 2.09375 0 1.5 -0.25 1.328125 -1.203125 C 1.21875 -1.796875 1.21875 -2.71875 1.21875 -3.3125 C 1.21875 -3.953125 1.21875 -4.609375 1.296875 -5.140625 C 1.484375 -6.328125 2.234375 -6.421875 2.484375 -6.421875 C 2.8125 -6.421875 3.46875 -6.234375 3.65625 -5.25 C 3.765625 -4.6875 3.765625 -3.9375 3.765625 -3.3125 C 3.765625 -2.5625 3.765625 -1.890625 3.65625 -1.25 C 3.5 -0.296875 2.9375 0 2.484375 0 Z M 2.484375 0 "/> +</symbol> +<symbol overflow="visible" id="glyph0-2"> +<path style="stroke:none;" d="M 6.828125 -7.09375 C 6.890625 -7.1875 6.90625 -7.21875 6.90625 -7.28125 C 6.90625 -7.390625 6.8125 -7.484375 6.703125 -7.484375 C 6.609375 -7.484375 6.5625 -7.40625 6.5 -7.34375 C 6 -6.65625 5.328125 -6.390625 4.609375 -6.390625 C 3.90625 -6.390625 3.296875 -6.640625 2.734375 -7.15625 C 2.546875 -7.328125 2.34375 -7.484375 2.03125 -7.484375 C 1.265625 -7.484375 0.5625 -6.640625 0.5625 -5.46875 C 0.5625 -4.265625 1.28125 -3.453125 2.03125 -3.453125 C 2.75 -3.453125 3.3125 -4.34375 3.3125 -5.46875 C 3.3125 -5.609375 3.3125 -6.078125 3.109375 -6.59375 C 3.765625 -6.21875 4.25 -6.171875 4.609375 -6.171875 C 5.375 -6.171875 5.875 -6.484375 5.9375 -6.515625 L 5.953125 -6.515625 L 1.46875 0.15625 C 1.390625 0.296875 1.390625 0.34375 1.390625 0.359375 C 1.390625 0.46875 1.484375 0.5625 1.578125 0.5625 C 1.6875 0.5625 1.703125 0.515625 1.78125 0.40625 Z M 2.03125 -3.671875 C 1.828125 -3.671875 1.171875 -3.8125 1.171875 -5.46875 C 1.171875 -7.125 1.828125 -7.25 2.03125 -7.25 C 2.5625 -7.25 3.078125 -6.515625 3.078125 -5.46875 C 3.078125 -4.390625 2.546875 -3.671875 2.03125 -3.671875 Z M 6.453125 0.34375 C 6.25 0.34375 5.59375 0.203125 5.59375 -1.453125 C 5.59375 -3.109375 6.234375 -3.234375 6.453125 -3.234375 C 6.984375 -3.234375 7.484375 -2.5 7.484375 -1.453125 C 7.484375 -0.375 6.96875 0.34375 6.453125 0.34375 Z M 7.734375 -1.453125 C 7.734375 -2.59375 7.140625 -3.453125 6.4375 -3.453125 C 5.6875 -3.453125 4.96875 -2.625 4.96875 -1.453125 C 4.96875 -0.25 5.6875 0.5625 6.4375 0.5625 C 7.171875 0.5625 7.734375 -0.328125 7.734375 -1.453125 Z M 7.734375 -1.453125 "/> +</symbol> +<symbol overflow="visible" id="glyph0-3"> +<path style="stroke:none;" d="M 3.96875 -6.9375 C 3.921875 -7.0625 3.890625 -7.140625 3.734375 -7.140625 C 3.578125 -7.140625 3.546875 -7.078125 3.5 -6.9375 L 1.4375 -0.984375 C 1.25 -0.46875 0.859375 -0.3125 0.3125 -0.3125 L 0.3125 0 C 0.546875 -0.015625 0.984375 -0.03125 1.328125 -0.03125 C 1.640625 -0.03125 2.15625 -0.015625 2.484375 0 L 2.484375 -0.3125 C 1.984375 -0.3125 1.734375 -0.5625 1.734375 -0.8125 C 1.734375 -0.84375 1.75 -0.953125 1.75 -0.96875 L 2.21875 -2.265625 L 4.671875 -2.265625 L 5.203125 -0.75 C 5.21875 -0.703125 5.234375 -0.640625 5.234375 -0.609375 C 5.234375 -0.3125 4.671875 -0.3125 4.40625 -0.3125 L 4.40625 0 C 4.765625 -0.03125 5.46875 -0.03125 5.84375 -0.03125 C 6.265625 -0.03125 6.734375 -0.015625 7.140625 0 L 7.140625 -0.3125 L 6.96875 -0.3125 C 6.375 -0.3125 6.234375 -0.375 6.125 -0.703125 Z M 3.4375 -5.828125 L 4.5625 -2.578125 L 2.328125 -2.578125 Z M 3.4375 -5.828125 "/> +</symbol> +<symbol overflow="visible" id="glyph0-4"> +<path style="stroke:none;" d="M 2.890625 -3.515625 C 3.703125 -3.78125 4.28125 -4.46875 4.28125 -5.265625 C 4.28125 -6.078125 3.40625 -6.640625 2.453125 -6.640625 C 1.453125 -6.640625 0.6875 -6.046875 0.6875 -5.28125 C 0.6875 -4.953125 0.90625 -4.765625 1.203125 -4.765625 C 1.5 -4.765625 1.703125 -4.984375 1.703125 -5.28125 C 1.703125 -5.765625 1.234375 -5.765625 1.09375 -5.765625 C 1.390625 -6.265625 2.046875 -6.390625 2.40625 -6.390625 C 2.828125 -6.390625 3.375 -6.171875 3.375 -5.28125 C 3.375 -5.15625 3.34375 -4.578125 3.09375 -4.140625 C 2.796875 -3.65625 2.453125 -3.625 2.203125 -3.625 C 2.125 -3.609375 1.890625 -3.59375 1.8125 -3.59375 C 1.734375 -3.578125 1.671875 -3.5625 1.671875 -3.46875 C 1.671875 -3.359375 1.734375 -3.359375 1.90625 -3.359375 L 2.34375 -3.359375 C 3.15625 -3.359375 3.53125 -2.6875 3.53125 -1.703125 C 3.53125 -0.34375 2.84375 -0.0625 2.40625 -0.0625 C 1.96875 -0.0625 1.21875 -0.234375 0.875 -0.8125 C 1.21875 -0.765625 1.53125 -0.984375 1.53125 -1.359375 C 1.53125 -1.71875 1.265625 -1.921875 0.984375 -1.921875 C 0.734375 -1.921875 0.421875 -1.78125 0.421875 -1.34375 C 0.421875 -0.4375 1.34375 0.21875 2.4375 0.21875 C 3.65625 0.21875 4.5625 -0.6875 4.5625 -1.703125 C 4.5625 -2.515625 3.921875 -3.296875 2.890625 -3.515625 Z M 2.890625 -3.515625 "/> +</symbol> +<symbol overflow="visible" id="glyph0-5"> +<path style="stroke:none;" d="M 2.21875 -3.65625 L 2.21875 -6.09375 C 2.21875 -6.4375 2.234375 -6.5 2.703125 -6.5 L 3.9375 -6.5 C 4.90625 -6.5 5.25 -5.65625 5.25 -5.125 C 5.25 -4.484375 4.765625 -3.65625 3.65625 -3.65625 Z M 4.5625 -3.5625 C 5.53125 -3.75 6.21875 -4.390625 6.21875 -5.125 C 6.21875 -5.984375 5.296875 -6.8125 4 -6.8125 L 0.359375 -6.8125 L 0.359375 -6.5 L 0.59375 -6.5 C 1.359375 -6.5 1.390625 -6.390625 1.390625 -6.03125 L 1.390625 -0.78125 C 1.390625 -0.421875 1.359375 -0.3125 0.59375 -0.3125 L 0.359375 -0.3125 L 0.359375 0 L 4.265625 0 C 5.59375 0 6.484375 -0.890625 6.484375 -1.828125 C 6.484375 -2.6875 5.671875 -3.4375 4.5625 -3.5625 Z M 3.953125 -0.3125 L 2.703125 -0.3125 C 2.234375 -0.3125 2.21875 -0.375 2.21875 -0.703125 L 2.21875 -3.421875 L 4.09375 -3.421875 C 5.078125 -3.421875 5.5 -2.5 5.5 -1.828125 C 5.5 -1.125 4.96875 -0.3125 3.953125 -0.3125 Z M 3.953125 -0.3125 "/> +</symbol> +<symbol overflow="visible" id="glyph0-6"> +<path style="stroke:none;" d="M 1.265625 -0.765625 L 2.328125 -1.796875 C 3.875 -3.171875 4.46875 -3.703125 4.46875 -4.703125 C 4.46875 -5.84375 3.578125 -6.640625 2.359375 -6.640625 C 1.234375 -6.640625 0.5 -5.71875 0.5 -4.828125 C 0.5 -4.28125 1 -4.28125 1.03125 -4.28125 C 1.203125 -4.28125 1.546875 -4.390625 1.546875 -4.8125 C 1.546875 -5.0625 1.359375 -5.328125 1.015625 -5.328125 C 0.9375 -5.328125 0.921875 -5.328125 0.890625 -5.3125 C 1.109375 -5.96875 1.65625 -6.328125 2.234375 -6.328125 C 3.140625 -6.328125 3.5625 -5.515625 3.5625 -4.703125 C 3.5625 -3.90625 3.078125 -3.125 2.515625 -2.5 L 0.609375 -0.375 C 0.5 -0.265625 0.5 -0.234375 0.5 0 L 4.203125 0 L 4.46875 -1.734375 L 4.234375 -1.734375 C 4.171875 -1.4375 4.109375 -1 4 -0.84375 C 3.9375 -0.765625 3.28125 -0.765625 3.0625 -0.765625 Z M 1.265625 -0.765625 "/> +</symbol> +<symbol overflow="visible" id="glyph0-7"> +<path style="stroke:none;" d="M 0.5625 -3.40625 C 0.5625 -1.34375 2.171875 0.21875 4.03125 0.21875 C 5.65625 0.21875 6.625 -1.171875 6.625 -2.328125 C 6.625 -2.421875 6.625 -2.5 6.5 -2.5 C 6.390625 -2.5 6.390625 -2.4375 6.375 -2.328125 C 6.296875 -0.90625 5.234375 -0.09375 4.140625 -0.09375 C 3.53125 -0.09375 1.578125 -0.421875 1.578125 -3.40625 C 1.578125 -6.375 3.53125 -6.71875 4.140625 -6.71875 C 5.21875 -6.71875 6.109375 -5.8125 6.3125 -4.359375 C 6.328125 -4.21875 6.328125 -4.1875 6.46875 -4.1875 C 6.625 -4.1875 6.625 -4.21875 6.625 -4.421875 L 6.625 -6.78125 C 6.625 -6.953125 6.625 -7.03125 6.515625 -7.03125 C 6.484375 -7.03125 6.4375 -7.03125 6.359375 -6.90625 L 5.859375 -6.171875 C 5.5 -6.53125 4.984375 -7.03125 4.03125 -7.03125 C 2.15625 -7.03125 0.5625 -5.4375 0.5625 -3.40625 Z M 0.5625 -3.40625 "/> +</symbol> +<symbol overflow="visible" id="glyph0-8"> +<path style="stroke:none;" d="M 2.9375 -6.375 C 2.9375 -6.625 2.9375 -6.640625 2.703125 -6.640625 C 2.078125 -6 1.203125 -6 0.890625 -6 L 0.890625 -5.6875 C 1.09375 -5.6875 1.671875 -5.6875 2.1875 -5.953125 L 2.1875 -0.78125 C 2.1875 -0.421875 2.15625 -0.3125 1.265625 -0.3125 L 0.953125 -0.3125 L 0.953125 0 C 1.296875 -0.03125 2.15625 -0.03125 2.5625 -0.03125 C 2.953125 -0.03125 3.828125 -0.03125 4.171875 0 L 4.171875 -0.3125 L 3.859375 -0.3125 C 2.953125 -0.3125 2.9375 -0.421875 2.9375 -0.78125 Z M 2.9375 -6.375 "/> +</symbol> +<symbol overflow="visible" id="glyph0-9"> +<path style="stroke:none;" d="M 0.34375 -6.8125 L 0.34375 -6.5 L 0.59375 -6.5 C 1.359375 -6.5 1.375 -6.390625 1.375 -6.03125 L 1.375 -0.78125 C 1.375 -0.421875 1.359375 -0.3125 0.59375 -0.3125 L 0.34375 -0.3125 L 0.34375 0 L 4 0 C 5.671875 0 7.046875 -1.46875 7.046875 -3.34375 C 7.046875 -5.25 5.703125 -6.8125 4 -6.8125 Z M 2.71875 -0.3125 C 2.25 -0.3125 2.234375 -0.375 2.234375 -0.703125 L 2.234375 -6.09375 C 2.234375 -6.4375 2.25 -6.5 2.71875 -6.5 L 3.71875 -6.5 C 4.34375 -6.5 5.03125 -6.28125 5.53125 -5.578125 C 5.96875 -4.984375 6.046875 -4.125 6.046875 -3.34375 C 6.046875 -2.25 5.859375 -1.640625 5.5 -1.15625 C 5.296875 -0.890625 4.734375 -0.3125 3.734375 -0.3125 Z M 2.71875 -0.3125 "/> +</symbol> +</g> +</defs> +<g id="surface1"> +<path style="fill-rule:nonzero;fill:rgb(39.99939%,39.99939%,100%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -85.039563 -85.040781 L -85.039563 85.04125 L -17.012219 85.04125 L -17.012219 -85.040781 Z M -85.039563 -85.040781 " transform="matrix(1,0,0,-1,85.938,99.885)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-0" x="25.78" y="103.344"/> + <use xlink:href="#glyph0-1" x="30.7613" y="103.344"/> + <use xlink:href="#glyph0-2" x="35.7426" y="103.344"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-3" x="31.177" y="10.629"/> +</g> +<path style="fill-rule:nonzero;fill:rgb(40.000916%,80.703735%,96.237183%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -17.012219 -85.040781 L -17.012219 -0.005625 L 85.038562 -0.005625 L 85.038562 -85.040781 Z M -17.012219 -85.040781 " transform="matrix(1,0,0,-1,85.938,99.885)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-4" x="110.82" y="145.867"/> + <use xlink:href="#glyph0-1" x="115.8013" y="145.867"/> + <use xlink:href="#glyph0-2" x="120.7826" y="145.867"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-5" x="175.194" y="145.812"/> +</g> +<path style="fill-rule:nonzero;fill:rgb(100%,96.939087%,40.000916%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M -17.012219 -0.005625 L -17.012219 85.04125 L 51.011219 85.04125 L 51.011219 -0.005625 Z M -17.012219 -0.005625 " transform="matrix(1,0,0,-1,85.938,99.885)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-6" x="93.806" y="60.828"/> + <use xlink:href="#glyph0-1" x="98.7873" y="60.828"/> + <use xlink:href="#glyph0-2" x="103.7686" y="60.828"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-7" x="99.341" y="10.629"/> +</g> +<path style="fill-rule:nonzero;fill:rgb(100%,69.999695%,39.99939%);fill-opacity:1;stroke-width:0.79701;stroke-linecap:butt;stroke-linejoin:miter;stroke:rgb(0%,0%,0%);stroke-opacity:1;stroke-miterlimit:10;" d="M 51.011219 -0.005625 L 51.011219 84.998281 L 85.038562 84.998281 L 85.038562 -0.005625 Z M 51.011219 -0.005625 " transform="matrix(1,0,0,-1,85.938,99.885)"/> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-8" x="144.831" y="60.848"/> + <use xlink:href="#glyph0-1" x="149.8123" y="60.848"/> + <use xlink:href="#glyph0-2" x="154.7936" y="60.848"/> +</g> +<g style="fill:rgb(0%,0%,0%);fill-opacity:1;"> + <use xlink:href="#glyph0-9" x="175.194" y="60.793"/> +</g> +</g> +</svg> diff --git a/Master/texmf-dist/doc/latex/pgf-pie/square.tex b/Master/texmf-dist/doc/latex/pgf-pie/square.tex new file mode 100644 index 00000000000..dd37da64cf9 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/square.tex @@ -0,0 +1,3 @@ +\begin{tikzpicture} + \pie[square]{40/A, 30/B, 20/C, 10/D} +\end{tikzpicture}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-pie/sum.tex b/Master/texmf-dist/doc/latex/pgf-pie/sum.tex new file mode 100644 index 00000000000..13e2b7365c2 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/sum.tex @@ -0,0 +1,5 @@ +\begin{tikzpicture} + \pie[sum=auto, after number=, radius=2]{33/Boys, 7/Girls} + + \pie[pos={6,0}, sum=40, after number=, radius=2]{33/Boys} +\end{tikzpicture}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-pie/text-inside.tex b/Master/texmf-dist/doc/latex/pgf-pie/text-inside.tex new file mode 100644 index 00000000000..07cf42eafd3 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/text-inside.tex @@ -0,0 +1,3 @@ +\begin{tikzpicture} + \pie[text=inside]{10/A, 20/B, 30/C, 40/D} +\end{tikzpicture}
\ No newline at end of file diff --git a/Master/texmf-dist/doc/latex/pgf-pie/text.tex b/Master/texmf-dist/doc/latex/pgf-pie/text.tex new file mode 100644 index 00000000000..95ef1085782 --- /dev/null +++ b/Master/texmf-dist/doc/latex/pgf-pie/text.tex @@ -0,0 +1,3 @@ +\begin{tikzpicture} + \pie[text=pin]{10/A, 20/B, 30/C, 40/D} +\end{tikzpicture}
\ No newline at end of file diff --git a/Master/texmf-dist/tex/latex/pgf-pie/pgf-pie.sty b/Master/texmf-dist/tex/latex/pgf-pie/pgf-pie.sty new file mode 100644 index 00000000000..0aaa3a0b54d --- /dev/null +++ b/Master/texmf-dist/tex/latex/pgf-pie/pgf-pie.sty @@ -0,0 +1,450 @@ +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% Start of pgf-pie.sty +% +% Some LaTeX macros for pie chart by using PGF/Tikz package. +% Home page of project: http://pgf-pie.googlecode.com/ +% Author: Xu Yuan <xuyuan.cn@gmail.com> +% + +\NeedsTeXFormat{LaTeX2e}[1999/12/01] +\ProvidesPackage{pgf-pie}[2020/05/27 v0.3 Some LaTeX macros for pie +chart by using PGF/Tikz package.] + +\RequirePackage{tikz} +\RequirePackage{ifthen} +\RequirePackage{scalefnt} + + +% args: +% #1: begin angle +% #2: end angle +% #3: number +% #4: label +% #5: explode +% #6: fill color +% #7: radius +% #8: center +\newcommand{\pgfpie@slice}[8]{ + \pgfmathparse{0.5*(#1)+0.5*(#2)} + \let\midangle\pgfmathresult + + \path (#8) -- ++(\midangle:#5) coordinate(O); + + \pgfmathparse{#7+#5} + \let\pgfpie@radius\pgfmathresult + + % slice + \draw[line join=round, fill=#6, \pgfpie@style] (O) -- ++(#1:#7) arc (#1:#2:#7) -- cycle; + + \pgfmathparse{min(((#2)-(#1)-10)/110*(-0.3),0)} + \let\temp\pgfmathresult + \pgfmathparse{(max(\temp,-0.5) + 0.8)*#7} + \let\innerpos\pgfmathresult + + \ifthenelse{\equal{\pgfpie@text}{inside}} + { + % label and number together + \path (O) -- ++(\midangle:\innerpos) node + {\scalefont{#3}\shortstack{#4\\\pgfpie@numbertext{#3}}}; + } + { + % label + \iflegend + \else + \path (O) -- ++ (\midangle:\pgfpie@radius) + node[inner sep=0, \pgfpie@text=\midangle:#4]{}; + \fi + + % number + \path (O) -- ++(\midangle:\innerpos) node + {\scalefont{#3}\pgfpie@numbertext{#3}}; + } +} + +\newcommand{\pgfpie@findColor}[1] +{ + \pgfmathparse{int(mod(#1,\value{pgfpie@colorLength}))} + \let\ci\pgfmathresult + \foreach \c [count=\j from 0] in \pgfpie@color { + \ifnum \j=\ci + \xdef\thecolor{\c} + \thecolor + \breakforeach + \fi + } +} + +\newcommand{\pgfpie@findExplode}[1] +{ + \pgfmathparse{int(mod(#1,\value{pgfpie@explodeLength}))} + \let\ei\pgfmathresult + \foreach \e [count=\j from 0] in \pgfpie@explode { + \ifnum \j=\ei + \xdef\theexplode{\e} + \breakforeach + \fi + } +} + +% #1: bottom left point +% #2: size +% #3: number +% #4: color +% #5: text +\newcommand{\pgfpie@square}[5] +{ + \ifthenelse{\equal{\pgfpie@text}{inside}} + { + \draw[fill=#4, \pgfpie@style] (#1) rectangle node + {\scalefont{#3}\shortstack{#5\\\pgfpie@numbertext{#3}}} ++(#2); + } + { + \draw[fill=#4, \pgfpie@style] (#1) rectangle node + {\scalefont{#3}\pgfpie@numbertext{#3}} ++(#2); + } +} + +% #1: pos +% #2: radius +% #3: number +% #4: color +% $5: style +% $6: label +\newcommand{\pgfpie@cloud}[6] +{ + \draw[fill=#4, #5] (#1) circle[radius=#2]; + \ifthenelse{\equal{\pgfpie@text}{inside}} + { + \node at (#1) {\scalefont{#3}\shortstack{#6\\\pgfpie@numbertext{#3}}}; + } + { + \node at (#1) {\scalefont{#3}\pgfpie@numbertext{#3}}; + } +} + +\newlength{\pgfpie@angleEnd} +\newcounter{pgfpie@explodeLength} +\newcounter{pgfpie@colorLength} +\newcounter{pgfpie@sliceLength} + +\def\setexplode#1\pgfeov{\def\pgfpie@explode{#1}} +\pgfkeyslet{/explode/.@cmd}{\setexplode} + +\def\setcolor#1\pgfeov{\def\pgfpie@color{#1}} +\pgfkeyslet{/color/.@cmd}{\setcolor} + +\def\setradius#1\pgfeov{\def\pgfpie@radius{#1}} +\pgfkeyslet{/radius/.@cmd}{\setradius} + +\def\setpos#1\pgfeov{\def\pgfpie@pos{#1}} +\pgfkeyslet{/pos/.@cmd}{\setpos} + +\def\setstyle#1\pgfeov{\def\pgfpie@style{#1}} +\pgfkeyslet{/style/.@cmd}{\setstyle} + +\def\setbeforenumber#1\pgfeov{\def\pgfpie@beforenumber{#1}} +\pgfkeyslet{/before number/.@cmd}{\setbeforenumber} + +\def\setafternumber#1\pgfeov{\def\pgfpie@afternumber{#1}} +\pgfkeyslet{/after number/.@cmd}{\setafternumber} + +\def\settext#1\pgfeov{\xdef\pgfpie@text{#1}} +\pgfkeyslet{/text/.@cmd}{\settext} + +\def\setsum#1\pgfeov{\xdef\pgfpie@sum{#1}} +\pgfkeyslet{/sum/.@cmd}{\setsum} + +\def\setrotate#1\pgfeov{\xdef\pgfpie@rotate{#1}} +\pgfkeyslet{/rotate/.@cmd}{\setrotate} + +\newif\ifpolar +\pgfkeys{/polar/.is if=polar} + +\newif\iflegend + +\newif\ifsquare +\pgfkeys{/square/.is if=square} + +\newif\ifcloud +\pgfkeys{/cloud/.is if=cloud} + +\newif\ifscalefont +\pgfkeys{/scale font/.is if=scalefont} +\let\scalefontorg\scalefont +\renewcommand{\scalefont}[1] +{ + \ifscalefont + \pgfmathparse{#1 / \pgfpie@sum * 3 + 0.9} + \scalefontorg{\pgfmathresult} + \fi +} + +\newif\ifhidenumber +\pgfkeys{/hide number/.is if=hidenumber} +\newcommand{\pgfpie@numbertext}[1] +{ + \ifhidenumber + \else + \pgfpie@beforenumber#1\pgfpie@afternumber + \fi +} + +\newcommand{\pie}[2][] +{ + % load default parameters + \pgfkeys{ + explode=0, + color={blue!60, cyan!60, yellow!60, orange!60, red!60, + blue!60!cyan!60, cyan!60!yellow!60, red!60!cyan!60, + red!60!blue!60, orange!60!cyan!60}, + radius=3, + pos={0,0}, + style={thick}, + before number=, + after number=, + text=label, + sum=100, + rotate=0, + polar=false, + square=false, + cloud=false, + scale font=false, + hide number=false + } + % load user's parameters + \pgfkeys{#1} + % add percentage automatically + \ifthenelse{\equal{\pgfpie@sum}{100}} + { + \pgfkeys{after number=\%} + \pgfkeys{#1} + }{} + + % legend or not + \ifthenelse{\equal{\pgfpie@text}{legend}} + {\legendtrue} + {\legendfalse} + + % handle sum + \ifthenelse{\equal{\pgfpie@sum}{auto}} + { + % sum all input + \xdef\pgfpie@sum{0} + \foreach \p/\t in {#2} + { + \pgfmathparse{\pgfpie@sum + \p} + \xdef\pgfpie@sum{\pgfmathresult} + } + } + {} + + % init counters + \setcounter{pgfpie@explodeLength}{0} + \foreach \e in \pgfpie@explode { \addtocounter{pgfpie@explodeLength}{1} } + + \setcounter{pgfpie@colorLength}{0} + \foreach \c in \pgfpie@color { \addtocounter{pgfpie@colorLength}{1} } + + \pgfmathsetlength{\pgfpie@angleEnd}{0} + + \setcounter{pgfpie@sliceLength}{0} + \foreach \p/\e in {#2} { \addtocounter{pgfpie@sliceLength}{1} } + + \ifsquare + %%%%%%%%%% SQUARE PIE BEGIN %%%%%%%%%%% + \pgfmathparse{\pgfpie@radius*2} + \xdef\verticalLength{\pgfmathresult} + \xdef\horizontalLength{\pgfmathresult} + \path (\pgfpie@pos) -- ++(-\pgfpie@radius, -\pgfpie@radius) coordinate (start); + \pgfmathparse{\verticalLength * \horizontalLength / \pgfpie@sum} + \let\squareUnit\pgfmathresult + + % drawing loop + \foreach \p/\t [count=\i from 0] in {#2} + { + \pgfpie@findColor{\i} + + \ifthenelse{\lengthtest{\verticalLength cm > \horizontalLength cm}} + { + \pgfmathparse{\p * \squareUnit / \horizontalLength} + \let\height\pgfmathresult + + \pgfpie@square{start}{\horizontalLength,\height} + {\p} + {\thecolor} + {\t} + %label + \iflegend + \else + \ifthenelse{\equal{\pgfpie@text}{inside}} + {} + { + \path (start) -- ++(\horizontalLength,\height*0.5) node[inner + sep=0, \pgfpie@text=0:\t]{}; + } + \fi + + \pgfmathparse{\verticalLength - \height} + \xdef\verticalLength{\pgfmathresult} + \path (start) -- ++(0, \height) coordinate (start); + } + { + \pgfmathparse{\p * \squareUnit / \verticalLength } + \let\width\pgfmathresult + + \pgfpie@square{start}{\width,\verticalLength} + {\p} + {\thecolor} + {\t} + %label + \iflegend + \else + \ifthenelse{\equal{\pgfpie@text}{inside}} + {} + { + \path (start) -- ++(\width*0.5,\verticalLength) node[inner + sep=0, \pgfpie@text=90:\t]{}; + } + \fi + + \pgfmathparse{\horizontalLength - \width} + \xdef\horizontalLength{\pgfmathresult} + \path (start) -- ++(\width, 0) coordinate (start); + } + } + + %%%%%%%%%% SQUARE PIE END %%%%%%%%%%% + \else + \ifcloud + %%%%%%%%%% CLOUD PIE BGEIN %%%%%%%%%%% + % drawing loop + \foreach \p/\t [count=\i from 0] in {#2} + { + % find explode + \pgfpie@findExplode{\i} + \def\cloudGap{\theexplode + 0.1} + \pgfmathparse{sqrt(\p / \pgfpie@sum) * \pgfpie@radius} + \let\cloudR\pgfmathresult + \ifnum \i = 0 + % first cloud + \coordinate (O) at (\pgfpie@pos); + \xdef\cloudRone{\cloudR} + \xdef\cloudExtendDir{180+\pgfpie@rotate} + \else + \ifnum \i = 1 + % second cloud + \xdef\cloudRtwo{\cloudR} + \xdef\cloudExtendDir{45+\pgfpie@rotate} + \path (O) -- ++(\cloudExtendDir:\cloudRone+\cloudGap+\cloudRtwo) coordinate (O); + \else + % next cloud + \pgfmathparse{\cloudRone+\cloudGap+\cloudRtwo} + \let\la\pgfmathresult + \pgfmathparse{\cloudRone+\cloudGap+\cloudR} + \let\lb\pgfmathresult + \pgfmathparse{\cloudRtwo+\cloudGap+\cloudR} + \let\lc\pgfmathresult + \pgfmathparse{\la^2+\lc^2-\lb^2} + \let\tmp\pgfmathresult + \pgfmathparse{180 - acos(\tmp / 2 / \la / \lc)} + \let\cloudRot\pgfmathresult + \ifodd \i + \pgfmathparse{-\cloudRot} + \let\cloudRot\pgfmathresult + \fi + \pgfmathparse{\cloudExtendDir - \cloudRot} + \xdef\cloudExtendDir{\pgfmathresult} + \path (O) -- ++(\cloudExtendDir:\lc) coordinate (O); + \xdef\cloudRone{\cloudRtwo} + \xdef\cloudRtwo{\cloudR} + \fi + \fi + + % find color + \pgfpie@findColor{\i} + + \pgfpie@cloud{O}{\cloudR}{\p} + {\thecolor}{\pgfpie@style}{\t} + + % label + \iflegend + \else + \ifthenelse{\equal{\pgfpie@text}{inside}} + {} + { + \path (O) -- ++(\cloudExtendDir:\cloudR) + node[inner sep=0, \pgfpie@text=\cloudExtendDir:\t] {}; + } + \fi + } + %%%%%%%%%% CLOUD PIE BGEIN %%%%%%%%%%% + \else + %%%%%%%%%% CIRCLE PIE BGEIN %%%%%%%%%%% + \ifpolar + \xdef\maxValue{0} + \foreach \p/\e in {#2} { + \ifnum \maxValue < \p + \xdef\maxValue{\p} + \fi + } + \pgfmathparse{\pgfpie@sum / \value{pgfpie@sliceLength}} + \xdef\polarangle{\pgfmathresult} + \pgfmathparse{\pgfpie@radius / sqrt(\maxValue)} + \xdef\polarRadiusUnit{\pgfmathresult} + \else + \xdef\theradius{\pgfpie@radius} + \fi + + \xdef\pgfpie@angleBegin{\the\pgfpie@angleEnd} + % drawing loop + \foreach \p/\t [count=\i from 0] in {#2} + { + \pgfmathsetlength{\pgfpie@angleEnd}{\pgfpie@angleBegin} + \ifpolar + % Polar area diagram + \pgfmathaddtolength{\pgfpie@angleEnd}{\polarangle} + \pgfmathparse{sqrt(\p) * \polarRadiusUnit} + \xdef\theradius{\pgfmathresult} + \else + % normal pie + \pgfmathaddtolength{\pgfpie@angleEnd}{\p} + \fi + + % find explode + \pgfpie@findExplode{\i} + + % find color + \pgfpie@findColor{\i} + \pgfpie@slice{\pgfpie@angleBegin/\pgfpie@sum*360+\pgfpie@rotate} + {\the\pgfpie@angleEnd/\pgfpie@sum*360+\pgfpie@rotate} + {\p} + {\t} + {\theexplode} + {\thecolor} + {\theradius} + {\pgfpie@pos} + \xdef\pgfpie@angleBegin{\the\pgfpie@angleEnd} + } + %%%%%%%%%% CIRCLE PIE END %%%%%%%%%%% + \fi + \fi + + % legend + \iflegend + \coordinate[xshift=0.8cm, + yshift=(\value{pgfpie@sliceLength}*0.5+1)*0.5cm] (legendpos) at + (current bounding box.east); + + \begin{scope}[node distance=0.5cm] + \foreach \p/\t [count=\i from 0] in {#2} + { + \pgfpie@findColor{\i} + \node[draw, fill=\thecolor, \pgfpie@style, below of=legendpos, label=0:\t] (legendpos) {}; + } + \end{scope} + \fi +} + +%%% End of pgf-pie.sty +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% + diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 5cc70a9aaaa..a3c0561d78a 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -558,7 +558,8 @@ my @TLP_working = qw( pecha pedigree-perl penrose perception perfectcut perltex permute persian-bib petiteannonce petri-nets pfarrei - pgf pgf-blur pgf-cmykshadings pgf-soroban pgf-spectra pgf-umlcd pgf-umlsd + pgf pgf-blur pgf-cmykshadings pgf-pie + pgf-soroban pgf-spectra pgf-umlcd pgf-umlsd pgfgantt pgfkeyx pgfmolbio pgfmorepages pgfopts pgfornament pgfornament-han pgfplots phaistos phffullpagefigure phfnote phfparen phfqit phfquotetext diff --git a/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc b/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc index a5eecc7c344..34dce29a883 100644 --- a/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-pictures.tlpsrc @@ -97,6 +97,7 @@ depend petri-nets depend pgf depend pgf-blur depend pgf-cmykshadings +depend pgf-pie depend pgf-soroban depend pgf-spectra depend pgf-umlcd diff --git a/Master/tlpkg/tlpsrc/pgf-pie.tlpsrc b/Master/tlpkg/tlpsrc/pgf-pie.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/pgf-pie.tlpsrc |