1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166
|
# pgfgantt package
# Matthew Bertucci 2/9/2022 for v5.0
#include:tikz
#include:pgfcalendar
# loads arrows, backgrounds, calc, patterns, positioning, and shapes.geometric tikzlibraries
\ganttset{options%keyvals}
\begin{ganttchart}{start tss}{end tss}
\begin{ganttchart}[options%keyvals]{start tss}{end tss}
\end{ganttchart}
\newgantttimeslotformat{name}{converter code}#*
\ganttnewline
\ganttnewline[TikZ options]
\ganttalignnewline
\gantttitle{label}{number of time slots}
\gantttitle[options%keyvals]{label}{number of time slots}
\gantttitlelist{pgffor list}{length of each element}
\gantttitlelist[options%keyvals]{pgffor list}{length of each element}
\gantttitlecalendar{calendar lines}
\gantttitlecalendar[options%keyvals]{calendar lines}
\gantttitlecalendar*{start tss}{end tss}{calendar lines}
\gantttitlecalendar*[options%keyvals]{start tss}{end tss}{calendar lines}
\currentweek
\startyear
\startmonth
\startday
\ganttvrule{label%text}{tss}
\ganttvrule[options%keyvals]{label%text}{tss}
\ganttbar{label%text}{start tss}{end tss}
\ganttbar[options%keyvals]{label%text}{start tss}{end tss}
\ganttgroup{label%text}{start tss}{end tss}
\ganttgroup[options%keyvals]{label%text}{start tss}{end tss}
\ganttmilestone{label%text}{tss}
\ganttmilestone[options%keyvals]{label%text}{tss}
\ganttlinkedbar{label%text}{start tss}{end tss}
\ganttlinkedbar[options%keyvals]{label%text}{start tss}{end tss}
\ganttlinkedgroup{label%text}{start tss}{end tss}
\ganttlinkedgroup[options%keyvals]{label%text}{start tss}{end tss}
\ganttlinkedmilestone{label%text}{tss}
\ganttlinkedmilestone[options%keyvals]{label%text}{tss}
\newganttchartelement{name}{new default keyvals}
\newganttchartelement*{name}{new default keyvals}
\ganttlink{start element name}{end element name}
\ganttlink[options%keyvals]{start element name}{end element name}
\newganttlinktype{type}{TikZ code}#s#%ganttlinktype
\ganttsetstartanchor{anchor}
\ganttsetendanchor{anchor}
\xLeft
\yUpper
\xRight
\yLower
\ganttlinklabel
\ganttvalueof{key%plain}
\newganttlinktypealias{new type}{existing type}#s#%ganttlinktype
\setganttlinklabel{type%keyvals}{label%text}
#keyvals:\setganttlinklabel#c
%ganttlinktype
#endkeyvals
\endofdecade#*
\querydecade#*
#keyvals:\ganttset#c,\begin{ganttchart}#c,\gantttitle#c,\gantttitlelist#c,\gantttitlecalendar#c,\gantttitlecalendar*#c,\ganttvrule#c,\ganttbar#c,\ganttgroup#c,\ganttmilestone#c,\ganttlinkedbar#c,\ganttlinkedgroup#c,\ganttlinkedmilestone#c,\ganttlink#c
time slot format=#simple.isodate,isodate-yearmonth,isodate-year,little-endian,middle-endian,big-endian
time slot format/base century=%<year%>
time slot format/start date=%<ISO-standard date%>
canvas/.style={%<TikZ options%>}
x unit=##L
y unit title=##L
y unit chart=##L
expand chart=##L
hgrid=#true,false,{%<style list%>}
hgrid style/.style={%<TikZ options%>}
vgrid=#true,false,{%<style list%>}
today=%<tss%>
today offset=%<number%>
today rule/.style={%<TikZ options%>}
today label=%<text%>
today label font=%<font commands%>
today label node/.style={%<TikZ options%>}
newline shortcut#true,false
title list options={%<pgffor options%>}
calendar week text={%<format%>}
time slot unit=#day,month,year
title/.style={%<TikZ options%>}
title label font=%<font commands%>
title label node/.style={%<TikZ options%>}
title label text=%<text%>
title left shift=%<factor%>
title right shift=%<factor%>
title top shift=%<factor%>
title height=%<factor%>
include title in canvas#true,false
vrule offset=%<number%>
vrule/.style={%<TikZ options%>}
vrule label font=%<font commands%>
vrule label node/.style={%<TikZ options%>}
chart element start border=#left,right
bar/.style={%<TikZ options%>}
group/.style={%<TikZ options%>}
milestone/.style={%<TikZ options%>}
bar label text=%<text%>
group label text=%<text%>
milestone label text=%<text%>
bar label font=%<font commands%>
group label font=%<font commands%>
milestone label font=%<font commands%>
bar label node/.style={%<TikZ options%>}
group label node/.style={%<TikZ options%>}
milestone label node/.style={%<TikZ options%>}
inline#true,false
bar inline label anchor=%<anchor%>
group inline label anchor=%<anchor%>
milestone inline label anchor=%<anchor%>
bar inline label node/.style={%<TikZ options%>}
group inline label node/.style={%<TikZ options%>}
milestone inline label node/.style={%<TikZ options%>}
bar left shift=%<factor%>
bar right shift=%<factor%>
bar top shift=%<factor%>
bar height=%<factor%>
group left shift=%<factor%>
group right shift=%<factor%>
group top shift=%<factor%>
group height=%<factor%>
milestone left shift=%<factor%>
milestone right shift=%<factor%>
milestone top shift=%<factor%>
milestone height=%<factor%>
group right peak tip position=%<fraction%>
group right peak width=%<factor%>
group right peak height=%<factor%>
group left peak tip position=%<fraction%>
group left peak width=%<factor%>
group left peak height=%<factor%>
group peaks tip position=%<fraction%>
group peaks width=%<factor%>
group peaks height=%<factor%>
progress=#none,today,%<number%>
bar incomplete/.style={%<TikZ options%>}
group incomplete/.style={%<TikZ options%>}
milestone incomplete/.style={%<TikZ options%>}
progress label text=%<text%>
bar progress label anchor=%<anchor%>
bar progress label font=%<font commands%>
bar progress label node/.style={%<TikZ options%>}
group progress label anchor=%<anchor%>
group progress label font=%<font commands%>
group progress label node/.style={%<TikZ options%>}
milestone progress label anchor=%<anchor%>
milestone progress label font=%<font commands%>
milestone progress label node/.style={%<TikZ options%>}
on top fraction=%<fraction%>
on bottom fraction=%<fraction%>
on left fraction=%<fraction%>
on right fraction=%<fraction%>
name=%<name%>
link/.style={%<TikZ options%>}
link type=#%ganttlinktype
link mid=%<factor%>
link bulge=%<factor%>
link tolerance=%<factor%>
link label=%<text%>
link label font=%<font commands%>
link label node/.style={%<TikZ options%>}
#endkeyvals
|