summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tikz-timing/tikz-timing-overlays.sty
blob: a134480641c9fa88b77932d07323381b7a871258 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
%%
%% This is file `tikz-timing-overlays.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% tikz-timing.dtx  (with options: `lib,lib-overlays')
%% 
%% Copyright (C) 2009 by Martin Scharrer <martin@scharrer-online.de>
%% 
%% This work may be distributed and/or modified under the
%% conditions of the LaTeX Project Public License, either version 1.3c
%% of this license or (at your option) any later version.
%% The latest version of this license is in
%% 
%%    http://www.latex-project.org/lppl.txt
%% 
%% and version 1.3c or later is part of all distributions of LaTeX
%% version 2008/05/04 or later.
%% 
%% This work has the LPPL maintenance status `maintained'.
%% 
%% The Current Maintainer of this work is Martin Scharrer.
%% 
%% This work consists of the files tikz-timing.dtx, tikz-timing.ins
%% and the derived file tikz-timing.sty.
%% 
\RequirePackage{svn-prov}[2009/05/03]
\ProvidesPackageSVN[tikz-timing-overlays]
  {$Id: tikz-timing.dtx 1657 2010-01-17 13:26:00Z martin $}
  [v0.7b
   TikZ-Timing Library for
   timing overlays]
\GetFileInfoSVN*%
\RequirePackage{tikz-timing}[\filedate]%
\DefineFileInfoSVN
\tikztiming@defcode{O}#1{%
  \ifx\relax#1\empty
    \def\tikztiming@next{\tikztiming@parser#1}%
  \else
    \let\tikztiming@overlay@lastchar\tikztiming@lastchar
    \let\tikztiming@overlay@width\tikztimingwidth
    \tikztiming@output@addcode{\tikztiming@overlay@begin}%
    \begingroup
      \def\tikztiming@parser@end{%
        \def\tikztiming@output@nextchar{@}%
        \tikztiming@output@flush
      }
      \begingroup
        \tikztiming@parser #1\relax
      \endgroup
    \endgroup
    \tikztiming@output@addcode{\tikztiming@overlay@end}%
    \global\let\tikztiming@lastchar\tikztiming@overlay@lastchar
    \global\let\tikztimingwidth\tikztiming@overlay@width
    \def\tikztiming@next{\expandafter\tikztiming@parser\@firstofone}%
  \fi
  \tikztiming@next
}
\let\tikztiming@overlay@save\empty
\let\pgf@sh@nt@tikztiming@overlay@node\empty
\def\tikztiming@overlay@begin{
    [/utils/exec={%
    \xdef\tikztiming@overlay@save{%
      \noexpand\global\noexpand\c@tikztimingtrans\the\c@tikztimingtrans\relax%
      \noexpand\global\noexpand\c@tikztimingtranspos\the\c@tikztimingtranspos\relax%
      \noexpand\gdef\noexpand\pgf@sh@nt@tikztiming@overlay@node
        {\csname pgf@sh@nt@tikztiming@overlay@node\endcsname}%
      \noexpand\gdef\noexpand\pgf@sh@nt@timing@refa
        {\csname pgf@sh@nt@timing@refa\endcsname}%
      \noexpand\gdef\noexpand\pgf@sh@nt@timing@refb
        {\csname pgf@sh@nt@timing@refb\endcsname}%
      \noexpand\gdef\noexpand\pgf@sh@nt@timing@ref
        {\csname pgf@sh@nt@timing@ref\endcsname}%
      \noexpand\gdef\noexpand\tikztiming@overlay@save{%
        \expandafter\unexpanded\expandafter{\tikztiming@overlay@save}%
      }%
    }%
    }]%
    node [timing/save] (tikztiming@overlay@node) {}
  }%
\def\tikztiming@overlay@end{%
  \tikztiming@newdraw (tikztiming@overlay@node)
  [/utils/exec={\tikztiming@overlay@save}]
}%
\endinput
%%
%% End of file `tikz-timing-overlays.sty'.