如何在Linux中创建历史甘特图?
发布时间:2020-12-14 01:18:01 所属栏目:Linux 来源:网络整理
导读:我需要创建一个具有19世纪日期的甘特时间线.任何人都可以推荐一个可以处理的程序吗? 解决方法 由于您使用 tex标记了它,因此以下是使用此页面中的 gantt.sty 的方法: A LaTeX package for drawing gantt plots using pgf / tikz . documentclass{article}
我需要创建一个具有19世纪日期的甘特时间线.任何人都可以推荐一个可以处理的程序吗?
解决方法
由于您使用
tex标记了它,因此以下是使用此页面中的
gantt.sty 的方法:
A LaTeX package for drawing gantt plots using pgf /tikz .
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}
(编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |