Browse Source

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

Antoine Bertout 9 years ago
parent
commit
c47d483e89
2 changed files with 12 additions and 8 deletions
  1. 2
    1
      README.md
  2. 10
    7
      rtsched.sty

+ 2
- 1
README.md View File

2
  rtsched: The Real-Time scheduling style
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
 Version: 2.0
7
 Version: 2.0
7
 Date:    2015/05/01
8
 Date:    2015/05/01
8
 
9
 

+ 10
- 7
rtsched.sty View File

1
   %% rtsched.sty
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
   % This work may be distributed and/or modified under the
4
   % This work may be distributed and/or modified under the
5
   % conditions of the LaTeX Project Public License, either version 1.3
5
   % conditions of the LaTeX Project Public License, either version 1.3
6
   % of this license or (at your option) any later version.
6
   % of this license or (at your option) any later version.
11
   %
11
   %
12
   % This work has the LPPL maintenance status `maintained'.
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
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
19
 \NeedsTeXFormat{LaTeX2e}[1995/12/01]
20
-\ProvidesPackage{rtsched}[2005/01/01]
20
+\ProvidesPackage{rtsched}[2015/05/01]
21
 \typeout{'rtsched' style for Latex and TikZ/PGF}
21
 \typeout{'rtsched' style for Latex and TikZ/PGF}
22
 \typeout{Easily draw real-time schedules in TeX/Latex.}
22
 \typeout{Easily draw real-time schedules in TeX/Latex.}
23
 \typeout{(c) 2005, Giuseppe Lipari, Pisa, Italy (g.lipari@sssup.it)}
23
 \typeout{(c) 2005, Giuseppe Lipari, Pisa, Italy (g.lipari@sssup.it)}
24
+\typeout{(c) 2015, Antoine Bertout (bertout.antoine@gmail.com)}
24
 \typeout{Version 2.0}
25
 \typeout{Version 2.0}
25
 
26
 
26
 \RequirePackage{tikz}
27
 \RequirePackage{tikz}
349
   \@compute@yy{#2}
350
   \@compute@yy{#2}
350
   \@compute@xx{#3}
351
   \@compute@xx{#3}
351
   \yyy = \yy \advance \yyy by \sy
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
   \@RTExecDefaultValues
355
   \@RTExecDefaultValues
354
 }
356
 }
355
 %
357
 %
363
   \@compute@yy{#2}
365
   \@compute@yy{#2}
364
   \@compute@xx{#3}
366
   \@compute@xx{#3}
365
   \yyy = \yy \advance \yyy by \sy
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
   \@RTExecDefaultValues
370
   \@RTExecDefaultValues
368
 }
371
 }
369
 %
372
 %

Loading…
Cancel
Save