summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/tikz-timing/tikz-timing-overlays.sty
blob: 6bf02d0396d7a5eb3e15fc9c70ce0bc022189677 (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
89
90
91
92
93
94
95
96
%%
%% This is file `tikz-timing-overlays.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% tikz-timing.dtx  (with options: `tikz-timing-overlays.sty')
%% 
%% IMPORTANT NOTICE:
%% 
%% For the copyright see the source file.
%% 
%% Any modified versions of this file must be renamed
%% with new filenames distinct from tikz-timing-overlays.sty.
%% 
%% For distribution of the original source see the terms
%% for copying and modification in the file tikz-timing.dtx.
%% 
%% This generated file may be distributed as long as the
%% original source files, as listed above, are part of the
%% same distribution. (The sources need not necessarily be
%% in the same archive or directory.)
%% Copyright (C) 2009-2012 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.3
%% 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.3 or later is part of all distributions of LaTeX
%% version 2005/12/01 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 and tikz-timing.ins
%% and the derived filebase tikz-timing*.sty.
%%
\NeedsTeXFormat{LaTeX2e}[1999/12/01]
\ProvidesPackage{tikz-timing-overlays}[%
    2017/12/20
    v0.7f
    tikz-timing library for timing overlays]
\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'.