diff options
Diffstat (limited to 'Master/texmf-dist/doc/latex/skeyval/skeyval-view-pokayoke1.tex')
-rw-r--r-- | Master/texmf-dist/doc/latex/skeyval/skeyval-view-pokayoke1.tex | 139 |
1 files changed, 0 insertions, 139 deletions
diff --git a/Master/texmf-dist/doc/latex/skeyval/skeyval-view-pokayoke1.tex b/Master/texmf-dist/doc/latex/skeyval/skeyval-view-pokayoke1.tex deleted file mode 100644 index 9ad80b2a5c5..00000000000 --- a/Master/texmf-dist/doc/latex/skeyval/skeyval-view-pokayoke1.tex +++ /dev/null @@ -1,139 +0,0 @@ -\documentclass{skeyval-testclass} -\usepackage[xcolor-options=dvipsnames]{skeyval-view} -\usetikzlibrary[topaths] - -\makeatletter - -\setupviewkeys{length of default=30} - -\skvdefinekeys[KV]{fam1}[vhp@]{% - .initialize after define, - .ord/{keya,keya2}/default-a, - .cmd/keyb, - .zcmd/key c/\def\cmdc##1{##1}/ - \edef\y{\detokenize\expandafter{\vhp@keyc}}\def\x##1{#1*key c*##1}, - % No default for keyd: - .choice/keyd/.na - /{center.do=\def\x##1{#1*##1},left.do={\def\ans{#1}},right} - /\def\z##1{#1*##1} - /\@warning{Invalid value for keyd}, - .bool/show shadow/true, - .zbool/show center/true/\edef\cmd{\ifvhp@showcenter Yes\else No\fi}, - .ord/keye, - .cmd/keyf, -} -%\show\y -%\skvshowcs{KV@fam1@show center} -%\show\cmd - -% Define some keys: -\directkeys*{ - .prefix=KV, - .family=fam2, - .holder prefix=hp@, - .initialize keys after define, - .define keys={% - .ord/keya, - .ord/galaxy/Messier 51a/\def\constellation{Canes Venatici}, - .choice/planet/Earth/{Earth.do=\def\x##1{#1*##1},Mars,Jupiter}, - .bool/space travel/true, - .cmd/astronaut/Yuri Gagarin/ - \edef\x{\ifx\hp@astronaut\@empty Neil Armstrong\else\hp@astronaut\fi}, - .ord/space observatory/Hubble Space Telescope/ - \def\father{Lyman Spitzer~(1914--1997)}, - }, -} - -\makeatother - -\begin{document} - -\title{The \texttt{\textcolor{blue}{skeyval-view}} Package\\[.25ex] - Version 1.1a\\[1ex] - \textsf{Test document}} -\author{Ahmed Musa} -\maketitle - -\skvviewkeys{% - .show={ - family=fam1, - color=blue - }, - .show={ - families={fam1,fam2}, - only those with default=true, - write to file=\jobname.skvv, - show labels=true, - show wlabels=true, - }, - .show={ - family=fam1, - only those with default=[none], - show labels=true, - color=cyan, - }, - .show={ - families={fam1,fam2}, - only those without default=true, - color=purple, - }, - .show={ - family=fam2, - columns={prefix,family,key type,default}, - color=teal - }, - .show={ - only those in family=fam2, - columns={family,type,default} - }, - .show={ - only those in families={fam1,fam2}, - columns={prefix,family,type,default}, - color=magenta - } -} - -\newpage - -\skvtestcnt0\relax -\skvrecurse - \advance\skvtestcnt1\relax - \vskip\baselineskip\noindent - \textcolor{blue!\the\numexpr10*\skvtestcnt!red!% - \the\numexpr100/\skvtestcnt}{% - The play was a great success, but the audience was a disaster. - \endgraf{\small Oscar Wilde, 1854--1900} - }% -\while - \ifnum\skvtestcnt<8\relax -\fi - -% Credit: Quintin Jean-Noël -\newcount\mycount -\begin{center} -\begin{tikzpicture}[scale=.5,transform shape] -\newforeach \nr in {1,...,8}{ - \mycount=\numexpr(\nr-1)*45\relax - \node[draw,circle,inner sep=0.25cm] (N-\nr) at (\the\mycount:5.4cm) {}; -} -\newforeach \nr in {9,...,16}{ - \mycount=\numexpr(\nr-1)*45+22\relax - \node[draw,circle,inner sep=0.25cm] (N-\nr) at (\the\mycount:5.4cm) {}; -} -\newforeach \nr in {1,...,15}{ - \mycount=\numexpr\nr+1\relax - \newforeach \nra in {\the\mycount,...,16}{ - \path (N-\nr) edge[->,bend right=3] (N-\nra) edge[<-,bend left=3] - (N-\nra); - } -} -\end{tikzpicture} -\end{center} - - -\bigskip -Find more information about the \textcolor{red}{\texttt{show shadow}} option on page~\pageref{KV/fam1/show shadow}. - -\end{document} - -% End of file skeyval-view-pokayoke1.tex
\ No newline at end of file |