Charts and diagrams can be produced in any graphical application that can export the image to a format that LaTeX can input. However it is also possible to write LaTeX code to generate the diagram. This has the advantage in that the fonts used in the diagram match those used in the rest of the document, but it's more complicated and can significantly slow the document build time.
This chapter describes LaTeX packages to generate various charts you may need in your administrative work. If you prefer to use a graphics application to generate a chart you can input the exported image using the graphicx package, as described in Volume 1, but make sure, if possible, that you export your image using a vector graphics format (such as PDF or EPS1) rather than a bitmap (such as PNG or JPEG).
There are many LaTeX packages available, ranging from general drawing packages, such as tikz or pstricks, to packages designed for specific types of charts. See, for example, the diagram topic and sub-topics such as the diagram-block topic (block diagrams) and diagram-ctrl topic (control diagrams), as well as the genchart topic (bar- or pie-charts), planning topic (timelines and schedules) and gantt topic. There's also the pgf-tikz topic (for packages that use pgf/tikz) and the pstricks topic (for packages that use pstricks).
- ... EPS1
- Note that the PDF and EPS file formats also support bitmaps so, if possible, check the settings on whatever application you use to create the image files to see if it uses a vector graphics format. If the image appears fuzzy when you magnify it, then it's most likely a bitmap.
This book is also available as A4 PDF or 12.8cm x 9.6cm PDF or paperback (ISBN 978-1-909440-07-4).