Debian Codegraph @

texmf-dist/tex/latex/tikz-timing/tikz-timing-advnodes.sty

raw
1 %%
2 %% This is file `tikz-timing-advnodes.sty',
3 %% generated with the docstrip utility.
4 %%
5 %% The original source files were:
6 %%
7 %% tikz-timing.dtx (with options: `tikz-timing-advnodes.sty')
8 %%
9 %% IMPORTANT NOTICE:
10 %%
11 %% For the copyright see the source file.
12 %%
13 %% Any modified versions of this file must be renamed
14 %% with new filenames distinct from tikz-timing-advnodes.sty.
15 %%
16 %% For distribution of the original source see the terms
17 %% for copying and modification in the file tikz-timing.dtx.
18 %%
19 %% This generated file may be distributed as long as the
20 %% original source files, as listed above, are part of the
21 %% same distribution. (The sources need not necessarily be
22 %% in the same archive or directory.)
23 %% Copyright (C) 2009-2012 by Martin Scharrer <[email protected]>
24 %% ----------------------------------------------------------------------
25 %% This work may be distributed and/or modified under the
26 %% conditions of the LaTeX Project Public License, either version 1.3
27 %% of this license or (at your option) any later version.
28 %% The latest version of this license is in
29 %% http://www.latex-project.org/lppl.txt
30 %% and version 1.3 or later is part of all distributions of LaTeX
31 %% version 2005/12/01 or later.
32 %%
33 %% This work has the LPPL maintenance status `maintained'.
34 %%
35 %% The Current Maintainer of this work is Martin Scharrer.
36 %%
37 %% This work consists of the files tikz-timing.dtx and tikz-timing.ins
38 %% and the derived filebase tikz-timing*.sty.
39 %%
40 \NeedsTeXFormat{LaTeX2e}[1999/12/01]
41 \ProvidesPackage{tikz-timing-advnodes}[%
42 2017/12/20
43 v0.7f
44 tikz-timing library for advanced nodes]
45
46 \let\tikztiming@orig@oldnodecenter\tikztiming@oldnodecenter
47
48 \tikzset{timing/nodes/.cd,
49 simple/.code={%
50 \let\tikztiming@oldnodecenter\tikztiming@orig@oldnodecenter
51 \tikzset{%
52 timing/inline node/.style={shape=coordinate},
53 }%
54 },
55 advanced/.code={%
56 \let\tikztiming@oldnodecenter\@gobble
57 \tikzset{%
58 timing/inline node/.style={shape=tikztiming coordinate},
59 timing/nodes/new center,
60 }%
61 },
62 old center/.code={%
63 \let\tikztiming@nodecenteranchor\tikztiming@old@nodecenteranchor
64 },%
65 new center/.code={%
66 \let\tikztiming@nodecenteranchor\empty
67 },%
68 }
69 \tikzset{timing/nodes/.cd,advanced,new center}
70
71 \def\anchoralias#1#2{%
72 \expandafter\def
73 \csname pgf@anchor@\pgf@sm@shape@name @#1\expandafter\endcsname
74 \expandafter{\csname pgf@anchor@\pgf@sm@shape@name @#2\endcsname}%
75 }
76
77 \def\tikztiming@anchorpoint#1#2#3{%
78 \pgf@xa=#2\relax
79 \pgf@ya=#3\relax
80 \expandafter\edef\csname#1\endcsname{%
81 \pgf@x=\the\pgf@xa\relax
82 \pgf@y=\the\pgf@ya\relax
83 }%
84 \expandafter\addtosavedmacro\csname#1\endcsname
85 }
86 \def\tikztiming@tryanchor#1#2{%
87 \let\tikztiming@next\relax
88 \ifnum\tikztiming@debug>2
89 \message{^^J Try Anchor: '#1' '#2' ^^J }%
90 \def\tikztiming@next{\message{^^J TERM ^^J}}%
91 \fi
92 \ifx\relax#1\empty\else
93 \ifx\relax#2\empty\else
94 \def\tikztiming@next{%
95 \@ifundefined{tikztiming@anchors@#1@#2}%
96 {%
97 \edef\@tempa{%
98 {\csname tikztiming@alias@#1\endcsname}%
99 {\csname tikztiming@alias@#2\endcsname}%
100 }%
101 \expandafter\tikztiming@tryanchor@\@tempa{#1}{#2}%
102 }%
103 {\let\tikztiming@tryanchor\@gobbletwo
104 \ifnum\tikztiming@debug>2
105 \message{^^J Anchor: '#1' '#2' ^^J }%
106 \fi
107 \@nameuse{tikztiming@anchors@#1@#2}%
108 }%
109 }%
110 \fi\fi
111 \tikztiming@next
112 }
113 \def\tikztiming@tryanchor@#1#2#3#4{%
114 \tikztiming@tryanchor{#3}{#2}%
115 \tikztiming@tryanchor{#1}{#4}%
116 \tikztiming@tryanchor{#1}{#2}%
117 \let\tikztiming@tryanchor@\@gobblefour
118 \tikztiming@tryanchor{#3}{}%
119 \tikztiming@tryanchor{}{#4}%
120 }
121 \pgfdeclareshape{tikztiming coordinate}{%
122 \savedmacro\anchorpoints{%
123 \let\anchorpoint\tikztiming@anchorpoint
124 \let\slope\@tempdima
125 \let\dslope\@tempdimb
126 \let\zslope\@tempdimc
127 \let\height\pgf@yb
128 \let\fromchar\tikztiming@node@fromchar
129 \let\tochar\tikztiming@node@tochar
130 %
131 \ifnum\tikztiming@debug>2
132 \message{^^J Node: \fromchar \tochar ^^J}%
133 \fi
134 %
135 \edef\@tempa{{timing/\tochar}}%
136 \expandafter\lowercase\expandafter
137 {\expandafter\tikzset\@tempa}%
138 \pgfpointxy{\timingslope}{0}%
139 \slope=\pgf@x\relax
140 \pgfpointxy{\timingdslope}{0}%
141 \dslope=\pgf@x\relax
142 \pgfpointxy{\timingzslope}{0}%
143 \zslope=\pgf@x\relax
144 \pgfpointxy{0}{\timingheight}%
145 \height=\pgf@y\relax
146 \edef\anchorpoints{%
147 \noexpand\pgf@yb=\the\height\relax
148 \let\noexpand\height\noexpand\pgf@yb
149 }%
150 %
151 \tikztiming@tryanchor{\fromchar}{\tochar}%
152 }
153 \savedanchor\lowpoint{%
154 \pgfpointanchor{timing/start base}{center}%
155 \pgf@x=0pt
156 }%
157 \anchor{origin}{%
158 \pgfpointorigin
159 \anchorpoints
160 \@nameuse{originoffset}
161 \pgf@x=-\pgf@x
162 \pgf@y=-\pgf@y
163 }%
164 \anchor{old center}{%
165 \pgfpointorigin
166 \tikztiming@old@nodecenteranchor
167 }%
168 \anchor{new center}{\pgfpointorigin}%
169 \anchor{center}{%
170 \pgfpointorigin
171 \tikztiming@nodecenteranchor
172 }%
173 \anchor{MID}{\tikztiming@useanchor{HIGH}\advance\pgf@y by -.5\height\relax }%
174 \anchor{LOW}{\tikztiming@useanchor{HIGH}\advance\pgf@y by -\height\relax }%
175 \anchor{HIGH}{\tikztiming@useanchor{HIGH}}%
176 \anchor{TOP}{%
177 \tikztiming@nodes@getoffset
178 \tikztiming@useanchor{HIGH}
179 \advance\pgf@y by \pgf@ya\relax
180 }%
181 \anchor{BOTTOM}{%
182 \tikztiming@nodes@getoffset
183 \tikztiming@useanchor{HIGH}
184 \advance\pgf@y by -\pgf@ya\relax
185 \advance\pgf@y by -\height\relax
186 }%
187 \anchor{mid}{\tikztiming@useanchor{mid}}%
188 \anchor{low}{\tikztiming@useanchor{low}}%
189 \anchor{high}{\tikztiming@useanchor{high}}%
190 \anchor{low2}{\tikztiming@useanchor{low2}}%
191 \anchor{high2}{\tikztiming@useanchor{high2}}%
192 %
193 \expandafter\anchorborder\expandafter{\csname pgf@anchor@\pgf@sm@shape@name @center\endcsname}%
194 %
195 \nodeparts{}%
196 }
197
198 \def\tikztiming@nodes@getoffset{%
199 \begingroup
200 \pgfpointxy{0}{1}%
201 \pgfmathsetresultunitscale{\pgf@y}%
202 \pgfpoint{0}{\tikztiming@nodes@offset}%
203 \global\pgf@ya=\pgf@y
204 \endgroup
205 }
206
207 \tikzset{%
208 timing/nodes/.cd,
209 offset/.store in=\tikztiming@nodes@offset,
210 offset=0.25,
211 }
212
213 \def\tikztiming@nodecenteranchor{}
214
215 \def\tikztiming@old@nodecenteranchor{%
216 \anchorpoints
217 \@ifundefined{oldcenter}%
218 {\@nameuse{originoffset}%
219 \pgf@x=-\pgf@x\relax
220 \pgf@y=-\pgf@y\relax
221 }%
222 {\@nameuse{oldcenter}}%
223 }
224
225 \def\tikztiming@useanchor#1{%
226 \anchorpoints
227 \@ifundefined{#1}%
228 {\PackageError{tikz-timing}%
229 {No such anchor '#1' defined for this transition!}{}%
230 \pgfpointorigin
231 }%
232 {\@nameuse{#1}}%
233 }
234
235 \tikzset{%
236 every tikztiming coordinate node/.style={anchor=origin},
237 }
238 \def\tikztiming@anchors#1#2{%
239 \@namedef{tikztiming@anchors@#1@#2}%
240 }
241 \def\tikztiming@anchorslet#1#2#3#4{%
242 \expandafter\let
243 \csname tikztiming@anchors@#1@#2\expandafter\endcsname
244 \csname tikztiming@anchors@#3@#4\endcsname
245 }
246
247 \tikztiming@anchors{@}{D}{%
248 \anchorpoint{originoffset}{0pt}{.5\height}%
249 \anchorpoint{mid}{0pt}{0pt}%
250 \anchorpoint{high}{0pt}{.5\height}%
251 \anchorpoint{low}{0pt}{-.5\height}%
252 \anchorpoint{HIGH}{0pt}{.5\height}%
253 }
254
255 \tikztiming@anchors{@}{H}{%
256 \anchorpoint{originoffset}{0pt}{\height}%
257 \anchorpoint{high}{0pt}{0pt}%
258 \anchorpoint{HIGH}{0pt}{0pt}%
259 }
260
261 \tikztiming@anchors{@}{L}{%
262 \anchorpoint{originoffset}{0pt}{0pt}%
263 \anchorpoint{low}{0pt}{0pt}%
264 \anchorpoint{HIGH}{0pt}{\height}%
265 }
266
267 \tikztiming@anchors{@}{T}{%
268 \anchorpoint{originoffset}{0pt}{0pt}%
269 \anchorpoint{low}{0pt}{0pt}%
270 \anchorpoint{HIGH}{0pt}{\height}%
271 }
272
273 \tikztiming@anchors{@}{Z}{%
274 \anchorpoint{originoffset}{0pt}{.5\height}%
275 \anchorpoint{mid}{0pt}{0pt}%
276 \anchorpoint{HIGH}{0pt}{.5\height}%
277 }
278
279 \tikztiming@anchors{D}{D}{%
280 \anchorpoint{originoffset}{0pt}{0pt}%
281 \anchorpoint{mid}{0pt}{0pt}%
282 \anchorpoint{HIGH}{0pt}{.5\height}%
283 \anchorpoint{high}{0pt}{.5\height}%
284 \anchorpoint{low}{0pt}{-.5\height}%
285 }
286
287 \tikztiming@anchors{L}{H}{%
288 \anchorpoint{originoffset}{.5\slope}{.5\height}%
289 \anchorpoint{mid}{0pt}{0pt}%
290 \anchorpoint{high}{.5\slope}{.5\height}%
291 \anchorpoint{low}{-.5\slope}{-.5\height}%
292 \anchorpoint{HIGH}{-.5\slope}{.5\height}%
293 }
294
295 \tikztiming@anchors{E}{H}{%
296 \anchorpoint{originoffset}{-.5\slope}{-.5\height}%
297 \anchorpoint{oldcenter}{-.5\slope}{-.5\height}%
298 \anchorpoint{mid}{0pt}{0pt}%
299 \anchorpoint{high}{.5\slope}{.5\height}%
300 \anchorpoint{low}{-.5\slope}{-.5\height}%
301 \anchorpoint{HIGH}{-.5\slope}{.5\height}%
302 }
303
304 \tikztiming@anchors{T}{T}{%
305 \anchorpoint{mid}{0pt}{0pt}%
306 \anchorpoint{HIGH}{-.5\slope}{.5\height}%
307 \ifnum 1=\c@tikztimingtrans
308 \anchorpoint{originoffset}{.5\slope}{-.5\height}%
309 \anchorpoint{high}{-.5\slope}{.5\height}%
310 \anchorpoint{low}{.5\slope}{-.5\height}%
311 \else
312 \anchorpoint{originoffset}{.5\slope}{.5\height}%
313 \anchorpoint{high}{.5\slope}{.5\height}%
314 \anchorpoint{low}{-.5\slope}{-.5\height}%
315 \fi
316 }
317 \tikztiming@anchorslet{T}{E}{T}{T}%
318
319 \tikztiming@anchors{T}{@}{%
320 \ifnum 1=\c@tikztimingtrans
321 \anchorpoint{high}{0pt}{0pt}%
322 \anchorpoint{HIGH}{0pt}{0pt}%
323 \else
324 \anchorpoint{low}{0pt}{0pt}%
325 \anchorpoint{HIGH}{0pt}{\height}%
326 \fi
327 }
328
329 \tikztiming@anchors{H}{H}{%
330 \anchorpoint{originoffset}{0pt}{0pt}%
331 \anchorpoint{high}{0pt}{0pt}%
332 \anchorpoint{HIGH}{0pt}{0pt}%
333 }
334
335 \tikztiming@anchors{L}{L}{%
336 \anchorpoint{originoffset}{0pt}{0pt}%
337 \anchorpoint{low}{0pt}{0pt}%
338 \anchorpoint{HIGH}{0pt}{\height}%
339 }
340
341 \tikztiming@anchors{Z}{Z}{%
342 \anchorpoint{originoffset}{0pt}{0pt}%
343 \anchorpoint{mid}{0pt}{0pt}%
344 \anchorpoint{HIGH}{0pt}{.5\height}%
345 }
346
347 \tikztiming@anchors{E}{E}{%
348 \anchorpoint{mid}{0pt}{0pt}%
349 \ifnum 1=\c@tikztimingtrans
350 \anchorpoint{originoffset}{.5\slope}{.5\height}%
351 \anchorpoint{HIGH}{-.5\slope}{.5\height}%
352 \anchorpoint{high}{.5\slope}{.5\height}%
353 \anchorpoint{low}{-.5\slope}{-.5\height}%
354 \else
355 \anchorpoint{originoffset}{-.5\slope}{.5\height}%
356 \anchorpoint{oldcenter}{-.5\slope}{-.5\height}%
357 \anchorpoint{HIGH}{-.5\slope}{.5\height}%
358 \anchorpoint{high}{-.5\slope}{.5\height}%
359 \anchorpoint{low}{.5\slope}{-.5\height}%
360 \fi
361 }
362
363 \tikztiming@anchors{H}{L}{%
364 \anchorpoint{originoffset}{.5\slope}{-.5\height}%
365 \anchorpoint{mid}{0pt}{0pt}%
366 \anchorpoint{high}{-.5\slope}{.5\height}%
367 \anchorpoint{HIGH}{-.5\slope}{.5\height}%
368 \anchorpoint{low}{.5\slope}{-.5\height}%
369 }
370 \tikztiming@anchorslet{H}{E}{H}{L}%
371
372 \tikztiming@anchors{E}{L}{%
373 \anchorpoint{originoffset}{-.5\slope}{.5\height}%
374 \anchorpoint{oldcenter}{-.5\slope}{-.5\height}%
375 \anchorpoint{mid}{0pt}{0pt}%
376 \anchorpoint{high}{-.5\slope}{.5\height}%
377 \anchorpoint{HIGH}{-.5\slope}{.5\height}%
378 \anchorpoint{low}{.5\slope}{-.5\height}%
379 }
380
381 \tikztiming@anchors{E}{T}{%
382 \anchorpoint{mid}{0pt}{0pt}%
383 \anchorpoint{HIGH}{-.5\slope}{.5\height}%
384 \ifnum 1=\c@tikztimingtrans
385 \anchorpoint{originoffset}{-.5\slope}{-.5\height}%
386 \anchorpoint{oldcenter}{-.5\slope}{-.5\height}%
387 \anchorpoint{high}{.5\slope}{.5\height}%
388 \anchorpoint{low}{-.5\slope}{-.5\height}%
389 \else
390 \anchorpoint{originoffset}{-.5\slope}{.5\height}%
391 \anchorpoint{oldcenter}{-.5\slope}{-.5\height}%
392 \anchorpoint{high}{-.5\slope}{.5\height}%
393 \anchorpoint{low}{.5\slope}{-.5\height}%
394 \fi
395 }
396
397 \tikztiming@anchors{E}{Z}{%
398 \anchorpoint{mid}{0pt}{0pt}%
399 \anchorpoint{oldcenter}{-\zslope}{-.5\height}%
400 \anchorpoint{HIGH}{-\zslope}{.5\height}%
401 \anchorpoint{high}{-\zslope}{.5\height}%
402 \anchorpoint{low}{-\zslope}{-.5\height}%
403 }
404
405 \tikztiming@anchors{Z}{D}{%
406 \anchorpoint{originoffset}{0pt}{0pt}%
407 \anchorpoint{mid}{0pt}{0pt}%
408 \anchorpoint{HIGH}{0pt}{.5\height}%
409 \anchorpoint{high}{.5\dslope}{.5\height}%
410 \anchorpoint{low}{.5\dslope}{-.5\height}%
411 }
412
413 \tikztiming@anchors{D}{Z}{%
414 \anchorpoint{originoffset}{0pt}{0pt}%
415 \anchorpoint{oldcenter}{-.5\dslope}{-.5\height}%
416 \anchorpoint{mid}{0pt}{0pt}%
417 \anchorpoint{HIGH}{-.5\dslope}{.5\height}%
418 \anchorpoint{high}{-.5\dslope}{.5\height}%
419 \anchorpoint{low}{-.5\dslope}{-.5\height}%
420 }
421
422 \tikztiming@anchors{D}{H}{%
423 \anchorpoint{originoffset}{0pt}{0pt}%
424 \anchorpoint{oldcenter}{-.5\dslope}{-.5\height}%
425 \anchorpoint{mid}{0pt}{0pt}%
426 \anchorpoint{HIGH}{-.5\dslope}{.5\height}%
427 \anchorpoint{high}{.5\dslope}{.5\height}%
428 \anchorpoint{high2}{-.5\dslope}{.5\height}%
429 \anchorpoint{low}{-.5\dslope}{-.5\height}%
430 }
431
432 \tikztiming@anchors{D}{L}{%
433 \anchorpoint{originoffset}{0pt}{0pt}%
434 \anchorpoint{oldcenter}{-.5\dslope}{-.5\height}%
435 \anchorpoint{mid}{0pt}{0pt}%
436 \anchorpoint{HIGH}{-.5\dslope}{.5\height}%
437 \anchorpoint{high}{-.5\dslope}{.5\height}%
438 \anchorpoint{low2}{-.5\dslope}{-.5\height}%
439 \anchorpoint{low}{.5\dslope}{-.5\height}%
440 }
441 \tikztiming@anchorslet{D}{T}{D}{L}%
442
443 \tikztiming@anchors{D@edge@}{D}{%
444 \anchorpoint{originoffset}{0pt}{0pt}%
445 \anchorpoint{oldcenter}{-.5\dslope}{-.5\height}%
446 \anchorpoint{mid}{0pt}{0pt}%
447 \anchorpoint{HIGH}{-.5\dslope}{.5\height}%
448 \anchorpoint{high}{-.5\dslope}{.5\height}%
449 \anchorpoint{high2}{.5\dslope}{.5\height}%
450 \anchorpoint{low}{-.5\dslope}{-.5\height}%
451 \anchorpoint{low2}{.5\dslope}{-.5\height}%
452 }
453 \tikztiming@anchorslet{D}{U}{D@edge@}{D}
454 \tikztiming@anchorslet{U}{D}{D@edge@}{D}
455 \tikztiming@anchorslet{D}{D@edge@}{D@edge@}{D}
456 \tikztiming@anchorslet{D@edge@}{D@edge@}{D@edge@}{D}
457 \tikztiming@anchorslet{D}{E}{D@edge@}{D}
458 \tikztiming@anchorslet{E}{D}{D@edge@}{D}
459
460 \tikztiming@anchorslet{L}{E}{L}{H}%
461 \tikztiming@anchorslet{L}{T}{L}{H}%
462 \tikztiming@anchorslet{H}{T}{H}{L}%
463 \tikztiming@anchorslet{T}{H}{H}{L}%
464
465 \tikztiming@anchors{D}{D}{%
466 \anchorpoint{originoffset}{0pt}{0pt}%
467 \anchorpoint{oldcenter}{0pt}{-.5\height}%
468 \anchorpoint{mid}{0pt}{0pt}%
469 \anchorpoint{high}{0pt}{.5\height}%
470 \anchorpoint{low}{0pt}{-.5\height}%
471 \anchorpoint{HIGH}{0pt}{.5\height}%
472 }
473 \tikztiming@anchorslet{D}{@}{D}{D}
474 \tikztiming@anchorslet{E}{@}{D}{D}
475 \tikztiming@anchorslet{U}{U}{D}{D}
476
477 \tikztiming@anchorslet{@}{E}{@}{D}
478
479 \tikztiming@anchors{L}{D}{%
480 \anchorpoint{originoffset}{.5\dslope}{.5\height}%
481 \anchorpoint{mid}{0pt}{0pt}%
482 \anchorpoint{high}{.5\dslope}{.5\height}%
483 \anchorpoint{low}{-.5\dslope}{-.5\height}%
484 \anchorpoint{low2}{.5\dslope}{-.5\height}%
485 \anchorpoint{HIGH}{-.5\dslope}{.5\height}%
486 }
487
488 \tikztiming@anchors{T}{D}{%
489 \anchorpoint{mid}{0pt}{0pt}%
490 \anchorpoint{HIGH}{-.5\dslope}{.5\height}%
491 \ifnum 1=\c@tikztimingtrans
492 \anchorpoint{originoffset}{.5\dslope}{-.5\height}%
493 \anchorpoint{high}{-.5\dslope}{.5\height}%
494 \anchorpoint{high2}{.5\dslope}{.5\height}%
495 \anchorpoint{low}{.5\dslope}{-.5\height}%
496 \else
497 \anchorpoint{originoffset}{.5\dslope}{.5\height}%
498 \anchorpoint{high}{.5\dslope}{.5\height}%
499 \anchorpoint{low}{-.5\dslope}{-.5\height}%
500 \anchorpoint{low2}{.5\dslope}{-.5\height}%
501 \fi
502 }
503
504 \tikztiming@anchors{H}{D}{%
505 \anchorpoint{originoffset}{.5\dslope}{-.5\height}%
506 \anchorpoint{mid}{0pt}{0pt}%
507 \anchorpoint{HIGH}{-.5\dslope}{.5\height}%
508 \anchorpoint{high}{-.5\dslope}{.5\height}%
509 \anchorpoint{high2}{.5\dslope}{.5\height}%
510 \anchorpoint{low}{.5\dslope}{-.5\height}%
511 }
512
513 \tikztiming@anchors{Z}{E}{%
514 \anchorpoint{mid}{0pt}{0pt}%
515 \anchorpoint{high}{\zslope}{.5\height}%
516 \anchorpoint{low}{\zslope}{-.5\height}%
517 \anchorpoint{HIGH}{0pt}{.5\height}%
518 }
519
520 \tikztiming@anchors{Z}{H}{%
521 \anchorpoint{mid}{0pt}{0pt}%
522 \anchorpoint{high}{\zslope}{.5\height}%
523 \anchorpoint{HIGH}{0pt}{.5\height}%
524 }
525
526 \tikztiming@anchors{Z}{T}{%
527 \anchorpoint{mid}{0pt}{0pt}%
528 \anchorpoint{HIGH}{0pt}{.5\height}%
529 \ifnum1=\c@tikztimingtrans\relax
530 \anchorpoint{low}{\zslope}{-.5\height}%
531 \else
532 \anchorpoint{high}{\zslope}{.5\height}%
533 \fi
534 }
535
536 \tikztiming@anchors{T}{H}{%
537 \ifnum1=\c@tikztimingtrans\relax
538 \anchorpoint{high}{0pt}{0pt}%
539 \anchorpoint{HIGH}{0pt}{0pt}%
540 \else
541 \anchorpoint{originoffset}{.5\slope}{.5\height}%
542 \anchorpoint{low}{-.5\slope}{-.5\height}%
543 \anchorpoint{mid}{0pt}{0pt}%
544 \anchorpoint{high}{.5\slope}{.5\height}%
545 \anchorpoint{HIGH}{-.5\slope}{.5\height}%
546 \fi
547 }
548
549 \tikztiming@anchors{T}{L}{%
550 \ifnum1=\c@tikztimingtrans\relax
551 \anchorpoint{originoffset}{.5\slope}{-.5\height}%
552 \anchorpoint{low}{.5\slope}{-.5\height}%
553 \anchorpoint{mid}{0pt}{0pt}%
554 \anchorpoint{high}{-.5\slope}{.5\height}%
555 \anchorpoint{HIGH}{-.5\slope}{.5\height}%
556 \else
557 \anchorpoint{low}{0pt}{0pt}%
558 \anchorpoint{HIGH}{0pt}{\height}%
559 \fi
560 }
561
562 \tikztiming@anchors{T}{Z}{%
563 \ifnum1=\c@tikztimingtrans\relax
564 \anchorpoint{high}{0pt}{0pt}%
565 \anchorpoint{mid}{\zslope}{-.5\height}%
566 \anchorpoint{HIGH}{0pt}{0pt}%
567 \else
568 \anchorpoint{low}{0pt}{0pt}%
569 \anchorpoint{mid}{\zslope}{.5\height}%
570 \anchorpoint{HIGH}{0pt}{\height}%
571 \fi
572 }
573
574 \tikztiming@anchors{Z}{L}{%
575 \anchorpoint{mid}{0pt}{0pt}%
576 \anchorpoint{low}{\zslope}{-.5\height}%
577 \anchorpoint{HIGH}{0pt}{.5\height}%
578 }
579
580 \tikztiming@anchors{H}{Z}{%
581 \anchorpoint{high}{0pt}{0pt}%
582 \anchorpoint{mid}{\zslope}{-.5\height}%
583 \anchorpoint{HIGH}{0pt}{0pt}%
584 }
585
586 \tikztiming@anchors{L}{Z}{%
587 \anchorpoint{low}{0pt}{0pt}%
588 \anchorpoint{mid}{\zslope}{.5\height}%
589 \anchorpoint{HIGH}{0pt}{\height}%
590 }
591
592 \tikztiming@anchors{Z}{Z}{%
593 \anchorpoint{mid}{0pt}{0pt}%
594 \anchorpoint{HIGH}{0pt}{.5\height}%
595 }
596
597 \tikztiming@anchors{H}{@}{%
598 \anchorpoint{high}{0pt}{0pt}%
599 \anchorpoint{HIGH}{0pt}{0pt}%
600 }
601
602 \tikztiming@anchors{L}{@}{%
603 \anchorpoint{low}{0pt}{0pt}%
604 \anchorpoint{HIGH}{0pt}{\height}%
605 }
606
607 \tikztiming@anchors{Z}{@}{%
608 \anchorpoint{mid}{0pt}{0pt}%
609 \anchorpoint{HIGH}{0pt}{.5\height}%
610 }
611
612 \tikztiming@anchors{}{@}{%
613 \anchorpoint{originoffset}{0pt}{.5\height}%
614 \anchorpoint{mid}{0pt}{0pt}%
615 \anchorpoint{high}{0pt}{.5\height}%
616 \anchorpoint{low}{0pt}{-.5\height}%
617 \anchorpoint{HIGH}{0pt}{.5\height}%
618 }
619
620 \RequirePackage{pgfopts}
621 \ProcessPgfOptions{/tikz/timing/node}
622 \endinput
623 %%
624 %% End of file `tikz-timing-advnodes.sty'.