|
@@ -490,11 +490,13 @@
|
490
|
490
|
|
491
|
491
|
|
492
|
492
|
%
|
493
|
|
-% TaskMargin
|
|
493
|
+% TaskInterval : specify an interval with an horizontal double arrow
|
494
|
494
|
% par 1: task
|
495
|
495
|
% par 2: start time
|
496
|
496
|
% par 3: finish time
|
497
|
|
-\newcommand{\TaskMargin}[4][nocommand=1]{
|
|
497
|
+% par 4: label
|
|
498
|
+
|
|
499
|
+\newcommand{\TaskInterval}[5][nocommand=1]{
|
498
|
500
|
\setkeys{RT}{#1}
|
499
|
501
|
\@compute@yy{#2}
|
500
|
502
|
\@compute@xx{#3}
|
|
@@ -503,12 +505,9 @@
|
503
|
505
|
\draw [\RTLineColor, thick, \RTArrowStyle-\RTArrowStyle] (\xx,\yy) -- (\xxx,\yy);
|
504
|
506
|
\advance \xx by \xxx \xx = .5\xx
|
505
|
507
|
%\advance \yy by .5\RTExecHeight\sy
|
506
|
|
-\draw (\xx,\yy) node[above,font=\rtfont] {\RTNumberLabelSize \RTExecLabel};%\RTNumberLabelSize
|
507
|
|
-\@RTExecDefaultValues
|
|
508
|
+\draw (\xx,\yy) node[above,font=\rtfont] {\RTTaskLabelSize #5};%
|
508
|
509
|
|
509
|
|
- % \advance \xx by \xxx \xx = .5\xx
|
510
|
|
- %\advance \yy by .5\RTExecHeight\sy
|
511
|
|
- %\draw (\xx,\yy) node[font=\rtfont] {\RTNumberLabelSize \RTExecLabel};%\RTNumberLabelSize
|
|
510
|
+\@RTExecDefaultValues
|
512
|
511
|
|
513
|
512
|
}
|
514
|
513
|
%% %
|
|
@@ -647,8 +646,8 @@
|
647
|
646
|
\renewcommand<>{\FLine}[5][nocommand=1]{
|
648
|
647
|
\only#6{\beameroriginal{\FLine}[#1]{#2}{#3}{#4}{#5}}
|
649
|
648
|
}
|
650
|
|
- \renewcommand<>{\TaskMargin}[4][nocommand=1]{
|
651
|
|
- \only#5{\beameroriginal{\TaskMargin}[#1]{#2}{#3}{#4}}
|
|
649
|
+ \renewcommand<>{\TaskInterval}[5][nocommand=1]{
|
|
650
|
+ \only#6{\beameroriginal{\TaskInterval}[#1]{#2}{#3}{#4}{#5}}
|
652
|
651
|
}
|
653
|
652
|
}
|
654
|
653
|
{\typeout{beamer not loaded}}
|