Skip to content

Instantly share code, notes, and snippets.

@santolucito
Created June 13, 2022 13:35
Show Gist options
  • Save santolucito/ef65bf8271bd3e2374b7e085c1f785d1 to your computer and use it in GitHub Desktop.
Save santolucito/ef65bf8271bd3e2374b7e085c1f785d1 to your computer and use it in GitHub Desktop.
latex simple gantt chart example for grants
\documentclass[tikz, margin=5mm]{standalone}
\usepackage{pgfgantt}
\title{Gantt Charts with the pgfgantt Package}
\begin{document}
\begin{ganttchart}[
vgrid={*{11}{gray, dotted}, *1{black, dashed}},
bar label node/.append style={
align=left,
text width=width("Aim 2. Software verificationx")}
]{1}{24}
\gantttitle{Year 1}{12} \gantttitle{Year 2}{12} \\
\ganttbar{Aim 1. Migration}{1}{8} \\
\ganttbar{Aim 2. Software verification}{6}{12} \\
\ganttbar{Aim 3. Hardware portability}{12}{18} \\
\ganttbar{Aim 4. Documentation}{8}{24}
\end{ganttchart}
\end{document}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment