Does anybody know how can I put several milestones in the same line? The only way I figured out is like in the picture (different lines) and so I did in the code below but it would be better to have all the milestones as one single line.
The code has been modified as I put more commands to be compiled correctly.
For those who try you will need the file gantt.sty
from http://www.martin-kumm.de/wiki/doku.php?id=05Misc:A_LaTeX_package_for_gantt_plots.
\documentclass{article}
\usepackage{tikz}
\usepackage{gantt}
\begin{document}
\begin{flushleft}
\scalebox{0.7}{
\begin{gantt}{10}{18}
\begin{ganttitle}
\titleelement{\textbf{2016}}{18}
\end{ganttitle}
\begin{ganttitle}
\titleelement{\textbf{April}}{2}
\titleelement{\textbf{May}}{2}
\titleelement{\textbf{June}}{2}
\titleelement{\textbf{July}}{2}
\titleelement{\textbf{August}}{2}
\titleelement{\textbf{September}}{2}
\titleelement{\textbf{October}}{2}
\titleelement{\textbf{November}}{2}
\titleelement{\textbf{December}}{2}
\end{ganttitle}
\begin{ganttitle}
\titleelement{01-15}{1}
\titleelement{16-30}{1}
\titleelement{01-15}{1}
\titleelement{16-31}{1}
\titleelement{01-15}{1}
\titleelement{16-30}{1}
\titleelement{01-15}{1}
\titleelement{16-31}{1}
\titleelement{01-15}{1}
\titleelement{16-31}{1}
\titleelement{01-15}{1}
\titleelement{16-30}{1}
\titleelement{01-15}{1}
\titleelement{16-31}{1}
\titleelement{01-15}{1}
\titleelement{16-30}{1}
\titleelement{01-15}{1}
\titleelement{16-31}{1}
\end{ganttitle}
\ganttgroup{\textsc{\textbullet\ Internal Organization}}{0}{8}
\ganttbar[pattern=crosshatch,color=blue]{\textsf{- Responsible}}{2}{1}
\ganttbar[pattern=crosshatch,color=blue]{\textsf{- Work spaces}}{2}{1}
\ganttbar[pattern=crosshatch,color=red]{- \textbf{Inventory}}{2}{6}
\ganttmilestone[color=red]{\sffamily{\textit{\textcolor{red}{Checkpoint}}}}{4}
\ganttmilestone[color=red]{\sffamily{\textit{\textcolor{red}{Checkpoint}}}}{5}
\ganttgroup{\textsc{\textbullet\ Kick-Off}}{10}{6}
\end{gantt}
}
\end{flushleft}
\end{document}
Thank to all!
ganttitle
environment and\titlelement
macro come from, for example? Also, the main environment defined bypgfgantt
is calledganttchart
, not justgantt
.gantt.sty
? It's not on CTAN, so not in TeX Live or MikTeX.