%% %% 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 %% %% 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 1647 2009-12-28 14:18:14Z martin $} [v0.7a 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'.