[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"detail-sidebar-cat-1-en-105":3,"doc-seo-244950-105":53,"doc-detail-244950-en":127},{"code":4,"msg":5,"data":6},0,"success",[7,14,19,24,29,34,39,44,49],{"id":8,"doc_module":9,"doc_module_name":10,"category_name":11,"show_sort_weight":12,"slug":13},11,1,"Template","Presentations",90,"presentations",{"id":15,"doc_module":9,"doc_module_name":10,"category_name":16,"show_sort_weight":17,"slug":18},12,"Resumes",80,"resumes",{"id":20,"doc_module":9,"doc_module_name":10,"category_name":21,"show_sort_weight":22,"slug":23},14,"Invoices",70,"invoices",{"id":25,"doc_module":9,"doc_module_name":10,"category_name":26,"show_sort_weight":27,"slug":28},15,"Posters",60,"posters",{"id":30,"doc_module":9,"doc_module_name":10,"category_name":31,"show_sort_weight":32,"slug":33},16,"Social Media",50,"social-media",{"id":35,"doc_module":9,"doc_module_name":10,"category_name":36,"show_sort_weight":37,"slug":38},17,"Forms",40,"forms",{"id":40,"doc_module":9,"doc_module_name":10,"category_name":41,"show_sort_weight":42,"slug":43},18,"Letters",30,"letters",{"id":45,"doc_module":9,"doc_module_name":10,"category_name":46,"show_sort_weight":47,"slug":48},21,"Paper Templates",5,"papers-templates",{"id":50,"doc_module":9,"doc_module_name":10,"category_name":51,"show_sort_weight":4,"slug":52},158,"General","general-158",{"code":4,"msg":54,"data":55},"ok",{"site_id":56,"language":57,"slug":58,"title":59,"keywords":60,"description":61,"schema_data":62,"social_meta":120,"head_meta":122,"extra_data":124,"updated_unix":126},105,"en","drawing-gantt-charts-in-latex-with-tikz-the-pgfgantt-package","Drawing Gantt Charts in LATEX - with TikZ - The pgfgantt Package","","The pgfgantt package provides the ganttchart environment to draw Gantt charts in LATEX using TikZ. It supports adding chart titles, bars, groups, milestones, and multiple kinds of links between elements, while offering extensive styling customization. The user guide explains installation requirements, core commands, key/value options, canvas concepts, and layout controls such as line breaks, vertical rules, and predefined chart elements. Further sections cover defining custom elements, implementing macros for key handling, grid and time slot formats, node shapes, and link construction.",{"@graph":63,"@context":119},[64,80,102],{"@type":65,"itemListElement":66},"BreadcrumbList",[67,71,74,77],{"item":68,"name":69,"@type":70,"position":9},"https://docshare.wps.com","Home","ListItem",{"item":72,"name":10,"@type":70,"position":73},"https://docshare.wps.com/template/",2,{"item":75,"name":11,"@type":70,"position":76},"https://docshare.wps.com/template/presentations/",3,{"item":78,"name":59,"@type":70,"position":79},"https://docshare.wps.com/template/drawing-gantt-charts-in-latex-with-tikz-the-pgfgantt-package/244950/",4,{"url":78,"name":59,"@type":81,"image":82,"author":87,"headline":59,"publisher":90,"fileFormat":93,"inLanguage":57,"description":61,"dateModified":94,"datePublished":95,"encodingFormat":93,"isAccessibleForFree":96,"interactionStatistic":97},"DigitalDocument",{"url":83,"@type":84,"width":85,"height":86},"https://docshare.wps.com/thumbnails/drawing-gantt-charts-in-latex-with-tikz-the-pgfgantt-package/244950.png","ImageObject",442,249,{"name":88,"@type":89},"Paura","Person",{"url":68,"name":91,"@type":92},"DocShare","Organization","application/pdf","2026-10-21","2026-09-12",true,{"@type":98,"interactionType":99,"userInteractionCount":101},"InteractionCounter",{"@type":100},"ViewAction",22,{"@type":103,"mainEntity":104},"FAQPage",[105,111,115],{"name":106,"@type":107,"acceptedAnswer":108},"What does the pgfgantt package provide for drawing Gantt charts in LaTeX?","Question",{"text":109,"@type":110},"It provides the ganttchart environment that draws a Gantt chart inside a TikZ picture.","Answer",{"name":112,"@type":107,"acceptedAnswer":113},"Which chart elements can be added to a pgfgantt chart?",{"text":114,"@type":110},"Users can add titles, bars, groups, milestones, and various links between these elements.",{"name":116,"@type":107,"acceptedAnswer":117},"How can keys/options be customized when using pgfgantt commands?",{"text":118,"@type":110},"Keys can be passed as optional arguments to individual commands or set globally within a TeX group using the \\ganttset{key=value list} macro.","https://schema.org",{"og:url":78,"og:type":121,"og:title":59,"og:site_name":91,"og:description":61},"article",{"robots":123,"canonical":78},"index,follow",{"doc_id":125,"site_id":56},244950,1791716045,{"code":4,"msg":5,"data":128},{"doc_id":125,"user_id":129,"nickname":88,"user_avatar":130,"doc_module":9,"category_id":8,"category_name":11,"doc_title":59,"doc_description":61,"doc_content":131,"file_id":132,"file_url":133,"file_type":134,"file_size":135,"view_count":101,"is_deleted":4,"is_public":9,"is_downloadable":9,"audit_status":9,"page_count":136,"language":137,"language_code":57,"site_id":56,"html_lang":57,"table_of_contents":138,"faqs":139,"seo_title":140,"seo_description":61,"update_tm":141,"read_time":142},13056712833777,"https://ap-avatar.wpscdn.com/davatar_29158cc5080c5b710cf443261637dec0","Drawing Gantt Charts in LATEX  \nwith TikZ The pgfgantt Package Wolfgang Esser-Skala∗  \nv5.0a  \n2024/06/19  \nThe pgfgantt package provides the ganttchart environment, which draws a Gantt chart within a TikZ picture. The user may add various elements to the chart, for example, titles, bars, groups, milestones and different links between these elements. The appearance of the chart elements is highly customizable, and even new chart elements may be de✜ned.  \n∗ Computational Systems Biology Group, Department of Biosciences and Medical Biology, University of Salzburg, Austria; [Wolfgang.Esser-Skala@plus.ac.at](Wolfgang.Esser-Skala@plus.ac.at)  \nContents  \n1 Introduction 3  \n2 User Guide 4  \n2.1 Overview ................................. 4  \n2.2 Specifying Keys .............................. 4  \n2.3 The Canvas ................................ 5  \n2.4 Line Breaks between Chart Elements .................. 12  \n2.5 Titles ................................... 14  \n2.6 Vertical rules ............................... 23  \n2.7 Prede✜ned Chart Elements ....................... 24  \n2.7.1 Options: Chart Element Appearance .............. 26  \n2.7.2 Options: Label Formatting .................... 27  \n2.7.3 Options: Chart Element Positioning .............. 29  \n2.7.4 Options: Progress ......................... 32  \n2.7.5 New Node Shapes ........................ 36  \n2.8 De✜ning Custom Chart Elements .................... 37  \n2.9 Links .................................... 39  \n2.10 Style Examples .............................. 48  \n3 Implementation 52  \n3.1 Packages .................................. 52  \n3.2 Macros for Key and Error Management ................ 52  \n3.3 The Horizontal and Vertical Grid .................... 53  \n3.4 Time Slot Formats ............................ 55  \n3.5 The Main Environment ......................... 59  \n3.6 Starting a New Line ........................... 63  \n3.7 Vertical rules ............................... 64  \n3.8 Titles ................................... 65  \n3.9 Chart Elements .............................. 73  \n3.10 Node Shapes ............................... 82  \n3.11 Links .................................... 88  \n4 Index 95  \n1 Introduction  \nThe pgfgantt package allows you to draw Gantt charts in LATEX. Thus, you can describe simple project schedules without having to include images produced by external programs. Similar to Martin Kumm✬s gantt package1 (which inspired pgfgantt ✬s fundamental aspects), pgfgantt bases upon pgf and its TikZ frontend2 . Besides, it provides a comprehensive (and portable) alternative to pst-gantt3 .  \nRequirements pgfgantt requires a current pgf installation. Note that the version number must at least be 2.10, dated October 25th, 2010 . Furthermore, pgfgantt v5.0a and above is not fully downwards compatible.  \nSuggestions Please report any suggestions and improvements at the project✬s GitHub page ([https://github.com/skafdasschaf/latex-pgfgantt](https://github.com/skafdasschaf/latex-pgfgantt)).  \nAcknowledgements I would like to thank the following people for their ideas concerning new features: Christian Buhtz, Raphaël Cli✛ord (University of Bristol), Jakob Døllner Mønster (Technical University of Denmark), Holger Karl (Universität Paderborn), Tristan Miller (Technische Universität Darmstadt), Scott Pakin (Los Alamos National Laboratory), Petr Po➨ík (Czech Technical University in Prague), Una Smith, Sascha Youse✜ (Universität Freiburg), and Callum Webb.  \n1[https://www.martin-kumm.de/tex_gantt_package.php](https://www.martin-kumm.de/tex_gantt_package.php)  \n2[https://ctan.org/pkg/pgf/](https://ctan.org/pkg/pgf/)  \n3[https://ctan.org/pkg/pst-gantt/](https://ctan.org/pkg/pst-gantt/)  \n2 User Guide  \n2.1 Overview  \nTo load the package, simply put  \ninto the document preamble.  \nCompare the following code, which demonstrates some commands provided by pgfgantt, to the output it produces:  \n\\begin{ganttchart}{1}{12}  \n\\gantttitle{2011}{12} \\\\  \n \\gantttitlelist{1, . . .,12}{1} \\\\","cbCaikd46uFMOErb","https://ap.wps.com/l/cbCaikd46uFMOErb","pdf",661617,100,"English","# Introduction\n## Overview\n## User Guide\n## Implementation\n## Index","[{\"question\":\"What does the pgfgantt package provide for drawing Gantt charts in LaTeX?\",\"answer\":\"It provides the ganttchart environment that draws a Gantt chart inside a TikZ picture.\"},{\"question\":\"Which chart elements can be added to a pgfgantt chart?\",\"answer\":\"Users can add titles, bars, groups, milestones, and various links between these elements.\"},{\"question\":\"How can keys/options be customized when using pgfgantt commands?\",\"answer\":\"Keys can be passed as optional arguments to individual commands or set globally within a TeX group using the \\\\ganttset{key=value list} macro.\"}]","Drawing Gantt Charts in LATEX - with TikZ - The pgfgantt Package | PDF",1789223423,35]