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-columntype.sty',
%% generated with the docstrip utility.
%%
%% The original source files were:
%%
%% tikz-timing.dtx (with options: `lib,lib-columntype')
%%
%% 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-columntype]
{$Id: tikz-timing.dtx 1657 2010-01-17 13:26:00Z martin $}
[v0.7b
TikZ-Timing Library for
timing cell types]
\GetFileInfoSVN*%
\RequirePackage{tikz-timing}[\filedate]%
\DefineFileInfoSVN
\RequirePackage{array}
\tikzset{timing/columntype/.code 2 args =
\newcolumntype{#1}{>{\celltiming}#2<{\endcelltiming}}%
}%
\RequirePackage{pgfopts}
\tikzset{timing/columntype/.cd,
type/.style 2 args={/tikz/timing/columntype={#1}{#2}},%
notype/.code={},
notype/.value forbidden={},
}
\ProcessPgfOptions{/tikz/timing/columntype}
\expandafter\ifx\csname opt@\@currname.\@currext\endcsname\empty
\tikzset{timing/columntype={T}{l}}%
\fi
\def\celltiming#1\ignorespaces{%
#1%
\begin{tikzpicture}[timing/picture,baseline={(0,0)}]
\def\tikztiming@endhook{\end@celltiming}
\tikztiming@init
\let\tikztiming@settings\empty
\@ifnextchar{[}%
{\tikztiming@celltiming}%
{\tikztiming@celltiming[]}%
}
\let\endcelltiming\relax
\def\tikztiming@celltiming[#1]{%
\ifx\relax#1\relax\else
\tikztiming@testoptarg#1\relax\relax
\fi
\ifx\tikztiming@lastchar\empty
\def\tikztiming@lastchar{@}%
\fi
\expandafter\scope\expandafter[\tikztiming@settings]%
\begingroup
\let\unskip\relax
\let\\\relax
\tikztiming@parser
}
\def\end@celltiming{%
\tikzset{timing/before}%
\tikztiming@str;
\expandafter\node
\expandafter[\tikztiming@settings,shape=tikztiming@shape,anchor=origin] at (0,0) {};
\tikzset{timing/after}%
\endscope
\end{tikzpicture}%
}
\endinput
%%
%% End of file `tikz-timing-columntype.sty'.
|