| 1 |
|
| 2 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 3 |
% % |
| 4 |
% This is file t-manual.tex ( version 14.08.2006 ) % |
| 5 |
% % |
| 6 |
% Diagram macros for tangles and braided Hopf algebras % |
| 7 |
% % |
| 8 |
% (Yu. Bespalov, V. Lyubashenko) % |
| 9 |
% % |
| 10 |
% available from CTAN and http://www.math.ksu.edu/~lub/ % |
| 11 |
% % |
| 12 |
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% |
| 13 |
|
| 14 |
\documentclass[11pt]{article} |
| 15 |
|
| 16 |
\usepackage{amsmath} |
| 17 |
\usepackage{t-angles} |
| 18 |
%\usepackage[emtex]{t-angles} |
| 19 |
%\usepackage{t-erratr} |
| 20 |
|
| 21 |
\setlength{\textwidth}{16 true cm} |
| 22 |
\setlength{\textheight}{22.5 true cm} |
| 23 |
\setlength{\topmargin}{-1.4 true cm} |
| 24 |
\setlength{\oddsidemargin}{0mm} |
| 25 |
|
| 26 |
\title{{\Huge\tt t-angles.sty } |
| 27 |
\footnote{t-angles.sty is available from {\tt |
| 28 |
http://www.math.ksu.edu/$\sim$lub/} or from CTAN} |
| 29 |
\\ |
| 30 |
\mbox{\Large\bf(Diagram macros for tangles and braided Hopf algebras)} |
| 31 |
} |
| 32 |
\author{Yu. Bespalov \and V. Lyubashenko} |
| 33 |
\date{Version 14.08.2006} |
| 34 |
|
| 35 |
\def\subsec#1{\subsection*{#1}\addcontentsline{toc}{subsection}{#1}} |
| 36 |
|
| 37 |
\def\hhmode{{{\tt hh}-mode }} |
| 38 |
\def\Command#1{\hbox{\tt\string#1}} |
| 39 |
\def\command#1{\ \hbox{\tt\string#1} \ } |
| 40 |
\def\SHOW#1#2{\begin{array}{c} |
| 41 |
\begin{tangle}#1\end{tangle}\\ |
| 42 |
\hbox{\tt\string#2} |
| 43 |
\end{array}} |
| 44 |
\def\Show#1{\SHOW#1#1} |
| 45 |
\def\Showh#1{\SHOW{\hh#1}#1} |
| 46 |
|
| 47 |
|
| 48 |
\bibliographystyle{amsplain} |
| 49 |
|
| 50 |
\begin{document} |
| 51 |
|
| 52 |
\maketitle |
| 53 |
\tableofcontents |
| 54 |
|
| 55 |
\section{Introduction} |
| 56 |
|
| 57 |
\subsection*{Usage:} |
| 58 |
\addcontentsline{toc}{subsection}{Usage} |
| 59 |
$$ |
| 60 |
\vcenter{\hbox{\command{\usepackage[emtex]\{t-angles\}}} |
| 61 |
\hbox{(for \command{emtex} drivers, \tt dviwin,} |
| 62 |
\hbox{ \tt dvips, yap )}} |
| 63 |
\qquad \hbox{or} \qquad |
| 64 |
\vcenter{\hbox{\command{\usepackage\{t-angles\}} $\equiv$} |
| 65 |
\hbox{\command{\usepackage[TPIC]\{t-angles\}}} |
| 66 |
\hbox{(for TPIC drivers such as \tt dviwin,} |
| 67 |
\hbox{ {\tt xdvi, dvips, yap, dvipdfm, kdvi} )}} |
| 68 |
$$ |
| 69 |
To use with \command{kluwer.cls} add the option \command{kluwer}:\\ |
| 70 |
\command{\usepackage[emtex,kluwer]\{t-angles\}} or |
| 71 |
\command{\usepackage[kluwer]\{t-angles\}}. |
| 72 |
|
| 73 |
The main option \command{TPIC} is executed by default. It can be |
| 74 |
overwritten by the antagonistic option \command{emtex}. These two |
| 75 |
options give slightly different *.dvi output, when they are used with |
| 76 |
\LaTeX. The package works also with pdf\LaTeX. In this case both |
| 77 |
options produce identical *.pdf output. Actually, the third option |
| 78 |
\command{pdflatex} is executed in this case automatically. You should |
| 79 |
not type \command{\usepackage[pdflatex]\{t-angles\}} in your file |
| 80 |
unless you want to prohibit its use with \LaTeX. Another way to produce |
| 81 |
*.pdf file is to apply \command{dvipdfm} to the *.dvi output, obtained |
| 82 |
with the \command{TPIC} option. |
| 83 |
|
| 84 |
Under pdf\LaTeX{} the information about slanted lines is stored in a file |
| 85 |
*.emp and read on the following pass. Consequently, the changes made in |
| 86 |
a tangle diagram are not reflected immediately in the *.pdf output. You |
| 87 |
may need several ($\simeq2$) runs of pdf\LaTeX{} to see the final |
| 88 |
picture. |
| 89 |
|
| 90 |
|
| 91 |
\subsec{Acknowledgments} |
| 92 |
An optional parameter for (co)actions is proposed by Bernhard Drabant. |
| 93 |
The file \command{t-angles.sty} contains parts of |
| 94 |
\command{emlines2.sty} by Georg Horn and Eberhard Mattes and parts of |
| 95 |
\command{eepic.sty} by Conrad Kwok. PDF implementation of em\TeX{} |
| 96 |
specials is due to Hans Hagen. We have incorporated his con\TeX t |
| 97 |
support macros `em\TeX{} specials to PDF conversion' from |
| 98 |
\command{supp-emp.tex} distributed with Te\TeX. These parts of the code |
| 99 |
are used in the three options: \command{emtex}, \command{TPIC} and |
| 100 |
\command{pdflatex} respectively. To understand them the reader is |
| 101 |
invited to read comments in the original works. In order to distinguish |
| 102 |
between ordinary \LaTeX{} and pdf\LaTeX{} modes, Heiko Oberdiek's |
| 103 |
package \command{ifpdf.sty} is loaded. |
| 104 |
|
| 105 |
|
| 106 |
\subsection*{Main features:} |
| 107 |
\addcontentsline{toc}{subsection}{Main features} |
| 108 |
\begin{itemize} |
| 109 |
\item |
| 110 |
The environments |
| 111 |
$$ |
| 112 |
\vcenter{\hbox{\tt \{tangle\}} |
| 113 |
\hbox{\tt \{tanglec\}} |
| 114 |
\hbox{\tt \{tangler\}} |
| 115 |
\hbox{\tt \{tangles\}}} |
| 116 |
\qquad |
| 117 |
\vcenter{\hbox{are arrays with} |
| 118 |
\hbox{one or more} |
| 119 |
\hbox{column style:}} |
| 120 |
\qquad |
| 121 |
\vcenter{\hbox{\tt \{array\}\{l\}} |
| 122 |
\hbox{\tt \{array\}\{c\}} |
| 123 |
\hbox{\tt \{array\}\{r\}} |
| 124 |
\hbox{\tt \{array\}} } |
| 125 |
\quad |
| 126 |
\vcenter{\hbox{(left)} |
| 127 |
\hbox{(centered)} |
| 128 |
\hbox{(right)} |
| 129 |
\hbox{(any)}} |
| 130 |
$$ |
| 131 |
respectively. Likewise {\tt \{array\}}, the {\tt \{tangles\}} |
| 132 |
environment allows an optional argument {\tt t} or {\tt b} to align |
| 133 |
the upper base line or the bottom of the tangle with the exterior |
| 134 |
base line: \verb+\begin{tangles}[b]{l*3cr}+. |
| 135 |
\item |
| 136 |
\command\unitlens is the global length parameter. |
| 137 |
Default value is \command{10 pt} . |
| 138 |
\item |
| 139 |
\command\hstretch and \command\vstretch are relative length |
| 140 |
parameters, horizontal and vertical stretch: |
| 141 |
\begin{equation*} |
| 142 |
\begin{split} |
| 143 |
\command\unith = \command\hstretch \%\;\; \text{of}\; \command\unitlens \,, |
| 144 |
\\ |
| 145 |
\command\unitv = \command\vstretch \%\;\; \text{of}\; \command\unitlens \,, |
| 146 |
\end{split} |
| 147 |
\end{equation*} |
| 148 |
set to an integer number of percents before the beginning of a tangle. |
| 149 |
\newline |
| 150 |
Default settings are |
| 151 |
\command{\hstretch}{\tt 100} and \command{\vstretch}{\tt 100}. |
| 152 |
The commands \command\hstretch and \command\vstretch should be used only |
| 153 |
outside of tangle environments (with an exception of embedded tangle |
| 154 |
environments). |
| 155 |
\item |
| 156 |
The commands \command{\hstr \{<number>\}} , |
| 157 |
\command{\vstr \{<number>\}} can be used inside tangle environments |
| 158 |
instead of \command{\hstretch <number>} , \command{\vstretch <number>}. |
| 159 |
They will act within their \LaTeX{} scope. |
| 160 |
\item |
| 161 |
The height of every row is \ {\tt 2}\command\unitv |
| 162 |
or \command\unitv if the command \command\hh (see below) is used; |
| 163 |
\newline |
| 164 |
the widths of standard fragments are \ {\tt 0, .5, 1, 2, 3} or {\tt 4} |
| 165 |
\command\unith |
| 166 |
\item |
| 167 |
The command \command\hh obeys to \LaTeX{} scope rules. The command |
| 168 |
\command\HH acts in the same way as \command\hh but put at the |
| 169 |
beginning of a row works for the whole row in the \ {\tt \{tangles\}} |
| 170 |
environment. |
| 171 |
\item |
| 172 |
The style understands the commands |
| 173 |
\command\thinlines and \command\thicklines . |
| 174 |
\item |
| 175 |
The command \command{\step[<number>]} is used to produce horizontal space |
| 176 |
\command\kern{\tt <number>}\command\unith and works in any mode |
| 177 |
(inside and outside of the \command{tangle} environment). |
| 178 |
\begin{eqnarray*} |
| 179 |
&\command\step = \command{\step[1]} |
| 180 |
\qquad |
| 181 |
&\command\Step = \command{\step[2]} |
| 182 |
\\ |
| 183 |
&\command\hstep = \command{\step[.5]} |
| 184 |
\quad |
| 185 |
&\command\hhstep = \command{\step[-.5]} |
| 186 |
\end{eqnarray*} |
| 187 |
\item |
| 188 |
Vertical spacing before the next row is produced by |
| 189 |
\ $\backslash\backslash[\langle\hbox{\tt vertical\_space}\rangle]$ \ |
| 190 |
with optional argument (like in standard \ {\tt \{array\}} \ |
| 191 |
environment). |
| 192 |
\item |
| 193 |
The command \command{\object\#1} is used to put the object \command{#1} |
| 194 |
directly over or under the end of the string (inside and outside of the |
| 195 |
\ {\tt \{tangle\}} \ environment). It adds a vertical space below or |
| 196 |
above as required. More space can be added as above. |
| 197 |
\newline |
| 198 |
The command |
| 199 |
\command{\Put(x\_coord,y\_coord)[binding\_point]<object>} puts |
| 200 |
{\tt <object>} into the intended position and works in |
| 201 |
\ {\tt \{tangle[cs]\}} \ environment like a combination of \command\put |
| 202 |
and \command\makebox. Coordinates are integers, measured in |
| 203 |
{\tt .1}\command\unith, {\tt .1}\command\unitv units; |
| 204 |
\command{binding\_point} is a combination of two letters \ {\tt lcr} \ |
| 205 |
and \ {\tt tcb} \ according to the usual \LaTeX{} rules. |
| 206 |
\newline |
| 207 |
The commands |
| 208 |
\command{\nodeu\#1,} \command{\noded\#1,} |
| 209 |
\command{\nodel\#1,} \command{\noder\#1,} |
| 210 |
\command{\noderu\#1,} \command{\noderd\#1,} |
| 211 |
\command{\nodelu\#1,} \command{\nodeld\#1} |
| 212 |
produce zero boxes and put \ {\tt \#1} \ into the corresponding |
| 213 |
position. |
| 214 |
\newline |
| 215 |
\begin{minipage}{0.4\textwidth} |
| 216 |
The picture |
| 217 |
\begin{equation*} |
| 218 |
\vstretch 200 \hstretch 200 |
| 219 |
\begin{tangle} |
| 220 |
\nodeu.\noded.\nodel.\noder.\noderu.\noderd.\nodelu.\nodeld. |
| 221 |
\end{tangle} |
| 222 |
\end{equation*} |
| 223 |
is described by the lines: |
| 224 |
\end{minipage} |
| 225 |
\begin{minipage}{0.5\textwidth} |
| 226 |
\begin{verbatim} |
| 227 |
\vstretch 200 \hstretch 200 |
| 228 |
\begin{tangle} |
| 229 |
\nodeu.\noded.\nodel.\noder. |
| 230 |
\noderu.\noderd.\nodelu.\nodeld. |
| 231 |
\end{tangle} |
| 232 |
\end{verbatim} |
| 233 |
\end{minipage} |
| 234 |
\end{itemize} |
| 235 |
|
| 236 |
\section{Macros in pictures} |
| 237 |
|
| 238 |
\subsec{Straight lines and nodes} |
| 239 |
|
| 240 |
\begin{itemize} |
| 241 |
\item |
| 242 |
The commands \command\id, \command\n, \command\s,\command\node, |
| 243 |
\command\unit, \command\counit work also in \hhmode. |
| 244 |
$$ |
| 245 |
\Show\id \quad |
| 246 |
\Show\idash \quad |
| 247 |
\Show\n \quad |
| 248 |
\Show\s \quad |
| 249 |
\Show\nd \quad |
| 250 |
\Show\sd \quad |
| 251 |
\Show\node \quad |
| 252 |
\Show\unit \quad |
| 253 |
\Show\counit |
| 254 |
$$ |
| 255 |
The command \command\FillCircDiam denotes the filled circle diameter. |
| 256 |
It is set to an integer between 1 and 9 (here the measure unit is |
| 257 |
0.1 \command\unith). Default value is 3. |
| 258 |
\item |
| 259 |
The command \command\hln{\tt <number>} \ produces horizontal line on |
| 260 |
\ {\tt <number>}\command\unith. |
| 261 |
\item |
| 262 |
Argument of \command\ne,\command\nw,\command\se,\command\sw, |
| 263 |
\command\ned,\command\nwd,\command\sed,\command\swd |
| 264 |
is \ {\tt 0,1,2,3} or {\tt 4}; {\tt 0} produces empty box and |
| 265 |
other produce (dash) lines with horizontal projections equal |
| 266 |
\ {\tt <argument>}\command{\unith} cribbed into {\tt 1$\times$2} box. |
| 267 |
The commands \command\ne,\command\nw,\command\se,\command\sw |
| 268 |
produce {\tt 1$\times$1} box in \hhmode. |
| 269 |
$$ |
| 270 |
\SHOW{\nw1}{\nw{1}}\quad |
| 271 |
\SHOW{\nwd1}{\nwd{1}}\quad |
| 272 |
\SHOW{\sw0}{\sw{0}}\quad |
| 273 |
\SHOW{\se3}{\se{3}}\quad |
| 274 |
\SHOW{\sed3}{\sed{3}}\quad |
| 275 |
\SHOW{\nw3\nw2\nw1\n\ne1\ne2\ne3}{\nw{3}\string\nw{2}% |
| 276 |
\string\nw{1}\string\n\string\ne{1}\string\ne{2}\string\ne{3}} |
| 277 |
$$ |
| 278 |
\item |
| 279 |
All the following commands work in \hhmode and produce |
| 280 |
the similar diagrams in {\tt .5$\times$1} boxes. |
| 281 |
$$ |
| 282 |
\Show\d \quad |
| 283 |
\Show\dd \quad |
| 284 |
\Show\hd \quad |
| 285 |
\Show\hdd \quad |
| 286 |
\Show\dh \quad |
| 287 |
\Show\ddh |
| 288 |
$$ |
| 289 |
\end{itemize} |
| 290 |
|
| 291 |
|
| 292 |
\subsec{(Under/over)crossings. Braiding and symmetry} |
| 293 |
The following crossings and dashed crossings are shown in normal mode. |
| 294 |
$$ |
| 295 |
\Show\x \quad |
| 296 |
\Show\xx \quad |
| 297 |
\Show\hx \quad |
| 298 |
\Show\hxx \quad |
| 299 |
\Show\X \quad |
| 300 |
\Show\XX \quad |
| 301 |
\Show\xd \quad |
| 302 |
\Show\xxd \quad |
| 303 |
\Show\hxd \quad |
| 304 |
\Show\hxxd |
| 305 |
$$ |
| 306 |
The commands \command\X, \command\XX, \command\x, \command\xx work in |
| 307 |
\hhmode and produce similar diagrams of half width and height |
| 308 |
({\tt 1$\times$1} boxes). |
| 309 |
|
| 310 |
\subsec{(Co)pairings.} |
| 311 |
The commands \command\ev, \command\coev work in \hhmode and produce |
| 312 |
the similar diagrams of half width and height ({\tt .5$\times$1} boxes). |
| 313 |
For convenience in \hhmode \command\hev $\equiv$ \command\ev and |
| 314 |
\command\hev $\equiv$ \command\ev. |
| 315 |
\begin{align*} |
| 316 |
\Show\hev \quad |
| 317 |
&\Show\ev \quad |
| 318 |
&\Show\Ev \quad |
| 319 |
&\Show\EV |
| 320 |
&\\ |
| 321 |
\Show\hcoev \quad |
| 322 |
&\Show\coev \quad |
| 323 |
&\Show\Coev \quad |
| 324 |
&\Show\COEV |
| 325 |
&\end{align*} |
| 326 |
|
| 327 |
|
| 328 |
\subsec{Morphisms. Frame and dash boxes} |
| 329 |
\begin{itemize} |
| 330 |
\item |
| 331 |
$$ |
| 332 |
\SHOW{\Q f}{\Q \ f} \quad |
| 333 |
\SHOW{\QQ f}{\QQ \ f} \quad |
| 334 |
\SHOW{\O f}{\O \ f} \quad |
| 335 |
%\SHOW{\circ f}{\circ \ f} \quad |
| 336 |
\SHOW{\morph f}{\morph \ f} \quad |
| 337 |
\SHOW{\tu f}{\tu \ f} \quad |
| 338 |
\SHOW{\td f}{\td \ f} \quad |
| 339 |
\Show\S \quad |
| 340 |
\Show\SS |
| 341 |
$$ |
| 342 |
\item |
| 343 |
$$ |
| 344 |
\SHOW{\ox f}{\ox \ f} \qquad\qquad |
| 345 |
\SHOW{\ro p}{\ro \ p} \quad |
| 346 |
\SHOW{\coro q}{\coro \ q} \quad |
| 347 |
\SHOW{\Ro p}{\Ro \ p} \quad |
| 348 |
\SHOW{\coRo q}{\coRo \ q} |
| 349 |
$$ |
| 350 |
\item |
| 351 |
The commands \command{\dbox\#1\#2,}\command{\ffbox\#1\#2,} |
| 352 |
\command{\obox\#1\#2,}\command{\tbox\#1\#2} put {\tt \$\#2\$} in the middle |
| 353 |
of \ {\tt \#1}$\times${\tt 2} (or {\tt \#1}$\times${\tt 1} \ in |
| 354 |
\hhmode ) box with dash, rectangle, oval frame or without frame. |
| 355 |
\par |
| 356 |
For example, the text |
| 357 |
\newline |
| 358 |
\begin{minipage}{.4\textwidth} |
| 359 |
\begin{verbatim} |
| 360 |
\begin{tangles}{rcl} |
| 361 |
\HH\obox 10&&\obox 10\\ |
| 362 |
\HH\d&&\dd\\ |
| 363 |
&\hhstep\obox 3V\hhstep& |
| 364 |
\end{tangles} |
| 365 |
\end{verbatim} |
| 366 |
\end{minipage} |
| 367 |
produces |
| 368 |
\begin{minipage}{.4\textwidth} |
| 369 |
\begin{equation*} |
| 370 |
\begin{tangles}{rcl} |
| 371 |
\HH\obox 10&&\obox 10\\ |
| 372 |
\HH\d&&\dd\\ |
| 373 |
&\hhstep\obox 3V\hhstep& |
| 374 |
\end{tangles} |
| 375 |
\end{equation*} |
| 376 |
\end{minipage} |
| 377 |
\end{itemize} |
| 378 |
|
| 379 |
\subsec{(Co)multiplications and cocycles} |
| 380 |
The commands \command\cu, {\tt \string\cu *}, |
| 381 |
\command\cd, {\tt \string\cd *} work in \hhmode and produce the similar |
| 382 |
diagrams of half width and height ({\tt .5$\times$1} boxes). |
| 383 |
For convenience in \hhmode \command\hcu $\equiv$ \command\cu and |
| 384 |
\command\hcd $\equiv$ \command\cd . |
| 385 |
\begin{equation*} |
| 386 |
\begin{split} |
| 387 |
\Show\Cu \quad |
| 388 |
\Show\cu \quad |
| 389 |
\Show\hcu \quad |
| 390 |
\Show\hdcu \quad |
| 391 |
\Show\hddcu |
| 392 |
\\ |
| 393 |
\SHOW{\Cu *}{\Cu *} \quad |
| 394 |
\SHOW{\cu *}{\cu *} \quad |
| 395 |
\SHOW{\hcu *}{\hcu *} \quad |
| 396 |
\SHOW{\hdcu *}{\hdcu *} \quad |
| 397 |
\SHOW{\hddcu *}{\hddcu *} |
| 398 |
\\ |
| 399 |
\SHOW{\Cd *}{\Cd *} \quad |
| 400 |
\SHOW{\cd *}{\cd *} \quad |
| 401 |
\SHOW{\hcd *}{\hcd *} \quad |
| 402 |
\SHOW{\hdcd *}{\hdcd *} \quad |
| 403 |
\SHOW{\hddcd *}{\hddcd *} |
| 404 |
\\ |
| 405 |
\Show\Cd \quad |
| 406 |
\Show\cd \quad |
| 407 |
\Show\hcd \quad |
| 408 |
\Show\hdcd \quad |
| 409 |
\Show\hddcd |
| 410 |
\end{split} |
| 411 |
\end{equation*} |
| 412 |
|
| 413 |
\subsec{(Co)actions} |
| 414 |
Commands \command\lu, \command\ld, \command\ru, \command\rd |
| 415 |
have optional parameter \ {\tt [\#1]} which equals to width of the box: |
| 416 |
\begin{align*} |
| 417 |
&\command\hh |
| 418 |
& \SHOW{\hh\Lu}{\Lu$\equiv\!\!\!\!$\command\lu$\!\!\!\!\!\!$[2]} \quad |
| 419 |
\SHOW{\hh\lu} {\lu$\equiv\!\!\!\!$\command\lu$\!\!\!\!\!\!$[1]} \quad |
| 420 |
\Showh\hlu \quad |
| 421 |
\Showh\hru \quad |
| 422 |
\SHOW{\hh\ru} {\ru$\equiv\!\!\!\!$\command\ru$\!\!\!\!\!\!$[1]} \quad |
| 423 |
\SHOW{\hh\Ru} {\Ru$\equiv\!\!\!\!$\command\ru$\!\!\!\!\!\!$[2]} |
| 424 |
&\\ |
| 425 |
&&\SHOW\Lu{\Lu$\equiv\!\!\!\!$\command\lu$\!\!\!\!\!\!$[2]} \quad |
| 426 |
\SHOW\lu{\lu$\equiv\!\!\!\!$\command\lu$\!\!\!\!\!\!$[1]} \quad |
| 427 |
\Show\hlu \quad |
| 428 |
\Show\hru \quad |
| 429 |
\SHOW\ru{\ru$\equiv\!\!\!\!$\command\ru$\!\!\!\!\!\!$[1]} \quad |
| 430 |
\SHOW\Ru{\Ru$\equiv\!\!\!\!$\command\ru$\!\!\!\!\!\!$[2]} |
| 431 |
&\\ |
| 432 |
&&\SHOW\Ld{\Ld$\equiv\!\!\!\!$\command\ld$\!\!\!\!\!\!$[2]} \quad |
| 433 |
\SHOW\ld{\ld$\equiv\!\!\!\!$\command\ld$\!\!\!\!\!\!$[1]} \quad |
| 434 |
\Show\hld \quad |
| 435 |
\Show\hrd \quad |
| 436 |
\SHOW\rd{\rd$\equiv\!\!\!\!$\command\rd$\!\!\!\!\!\!$[1]} \quad |
| 437 |
\SHOW\Rd{\Rd$\equiv\!\!\!\!$\command\rd$\!\!\!\!\!\!$[2]} |
| 438 |
&\\ |
| 439 |
&\command\hh |
| 440 |
& \SHOW{\hh\Ld}{\Ld$\equiv\!\!\!\!$\command\ld$\!\!\!\!\!\!$[2]} \quad |
| 441 |
\SHOW{\hh\ld}{\ld$\equiv\!\!\!\!$\command\ld$\!\!\!\!\!\!$[1]} \quad |
| 442 |
\Showh\hld \quad |
| 443 |
\Showh\hrd \quad |
| 444 |
\SHOW{\hh\rd}{\rd$\equiv\!\!\!\!$\command\rd$\!\!\!\!\!\!$[1]} \quad |
| 445 |
\SHOW{\hh\Rd}{\Rd$\equiv\!\!\!\!$\command\rd$\!\!\!\!\!\!$[2]} |
| 446 |
&\end{align*} |
| 447 |
|
| 448 |
\subsec{Compositions} |
| 449 |
$$ |
| 450 |
\Show\kk \quad |
| 451 |
\Show\luld \quad |
| 452 |
\Show\cucd \quad |
| 453 |
\Show\rurd \quad |
| 454 |
\Show\k |
| 455 |
$$ |
| 456 |
|
| 457 |
\section{Examples} |
| 458 |
|
| 459 |
\begin{minipage}{.3\textwidth} |
| 460 |
\[ |
| 461 |
\begin{tangle} |
| 462 |
\object{B}\step\object{B}\\ |
| 463 |
\cucd\\ |
| 464 |
\object{B}\step\object{B} |
| 465 |
\end{tangle} |
| 466 |
\;=\enspace |
| 467 |
\begin{tangles}{lcr} |
| 468 |
\HH \cd && \cd \\ |
| 469 |
\HH \id & \x & \id \\ |
| 470 |
\HH \cu && \cu |
| 471 |
\end{tangles} |
| 472 |
\] |
| 473 |
\begin{equation*} |
| 474 |
\hstretch 90 \vstretch 60 |
| 475 |
\begin{tangle} |
| 476 |
\step\hcoev\step\coev\\ |
| 477 |
\dd\step\hxx\step\dd\\ |
| 478 |
\id\Step\id\step\hx\\ |
| 479 |
\d\step\hxx\step\d\\ |
| 480 |
\step\hev\step\ev |
| 481 |
\end{tangle} |
| 482 |
\end{equation*} |
| 483 |
\end{minipage} |
| 484 |
\begin{minipage}{.2\textwidth} |
| 485 |
The first picture is produced by: |
| 486 |
\end{minipage} |
| 487 |
\quad |
| 488 |
\begin{minipage}{.4\textwidth} |
| 489 |
\begin{verbatim} |
| 490 |
\[ |
| 491 |
\begin{tangle} |
| 492 |
\object{B}\step\object{B}\\ |
| 493 |
\cucd\\ |
| 494 |
\object{B}\step\object{B} |
| 495 |
\end{tangle} |
| 496 |
\;=\enspace |
| 497 |
\begin{tangles}{lcr} |
| 498 |
\HH \cd && \cd \\ |
| 499 |
\HH \id & \x & \id \\ |
| 500 |
\HH \cu && \cu |
| 501 |
\end{tangles} |
| 502 |
\] |
| 503 |
\end{verbatim} |
| 504 |
\end{minipage} |
| 505 |
|
| 506 |
\begin{minipage}{0.23\textwidth} |
| 507 |
Nested environments: |
| 508 |
\[ |
| 509 |
\begin{tanglec} |
| 510 |
\begin{tangles}[b]{c} |
| 511 |
\vstr{200} \xx \\ \vstr{200} \xx |
| 512 |
\end{tangles} |
| 513 |
\step[4] |
| 514 |
\begin{tangles}[b]{*3c} |
| 515 |
& \object{F} & \\ & \xx & \\ \id && \O{u_1^2} \\ |
| 516 |
& \xx & \\ \id && \O{u_1^2} |
| 517 |
\end{tangles} |
| 518 |
\\ |
| 519 |
\id \Step \coRo\omega \Step \id \\ |
| 520 |
\hstr{200} \coRo\omega |
| 521 |
\end{tanglec} |
| 522 |
\] |
| 523 |
The level of nesting depends on the save size of your \TeX. |
| 524 |
\end{minipage} |
| 525 |
\ \ |
| 526 |
\begin{minipage}{0.7\textwidth} |
| 527 |
\begin{verbatim} |
| 528 |
\[ |
| 529 |
\begin{tanglec} |
| 530 |
\begin{tangles}[b]{c} |
| 531 |
\vstr{200} \xx \\ \vstr{200} \xx |
| 532 |
\end{tangles} |
| 533 |
\step[4] |
| 534 |
\begin{tangles}[b]{*3c} |
| 535 |
& \object{F} & \\ & \xx & \\ \id && \O{u_1^2} \\ |
| 536 |
& \xx & \\ \id && \O{u_1^2} |
| 537 |
\end{tangles} |
| 538 |
\\ |
| 539 |
\id \Step \coRo\omega \Step \id \\ |
| 540 |
\hstr{200} \coRo\omega |
| 541 |
\end{tanglec} |
| 542 |
\] |
| 543 |
\end{verbatim} |
| 544 |
\end{minipage} |
| 545 |
\smallskip |
| 546 |
|
| 547 |
Note the use of optional argument \verb+[b]+ to align the subtangles |
| 548 |
at the bottom. |
| 549 |
|
| 550 |
\section{Development} |
| 551 |
|
| 552 |
\subsec{History and versions} |
| 553 |
|
| 554 |
The style was produced by the first author in 1994. It was completely |
| 555 |
modified and essentially improved by the second author in 1997 for |
| 556 |
real--life applications in \cite{BKLT:int}. |
| 557 |
|
| 558 |
{%beginenumerate |
| 559 |
\setlength{\leftmargini}{34mm} |
| 560 |
\begin{enumerate} |
| 561 |
\item[04.04.99$\to$20.04.00] |
| 562 |
The output of commands \command{\tu\#1,}\command{\td\#1,} |
| 563 |
\command{\ro\#1,}\command{\coro\#1,}\command{\Ro\#1,}\command{\coRo\#1} |
| 564 |
slightly differs. Now they fit their boxes. |
| 565 |
|
| 566 |
\item[20.04.00$\to$10.09.00] |
| 567 |
Dashed crossings are represented by the commands |
| 568 |
\command{\xd,}\command{\xxd,}\command{\hxd,}\command{\hxxd.} |
| 569 |
|
| 570 |
\item[10.09.00$\to$22.04.06] |
| 571 |
It is possible to use the package with pdf\LaTeX. |
| 572 |
|
| 573 |
\item[22.04.06$\to$14.08.06] |
| 574 |
Behaviour of the package with pdfe\LaTeX{} of MiK\TeX{} 2.5 is |
| 575 |
corrected. |
| 576 |
|
| 577 |
\end{enumerate} |
| 578 |
}%endenumerate |
| 579 |
|
| 580 |
\begin{thebibliography}{1} |
| 581 |
|
| 582 |
\bibitem{BKLT:int} |
| 583 |
Yu.~N. Bespalov, T.~Kerler, V.~V. Lyubashenko, and V.~G. Turaev, |
| 584 |
\emph{Integrals for braided {H}opf algebras}, J. Pure and Appl. Algebra |
| 585 |
\textbf{148} (2000), no.~2, 113--164, Available as |
| 586 |
http://arXiv.org/abs/q-alg/9709020. |
| 587 |
|
| 588 |
\end{thebibliography} |
| 589 |
|
| 590 |
%\bibliography{yuri} |
| 591 |
|
| 592 |
%\subsec{Bugs} |
| 593 |
%\begin{itemize} |
| 594 |
%\item |
| 595 |
%\end{itemize} |
| 596 |
|
| 597 |
\subsec{Directions for modification |
| 598 |
%\protect\footnote{What can you suggest?} |
| 599 |
} |
| 600 |
|
| 601 |
\begin{itemize} |
| 602 |
\item |
| 603 |
In the future some problems can be solved by introducing global |
| 604 |
(logical) parameters that switch configuration and behavior of certain |
| 605 |
families of commands in questionable situations. |
| 606 |
\item |
| 607 |
To adopt commands like in {\tt \{picture\}} environment to |
| 608 |
produce special fragments of one time use. |
| 609 |
\item |
| 610 |
To make the second argument of the command \command{\Put(\#1)[\#2]\#3} |
| 611 |
optional. |
| 612 |
\item |
| 613 |
To produce command index for this manual. |
| 614 |
\item |
| 615 |
To add possibility to change size of circle in circled morphisms |
| 616 |
(in particular, to turn \command\morph into a special case of \command\O). |
| 617 |
\end{itemize} |
| 618 |
|
| 619 |
|
| 620 |
\medskip |
| 621 |
\begin{center} |
| 622 |
\fbox{Suggestions are welcome.} |
| 623 |
\end{center} |
| 624 |
|
| 625 |
|
| 626 |
\appendix |
| 627 |
\section{Exercises} |
| 628 |
How to produce the following ? |
| 629 |
\begin{equation*} |
| 630 |
\vstretch 300 |
| 631 |
\begin{tanglec} |
| 632 |
\hh\dd\d\step[1.5]\dd\d \\ |
| 633 |
\obox 6{\hstretch 85 \vstretch 80 |
| 634 |
\begin{tangles}{rcl} |
| 635 |
\HH\obox 10&&\obox 10\\ |
| 636 |
\HH\d&&\dd\\ |
| 637 |
&\hhstep\obox 3V\hhstep& |
| 638 |
\end{tangles} } |
| 639 |
\end{tanglec} |
| 640 |
\end{equation*} |
| 641 |
|
| 642 |
\end{document} |
| 643 |
|
| 644 |
|
| 645 |
\section{\tt t-erratr.sty} |
| 646 |
|
| 647 |
Macros from the old versions of \ {\tt tangles.sty} \ are stored in |
| 648 |
this file for compatibility. |
| 649 |
\begin{itemize} |
| 650 |
\item |
| 651 |
The following commands are special cases of |
| 652 |
\command{\ffbox\#1\#2,}\command{\dbox\#1\#2}: |
| 653 |
\begin{align*} |
| 654 |
&\SHOW{\dash f}{\dash \ f} \enspace |
| 655 |
&\SHOW{\Dash f}{\Dash \ f} \enspace |
| 656 |
&\SHOW{\DDash f}{\DDash \ f} \quad |
| 657 |
&\SHOW{\Frabox f}{\Frabox \ f} \enspace |
| 658 |
&\SHOW{\doubleFrabox f}{\doubleFrabox \ f} |
| 659 |
\\ |
| 660 |
\command\hh |
| 661 |
&\SHOW{\hh\dash f}{\dash \ f} \enspace |
| 662 |
&\SHOW{\hh\Dash f}{\Dash \ f} \enspace |
| 663 |
&\SHOW{\hh\DDash f}{\DDash \ f} \quad |
| 664 |
&\SHOW{\hh\Frabox f}{\Frabox \ f} \enspace |
| 665 |
&\SHOW{\hh\doubleFrabox f}{\doubleFrabox \ f} |
| 666 |
\end{align*} |
| 667 |
and \command{\frabox} is equivalent to \command{\Frabox}. |
| 668 |
\item |
| 669 |
The following morphisms are special cases of |
| 670 |
\command{\ro\#1,} \command{\coro\#1,} \command{\Ro\#1,} \command{\coro\#1}: |
| 671 |
\vstretch 150 \hstretch 150 |
| 672 |
\begin{align*} |
| 673 |
&\hstep\Show\r |
| 674 |
&\hstep\Show\rh |
| 675 |
&\hstep\Show\ra |
| 676 |
&\hstep\Show\rb |
| 677 |
\\ |
| 678 |
&\hstep\Show\rr |
| 679 |
&\hstep\Show\rrr |
| 680 |
&\hstep\Show\rra |
| 681 |
&\hstep\Show\rrb |
| 682 |
\\ |
| 683 |
&\Show\R |
| 684 |
&\Show\Rh |
| 685 |
&\Show\Ra |
| 686 |
&\Show\Rb |
| 687 |
\\ |
| 688 |
&\Show\RR |
| 689 |
&&\Show\RRa |
| 690 |
&\Show\RRb |
| 691 |
\end{align*} |
| 692 |
\item |
| 693 |
The following commands are special cases of \command{\O\#1}: |
| 694 |
$$ |
| 695 |
\vstretch 150 \hstretch 150 |
| 696 |
\Show\tS \quad |
| 697 |
\Show\tSS \quad |
| 698 |
\SHOW{\Ointl H}{\Ointl \ H} \; |
| 699 |
\SHOW{\Ointr H}{\Ointr \ H} \; |
| 700 |
\SHOW{\Ocointl H}{\Ocointl \ H} \; |
| 701 |
\SHOW{\Ocointr H}{\Ocointr \ H} |
| 702 |
$$ |
| 703 |
\item |
| 704 |
$$ |
| 705 |
\SHOW{\pairing p}{\pairing \ p} \quad |
| 706 |
\SHOW{\Pairing P}{\Pairing \ P} \quad |
| 707 |
$$ |
| 708 |
\item |
| 709 |
Functions of the old unsightly commands |
| 710 |
\command{\obj\#1,} \command{\Obj\#1,} \command{\negobj\#1} |
| 711 |
are shouldered by the command \command{\Put(\#1)[\#2]\#3}. |
| 712 |
\end{itemize} |
| 713 |
|
| 714 |
Commands \command{\harc}, \command{\inarc}, \command{\outarc} have two |
| 715 |
arguments -- horizontal and vertical diameters of an ellipse |
| 716 |
\vspace*{5mm} |
| 717 |
\[ |
| 718 |
\SHOW{\inarc{15}{20}}{\inarc \{15\}\{20\}} \qquad |
| 719 |
\SHOW{\harc{20}{15}}{\harc \{20\}\{15\}} \qquad |
| 720 |
\SHOW{\outarc{30}{25}}{\outarc \{30\}\{25\}} |
| 721 |
\] |
| 722 |
|
| 723 |
\end{document} |