# RTSched: my first LaTeX package

This is a short post, just to let you know that my rtsched LaTeX package is now on CTAN.

If you are a real-time researcher, student or professor, you may appreciate it. It allows you to draw things like this:

with a few lines of LaTeX code. For example, the above diagram has been produced by the following LaTeX text:

\begin{RTGrid}{2}{20}
\multido{\n=0+4}{5}{
\multido{\n=0+6}{3}{
\TaskRespTime{2}{0}{4}  % draws the hatched rectangle in [0,4]
\TaskExecution{2}{1}{4} % draws execution (over the previous rectangle)
\TaskRespTime{2}{6}{4}  % draws the hatched rectangle in [6,10]
\TaskRespTime{2}{12}{4} % draws the hatched rectangle in [12,16]
\end{RTGrid}


Of course, you will find a list of examples and a little documentation coming along with the package. rtsched can also be used together with Beamer for making slides.

The package should be already available on MikTeX. Have fun!