% \iffalse meta-comment % % Copyright (C) 2006 by Heiko Oberdiek % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either % version 1.3 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.3 or later is part of all distributions of % LaTeX version 2005/12/01 or later. % % This work has the LPPL maintenance status "maintained". % % This Current Maintainer of this work is Heiko Oberdiek. % % This work consists of the main source file pmboxdraw.dtx % and the derived files % pmboxdraw.sty, pmboxdraw.pdf, pmboxdraw.ins, pmboxdraw.drv, % pmboxdrawenc.dfu. % % Distribution: % CTAN:macros/latex/contrib/oberdiek/pmboxdraw.dtx % CTAN:macros/latex/contrib/oberdiek/pmboxdraw.pdf % % Unpacking: % (a) If pmboxdraw.ins is present: % tex pmboxdraw.ins % (b) Without pmboxdraw.ins: % tex pmboxdraw.dtx % (c) If you insist on using LaTeX % latex \let\install=y\input{pmboxdraw.dtx} % (quote the arguments according to the demands of your shell) % % Documentation: % (a) If pmboxdraw.drv is present: % latex pmboxdraw.drv % (b) Without pmboxdraw.drv: % latex pmboxdraw.dtx; ... % The class ltxdoc loads the configuration file ltxdoc.cfg % if available. Here you can specify further options, e.g. % use A4 as paper format: % \PassOptionsToClass{a4paper}{article} % % Programm calls to get the documentation (example): % pdflatex pmboxdraw.dtx % makeindex -s gind.ist pmboxdraw.idx % pdflatex pmboxdraw.dtx % makeindex -s gind.ist pmboxdraw.idx % pdflatex pmboxdraw.dtx % % Installation: % TDS:tex/latex/oberdiek/pmboxdraw.sty % TDS:tex/latex/oberdiek/pmboxdrawenc.dfu % TDS:doc/latex/oberdiek/pmboxdraw.pdf % TDS:source/latex/oberdiek/pmboxdraw.dtx % %<*ignore> \begingroup \def\x{LaTeX2e}% \expandafter\endgroup \ifcase 0\ifx\install y1\fi\expandafter \ifx\csname processbatchFile\endcsname\relax\else1\fi \ifx\fmtname\x\else 1\fi\relax \else\csname fi\endcsname % %<*install> \input docstrip.tex \Msg{************************************************************************} \Msg{* Installation} \Msg{* Package: pmboxdraw 2006/05/03 v1.0 Poor man's box drawing characters (HO)} \Msg{************************************************************************} \keepsilent \askforoverwritefalse \let\MetaPrefix\relax \preamble This is a generated file. Copyright (C) 2006 by Heiko Oberdiek This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 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.3 or later is part of all distributions of LaTeX version 2005/12/01 or later. This work has the LPPL maintenance status "maintained". This Current Maintainer of this work is Heiko Oberdiek. This work consists of the main source file pmboxdraw.dtx and the derived files pmboxdraw.sty, pmboxdraw.pdf, pmboxdraw.ins, pmboxdraw.drv, pmboxdrawenc.dfu. \endpreamble \let\MetaPrefix\DoubleperCent \generate{% \file{pmboxdraw.ins}{\from{pmboxdraw.dtx}{install}}% \file{pmboxdraw.drv}{\from{pmboxdraw.dtx}{driver}}% \usedir{tex/latex/oberdiek}% \file{pmboxdraw.sty}{\from{pmboxdraw.dtx}{package}}% \file{pmboxdrawenc.dfu}{\from{pmboxdraw.dtx}{utf8}}% } \obeyspaces \Msg{************************************************************************} \Msg{*} \Msg{* To finish the installation you have to move the following} \Msg{* files into a directory searched by TeX:} \Msg{*} \Msg{* pmboxdraw.sty, pmboxdrawenc.dfu} \Msg{*} \Msg{* And install the following script file:} \Msg{*} \Msg{* } \Msg{*} \Msg{* To produce the documentation run the file `pmboxdraw.drv'} \Msg{* through LaTeX.} \Msg{*} \Msg{* Happy TeXing!} \Msg{*} \Msg{************************************************************************} \endbatchfile % %<*ignore> \fi % %<*driver> \NeedsTeXFormat{LaTeX2e} \ProvidesFile{pmboxdraw.drv}% [2006/05/03 v1.0 Poor man's box drawing characters (HO)]% \documentclass{ltxdoc} \usepackage{holtxdoc}[2008/08/11] \usepackage{color} \usepackage{pmboxdraw} \usepackage{longtable} \setcounter{tocdepth}{2} \hypersetup{bookmarksdepth=3} \begin{document} \DocInput{pmboxdraw.dtx}% \end{document} % % \fi % % \CheckSum{2712} % % \CharacterTable % {Upper-case \A\B\C\D\E\F\G\H\I\J\K\L\M\N\O\P\Q\R\S\T\U\V\W\X\Y\Z % Lower-case \a\b\c\d\e\f\g\h\i\j\k\l\m\n\o\p\q\r\s\t\u\v\w\x\y\z % Digits \0\1\2\3\4\5\6\7\8\9 % Exclamation \! Double quote \" Hash (number) \# % Dollar \$ Percent \% Ampersand \& % Acute accent \' Left paren \( Right paren \) % Asterisk \* Plus \+ Comma \, % Minus \- Point \. Solidus \/ % Colon \: Semicolon \; Less than \< % Equals \= Greater than \> Question mark \? % Commercial at \@ Left bracket \[ Backslash \\ % Right bracket \] Circumflex \^ Underscore \_ % Grave accent \` Left brace \{ Vertical bar \| % Right brace \} Tilde \~} % % \GetFileInfo{pmboxdraw.drv} % % \title{The \xpackage{pmboxdraw} package} % \date{2006/05/03 v1.0} % \author{Heiko Oberdiek\\\xemail{oberdiek@uni-freiburg.de}} % % \maketitle % % \begin{abstract} % Package \xpackage{pmboxdraw} declares box drawings characters of % old code pages, e.g. cp437. It uses rules instead of using a font. % \end{abstract} % % \tableofcontents % % \DoNotIndex{\dimen,\dimen@,\z@,\tw@,\wd,\ht,\dp} % \DoNotIndex{\@width,\@height,\@depth} % \DoNotIndex{\advance,\hss,\kern,\rlap,\vrule} % % \section{User interface} % % \begin{quote} % \ttfamily % \catcode`=\active % \catcode`|\active % \catcode`-\active % \def={\textSFxliii} % \def|{\textSFxxiv} % \def-{\textSFx} % \def~{\mbox{ }} % \textSFxxxix===================\textSFxxv\\ % | P M B O X D R A W |\\ % \textSFxxxviii ==\textSFxlvii============\textSFxlvii===\textSFxxvi\\ % ~~~\textSFxi~2006/05/03 \textSFxi\\ % ~~~\textSFii------------\textSFiv % \end{quote} % % \subsection{Introduction} % % In old code pages (CP 437, \dots) many slots are occupied % by graphical characters. The definition files for the input % encodings that come with \LaTeX's package \xpackage{inputenc} % ignore these characters. This packages tries to close this gap. % Package \xpackage{inputenx} provides more complete definitions % files of input encodings (\cite{inputenx}). % % The graphical characters are available in some fonts, mostly % some derivates of Courier. However, the symbols are usually % used to gegnerate some kind of ASCII art. Thus it should fit % with the current typewriter font in use. That means: % \begin{itemize} % \item Same and constant symbol width. % \item Use of the full line height. Vertical lines should not be % interrupted if the symbols that contribute to that lines % are in adjacent text lines. % \end{itemize} % Therefore I decided to generate the symbols by rules. % Parameters such as rule width and box dimensions are accessible % at macro level. This avoids to generate many fonts for the used % typewriter fonts (Courier, LuxiMono, Computer/Latin Modern, \dots). % % The disadvantage is that there are no characters in the output % file, just rules. Thus operations such as cut and paste or text % search will not detect these graphical characters. % % \subsection{Setup} % % Usually the box drawings symbols of this package derive its parameters % from the current font. But they can be set explicitly. % % \begin{declcs}{pmboxdrawbox} \M{template} % \end{declcs} % The \meta{template} is used as size template for the symbols. % It is initialized by |\strut0|. (Usually |\strut| carries the information % about the \cs{baselineskip} and |0| the symbol width.) % % \begin{declcs}{pmboxdrawrulewidth} \M{dimen} % \end{declcs} % This macro allows the setup of the rule width used in the symbols. % It is initialized with |0.1\width|, that means 10\,\% of the symbol % width. \cs{width}, \cs{height}, and \cs{depth} can be used here and % are set to the corresponding symbol box parameter. % % \begin{declcs}{pmboxdrawdoublerulesep} \M{dimen} % \end{declcs} % Some symbols have double lines. The distance between the lines is % configured by this macro. It is set to |0.25\width|, a quarter of % the symbol width. Also \cs{height} and \cs{depth} are available. % % \subsection{Symbol list} % % The macro names for the symbols in \LaTeX\ (LICR) are derived % from Adobe's glyph names for these characters (\cite{aglfn}). % Example: % \begin{quote} % U+2580 (\textupblock) with glyph name \textsf{upblock}: \cs{textupblock} % \end{quote} % Some glyph names start with |SF|, two individual digits follow and % the name is closed by four digits zero. For the LICR name the % two individual digits form a number that is converted to lowercase % roman number. The trailing zeros are dropped. Example: % \begin{quote} % U+2556 (\textSFxxi) with glyph name \textsf{SF210000}: \cs{textSFxxi} % \end{quote} % % The three gray symbols require package \xpackage{color}: % \begin{quote} % U+2591 (\textltshade) light shade: \cs{textltshade}\\ % U+2592 (\textshade) medium shade: \cs{textshade}\\ % U+2593 (\textdkshade) dark shade: \cs{textdkshade} % \end{quote} % % It follows a list with all graphical symbols provided by this % package: % % \begingroup % \def\entrygen#1#2#3#4{% % \fbox{\texttt{\csname text#3\endcsname}} % & \texttt{U+25#1} % & \texttt{#2} % & \texttt{\textbackslash text#3} % \\*[-\fboxsep] % & % \multicolumn{3}{l}{\lowercase{#4}}\\ % } % \def\entry#1#2{\entrygen{#1}{SF#20000}{SF\romannumeral#2}} % \def\entryB#1#2{\entrygen{#1}{#2}{#2}} % \begin{longtable}{clll} % Symbol & Unicode & Glyph name & LICR\\ % \hline % \endhead % \entry{00}{10}{BOX DRAWINGS LIGHT HORIZONTAL} % \entry{02}{11}{BOX DRAWINGS LIGHT VERTICAL} % \entry{0C}{01}{BOX DRAWINGS LIGHT DOWN AND RIGHT} % \entry{10}{03}{BOX DRAWINGS LIGHT DOWN AND LEFT} % \entry{14}{02}{BOX DRAWINGS LIGHT UP AND RIGHT} % \entry{18}{04}{BOX DRAWINGS LIGHT UP AND LEFT} % \entry{1C}{08}{BOX DRAWINGS LIGHT VERTICAL AND RIGHT} % \entry{24}{09}{BOX DRAWINGS LIGHT VERTICAL AND LEFT} % \entry{2C}{06}{BOX DRAWINGS LIGHT DOWN AND HORIZONTAL} % \entry{34}{07}{BOX DRAWINGS LIGHT UP AND HORIZONTAL} % \entry{3C}{05}{BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL} % \entry{50}{43}{BOX DRAWINGS DOUBLE HORIZONTAL} % \entry{51}{24}{BOX DRAWINGS DOUBLE VERTICAL} % \entry{52}{51}{BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE} % \entry{53}{52}{BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE} % \entry{54}{39}{BOX DRAWINGS DOUBLE DOWN AND RIGHT} % \entry{55}{22}{BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE} % \entry{56}{21}{BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE} % \entry{57}{25}{BOX DRAWINGS DOUBLE DOWN AND LEFT} % \entry{58}{50}{BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE} % \entry{59}{49}{BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE} % \entry{5A}{38}{BOX DRAWINGS DOUBLE UP AND RIGHT} % \entry{5B}{28}{BOX DRAWINGS UP SINGLE AND LEFT DOUBLE} % \entry{5C}{27}{BOX DRAWINGS UP DOUBLE AND LEFT SINGLE} % \entry{5D}{26}{BOX DRAWINGS DOUBLE UP AND LEFT} % \entry{5E}{36}{BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE} % \entry{5F}{37}{BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE} % \entry{60}{42}{BOX DRAWINGS DOUBLE VERTICAL AND RIGHT} % \entry{61}{19}{BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE} % \entry{62}{20}{BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE} % \entry{63}{23}{BOX DRAWINGS DOUBLE VERTICAL AND LEFT} % \entry{64}{47}{BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE} % \entry{65}{48}{BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE} % \entry{66}{41}{BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL} % \entry{67}{45}{BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE} % \entry{68}{46}{BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE} % \entry{69}{40}{BOX DRAWINGS DOUBLE UP AND HORIZONTAL} % \entry{6A}{54}{BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE} % \entry{6B}{53}{BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE} % \entry{6C}{44}{BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL} % \entryB{80}{upblock}{UPPER HALF BLOCK} % \entryB{84}{dnblock}{LOWER HALF BLOCK} % \entryB{88}{block}{FULL BLOCK} % \entryB{8C}{lfblock}{LEFT HALF BLOCK} % \entryB{90}{rtblock}{RIGHT HALF BLOCK} % \entryB{91}{ltshade}{LIGHT SHADE} % \entryB{92}{shade}{MEDIUM SHADE} % \entryB{93}{dkshade}{DARK SHADE} % \end{longtable} % \endgroup % % \StopEventually{ % } % % \section{Implementation} % % \subsection{Identification} % % \begin{macrocode} %<*package> \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{pmboxdraw}% [2006/05/03 v1.0 Poor man's box drawing characters (HO)]% % \end{macrocode} % % \subsection{Dummy font encoding} % % Using a dummy font encoding because of % \begin{quote} % |\usepackage[utf8]{inputenc}| % \end{quote} % \begin{macrocode} \DeclareFontEncoding{pmboxdraw}{}{} \DeclareFontFamily{pmboxdraw}{pmboxdraw}{} \DeclareFontShape{pmboxdraw}{pmboxdraw}{m}{n}{ <-> cmr10 }{} \DeclareFontSubstitution{pmboxdraw}{pmboxdraw}{m}{n} % \end{macrocode} % % \subsection{Setup} % % \begin{macro}{\pmboxdrawbox} % \begin{macrocode} \newcommand*{\pmboxdrawbox}[1]{% \def\pmbd@box{#1}% } \pmboxdrawbox{\strut0} % \end{macrocode} % \end{macro} % % \begin{macro}{\pmboxdrawrulewidth} % \begin{macrocode} \newcommand*{\pmboxdrawrulewidth}[1]{% \def\pmbd@rulewidth{#1}% } \pmboxdrawrulewidth{.1\width} % \end{macrocode} % \end{macro} % % \begin{macro}{\pmboxdrawdoublerulesep} % \begin{macrocode} \newcommand*{\pmboxdrawdoublerulesep}[1]{% \def\pmbd@doublerulesep{#1}% } \pmboxdrawdoublerulesep{.25\width} % \end{macrocode} % \end{macro} % % \subsection{Block elements} % % \begin{macrocode} \def\pmbd@begin{% \begingroup \setbox\z@\hbox{\pmbd@box}% \leavevmode \setbox\tw@\hb@xt@\wd\z@\bgroup } \def\pmbd@end{% \egroup \ht\tw@\ht\z@ \dp\tw@\dp\z@ \box\tw@ \endgroup } % \end{macrocode} % % \subsubsection{U+2580} UPPER HALF BLOCK % \begin{macrocode} \DeclareTextCommandDefault{\textupblock}{% \pmbd@begin \dimen@-\ht\z@ \advance\dimen@\dp\z@ \vrule\@width\wd\z@\@depth.5\dimen@ \pmbd@end } % \end{macrocode} % \subsubsection{U+2584} LOWER HALF BLOCK % \begin{macrocode} \DeclareTextCommandDefault{\textdnblock}{% \pmbd@begin \dimen@\ht\z@ \advance\dimen@-\dp\z@ \vrule\@width\wd\z@\@height.5\dimen@ \pmbd@end } % \end{macrocode} % \subsubsection{U+2588} FULL BLOCK % \begin{macrocode} \DeclareTextCommandDefault{\textblock}{% \pmbd@begin \vrule\@width\wd\z@ \pmbd@end } % \end{macrocode} % \subsubsection{U+258C} LEFT HALF BLOCK % \begin{macrocode} \DeclareTextCommandDefault{\textlfblock}{% \pmbd@begin \vrule\@width.5\wd\z@ \hfill \pmbd@end } % \end{macrocode} % \subsubsection{U+2590} RIGHT HALF BLOCK % \begin{macrocode} \DeclareTextCommandDefault{\textrtblock}{% \pmbd@begin \hfill \vrule\@width.5\wd\z@ \pmbd@end } % \end{macrocode} % \subsubsection{U+2591} LIGHT SHADE % \begin{macrocode} \DeclareTextCommandDefault{\textltshade}{% \pmbd@begin \@ifundefined{textcolor}{% \pmbd@colorwarning\textltshade }{% \textcolor[gray]{.75}% }{% \vrule\@width\wd\z@ }% \pmbd@end } % \end{macrocode} % \subsubsection{U+2592} MEDIUM SHADE % \begin{macrocode} \DeclareTextCommandDefault{\textshade}{% \pmbd@begin \@ifundefined{textcolor}{% \pmbd@colorwarning\textshade }{% \textcolor[gray]{.5}% }{% \vrule\@width\wd\z@ }% \pmbd@end } % \end{macrocode} % \subsubsection{U+2593} DARK SHADE % \begin{macrocode} \DeclareTextCommandDefault{\textdkshade}{% \pmbd@begin \@ifundefined{textcolor}{% \pmbd@colorwarning\textdkshade }{% \textcolor[gray]{.25}% }{% \vrule\@width\wd\z@ }% \pmbd@end } % \end{macrocode} % % \subsubsection{Color warning} % % \begin{macro}{\pmbd@colorwarning} % \begin{macrocode} \def\pmbd@colorwarning#1{% \PackageWarning{pmboxdraw}{% \string#1\space requires package \string`color\string'\MessageBreak }% % \PackageWarningNoLine{pmboxdraw}{% % Package \string`color\string' is required for\MessageBreak % \string\textltshade, \string\textshade, and \string\textdkshade % }% % \global\let\pmbd@colorwarning\@secondoftwo \@firstofone } % \end{macrocode} % \end{macro} % % \subsection{Box drawing, light single lines} % % \begin{macro}{\pmbd@beginA} % \begin{macrocode} \def\pmbd@beginA{% \pmbd@begin \def\width{\wd\z@}% \def\height{\ht\z@}% \def\depth{\dp\z@}% \setlength{\dimen@}{\pmbd@rulewidth}% \edef\pmbd@rulewidth{\number\dimen@ sp}% } % \end{macrocode} % \end{macro} % % \noindent % \subsubsection{U+2500} BOX DRAWINGS LIGHT HORIZONTAL % \begin{macrocode} \DeclareTextCommandDefault{\textSFx}{% \pmbd@beginA \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ \pmbd@end } % \end{macrocode} % \subsubsection{U+2502} BOX DRAWINGS LIGHT VERTICAL % \begin{macrocode} \DeclareTextCommandDefault{\textSFxi}{% \pmbd@beginA \hss \vrule\@width\pmbd@rulewidth \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+250C} BOX DRAWINGS LIGHT DOWN AND RIGHT % \begin{macrocode} \DeclareTextCommandDefault{\textSFi}{% \pmbd@beginA \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width\pmbd@rulewidth\@height.5\dimen@\@depth\dp\z@ \hss }% }% \hfill \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ \pmbd@end } % \end{macrocode} % \subsubsection{U+2510} BOX DRAWINGS LIGHT DOWN AND LEFT % \begin{macrocode} \DeclareTextCommandDefault{\textSFiii}{% \pmbd@beginA \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width\pmbd@rulewidth\@height.5\dimen@\@depth\dp\z@ \hss }% }% \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ \hfill \pmbd@end } % \end{macrocode} % \subsubsection{U+2514} BOX DRAWINGS LIGHT UP AND RIGHT % \begin{macrocode} \DeclareTextCommandDefault{\textSFii}{% \pmbd@beginA \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width\pmbd@rulewidth\@height\ht\z@\@depth-.5\dimen\tw@ \hss }% }% \hfill \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ \pmbd@end } % \end{macrocode} % \subsubsection{U+2518} BOX DRAWINGS LIGHT UP AND LEFT % \begin{macrocode} \DeclareTextCommandDefault{\textSFiv}{% \pmbd@beginA \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width\pmbd@rulewidth\@height\ht\z@\@depth-.5\dimen\tw@ \hss }% }% \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ \hfill \pmbd@end } % \end{macrocode} % \subsubsection{U+251C} BOX DRAWINGS LIGHT VERTICAL AND RIGHT % \begin{macrocode} \DeclareTextCommandDefault{\textSFviii}{% \pmbd@beginA \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width\pmbd@rulewidth\@height\ht\z@\@depth\dp\z@ \hss }% }% \hfill \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ \pmbd@end } % \end{macrocode} % \subsubsection{U+2524} BOX DRAWINGS LIGHT VERTICAL AND LEFT % \begin{macrocode} \DeclareTextCommandDefault{\textSFix}{% \pmbd@beginA \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width\pmbd@rulewidth\@height\ht\z@\@depth\dp\z@ \hss }% }% \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ \hfill \pmbd@end } % \end{macrocode} % \subsubsection{U+252C} BOX DRAWINGS LIGHT DOWN AND HORIZONTAL % \begin{macrocode} \DeclareTextCommandDefault{\textSFvi}{% \pmbd@beginA \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2534} BOX DRAWINGS LIGHT UP AND HORIZONTAL % \begin{macrocode} \DeclareTextCommandDefault{\textSFvii}{% \pmbd@beginA \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth\@depth-.5\dimen\tw@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+253C} BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL % \begin{macrocode} \DeclareTextCommandDefault{\textSFv}{% \pmbd@beginA \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth \hss \pmbd@end } % \end{macrocode} % % \subsection{Box drawing, double lines} % % \begin{macro}{\pmbd@beginB} % \begin{macrocode} \def\pmbd@beginB{% \pmbd@beginA \setlength{\dimen@}{\pmbd@doublerulesep}% \edef\pmbd@doublesepH{\number\dimen@ sp}% } % \end{macrocode} % \end{macro} % \begin{macro}{\pmbd@beginC} % \begin{macrocode} \def\pmbd@beginC{% \pmbd@beginB \advance\dimen@\pmbd@rulewidth \edef\pmbd@doublesepV{\number\dimen@ sp}% } % \end{macrocode} % \end{macro} % % \subsubsection{U+2550} BOX DRAWINGS DOUBLE HORIZONTAL % \begin{macrocode} \DeclareTextCommandDefault{\textSFxliii}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ \pmbd@end } % \end{macrocode} % \subsubsection{U+2551} BOX DRAWINGS DOUBLE VERTICAL % \begin{macrocode} \DeclareTextCommandDefault{\textSFxxiv}{% \pmbd@beginB \hss \vrule\@width\pmbd@rulewidth \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2552} BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFli}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \kern.5\wd\z@ \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \rlap{% \kern.5\wd\z@ \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2553} BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFlii}{% \pmbd@beginB \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \dimen4 \wd\z@ \advance\dimen4 \pmbd@doublesepH \hb@xt@\wd\z@{% \hfill \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% }% \hss \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2554} BOX DRAWINGS DOUBLE DOWN AND RIGHT % \begin{macrocode} \DeclareTextCommandDefault{\textSFxxxix}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \dimen4 \wd\z@ \begingroup \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \advance\dimen4 \pmbd@doublesepH \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% }% \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width\pmbd@rulewidth\@height.5\dimen@\@depth\dp\z@ \kern\pmbd@doublesepH \kern\pmbd@rulewidth \hss }% }% \endgroup \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \advance\dimen4 -\pmbd@doublesepH \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% }% \hss \kern\pmbd@rulewidth \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2555} BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFxxii}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \rlap{% \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2556} BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFxxi}{% \pmbd@beginB \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \dimen4 \wd\z@ \advance\dimen4 \pmbd@doublesepH \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2557} BOX DRAWINGS DOUBLE DOWN AND LEFT % \begin{macrocode} \DeclareTextCommandDefault{\textSFxxv}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \dimen4 \wd\z@ \begingroup \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \advance\dimen4 \pmbd@doublesepH \rlap{% \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% \rlap{% \hb@xt@\wd\z@{% \hss \kern\pmbd@rulewidth \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@height.5\dimen@\@depth\dp\z@ \hss }% }% \endgroup \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \advance\dimen4 -\pmbd@doublesepH \rlap{% \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \kern\pmbd@doublesepH \kern\pmbd@rulewidth \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2558} BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFl}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \kern.5\wd\z@ \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \rlap{% \kern.5\wd\z@ \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth\@depth-.5\dimen\tw@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2559} BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFxlix}{% \pmbd@beginB \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \dimen4 \wd\z@ \advance\dimen4 \pmbd@doublesepH \hb@xt@\wd\z@{% \hfill \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% }% \hss \vrule\@width\pmbd@rulewidth\@depth-.5\dimen\tw@ \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@depth-.5\dimen\tw@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+255A} BOX DRAWINGS DOUBLE UP AND RIGHT % \begin{macrocode} \DeclareTextCommandDefault{\textSFxxxviii}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \dimen4 \wd\z@ \begingroup \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \advance\dimen4 -\pmbd@doublesepH \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% }% \rlap{% \hb@xt@\wd\z@{% \hss \kern\pmbd@rulewidth \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@height\ht\z@\@depth-.5\dimen\tw@ \hss }% }% \endgroup \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \advance\dimen4 \pmbd@doublesepH \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% }% \hss \vrule\@width\pmbd@rulewidth\@depth-.5\dimen\tw@ \kern\pmbd@doublesepH \kern\pmbd@rulewidth \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+255B} BOX DRAWINGS UP SINGLE AND LEFT DOUBLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFxxviii}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \rlap{% \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth\@depth-.5\dimen\tw@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+255C} BOX DRAWINGS UP DOUBLE AND LEFT SINGLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFxxvii}{% \pmbd@beginB \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \dimen4 \wd\z@ \advance\dimen4 \pmbd@doublesepH \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth\@depth-.5\dimen\tw@ \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@depth-.5\dimen\tw@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+255D} BOX DRAWINGS DOUBLE UP AND LEFT % \begin{macrocode} \DeclareTextCommandDefault{\textSFxxvi}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \dimen4 \wd\z@ \begingroup \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \advance\dimen4 -\pmbd@doublesepH \rlap{% \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width\pmbd@rulewidth\@height\ht\z@\@depth-.5\dimen\tw@ \kern\pmbd@doublesepH \kern\pmbd@rulewidth \hss }% }% \endgroup \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \advance\dimen4 \pmbd@doublesepH \rlap{% \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \kern\pmbd@rulewidth \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@depth-.5\dimen\tw@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+255E} BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFxxxvi}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \kern.5\wd\z@ \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \rlap{% \kern.5\wd\z@ \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+255F} BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFxxxvii}{% \pmbd@beginB \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \dimen4 \wd\z@ \advance\dimen4 -\pmbd@doublesepH \hb@xt@\wd\z@{% \hfill \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% }% \hss \vrule\@width\pmbd@rulewidth \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2560} BOX DRAWINGS DOUBLE VERTICAL AND RIGHT % \begin{macrocode} \DeclareTextCommandDefault{\textSFxlii}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \dimen4 \wd\z@ \advance\dimen4 -\pmbd@doublesepH \begingroup \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% }% \rlap{% \hb@xt@\wd\z@{% \hss \kern\pmbd@rulewidth \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@height\ht\z@\@depth-.5\dimen\tw@ \hss }% }% \endgroup \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% }% \hss \vrule\@width\pmbd@rulewidth \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2561} BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFxix}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \rlap{% \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \vrule\@width.5\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2562} BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFxx}{% \pmbd@beginB \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \dimen4 \wd\z@ \advance\dimen4 -\pmbd@doublesepH \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2563} BOX DRAWINGS DOUBLE VERTICAL AND LEFT % \begin{macrocode} \DeclareTextCommandDefault{\textSFxxiii}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \dimen4 \wd\z@ \advance\dimen4 -\pmbd@doublesepH \begingroup \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \rlap{% \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width\pmbd@rulewidth\@height\ht\z@\@depth-.5\dimen\tw@ \kern\pmbd@doublesepH \kern\pmbd@rulewidth \hss }% }% \endgroup \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \rlap{% \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2564} BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFxlvii}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \rlap{% \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2565} BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFxlviii}{% \pmbd@beginB \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2566} BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL % \begin{macrocode} \DeclareTextCommandDefault{\textSFxli}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \dimen4 \wd\z@ \advance\dimen4 -\pmbd@doublesepH \rlap{% \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \rlap{% \hb@xt@\wd\z@{% \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ \hss \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% }% \hss \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2567} BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFxlv}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \rlap{% \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth\@depth-.5\dimen\tw@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2568} BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFxlvi}{% \pmbd@beginB \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth\@depth-.5\dimen\tw@ \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@depth-.5\dimen\tw@ \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+2569} BOX DRAWINGS DOUBLE UP AND HORIZONTAL % \begin{macrocode} \DeclareTextCommandDefault{\textSFxl}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \dimen4 \wd\z@ \advance\dimen4 -\pmbd@doublesepH \begingroup \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \rlap{% \hb@xt@\wd\z@{% \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ \hss \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% }% \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width\pmbd@rulewidth\@height\ht\z@\@depth-.5\dimen\tw@ \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@height\ht\z@\@depth-.5\dimen\tw@ \hss }% }% \endgroup \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ \pmbd@end } % \end{macrocode} % \subsubsection{U+256A} BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFliv}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \rlap{% \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+256B} BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE % \begin{macrocode} \DeclareTextCommandDefault{\textSFliii}{% \pmbd@beginB \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \rlap{% \vrule\@width\wd\z@\@height.5\dimen@\@depth-.5\dimen\tw@ }% \hss \vrule\@width\pmbd@rulewidth \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth \hss \pmbd@end } % \end{macrocode} % \subsubsection{U+256C} BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL % \begin{macrocode} \DeclareTextCommandDefault{\textSFxliv}{% \pmbd@beginC \dimen@\ht\z@ \advance\dimen@-\dp\z@ \dimen\tw@\dimen@ \advance\dimen@\pmbd@rulewidth \advance\dimen\tw@-\pmbd@rulewidth \dimen4 \wd\z@ \advance\dimen4 -\pmbd@doublesepH \begingroup \advance\dimen@\pmbd@doublesepV \advance\dimen\tw@\pmbd@doublesepV \rlap{% \hb@xt@\wd\z@{% \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ \hss \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% }% \rlap{% \hb@xt@\wd\z@{% \hss \vrule\@width\pmbd@rulewidth\@height\ht\z@\@depth-.5\dimen\tw@ \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@height\ht\z@\@depth-.5\dimen\tw@ \hss }% }% \endgroup \advance\dimen@-\pmbd@doublesepV \advance\dimen\tw@-\pmbd@doublesepV \rlap{% \hb@xt@\wd\z@{% \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ \hss \vrule\@width.5\dimen4 \@height.5\dimen@\@depth-.5\dimen\tw@ }% }% \hss \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \kern\pmbd@doublesepH \vrule\@width\pmbd@rulewidth\@height.5\dimen@ \hss \pmbd@end } % \end{macrocode} % % \begin{macrocode} % % \end{macrocode} % % \subsection{Unicode support file} % % \begin{macrocode} %<*utf8> \ProvidesFile{pmboxdrawenc.dfu}% [2006/05/03 v1.0 UTF-8 support for box drawing characters]% % \end{macrocode} % % \begin{macrocode} \DeclareUnicodeCharacter{2500}{\textSFx} \DeclareUnicodeCharacter{2502}{\textSFxi} \DeclareUnicodeCharacter{250C}{\textSFi} \DeclareUnicodeCharacter{2510}{\textSFiii} \DeclareUnicodeCharacter{2514}{\textSFii} \DeclareUnicodeCharacter{2518}{\textSFiv} \DeclareUnicodeCharacter{251C}{\textSFviii} \DeclareUnicodeCharacter{2524}{\textSFix} \DeclareUnicodeCharacter{252C}{\textSFvi} \DeclareUnicodeCharacter{2534}{\textSFvii} \DeclareUnicodeCharacter{253C}{\textSFv} \DeclareUnicodeCharacter{2550}{\textSFxliii} \DeclareUnicodeCharacter{2551}{\textSFxxiv} \DeclareUnicodeCharacter{2552}{\textSFli} \DeclareUnicodeCharacter{2553}{\textSFlii} \DeclareUnicodeCharacter{2554}{\textSFxxxix} \DeclareUnicodeCharacter{2555}{\textSFxxii} \DeclareUnicodeCharacter{2556}{\textSFxxi} \DeclareUnicodeCharacter{2557}{\textSFxxv} \DeclareUnicodeCharacter{2558}{\textSFl} \DeclareUnicodeCharacter{2559}{\textSFxlix} \DeclareUnicodeCharacter{255A}{\textSFxxxviii} \DeclareUnicodeCharacter{255B}{\textSFxxviii} \DeclareUnicodeCharacter{255C}{\textSFxxvii} \DeclareUnicodeCharacter{255D}{\textSFxxvi} \DeclareUnicodeCharacter{255E}{\textSFxxxvi} \DeclareUnicodeCharacter{255F}{\textSFxxxvii} \DeclareUnicodeCharacter{2560}{\textSFxlii} \DeclareUnicodeCharacter{2561}{\textSFxix} \DeclareUnicodeCharacter{2562}{\textSFxx} \DeclareUnicodeCharacter{2563}{\textSFxxiii} \DeclareUnicodeCharacter{2564}{\textSFxlvii} \DeclareUnicodeCharacter{2565}{\textSFxlviii} \DeclareUnicodeCharacter{2566}{\textSFxli} \DeclareUnicodeCharacter{2567}{\textSFxlv} \DeclareUnicodeCharacter{2568}{\textSFxlvi} \DeclareUnicodeCharacter{2569}{\textSFxl} \DeclareUnicodeCharacter{256A}{\textSFliv} \DeclareUnicodeCharacter{256B}{\textSFliii} \DeclareUnicodeCharacter{256C}{\textSFxliv} \DeclareUnicodeCharacter{2580}{\textupblock} \DeclareUnicodeCharacter{2584}{\textdnblock} \DeclareUnicodeCharacter{2588}{\textblock} \DeclareUnicodeCharacter{258C}{\textlfblock} \DeclareUnicodeCharacter{2590}{\textrtblock} \DeclareUnicodeCharacter{2591}{\textltshade} \DeclareUnicodeCharacter{2592}{\textshade} \DeclareUnicodeCharacter{2593}{\textdkshade} % \end{macrocode} % % \begin{macrocode} % % \end{macrocode} % % \section{Installation} % % \subsection{Download} % % \paragraph{Package.} This package is available on % CTAN\footnote{\url{ftp://ftp.ctan.org/tex-archive/}}: % \begin{description} % \item[\CTAN{macros/latex/contrib/oberdiek/pmboxdraw.dtx}] The source file. % \item[\CTAN{macros/latex/contrib/oberdiek/pmboxdraw.pdf}] Documentation. % \end{description} % % % \paragraph{Bundle.} All the packages of the bundle `oberdiek' % are also available in a TDS compliant ZIP archive. There % the packages are already unpacked and the documentation files % are generated. The files and directories obey the TDS standard. % \begin{description} % \item[\CTAN{install/macros/latex/contrib/oberdiek.tds.zip}] % \end{description} % \emph{TDS} refers to the standard ``A Directory Structure % for \TeX\ Files'' (\CTAN{tds/tds.pdf}). Directories % with \xfile{texmf} in their name are usually organized this way. % % \subsection{Bundle installation} % % \paragraph{Unpacking.} Unpack the \xfile{oberdiek.tds.zip} in the % TDS tree (also known as \xfile{texmf} tree) of your choice. % Example (linux): % \begin{quote} % |unzip oberdiek.tds.zip -d ~/texmf| % \end{quote} % % \paragraph{Script installation.} % Check the directory \xfile{TDS:scripts/oberdiek/} for % scripts that need further installation steps. % Package \xpackage{attachfile2} comes with the Perl script % \xfile{pdfatfi.pl} that should be installed in such a way % that it can be called as \texttt{pdfatfi}. % Example (linux): % \begin{quote} % |chmod +x scripts/oberdiek/pdfatfi.pl|\\ % |cp scripts/oberdiek/pdfatfi.pl /usr/local/bin/| % \end{quote} % % \subsection{Package installation} % % \paragraph{Unpacking.} The \xfile{.dtx} file is a self-extracting % \docstrip\ archive. The files are extracted by running the % \xfile{.dtx} through \plainTeX: % \begin{quote} % \verb|tex pmboxdraw.dtx| % \end{quote} % % \paragraph{TDS.} Now the different files must be moved into % the different directories in your installation TDS tree % (also known as \xfile{texmf} tree): % \begin{quote} % \def\t{^^A % \begin{tabular}{@{}>{\ttfamily}l@{ $\rightarrow$ }>{\ttfamily}l@{}} % pmboxdraw.sty & tex/latex/oberdiek/pmboxdraw.sty\\ % pmboxdrawenc.dfu & tex/latex/oberdiek/pmboxdrawenc.dfu\\ % pmboxdraw.pdf & doc/latex/oberdiek/pmboxdraw.pdf\\ % pmboxdraw.dtx & source/latex/oberdiek/pmboxdraw.dtx\\ % \end{tabular}^^A % }^^A % \sbox0{\t}^^A % \ifdim\wd0>\linewidth % \begingroup % \advance\linewidth by\leftmargin % \advance\linewidth by\rightmargin % \edef\x{\endgroup % \def\noexpand\lw{\the\linewidth}^^A % }\x % \def\lwbox{^^A % \leavevmode % \hbox to \linewidth{^^A % \kern-\leftmargin\relax % \hss % \usebox0 % \hss % \kern-\rightmargin\relax % }^^A % }^^A % \ifdim\wd0>\lw % \sbox0{\small\t}^^A % \ifdim\wd0>\linewidth % \ifdim\wd0>\lw % \sbox0{\footnotesize\t}^^A % \ifdim\wd0>\linewidth % \ifdim\wd0>\lw % \sbox0{\scriptsize\t}^^A % \ifdim\wd0>\linewidth % \ifdim\wd0>\lw % \sbox0{\tiny\t}^^A % \ifdim\wd0>\linewidth % \lwbox % \else % \usebox0 % \fi % \else % \lwbox % \fi % \else % \usebox0 % \fi % \else % \lwbox % \fi % \else % \usebox0 % \fi % \else % \lwbox % \fi % \else % \usebox0 % \fi % \else % \lwbox % \fi % \else % \usebox0 % \fi % \end{quote} % If you have a \xfile{docstrip.cfg} that configures and enables \docstrip's % TDS installing feature, then some files can already be in the right % place, see the documentation of \docstrip. % % \subsection{Refresh file name databases} % % If your \TeX~distribution % (\teTeX, \mikTeX, \dots) relies on file name databases, you must refresh % these. For example, \teTeX\ users run \verb|texhash| or % \verb|mktexlsr|. % % \subsection{Some details for the interested} % % \paragraph{Attached source.} % % The PDF documentation on CTAN also includes the % \xfile{.dtx} source file. It can be extracted by % AcrobatReader 6 or higher. Another option is \textsf{pdftk}, % e.g. unpack the file into the current directory: % \begin{quote} % \verb|pdftk pmboxdraw.pdf unpack_files output .| % \end{quote} % % \paragraph{Unpacking with \LaTeX.} % The \xfile{.dtx} chooses its action depending on the format: % \begin{description} % \item[\plainTeX:] Run \docstrip\ and extract the files. % \item[\LaTeX:] Generate the documentation. % \end{description} % If you insist on using \LaTeX\ for \docstrip\ (really, % \docstrip\ does not need \LaTeX), then inform the autodetect routine % about your intention: % \begin{quote} % \verb|latex \let\install=y\input{pmboxdraw.dtx}| % \end{quote} % Do not forget to quote the argument according to the demands % of your shell. % % \paragraph{Generating the documentation.} % You can use both the \xfile{.dtx} or the \xfile{.drv} to generate % the documentation. The process can be configured by the % configuration file \xfile{ltxdoc.cfg}. For instance, put this % line into this file, if you want to have A4 as paper format: % \begin{quote} % \verb|\PassOptionsToClass{a4paper}{article}| % \end{quote} % An example follows how to generate the % documentation with pdf\LaTeX: % \begin{quote} %\begin{verbatim} %pdflatex pmboxdraw.dtx %makeindex -s gind.ist pmboxdraw.idx %pdflatex pmboxdraw.dtx %makeindex -s gind.ist pmboxdraw.idx %pdflatex pmboxdraw.dtx %\end{verbatim} % \end{quote} % % \begin{thebibliography}{9} % % \bibitem{inputenx} % Heiko Oberdiek, The \xpackage{inputenx} Package (Enhanced input encoding % handling), 2006/03/05 v1.0, % \url{ftp://ftp.ctan.org/tex-archive/macros/latex/contrib/oberdiek/inputenx.pdf}. % % \bibitem{aglfn} % Adobe Systems Incorporated, % Adobe Glyph List for New Fonts (AGLFN), version 1.5, 2005/09/18, % \url{http://partners.adobe.com/public/developer/en/opentype/aglfn13.txt}. % % \bibitem{2500} % Unicode Inc., % The Unicode Standard, Version 4.1, Box Drawing, Range: 2500--257F, % 2005. % \url{http://www.unicode.org/charts/PDF/U2500.pdf} % % \bibitem{2580} % Unicode Inc., % The Unicode Standard, Version 4.1, Block Elements, Range: 2580--259F, % 2005. % \url{http://www.unicode.org/charts/PDF/U2580.pdf} % % \end{thebibliography} % % \begin{History} % \begin{Version}{2006/05/03 v1.0} % \item % First version. % \end{Version} % \end{History} % % \PrintIndex % % \Finale \endinput