Debian Codegraph @

texmf-dist/doc/latex/ucs/config/boxdraw.ucf

raw
1 # -*-coding: utf-8;-*-
2 # Box drawing (U+2500..U+257F)
3
4 PACKAGE pstricks
5 OPTION postscript
6
7 PROVIDE MULTILINE
8 \gdef\uc@bd@bx#1{%
9 \leavevmode
10 \begingroup
11 \ifx\uc@box@width\undefined\setbox0\hbox{0}\def\uc@box@width{\wd0}\fi
12 \ifx\uc@box@height\undefined\let\uc@box@height\baselineskip\fi
13 \ifx\uc@box@lower\undefined\def\uc@box@lower{.3\uc@box@height}\fi
14 \def\l{\psline}%
15 \def\t{\psset{linewidth=.2}}%
16 \def\b{\psset{linewidth=.4}}%
17 \def\q{\psframe*}%
18 \def\d##1{{\psset{linewidth=.6}##1}%
19 {\psset{linewidth=.2,linecolor=white}##1}}%
20 \def\r{\psset{linearc=.8}}%
21 \psset{unit=.5\uc@box@width,yunit=-.5\uc@box@height}%
22 \t
23 \lower\uc@box@lower\hbox{%
24 \begin{pspicture}(-1,-1)(1,1)%
25 #1%
26 \end{pspicture}}%
27 \endgroup}%
28 END
29
30 ENVELOPE \uc@bd@bx{@@@}
31
32 U+2500 \l(-1,0)(1,0) # [─]
33 U+2501 \b\l(-1,0)(1,0) # [━]
34 U+2502 \l(0,-1)(0,1) # [│]
35 U+2503 \b\l(0,-1)(0,1) # [┃]
36 U+2504 \l(-1,0)(-.55,0)\l(-.33,0)(.11,0)\l(.33,0)(.77,0) # [┄]
37 U+2505 \b\l(-1,0)(-.55,0)\l(-.33,0)(.11,0)\l(.33,0)(.77,0) # [┅]
38 U+2506 \l(0,-1)(0,-.55)\l(0,-.33)(0,.11)\l(0,.33)(0,.77) # [┆]
39 U+2507 \b\l(0,-1)(0,-.55)\l(0,-.33)(0,.11)\l(0,.33)(0,.77) # [┇]
40 U+250A \l(0,-1)(0,-.66)\l(0,-.5)(0,-.16)\l(0,0)(0,.33)\l(0,.5)(0,.83) # [┊]
41 U+250B \b\l(0,-1)(0,-.66)\l(0,-.5)(0,-.16)\l(0,0)(0,.33)\l(0,.5)(0,.83) # [┋]
42 U+250C \l(0,1)(0,0)(1,0) # [┌]
43 U+250D \l(0,0)(0,1)\b\l(0,0)(1,0) # [┍]
44 U+250E \l(0,0)(1,0)\b\l(0,0)(0,1) # [┎]
45 U+250F \b\l(0,1)(0,0)(1,0) # [┏]
46 U+2510 \l(-1,0)(0,0)(0,1) # [┐]
47 U+2511 \l(0,0)(0,1)\b\l(-1,0)(0,0) # [┑]
48 U+2512 \l(0,0)(-1,0)\b\l(0,0)(0,1) # [┒]
49 U+2513 \b\l(-1,0)(0,0)(0,1) # [┓]
50 U+2514 \l(1,0)(0,0)(0,-1) # [└]
51 U+2515 \l(0,0)(0,-1)\b\l(0,0)(1,0) # [┕]
52 U+2516 \l(0,0)(1,0)\b\l(0,-1)(0,0) # [┖]
53 U+2517 \b\l(1,0)(0,0)(0,-1) # [┗]
54 U+2518 \l(0,-1)(0,0)(-1,0) # [┘]
55 U+2519 \l(0,0)(0,-1)\b\l(-1,0)(0,0) # [┙]
56 U+251A \l(0,0)(-1,0)\b\l(0,-1)(0,0) # [┚]
57 U+251B \b\l(0,-1)(0,0)(-1,0) # [┛]
58 U+251C \l(0,-1)(0,1)\l(0,0)(1,0) # [├]
59 U+251D \l(0,-1)(0,1)\b\l(0,0)(1,0) # [┝]
60 U+2520 \l(0,0)(1,0)\b\l(0,-1)(0,1) # [┠]
61 U+2523 \b\l(0,-1)(0,1)\l(0,0)(1,0) # [┣]
62 U+2524 \l(0,-1)(0,1)\l(0,0)(-1,0) # [┤]
63 U+2525 \l(0,-1)(0,1)\b\l(0,0)(-1,0) # [┥]
64 U+2528 \l(0,0)(-1,0)\b\l(0,-1)(0,1) # [┨]
65 U+252B \b\l(0,-1)(0,1)\l(0,0)(-1,0) # [┫]
66 U+252C \l(-1,0)(1,0)\l(0,0)(0,1) # [┬]
67 U+252F \l(0,0)(0,1)\b\l(-1,0)(1,0) # [┯]
68 U+2530 \l(-1,0)(1,0)\b\l(0,0)(0,1) # [┰]
69 U+2533 \b\l(-1,0)(1,0)\l(0,0)(0,1) # [┳]
70 U+2534 \l(-1,0)(1,0)\l(0,0)(0,-1) # [┴]
71 U+2537 \l(0,0)(0,-1)\b\l(-1,0)(1,0) # [┷]
72 U+2538 \l(-1,0)(1,0)\b\l(0,0)(0,-1) # [┸]
73 U+253B \b\l(-1,0)(1,0)\l(0,0)(0,-1) # [┻]
74 U+253C \l(-1,0)(1,0)\l(0,-1)(0,1) # [┼]
75 U+253F \l(0,-1)(0,1)\b\l(-1,0)(1,0) # [┿]
76 U+2540 \l(-1,0)(1,0)\l(0,0)(0,1)\b\l(0,-1)(0,0) # [╀]
77 U+2541 \l(-1,0)(1,0)\l(0,0)(0,-1)\b\l(0,1)(0,0) # [╁]
78 U+2542 \l(-1,0)(1,0)\b\l(0,-1)(0,1) # [╂]
79 U+2543 \l(0,1)(0,0)(1,0)\b\l(-1,0)(0,0)(0,-1) # [╃]
80 U+2544 \l(-1,0)(0,0)(0,1)\b\l(0,-1)(0,0)(1,0) # [╄]
81 U+2545 \l(0,-1)(0,0)(1,0)\b\l(-1,0)(0,0)(0,1) # [╅]
82 U+2546 \l(-1,0)(0,0)(0,-1)\b\l(1,0)(0,0)(0,1) # [╆]
83 U+254B \b\l(-1,0)(1,0)\l(0,-1)(0,1) # [╋]
84 U+254C \l(-1,0)(-.33,0)\l(0,0)(.66,0) # [╌]
85 U+254D \b\l(-1,0)(-.33,0)\l(0,0)(.66,0) # [╍]
86 U+254E \l(0,-1)(0,-.33)\l(0,0)(0,.66) # [╎]
87 U+254F \b\l(0,-1)(0,-.33)\l(0,0)(0,.66) # [╏]
88 U+2550 \d{\l(-1,0)(1,0)} # [═]
89 U+2551 \d{\l(0,-1)(0,1)} # [║]
90 U+2552 \d{\l(0,0)(1,0)}\l(0,0)(0,1) # [╒]
91 U+2553 \d{\l(0,0)(0,1)}\l(0,0)(1,0) # [╓]
92 U+2554 \d{\l(0,1)(0,0)(1,0)} # [╔]
93 U+2555 \d{\l(0,0)(-1,0)}\l(0,0)(0,1) # [╕]
94 U+2556 \d{\l(0,0)(0,1)}\l(0,0)(-1,0) # [╖]
95 U+2557 \d{\l(0,1)(0,0)(-1,0)} # [╗]
96 U+2558 \d{\l(0,0)(1,0)}\l(0,0)(0,-1) # [╘]
97 U+2559 \d{\l(0,0)(0,-1)}\l(0,0)(1,0) # [╙]
98 U+255A \d{\l(0,-1)(0,0)(1,0)} # [╚]
99 U+255B \d{\l(0,0)(-1,0)}\l(0,0)(0,-1) # [╛]
100 U+255C \d{\l(0,0)(0,-1)}\l(0,0)(-1,0) # [╜]
101 U+255D \d{\l(-1,0)(0,0)(0,-1)} # [╝]
102 U+255E \d{\l(1,0)(0,0)}\l(0,-1)(0,1) # [╞]
103 U+255F \l(0,0)(1,0)\d{\l(0,-1)(0,1)} # [╟]
104 U+2560 \d{\l(0,-1)(0,1)\l(0,0)(1,0)} # [╠]
105 U+2561 \d{\l(-1,0)(0,0)}\l(0,-1)(0,1) # [╡]
106 U+2562 \l(0,0)(-1,0)\d{\l(0,-1)(0,1)} # [╢]
107 U+2563 \d{\l(0,-1)(0,1)\l(0,0)(-1,0)} # [╣]
108 U+2564 \l(0,0)(0,1)\d{\l(-1,0)(1,0)} # [╤]
109 U+2565 \d{\l(0,0)(0,1)}\l(-1,0)(1,0) # [╥]
110 U+2566 \d{\l(-1,0)(1,0)\l(0,1)(0,0)} # [╦]
111 U+2567 \l(0,0)(0,-1)\d{\l(-1,0)(1,0)} # [╧]
112 U+2568 \d{\l(0,0)(0,-1)}\l(-1,0)(1,0) # [╨]
113 U+2569 \d{\l(-1,0)(1,0)\l(0,-1)(0,0)} # [╩]
114 U+256A \d{\l(-1,0)(1,0)}\l(0,-1)(0,1) # [╪]
115 U+256B \d{\l(0,-1)(0,1)}\l(-1,0)(1,0) # [╫]
116 U+256D \r\l(0,1)(0,0)(1,0) # [╭]
117 U+256E \r\l(0,1)(0,0)(-1,0) # [╮]
118 U+256F \r\l(-1,0)(0,0)(0,-1) # [╯]
119 U+2570 \r\l(0,-1)(0,0)(1,0) # [╰]
120 U+2571 \l(1,-1)(-1,1) # [╱]
121 U+2572 \l(-1,-1)(1,1) # [╲]
122 U+2573 \l(-1,-1)(1,1)\l(1,-1)(-1,1) # [╳]
123 U+2574 \l(-1,0)(0,0) # [╴]
124 U+2575 \l(0,0)(0,-1) # [╵]
125 U+2576 \l(0,0)(1,0) # [╶]
126 U+2577 \l(0,0)(0,1) # [╷]
127 U+2578 \b\l(-1,0)(0,0) # [╸]
128 U+2579 \b\l(0,0)(0,-1) # [╹]
129 U+257A \b\l(0,0)(1,0) # [╺]
130 U+257B \b\l(0,0)(0,1) # [╻]
131 U+257C \l(-1,0)(0,0)\b\l(0,0)(1,0) # [╼]
132 U+257D \l(0,0)(0,-1)\b\l(0,1)(0,0) # [╽]
133 U+257E \l(0,0)(1,0)\b\l(-1,0)(0,0) # [╾]
134 U+257F \l(0,0)(0,1)\b\l(0,-1)(0,0) # [╿]
135 U+2581 \q(-1,1)(1,.75) # [▁]
136 U+2582 \q(-1,1)(1,.5) # [▂]
137 U+2583 \q(-1,1)(1,.25) # [▃]
138 U+2584 \q(-1,1)(1,0) # [▄]
139 U+2585 \q(-1,1)(1,-.25) # [▅]
140 U+2586 \q(-1,1)(1,-.5) # [▆]
141 U+2587 \q(-1,1)(1,-.75) # [▇]
142 U+2588 \q(-1,-1)(1,1) # [█]
143 U+2589 \q(-1,-1)(.75,1) # [▉]
144 U+258A \q(-1,-1)(.5,1) # [▊]
145 U+258B \q(-1,-1)(.25,1) # [▋]
146 U+258C \q(-1,-1)(0,1) # [▌]
147 U+258D \q(-1,-1)(-.25,1) # [▍]
148 U+258E \q(-1,-1)(-.5,1) # [▎]
149 U+258F \q(-1,-1)(-.75,1) # [▏]
150 U+2591 \q[linecolor=lightgray](-1,-1)(1,1) # [░]
151 U+2592 \q[linecolor=gray](-1,-1)(1,1) # [▒]
152 U+2593 \q[linecolor=darkgray](-1,-1)(1,1) # [▓]