浏览代码

Minor graphical bug fixes (arrow style, label positions) and copyright update

Antoine Bertout 9 年前
父节点
当前提交
c47d483e89
共有 2 个文件被更改,包括 12 次插入8 次删除
  1. 2
    1
      README.md
  2. 10
    7
      rtsched.sty

+ 2
- 1
README.md 查看文件

@@ -2,7 +2,8 @@
2 2
  rtsched: The Real-Time scheduling style
3 3
 =========================================
4 4
 
5
-Author:  Giuseppe Lipari (g.lipari@sssup.it)
5
+Author: Giuseppe Lipari (g.lipari@sssup.it)
6
+	Antoine Bertout (bertout.antoine@gmail.com)
6 7
 Version: 2.0
7 8
 Date:    2015/05/01
8 9
 

+ 10
- 7
rtsched.sty 查看文件

@@ -1,6 +1,6 @@
1 1
   %% rtsched.sty
2
-  %% Copyright 2005 M. G. Lipari
3
-  %
2
+  %% Copyright 2005 Giuseppe Lipari
3
+  %% Copyright 2015 Antoine Bertout <bertout.antoine@gmail.com> Transition from PSTricks to TikZ/PGF.
4 4
   % This work may be distributed and/or modified under the
5 5
   % conditions of the LaTeX Project Public License, either version 1.3
6 6
   % of this license or (at your option) any later version.
@@ -11,16 +11,17 @@
11 11
   %
12 12
   % This work has the LPPL maintenance status `maintained'.
13 13
   % 
14
-  % The Current Maintainer of this work is G. Lipari
14
+  % The Current Maintainer of this work is Giuseppe Lipari
15 15
   %
16
-  % This work consists of the file pig.sty.
16
+  % This work consists of the file rtsched.sty.
17 17
   
18 18
   
19 19
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
20
-\ProvidesPackage{rtsched}[2005/01/01]
20
+\ProvidesPackage{rtsched}[2015/05/01]
21 21
 \typeout{'rtsched' style for Latex and TikZ/PGF}
22 22
 \typeout{Easily draw real-time schedules in TeX/Latex.}
23 23
 \typeout{(c) 2005, Giuseppe Lipari, Pisa, Italy (g.lipari@sssup.it)}
24
+\typeout{(c) 2015, Antoine Bertout (bertout.antoine@gmail.com)}
24 25
 \typeout{Version 2.0}
25 26
 
26 27
 \RequirePackage{tikz}
@@ -349,7 +350,8 @@
349 350
   \@compute@yy{#2}
350 351
   \@compute@xx{#3}
351 352
   \yyy = \yy \advance \yyy by \sy
352
-   \node[above,font=\rtfont] at (\xx , \yyy) {\RTNumberLabelSize L(#4)}; %\RTNumberLabelSize
353
+  \advance \yyy by .5\sy
354
+  \node[font=\rtfont] at (\xx , \yyy) {\RTNumberLabelSize L(#4)}; %\RTNumberLabelSize
353 355
   \@RTExecDefaultValues
354 356
 }
355 357
 %
@@ -363,7 +365,8 @@
363 365
   \@compute@yy{#2}
364 366
   \@compute@xx{#3}
365 367
   \yyy = \yy \advance \yyy by \sy
366
-   \node[above, font=\rtfont] at (\xx , \yyy) {\RTNumberLabelSize U(#4)}; %\RTNumberLabelSize
368
+  \advance \yyy by .5\sy
369
+  \node[font=\rtfont] at (\xx , \yyy) {\RTNumberLabelSize U(#4)}; %\RTNumberLabelSize
367 370
   \@RTExecDefaultValues
368 371
 }
369 372
 %

正在加载...
取消
保存