Style file for drawing timing diagrams in LaTeX, forked from https://github.com/glipari/rtsched
Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

rtsched.sty 14KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511
  1. \NeedsTeXFormat{LaTeX2e}[1995/12/01]
  2. \ProvidesPackage{rtsched}[2005/01/01]
  3. \typeout{'rtsched' style for Latex and PSTricks}
  4. \typeout{Easily draw real-time schedules in TeX/Latex.}
  5. \typeout{(c) 2005, Giuseppe Lipari, Pisa, Italy (g.lipari@sssup.it)}
  6. \typeout{Version 1.1}
  7. \RequirePackage{multido}
  8. \RequirePackage{pstricks}
  9. \RequirePackage{keyval}
  10. %%
  11. %% These can be changed at any time
  12. %%
  13. \def\RTWindowLength{10cm} % window length
  14. \def\RTWindowHeight{0cm} % window height
  15. \def\RTNullWindowHeight{0cm} % nullwindow height
  16. \def\RTTaskLabelSize{10pt} % Size in pt of the task label
  17. \def\RTNumberLabelSize{10pt} % Size in pt of the number labels
  18. \def\RTDefTaskSymbol{\tau}
  19. \def\RTDefNumberOffset{0}
  20. \def\RTDefTaskFill{solid}
  21. \def\RTDefTaskColor{gray}
  22. \def\RTDefLineColor{black}
  23. \def\RTDefXScale{1}
  24. \def\RTDefWriteSymbols{0}
  25. \def\RTDefGridInvisible{0}
  26. \def\RTDefNumbersInvisible{0}
  27. \def\RTDefRowLabelOffset{0pt}
  28. \def\RTDefAxisInvisible{0}
  29. \def\RTDefLineWidth{1pt}
  30. \def\RTDefLineStyle{solid}
  31. \def\RTExecLabel{\ }
  32. \def\RTTaskSymbol{\RTDefTaskSymbol}
  33. \def\RTTaskFill{\RTDefTaskFill}
  34. \def\RTTaskColor{\RTDefTaskColor}
  35. \def\RTLineColor{\RTDefLineColor}
  36. \def\RTXScale{\RTDefXScale}
  37. \def\RTWriteSymbols{\RTDefWriteSymbols}
  38. \def\RTNumberOffset{\RTDefNumberOffset}
  39. \def\RTNumberOffset{\RTDefNumberOffset}
  40. \def\RTGridInvisible{\RTDefGridInvisible}
  41. \def\RTAxisInvisible{\RTDefAxisInvisible}
  42. \def\RTNumbersInvisible{\RTDefGridInvisible}
  43. \def\RTRowLabelOffset{\RTDefRowLabelOffset}
  44. \def\RTLineWidth{\RTDefLineWidth}
  45. \def\RTLineStyle{\RTDefLineStyle}
  46. \define@key{RT}{height}[\RTNullWindowHeight]{\def\RTWindowHeight{#1}}
  47. \define@key{RT}{width}[10cm]{\def\RTWindowLength{#1}}
  48. \define@key{RT}{labelsize}[10pt]{\def\RTTaskLabelSize{#1}}
  49. \define@key{RT}{numbersize}[10pt]{\def\RTNumberLabelSize{#1}}
  50. \define@key{RT}{color}[\RTDefTaskColor]{\def\RTTaskColor{#1}}
  51. \define@key{RT}{linecolor}[\RTDefLineColor]{\def\RTLineColor{#1}}
  52. \define@key{RT}{execlabel}[\ ]{\def\RTExecLabel{#1}}
  53. \define@key{RT}{fillstyle}[\RTDefTaskFill]{\def\RTTaskFill{#1}}
  54. \define@key{RT}{nocommand}{}
  55. \define@key{RT}{xscale}[\RTDefXScale]{\def\RTXScale{#1}}
  56. \define@key{RT}{symbol}[{\tau}]{\def\RTTaskSymbol{#1}}
  57. \define@key{RT}{nosymbols}[\RTDefWriteSymbols]{\def\RTWriteSymbols{#1}}
  58. \define@key{RT}{numoffset}[\RTDefNumberOffset]{\def\RTNumberOffset{#1}}
  59. \define@key{RT}{nogrid}[\RTDefGridInvisible]{\def\RTGridInvisible{#1}}
  60. \define@key{RT}{nonumbers}[\RTDefNumbersInvisible]{\def\RTNumbersInvisible{#1}}
  61. \define@key{RT}{labeloffset}[\RTDefRowLabelOffset]{\def\RTRowLabelOffset{#1}}
  62. \define@key{RT}{axis}[\RTDefAxisInvisible]{\def\RTAxisInvisible{#1}}
  63. \define@key{RT}{lw}[\RTDefLineWidth]{\def\RTLineWidth{#1}}
  64. \define@key{RT}{style}[\RTDefLineStyle]{\def\RTLineStyle{#1}}
  65. %%
  66. %% temporaries
  67. \newdimen\sx % slot length
  68. \newdimen\sy % slot height
  69. \newdimen\hy % frame height
  70. \newdimen\xx % x position
  71. \newdimen\yy % y position
  72. \newdimen\xxx % x position
  73. \newdimen\yyy % y position
  74. \newcount\nsx % number of horizontal slots
  75. \newcount\nsy % number of vertical slots
  76. \newcount\nhl % number of horizonatal lines
  77. \newcount\nvl % number of vertical lines
  78. \newcount\tmp % temp
  79. \newcounter{myLabel}
  80. \def\RTGrid{\@ifnextchar[\@mygrid@begin{\@mygrid@begin[]}}
  81. \def\RTGridBegin{\@ifnextchar[\@mygrid@begin{\@mygrid@begin[]}}
  82. \def\@mygrid@begin[#1]#2#3{\setkeys{RT}{#1}%
  83. %% number of horizontal steps in the grid
  84. \nsx = #3 \advance \nsx by 2 %
  85. %% real lenght of the window (approx)
  86. \nvl = \nsx \advance \nvl by 1 %
  87. %% compute lenght of a step
  88. \sx = \RTWindowLength \divide \sx by \nsx %
  89. %% number of vertical steps in the grid
  90. \nsy = #2 \multiply \nsy by 3 \advance \nsy by 1 %
  91. %% compute lenght of a vertical step (if height is null, \sy is the
  92. %% same as \sx)
  93. \ifx\RTWindowHeight\RTNullWindowHeight%
  94. \sy = \sx%
  95. \hy = \sy \multiply \hy by \nsy \advance \hy by \sy%
  96. \else
  97. \sy = \RTWindowHeight \divide \sy by \nsy %
  98. \hy = \RTWindowHeight \advance \hy by \sy %
  99. \fi
  100. %% compute real height
  101. \nhl = \nsy \advance \nhl by 1 %
  102. \advance \nsy by -1 \advance \nsx by -1
  103. %% the picture
  104. \begin{pspicture}(0,0)(\RTWindowLength,\hy) %
  105. %% draw grid (if not invisible)
  106. \if\RTGridInvisible\RTDefGridInvisible
  107. \multips(0,\sy)(0,\sy){\nsy}{\psline[linecolor=lightgray]{-}(0,\sy)(\RTWindowLength,\sy)}%
  108. \multips(\sx,0)(\sx,0){\nsx}{\psline[linecolor=lightgray]{-}(0,\sy)(0,\hy)}%
  109. \psframe(0,\sy)(\RTWindowLength,\hy)%
  110. \else\relax
  111. \fi
  112. %% draw numbers (if not invisible)
  113. \if\RTNumbersInvisible\RTDefNumbersInvisible
  114. \tmp = #3 \divide \tmp by 2 \advance \tmp by 1%
  115. \pssetlength{\xx}{\sx}%
  116. \setcounter{myLabel}{\RTNumberOffset}
  117. \multido{\n=0+1}{\tmp}{%
  118. \uput{4pt}[d](\xx,\sy){%
  119. \usefont{T1}{phv}{m}{n}%
  120. \fontsize{\RTNumberLabelSize}{\RTNumberLabelSize}%
  121. \selectfont{\arabic{myLabel}}}%
  122. \psaddtolength{\xx}{\sx}%
  123. \psaddtolength{\xx}{\sx}%
  124. \addtocounter{myLabel}{2}
  125. }
  126. \else\relax
  127. \fi
  128. %
  129. %% Task Names
  130. \setcounter{myLabel}{1}
  131. \pssetlength{\yy}{\hy}%
  132. \psaddtolength{\yy}{-\sy}
  133. \multido{\n=0+1}{#2}{%
  134. \uput{4pt}[d](-\sx,\yy){
  135. \usefont{T1}{phv}{m}{n}
  136. \fontsize{\RTTaskLabelSize}{\RTTaskLabelSize}
  137. \if\RTWriteSymbols\RTDefWriteSymbols\selectfont{$\RTTaskSymbol_{\arabic{myLabel}}$}
  138. \else\relax
  139. \fi
  140. }%
  141. \psaddtolength{\yy}{-3\sy}%
  142. \addtocounter{myLabel}{1}
  143. }%
  144. %% Horizontal axes
  145. \if\RTAxisInvisible\RTDefAxisInvisible
  146. \xx = \sx \xxx = \RTWindowLength \advance \xxx by -\sx
  147. \yy = 2\sy
  148. \multido{\n=0+1}{#2}{
  149. \psline{->}(\xx,\yy)(\xxx,\yy)
  150. \advance \yy by 3\sy
  151. }
  152. \fi
  153. }
  154. \def\@RTDefaultValues{%
  155. \setkeys{RT}{height}%
  156. \setkeys{RT}{width}%
  157. \setkeys{RT}{labelsize}%
  158. \setkeys{RT}{numbersize}%
  159. \setkeys{RT}{symbol}%
  160. \setkeys{RT}{fillstyle}%
  161. \setkeys{RT}{color}
  162. \setkeys{RT}{linecolor}%
  163. \setkeys{RT}{xscale}%
  164. \setkeys{RT}{nosymbols}%
  165. }
  166. \def\@RTExecDefaultValues{
  167. \setkeys{RT}{color}%
  168. \setkeys{RT}{execlabel}%
  169. \setkeys{RT}{linecolor}%
  170. }
  171. \def\RTGridEnd{
  172. \end{pspicture}%
  173. \@RTDefaultValues%
  174. }
  175. \def\endRTGrid{
  176. \end{pspicture}%
  177. \@RTDefaultValues%
  178. }
  179. \newcommand{\RTSet}[1]{
  180. \setkeys{RT}{#1}
  181. }
  182. \newcommand{\RTSetDefault}{
  183. \@RTDefaultValues
  184. }
  185. %% internal
  186. \newcommand{\@compute@xx}[1]{
  187. \xx = #1\sx
  188. \divide \xx by \RTXScale
  189. \advance \xx by \sx
  190. }
  191. \newcommand{\@compute@xxx}[1]{
  192. \xxx = #1\sx
  193. \divide \xxx by \RTXScale
  194. \advance \xxx by \sx
  195. }
  196. \newcommand{\@compute@yy}[1]{
  197. \yy = -3\sy \multiply \yy by #1
  198. \advance \yy by \hy
  199. }
  200. \newcommand{\DrawTaskAxis}[2][nocommand=1]{%
  201. \setkeys{RT}{#1}%
  202. \@compute@yy{#2}
  203. \@compute@xx{0}
  204. \xxx = \RTWindowLength \advance \xxx by -\sx
  205. \psline[linecolor=\RTLineColor]{->}(\xx,\yy)(\xxx,\yy)%
  206. \@RTExecDefaultValues%
  207. }
  208. \newcommand{\DrawXYAxis}[3][nocommand=1]{%
  209. \setkeys{RT}{#1}%
  210. \@compute@yy{#2}
  211. \@compute@xx{0}
  212. \xxx = \RTWindowLength \advance \xxx by -\sx
  213. \psline[linecolor=\RTLineColor]{->}(\xx,\yy)(\xxx,\yy)%
  214. \yyy = 3\sy \multiply \yyy by #3 \advance \yyy by \yy
  215. \advance \yyy by -\sy
  216. \psline[linecolor=\RTLineColor]{->}(\xx,\yy)(\xx,\yyy)%
  217. \@RTExecDefaultValues%
  218. }
  219. \newcommand{\FLine}[5][nocommand=1]{%
  220. \setkeys{RT}{#1}%
  221. \@compute@xx{#2}
  222. \@compute@xxx{#4}
  223. \yy = #3\sy \advance \yy by 2\sy
  224. \yyy = #5\sy \advance \yyy by 2\sy
  225. \psline[linecolor=\RTLineColor,linestyle=\RTLineStyle,linewidth=\RTLineWidth]{-}(\xx,\yy)(\xxx,\yyy)
  226. \@RTExecDefaultValues%
  227. }
  228. %% Task Arrival: draws an up arrow at the specified slot
  229. %% #1 : task number from 1 to n
  230. %% #2 : slot number from 0 to l-1
  231. \newcommand{\TaskArrival}[3][nocommand=1]{%
  232. \setkeys{RT}{#1}%
  233. \@compute@yy{#2}
  234. \@compute@xx{#3}
  235. \yyy = \yy \advance \yyy by 2\sy%
  236. \psline[linecolor=\RTLineColor]{->}(\xx,\yy)(\xx,\yyy)%
  237. \@RTExecDefaultValues%
  238. }
  239. %% Task Arrival and deadline: draws an up arrow and a down arrow at the specified slots
  240. %% #1 : task number from 1 to n
  241. %% #2 : slot number from 0 to l-1
  242. %% #3 : relative deadline
  243. \newcommand{\TaskArrDead}[4][nocommand=1]{
  244. \setkeys{RT}{#1}%
  245. \@compute@yy{#2}
  246. \@compute@xx{#3}
  247. \yyy = \yy \advance \yyy by 2\sy
  248. \psline[linecolor=\RTLineColor]{->}(\xx,\yy)(\xx,\yyy)
  249. \advance \xx by #4\sx
  250. \psline[linecolor=\RTLineColor]{->}(\xx,\yyy)(\xx,\yy)
  251. \@RTExecDefaultValues
  252. }
  253. %% Task Deadline: draws a down arrow at the specified slot
  254. %% #1 : task number from 1 to n
  255. %% #2 : slot number from 0 to l-1
  256. \newcommand{\TaskDeadline}[3][nocommand=1]{
  257. \setkeys{RT}{#1}%
  258. \@compute@yy{#2}
  259. \@compute@xx{#3}
  260. \yyy = \yy \advance \yyy by 2\sy
  261. \psline[linecolor=\RTLineColor]{<-}(\xx,\yy)(\xx,\yyy)
  262. \@RTExecDefaultValues
  263. }
  264. \newcommand{\TaskExecution}[4][nocommand=1]{
  265. \setkeys{RT}{#1}%
  266. \@compute@yy{#2}
  267. \@compute@xx{#3}
  268. \yyy = \yy \advance \yyy by \sy
  269. \@compute@xxx{#4}
  270. \psframe[fillstyle=\RTTaskFill,fillcolor=\RTTaskColor,linecolor=\RTLineColor](\xx,\yy)(\xxx,\yyy)
  271. \advance \xx by \xxx \xx = .5\xx
  272. \uput{2pt}[u](\xx,\yy){%
  273. \usefont{T1}{phv}{m}{n}%
  274. \fontsize{\RTNumberLabelSize}{\RTNumberLabelSize}%
  275. \selectfont{\RTExecLabel}%
  276. }
  277. \@RTExecDefaultValues
  278. }
  279. % Task Lock
  280. % par 1: task
  281. % par 2: time
  282. % par 3: resource
  283. %
  284. \newcommand{\TaskLock}[4][nocommand=1]{
  285. \setkeys{RT}{#1}%
  286. \@compute@yy{#2}
  287. \@compute@xx{#3}
  288. \yyy = \yy \advance \yyy by \sy
  289. \uput{2pt}[u](\xx,\yyy){%
  290. \usefont{T1}{phv}{m}{n}%
  291. \fontsize{\RTNumberLabelSize}{\RTNumberLabelSize}%
  292. \selectfont{L(#4)}%
  293. }
  294. \@RTExecDefaultValues
  295. }
  296. % \TaskUnlock
  297. % par 1: task
  298. % par 2: time
  299. % par 3: resource
  300. %
  301. \newcommand{\TaskUnlock}[4][nocommand=1]{
  302. \setkeys{RT}{#1}%
  303. \@compute@yy{#2}
  304. \@compute@xx{#3}
  305. \yyy = \yy \advance \yyy by \sy
  306. \uput{2pt}[u](\xx,\yyy){%
  307. \usefont{T1}{phv}{m}{n}%
  308. \fontsize{\RTNumberLabelSize}{\RTNumberLabelSize}%
  309. \selectfont{U(#4)}%
  310. }
  311. \@RTExecDefaultValues
  312. }
  313. %
  314. % par 1: number of vertical slot
  315. % par 2: time
  316. % par 3: label
  317. %
  318. \newcommand{\Label}[4][nocommand=1]{
  319. \setkeys{RT}{#1}%
  320. %\@compute@yy{#2}
  321. \@compute@xx{#3}
  322. \yy = -\sy \multiply \yy by #2
  323. \advance \yy by \hy
  324. \yyy = \yy \advance \yyy by \sy
  325. \uput{2pt}[u](\xx,\yyy){%
  326. \psshadowbox{
  327. \usefont{T1}{phv}{m}{n}%
  328. \fontsize{\RTNumberLabelSize}{\RTNumberLabelSize}%
  329. \selectfont{{#4}}}%
  330. }
  331. \@RTExecDefaultValues
  332. }
  333. %
  334. % par 1: higher priority task (from)
  335. % par 2: lower priority task (to)
  336. % par 3: time
  337. %
  338. \newcommand{\Inherit}[4][nocommand=1]{
  339. \setkeys{RT}{#1}%
  340. \@compute@yy{#2}
  341. \@compute@xx{#4}
  342. \yyy = -3\sy \multiply \yyy by #3 \advance \yyy by \sy
  343. \advance \yyy by \hy \advance \yyy by -\sy % \RTWindowHeight
  344. \psline[linestyle=dashed,linewidth=1.5pt]{->}(\xx,\yy)(\xx,\yyy)
  345. \@RTExecDefaultValues
  346. }
  347. %
  348. % par 1: activating task (from)
  349. % par 2: signal start time
  350. % par 3: activated task (to)
  351. % par 4: signal arrival time
  352. %
  353. \newcommand{\Activation}[5][nocommand=1]{
  354. \setkeys{RT}{#1}%
  355. \@compute@yy{#2}
  356. \@compute@xx{#3}
  357. \yyy = -3\sy \multiply \yyy by #4 %\advance \yyy by \sy
  358. \advance \yyy by \hy %\advance \yyy by -\sy %\RTWindowHeight
  359. \xxx = #5\sx \advance \xxx by \sx
  360. \psline[linestyle=dashed,linewidth=1pt]{->}(\xx,\yy)(\xxx,\yyy)
  361. }
  362. %
  363. % par 1: time1
  364. % par 2: time2
  365. %
  366. \newcommand{\RTBox}[3][nocommand=1]{
  367. \setkeys{RT}{#1}%
  368. \yy = 0cm
  369. \advance \yy by \hy
  370. \yyy = \sy
  371. \@compute@xx{#2}
  372. \@compute@xxx{#3}
  373. \psframe[fillstyle=crosshatch,hatchwidth=.2pt,hatchsep=2pt,hatchcolor=lightgray,linewidth=0pt,framearc=.2](\xx,\yy)(\xxx,\yyy)
  374. \@RTExecDefaultValues
  375. }
  376. % %
  377. % % par 1: task
  378. % % par 2: first instant (arrival)
  379. % % par 3: second instant (deadline)
  380. % %
  381. % \newcommand{\Interval}[4][nocommand=1]{
  382. % \setkeys{RT}{#1}%
  383. % \@compute@yy{#2}
  384. % \advance \yy by 2.5\sy
  385. % \@compute@xx{#3}
  386. % \@compute@xxx{#4}
  387. % % da cambiare con psarc
  388. % \pscurve*[linecolor=\RTLineColor]{-}(\xx,\yy)(\xxx,\yy)
  389. % \@RTExecDefaultValues
  390. % }
  391. \newcommand{\RowLabel}[3][nocommand=1]{
  392. \setkeys{RT}{#1}%
  393. \@compute@yy{#2}
  394. \advance \yy by 1.5\sy
  395. \xx = \RTRowLabelOffset %\advance \xx by \sx
  396. \uput{4pt}[dl](-\xx,\yy){
  397. \usefont{T1}{phv}{m}{n}
  398. \fontsize{\RTTaskLabelSize}{\RTTaskLabelSize}
  399. \selectfont{#3}
  400. }%
  401. }
  402. \newcommand{\TaskExecDelta}[4][nocommand=1]{
  403. \setkeys{RT}{#1}%
  404. \@compute@yy{#2}
  405. \@compute@xx{#3}
  406. \yyy = \yy \advance \yyy by \sy
  407. %\@compute@xxx{#4}
  408. \xxx = \xx \advance \xxx by #4\sx
  409. \psframe[fillstyle=\RTTaskFill,fillcolor=\RTTaskColor,linecolor=\RTLineColor](\xx,\yy)(\xxx,\yyy)
  410. \advance \xx by \xxx \xx = .5\xx
  411. \uput{2pt}[u](\xx,\yy){%
  412. \usefont{T1}{phv}{m}{n}%
  413. \fontsize{\RTNumberLabelSize}{\RTNumberLabelSize}%
  414. \selectfont{\RTExecLabel}%
  415. }
  416. \@RTExecDefaultValues
  417. }
  418. \newcommand{\TaskRespTime}[4][nocommand=1]{
  419. \setkeys{RT}{#1}
  420. \@compute@yy{#2}
  421. \@compute@xx{#3}
  422. \yyy = \yy \advance \yyy by \sy
  423. \xxx = \xx \advance \xxx by #4\sx
  424. \psframe[fillstyle=crosshatch*,hatchcolor=white,
  425. hatchwidth=.4pt,hatchsep=1pt,
  426. linestyle=none,fillcolor=\RTTaskColor](\xx,\yy)(\xxx,\yyy)
  427. \@RTExecDefaultValues
  428. }
  429. \@ifclassloaded{beamer}{
  430. \renewcommand<>{\TaskArrival}[3][nocommand=1]{
  431. \only#4{\beameroriginal{\TaskArrival}[#1]{#2}{#3}}
  432. }
  433. \renewcommand<>{\TaskArrDead}[4][nocommand=1]{
  434. \only#5{\beameroriginal{\TaskArrDead}[#1]{#2}{#3}{#4}}
  435. }
  436. \renewcommand<>{\TaskDeadline}[3][nocommand=1]{
  437. \only#4{\beameroriginal{\TaskDeadline}[#1]{#2}{#3}}
  438. }
  439. \renewcommand<>{\TaskExecution}[4][nocommand=1]{
  440. \only#5{\beameroriginal{\TaskExecution}[#1]{#2}{#3}{#4}}
  441. }
  442. \renewcommand<>{\TaskExecDelta}[4][nocommand=1]{
  443. \only#5{\beameroriginal{\TaskExecDelta}[#1]{#2}{#3}{#4}}
  444. }
  445. \renewcommand<>{\TaskRespTime}[4][nocommand=1]{
  446. \only#5{\beameroriginal{\TaskRespTime}[#1]{#2}{#3}{#4}}
  447. }
  448. \renewcommand<>{\TaskLock}[4][nocommand=1]{
  449. \only#5{\beameroriginal{\TaskLock}[#1]{#2}{#3}{#4}}
  450. }
  451. \renewcommand<>{\TaskUnlock}[4][nocommand=1]{
  452. \only#5{\beameroriginal{\TaskUnlock}[#1]{#2}{#3}{#4}}
  453. }
  454. \renewcommand<>{\Label}[4][nocommand=1]{
  455. \only#5{\beameroriginal{\Label}[#1]{#2}{#3}{#4}}
  456. }
  457. \renewcommand<>{\Inherit}[4][nocommand=1]{
  458. \only#5{\beameroriginal{\Inherit}[#1]{#2}{#3}{#4}}
  459. }
  460. \renewcommand<>{\Activation}[5][nocommand=1]{
  461. \only#6{\beameroriginal{\Activation}[#1]{#2}{#3}{#4}{#5}}
  462. }
  463. \renewcommand<>{\RTBox}[3][nocommand=1]{
  464. \only#4{\beameroriginal{\RTBox}[#1]{#2}{#3}}
  465. }
  466. \renewcommand<>{\FLine}[5][nocommand=1]{
  467. \only#6{\beameroriginal{\FLine}[#1]{#2}{#3}{#4}{#5}}
  468. }
  469. }
  470. {\typeout{beamer not loaded}}
  471. \endinput