如何在Linux中创建历史甘特图?

时间:2012-05-22 15:12:33

标签: linux charts tex gantt-chart

我需要创建一个具有19世纪日期的甘特时间线。任何人都可以推荐一个可以处理它的程序吗?

3 个答案:

答案 0 :(得分:5)

由于您使用对其进行了标记,因此以下是使用此页面中的gantt.sty的方法:A LaTeX package for drawing gantt plots using pgf/tikz

enter image description here

\documentclass{article}

\usepackage{gantt}
\usepackage{pdflscape}

\begin{document}
  \begin{landscape}
  \scalebox{0.8}{
  \begin{gantt}[xunitlength=0.5cm,fontsize=\small,titlefontsize=\small,drawledgerline=true]{10}{48}
    \begin{ganttitle}
      \titleelement{2009}{7}
      \numtitle{2010}{1}{2012}{12}
      \titleelement{2013}{5}
    \end{ganttitle}
    \begin{ganttitle}
      \numtitle{6}{1}{12}{1}
      \numtitle{1}{1}{12}{1}
      \numtitle{1}{1}{12}{1}
      \numtitle{1}{1}{12}{1}
      \numtitle{1}{1}{5}{1}
    \end{ganttitle}
    \ganttbar{task 1}{2}{17}
    \ganttgroup{a group of tasks}{6}{18}
    \ganttbar{task 2}{5}{10}
    \ganttbar[pattern=crosshatch,color=blue]{task 3}{15}{3}
    \ganttbar{task 4}{20}{3}
    \ganttcon{15}{4}{20}{6}
    \ganttbar{task 5}{15}{5}
    \ganttbarcon[color=red]{task 6}{20}{5}
    \ganttbarcon{task 7}{30}{5}
  \end{gantt}
  }
  \end{landscape}
\end{document}

使用pstricks的类似方法由pst-gantt提供。

答案 1 :(得分:2)

enter image description here GanttProject

我很久以前一直在使用GanttChart,这对于简单的项目安排非常有用(如果这是你想要的)。它仍然活跃和维护。它基于Java,也适用于Linux。

项目网页为:GanttProject.biz

latest release (2.5.2 as of writing)

的下载页面

答案 2 :(得分:1)

Openproj可以帮到你。但取决于你想要什么,它不起作用,因为它是为Windows准备的。您可以使用的另一个简单程序称为“计划程序”。它只适用于Linux。