[pstricks] PStricks and LuaTeX?

stefano franchi stefano.franchi at gmail.com
Wed Feb 16 22:13:56 CET 2011


Thanks Herbert, works like a charm.

Best,

Stefnao

2011/2/16 Herbert Voss <Herbert.Voss at fu-berlin.de>:
> Am 16.02.2011 21:45, schrieb stefano franchi:
>
>> I must be doing something wrong. Or perhaps I aksed the wrong
>> question.  I am trying the Gantt example from the docs, and it does
>> not compile. Should I wrap the \PstGanttChart environment inside a
>> PsPicture environment?
>
> Stefano,
>
> if there is no pspicture environment, then put everything into
> a postscript environment:
>
> \documentclass[letterpaper,10pt]{memoir}
> \usepackage{pst-gantt}
> \usepackage{auto-pst-pdf}
>
> \begin{document}
>
> \begin{postscript}
> \newpsstyle{Important}{fillstyle=solid,fillcolor=red}
> \newpsstyle{NotImportant}{fillstyle=vlines}
> \begin{PstGanttChart}[unit=2,TaskOutsideLabelMaxSize=1,ChartShowIntervals]{5}{7}
> \PstGanttTask[TaskOutsideLabel={Task 1}]{0}{3}
> \PstGanttTask[TaskOutsideLabel={Task 2},TaskUnitType=Day]{15}{3} %3 days
> start at 15
> \PstGanttTask[TaskStyle=Important,TaskOutsideLabel={Task 3},
>    TaskInsideLabel={\Large\textcolor{white}{\textbf{Important}}}]{2}{5}
> \PstGanttTask[TaskStyle=NotImportant,TaskOutsideLabel={Task 4}]{4}{2}
> \PstGanttTask[TaskOutsideLabel={Task 5}]{5}{2}
> \end{PstGanttChart}
> \end{postscript}
>
> \end{document}
>
> Herbert
> _______________________________________________
> PSTricks mailing list
> PSTricks at tug.org
> http://tug.org/mailman/listinfo/pstricks
> archive: http://www.tug.org/pipermail/pstricks/
>



More information about the PSTricks mailing list