diff options
author | Karl Berry <karl@freefriends.org> | 2009-05-23 00:04:06 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2009-05-23 00:04:06 +0000 |
commit | 20d25e62ad99344ee37e88fb0787319391107640 (patch) | |
tree | b956bd202233c91691644f7177f7440cf44d673b /Master/texmf-dist/doc/plain/texbytopic/figflow.tex | |
parent | ed6a6417c1055f64cde693e71238dc996d1710e6 (diff) |
move plain docs out of texmf-doc
git-svn-id: svn://tug.org/texlive/trunk@13404 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/plain/texbytopic/figflow.tex')
-rw-r--r-- | Master/texmf-dist/doc/plain/texbytopic/figflow.tex | 82 |
1 files changed, 82 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/plain/texbytopic/figflow.tex b/Master/texmf-dist/doc/plain/texbytopic/figflow.tex new file mode 100644 index 00000000000..7c0fe5c5504 --- /dev/null +++ b/Master/texmf-dist/doc/plain/texbytopic/figflow.tex @@ -0,0 +1,82 @@ +% This file is part of TeX by Topic +% Copyright 2007 Victor +% see file TeXbyTopic.tex for copying conditions + +\dh=\fbh +\message{check fontdimen22 in figs1} +{\setbox0\hbox{$\downarrow$} +% \global\lh\ht0 \global\advance\lh by -\fontdimen22\MathSYx + \global\lh\ht0 \global\advance\lh by -5pt + \setbox0\hbox{\quad0+11,11, \dots} + \global\dw\wd0 \global\advance\dw by 10pt } + +\def\doosje#1{\hbox + {\vrule width\lw + \vbox to \dh{\hsize\dh + \hrule height\lw \ + \vfil \hbox to \hsize{\hfil#1\hfil} \vfil + \hrule height\lw}% + \vrule width\lw + }} +\def\mr{\moveright.5\dh} +\def\hdoosje#1#2#3{\vtop + {\vbox{\hbox to \dh{\hfil$\swarrow$ \raise5pt\hbox{#1} $\nwarrow$\hfil} + \doosje{#2}\kern0pt} + \hbox to \dh{\hfil + \vtop{\kern0pt + \downvector{12pt} + \kern3pt + \setbox0\hbox to 0pt{\hss14\setbox2\hbox{5}\hskip-.2\wd0} + \dp0=0pt \box0 + \kern3pt + \downvector{12pt}} + \kern5pt + \vtop{\kern0pt + \downvector{12pt} + \kern3pt + \setbox0\hbox to 0pt{#3\hss} + \dp0=0pt \box0 + \kern3pt + \downvector{12pt}} + \hfil} + \kern7pt + \hbox to \dh{\hfil stop\hfil}}\ignorespaces + } + +\font\linefnt=line10 +\newdimen\lfw \lfw=\fontdimen8\linefnt +\def\downvector#1{\hbox{\hbox to 0pt + {\vrule width\lfw height0pt depth #1\hss}% + \lower#1\hbox to 0pt{\linefnt\char'77\hss}}} + +\def\tbox#1{\setbox0\hbox{\quad#1\quad}\dimen0=\wd0 \box0\relax} +\def\abox{\hbox to \hsize{\rightarrowfill}} + +\def\tarrow#1{\raise.5\dh\vbox{\tbox{#1}\hsize\dimen0\relax + \abox}\ignorespaces} +\def\threearrow{% + \vbox{\hsize\dw + \vbox{\tbox{10}\abox + \kern2pt + \tbox{0+11,11, \dots}\abox} + \kern2pt + \tbox{0+10} + \abox + \kern2pt + \vtop{\kern0pt + \hbox to \dw + {$\nwarrow$\hfil\lower 5pt\hbox{other}% + \hfil$\swarrow$}} + }} + +\def\figmouth{\hbox{\leftskip=0pt \parindent=0pt \offinterlineskip + \SansSerif \PointSize:8 \Style:roman + \tarrow{start}% + \hdoosje{10}N{5: insert \cs{par}} + \tarrow{other} + \hdoosje{other}M{5: insert space} + \threearrow + \hdoosje{10}S{5} + }} + +\endinput |