From f158c892f4714e2dfef87c5edf8cd679fd09bb2b Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Sat, 7 Dec 2019 03:00:49 +0000 Subject: CTAN sync 201912070300 --- macros/latex/contrib/atenddvi/README.md | 13 + macros/latex/contrib/atenddvi/atenddvi.dtx | 554 ++ macros/latex/contrib/atenddvi/atenddvi.pdf | Bin 0 -> 273056 bytes macros/latex/contrib/csquotes/README.md | 2 +- macros/latex/contrib/csquotes/csq-compat.def | 2 +- macros/latex/contrib/csquotes/csquotes.def | 9 +- macros/latex/contrib/csquotes/csquotes.pdf | Bin 291994 -> 292333 bytes macros/latex/contrib/csquotes/csquotes.sty | 2 +- macros/latex/contrib/csquotes/csquotes.tex | 12 +- macros/latex/contrib/curve2e/README.txt | 2 +- macros/latex/contrib/curve2e/curve2e.dtx | 19 +- macros/latex/contrib/curve2e/curve2e.pdf | Bin 704965 -> 703517 bytes macros/latex/contrib/glossaries/CHANGES | 6 + macros/latex/contrib/glossaries/README | 4 +- .../latex/contrib/glossaries/glossaries-code.pdf | Bin 1197366 -> 1198329 bytes .../latex/contrib/glossaries/glossaries-user.html | 16 +- .../latex/contrib/glossaries/glossaries-user.pdf | Bin 891961 -> 892459 bytes .../latex/contrib/glossaries/glossaries-user.tex | 8 +- macros/latex/contrib/glossaries/glossaries.dtx | 6745 +------------------- macros/latex/contrib/glossaries/glossaries.ins | 56 +- .../latex/contrib/glossaries/glossariesbegin.html | 18 +- .../latex/contrib/glossaries/glossariesbegin.pdf | Bin 186413 -> 186404 bytes .../latex/contrib/glossaries/glossariesbegin.tex | 4 +- .../contrib/glossaries/glossary2glossaries.html | 6 +- .../contrib/glossaries/glossary2glossaries.pdf | Bin 143123 -> 143108 bytes .../contrib/glossaries/glossary2glossaries.tex | 2 +- macros/latex/contrib/glossaries/makeglossaries | 8 +- .../latex/contrib/glossaries/makeglossaries-lite.1 | 4 +- .../contrib/glossaries/makeglossaries-lite.lua | 6 +- macros/latex/contrib/glossaries/makeglossaries.1 | 4 +- .../latex/contrib/glossaries/samples/database1.tex | 12 +- .../latex/contrib/glossaries/samples/database2.tex | 12 +- .../samples/glossary-lipsum-examples.pdf | Bin 248676 -> 248661 bytes .../samples/glossary-lipsum-examples.tex | 12 +- .../contrib/glossaries/samples/minimalgls.pdf | Bin 49963 -> 49952 bytes .../contrib/glossaries/samples/minimalgls.tex | 10 +- .../contrib/glossaries/samples/mwe-acr-desc.pdf | Bin 37969 -> 37957 bytes .../contrib/glossaries/samples/mwe-acr-desc.tex | 12 +- .../latex/contrib/glossaries/samples/mwe-acr.pdf | Bin 33661 -> 33649 bytes .../latex/contrib/glossaries/samples/mwe-acr.tex | 10 +- .../latex/contrib/glossaries/samples/mwe-gls.pdf | Bin 29951 -> 29939 bytes .../latex/contrib/glossaries/samples/mwe-gls.tex | 10 +- .../contrib/glossaries/samples/sample-FnDesc.pdf | Bin 58822 -> 58812 bytes .../glossaries/samples/sample-chap-hyperfirst.pdf | Bin 54828 -> 54816 bytes .../contrib/glossaries/samples/sample-crossref.pdf | Bin 53462 -> 53450 bytes .../glossaries/samples/sample-custom-acronym.pdf | Bin 82190 -> 82178 bytes .../glossaries/samples/sample-custom-acronym.tex | 2 +- .../contrib/glossaries/samples/sample-dot-abbr.pdf | Bin 52806 -> 52796 bytes .../contrib/glossaries/samples/sample-dual.pdf | Bin 36467 -> 36455 bytes .../glossaries/samples/sample-entrycount.pdf | Bin 36845 -> 36834 bytes .../contrib/glossaries/samples/sample-entryfmt.pdf | Bin 34909 -> 34899 bytes .../glossaries/samples/sample-font-abbr.pdf | Bin 50715 -> 50703 bytes .../contrib/glossaries/samples/sample-ignored.pdf | Bin 31816 -> 31808 bytes .../contrib/glossaries/samples/sample-index.pdf | Bin 43385 -> 43373 bytes .../contrib/glossaries/samples/sample-inline.pdf | Bin 147485 -> 147206 bytes .../contrib/glossaries/samples/sample-inline.tex | 12 +- .../contrib/glossaries/samples/sample-langdict.pdf | Bin 38866 -> 38855 bytes .../contrib/glossaries/samples/sample-newkeys.pdf | Bin 39204 -> 39192 bytes .../contrib/glossaries/samples/sample-newkeys.tex | 4 +- .../glossaries/samples/sample-noidxapp-utf8.pdf | Bin 96349 -> 96316 bytes .../contrib/glossaries/samples/sample-noidxapp.pdf | Bin 67085 -> 67177 bytes .../glossaries/samples/sample-nomathhyper.pdf | Bin 41752 -> 41741 bytes .../glossaries/samples/sample-numberlist.pdf | Bin 41985 -> 41972 bytes .../contrib/glossaries/samples/sample-prefix.pdf | Bin 43266 -> 43254 bytes .../latex/contrib/glossaries/samples/sample-si.pdf | Bin 21722 -> 21710 bytes .../samples/sample-storage-abbr-desc.pdf | Bin 39905 -> 39892 bytes .../samples/sample-storage-abbr-desc.tex | 10 +- .../glossaries/samples/sample-storage-abbr.pdf | Bin 37671 -> 37659 bytes .../glossaries/samples/sample-storage-abbr.tex | 2 +- macros/latex/contrib/glossaries/samples/sample.pdf | Bin 104381 -> 104092 bytes macros/latex/contrib/glossaries/samples/sample.tex | 8 +- .../contrib/glossaries/samples/sample4col.pdf | Bin 43333 -> 43320 bytes .../latex/contrib/glossaries/samples/sampleAcr.pdf | Bin 65512 -> 65501 bytes .../latex/contrib/glossaries/samples/sampleAcr.tex | 2 +- .../contrib/glossaries/samples/sampleAcrDesc.pdf | Bin 65618 -> 65607 bytes .../contrib/glossaries/samples/sampleAcrDesc.tex | 10 +- .../contrib/glossaries/samples/sampleCustomAcr.pdf | Bin 93618 -> 93606 bytes .../contrib/glossaries/samples/sampleCustomAcr.tex | 12 +- .../latex/contrib/glossaries/samples/sampleDB.pdf | Bin 47048 -> 47037 bytes .../contrib/glossaries/samples/sampleDesc.pdf | Bin 48402 -> 48390 bytes .../contrib/glossaries/samples/sampleDesc.tex | 2 +- .../latex/contrib/glossaries/samples/sampleEq.pdf | Bin 155616 -> 155651 bytes .../latex/contrib/glossaries/samples/sampleEq.tex | 12 +- .../contrib/glossaries/samples/sampleEqPg.pdf | Bin 169073 -> 169202 bytes .../contrib/glossaries/samples/sampleEqPg.tex | 22 +- .../contrib/glossaries/samples/sampleFnAcrDesc.pdf | Bin 91349 -> 91335 bytes .../contrib/glossaries/samples/sampleFnAcrDesc.tex | 10 +- .../latex/contrib/glossaries/samples/sampleNtn.pdf | Bin 99121 -> 98826 bytes .../latex/contrib/glossaries/samples/sampleNtn.tex | 8 +- .../contrib/glossaries/samples/samplePeople.pdf | Bin 47465 -> 47452 bytes .../latex/contrib/glossaries/samples/sampleSec.pdf | Bin 65674 -> 65662 bytes .../contrib/glossaries/samples/sampleSort.pdf | Bin 95497 -> 95209 bytes .../contrib/glossaries/samples/sampleSort.tex | 8 +- .../contrib/glossaries/samples/sampleaccsupp.pdf | Bin 41167 -> 41155 bytes .../contrib/glossaries/samples/sampleacronyms.pdf | Bin 37213 -> 37201 bytes .../contrib/glossaries/samples/sampletree.pdf | Bin 66917 -> 59809 bytes .../contrib/glossaries/samples/sampleutf8.pdf | Bin 44951 -> 44939 bytes .../contrib/glossaries/samples/samplexdy-mc.xdy | 480 +- .../contrib/glossaries/samples/samplexdy-mc207.xdy | 111 +- .../latex/contrib/glossaries/samples/samplexdy.pdf | Bin 134115 -> 133571 bytes .../latex/contrib/glossaries/samples/samplexdy.tex | 20 +- .../contrib/glossaries/samples/samplexdy2.pdf | Bin 68406 -> 68393 bytes .../contrib/glossaries/samples/samplexdy2.tex | 6 +- .../contrib/glossaries/samples/samplexdy3.pdf | Bin 179160 -> 178630 bytes .../contrib/glossaries/samples/samplexdy3.tex | 4 +- macros/latex/contrib/hologo/README.md | 7 + macros/latex/contrib/hologo/hologo.dtx | 4780 ++++++++++++++ macros/latex/contrib/hologo/hologo.pdf | Bin 0 -> 567626 bytes macros/latex/contrib/mathcommand/README.md | 4 +- macros/latex/contrib/mathcommand/mathcommand.dtx | 180 +- macros/latex/contrib/mathcommand/mathcommand.pdf | Bin 446268 -> 454011 bytes macros/latex/contrib/oberdiek/README.txt | 2 +- macros/latex/contrib/oberdiek/aliascnt.dtx | 2 +- macros/latex/contrib/oberdiek/aliascnt.pdf | Bin 293168 -> 293099 bytes macros/latex/contrib/oberdiek/alphalph.pdf | Bin 354229 -> 354229 bytes macros/latex/contrib/oberdiek/askinclude.dtx | 4 +- macros/latex/contrib/oberdiek/askinclude.pdf | Bin 593914 -> 593900 bytes macros/latex/contrib/oberdiek/atenddvi.dtx | 550 -- macros/latex/contrib/oberdiek/atenddvi.pdf | Bin 272610 -> 0 bytes macros/latex/contrib/oberdiek/auxhook.pdf | Bin 285266 -> 285266 bytes macros/latex/contrib/oberdiek/bigintcalc.pdf | Bin 467906 -> 467906 bytes macros/latex/contrib/oberdiek/bitset.pdf | Bin 626116 -> 626116 bytes macros/latex/contrib/oberdiek/bmpsize.pdf | Bin 497867 -> 497867 bytes macros/latex/contrib/oberdiek/catchfile.pdf | Bin 298873 -> 298873 bytes macros/latex/contrib/oberdiek/centernot.pdf | Bin 274864 -> 274864 bytes macros/latex/contrib/oberdiek/chemarr.pdf | Bin 288654 -> 288654 bytes macros/latex/contrib/oberdiek/classlist.pdf | Bin 271621 -> 271621 bytes macros/latex/contrib/oberdiek/colonequals.pdf | Bin 284627 -> 284627 bytes macros/latex/contrib/oberdiek/dvipscol.pdf | Bin 269326 -> 269326 bytes macros/latex/contrib/oberdiek/engord.pdf | Bin 318562 -> 318562 bytes macros/latex/contrib/oberdiek/enparen.pdf | Bin 304863 -> 304863 bytes macros/latex/contrib/oberdiek/eolgrab.pdf | Bin 316822 -> 316822 bytes macros/latex/contrib/oberdiek/etexcmds.pdf | Bin 300241 -> 300241 bytes macros/latex/contrib/oberdiek/fibnum.pdf | Bin 354313 -> 354313 bytes macros/latex/contrib/oberdiek/flags.pdf | Bin 283637 -> 283637 bytes macros/latex/contrib/oberdiek/gettitlestring.pdf | Bin 318743 -> 318743 bytes macros/latex/contrib/oberdiek/hologo.dtx | 4786 -------------- macros/latex/contrib/oberdiek/hologo.pdf | Bin 567831 -> 0 bytes macros/latex/contrib/oberdiek/holtxdoc.pdf | Bin 305359 -> 305359 bytes macros/latex/contrib/oberdiek/hopatch.pdf | Bin 293225 -> 293225 bytes macros/latex/contrib/oberdiek/hycolor.pdf | Bin 364633 -> 364633 bytes macros/latex/contrib/oberdiek/hypbmsec.pdf | Bin 289747 -> 289747 bytes macros/latex/contrib/oberdiek/hypcap.pdf | Bin 284122 -> 284122 bytes macros/latex/contrib/oberdiek/hypdestopt.pdf | Bin 317677 -> 317677 bytes macros/latex/contrib/oberdiek/hypdoc.pdf | Bin 319844 -> 319844 bytes macros/latex/contrib/oberdiek/hypgotoe.pdf | Bin 285090 -> 285090 bytes macros/latex/contrib/oberdiek/hyphsubst.pdf | Bin 299858 -> 299858 bytes macros/latex/contrib/oberdiek/ifdraft.pdf | Bin 265294 -> 265294 bytes macros/latex/contrib/oberdiek/iflang.pdf | Bin 314990 -> 314990 bytes macros/latex/contrib/oberdiek/intcalc.pdf | Bin 431640 -> 431640 bytes macros/latex/contrib/oberdiek/kvdefinekeys.pdf | Bin 295786 -> 295786 bytes macros/latex/contrib/oberdiek/kvsetkeys.pdf | Bin 375389 -> 375389 bytes macros/latex/contrib/oberdiek/listingsutf8.dtx | 2 +- macros/latex/contrib/oberdiek/listingsutf8.pdf | Bin 298597 -> 298594 bytes macros/latex/contrib/oberdiek/ltxcmds.pdf | Bin 394188 -> 394188 bytes macros/latex/contrib/oberdiek/oberdiek-bundle.bib | 56 - macros/latex/contrib/oberdiek/oberdiek.ins | 10 +- macros/latex/contrib/oberdiek/oberdiek.pdf | Bin 401743 -> 345578 bytes macros/latex/contrib/oberdiek/oberdiek.tex | 102 +- macros/latex/contrib/oberdiek/pagegrid.pdf | Bin 311600 -> 311600 bytes macros/latex/contrib/oberdiek/pagesel.pdf | Bin 312192 -> 312192 bytes macros/latex/contrib/oberdiek/pdfcol.pdf | Bin 302693 -> 302693 bytes macros/latex/contrib/oberdiek/pdfcolfoot.pdf | Bin 294403 -> 294403 bytes macros/latex/contrib/oberdiek/pdfcolparallel.pdf | Bin 319986 -> 319986 bytes macros/latex/contrib/oberdiek/pdfcolparcolumns.pdf | Bin 308006 -> 308006 bytes macros/latex/contrib/oberdiek/pdfcrypt.pdf | Bin 311564 -> 311564 bytes macros/latex/contrib/oberdiek/pdfescape.pdf | Bin 346746 -> 346746 bytes macros/latex/contrib/oberdiek/pdflscape.dtx | 825 --- macros/latex/contrib/oberdiek/pdflscape.pdf | Bin 299072 -> 0 bytes macros/latex/contrib/oberdiek/pdfrender.pdf | Bin 382955 -> 382955 bytes macros/latex/contrib/oberdiek/picture.pdf | Bin 295928 -> 295928 bytes macros/latex/contrib/oberdiek/pmboxdraw.dtx | 5459 ---------------- macros/latex/contrib/oberdiek/pmboxdraw.pdf | Bin 638223 -> 0 bytes macros/latex/contrib/oberdiek/protecteddef.pdf | Bin 307773 -> 307773 bytes macros/latex/contrib/oberdiek/refcount.pdf | Bin 326895 -> 326895 bytes macros/latex/contrib/oberdiek/rerunfilecheck.dtx | 921 --- macros/latex/contrib/oberdiek/rerunfilecheck.pdf | Bin 314659 -> 0 bytes macros/latex/contrib/oberdiek/resizegather.pdf | Bin 517568 -> 517568 bytes macros/latex/contrib/oberdiek/rotchiffre.pdf | Bin 317164 -> 317164 bytes macros/latex/contrib/oberdiek/scrindex.pdf | Bin 283891 -> 283891 bytes macros/latex/contrib/oberdiek/selinput.pdf | Bin 537938 -> 537938 bytes macros/latex/contrib/oberdiek/setouterhbox.pdf | Bin 330129 -> 330129 bytes macros/latex/contrib/oberdiek/settobox.pdf | Bin 293548 -> 293548 bytes macros/latex/contrib/oberdiek/soulutf8.pdf | Bin 352081 -> 352081 bytes macros/latex/contrib/oberdiek/stackrel.pdf | Bin 281746 -> 281746 bytes macros/latex/contrib/oberdiek/stampinclude.pdf | Bin 277765 -> 277765 bytes macros/latex/contrib/oberdiek/tabularht.pdf | Bin 331314 -> 331314 bytes macros/latex/contrib/oberdiek/tabularkv.pdf | Bin 254709 -> 254709 bytes macros/latex/contrib/oberdiek/telprint.pdf | Bin 303828 -> 303828 bytes macros/latex/contrib/oberdiek/thepdfnumber.pdf | Bin 347238 -> 347238 bytes macros/latex/contrib/oberdiek/twoopt.pdf | Bin 274422 -> 274422 bytes macros/latex/contrib/oberdiek/uniquecounter.pdf | Bin 289988 -> 289988 bytes macros/latex/contrib/pdflscape/README.md | 10 + macros/latex/contrib/pdflscape/pdflscape.dtx | 806 +++ macros/latex/contrib/pdflscape/pdflscape.pdf | Bin 0 -> 299397 bytes macros/latex/contrib/pmboxdraw/README.md | 10 + macros/latex/contrib/pmboxdraw/pmboxdraw.dtx | 5461 ++++++++++++++++ macros/latex/contrib/pmboxdraw/pmboxdraw.pdf | Bin 0 -> 638010 bytes macros/latex/contrib/rerunfilecheck/README.md | 11 + .../contrib/rerunfilecheck/rerunfilecheck.dtx | 921 +++ .../contrib/rerunfilecheck/rerunfilecheck.pdf | Bin 0 -> 315092 bytes 201 files changed, 13305 insertions(+), 19929 deletions(-) create mode 100644 macros/latex/contrib/atenddvi/README.md create mode 100644 macros/latex/contrib/atenddvi/atenddvi.dtx create mode 100644 macros/latex/contrib/atenddvi/atenddvi.pdf create mode 100644 macros/latex/contrib/hologo/README.md create mode 100644 macros/latex/contrib/hologo/hologo.dtx create mode 100644 macros/latex/contrib/hologo/hologo.pdf delete mode 100644 macros/latex/contrib/oberdiek/atenddvi.dtx delete mode 100644 macros/latex/contrib/oberdiek/atenddvi.pdf delete mode 100644 macros/latex/contrib/oberdiek/hologo.dtx delete mode 100644 macros/latex/contrib/oberdiek/hologo.pdf delete mode 100644 macros/latex/contrib/oberdiek/pdflscape.dtx delete mode 100644 macros/latex/contrib/oberdiek/pdflscape.pdf delete mode 100644 macros/latex/contrib/oberdiek/pmboxdraw.dtx delete mode 100644 macros/latex/contrib/oberdiek/pmboxdraw.pdf delete mode 100644 macros/latex/contrib/oberdiek/rerunfilecheck.dtx delete mode 100644 macros/latex/contrib/oberdiek/rerunfilecheck.pdf create mode 100644 macros/latex/contrib/pdflscape/README.md create mode 100644 macros/latex/contrib/pdflscape/pdflscape.dtx create mode 100644 macros/latex/contrib/pdflscape/pdflscape.pdf create mode 100644 macros/latex/contrib/pmboxdraw/README.md create mode 100644 macros/latex/contrib/pmboxdraw/pmboxdraw.dtx create mode 100644 macros/latex/contrib/pmboxdraw/pmboxdraw.pdf create mode 100644 macros/latex/contrib/rerunfilecheck/README.md create mode 100644 macros/latex/contrib/rerunfilecheck/rerunfilecheck.dtx create mode 100644 macros/latex/contrib/rerunfilecheck/rerunfilecheck.pdf (limited to 'macros') diff --git a/macros/latex/contrib/atenddvi/README.md b/macros/latex/contrib/atenddvi/README.md new file mode 100644 index 0000000000..dab339b628 --- /dev/null +++ b/macros/latex/contrib/atenddvi/README.md @@ -0,0 +1,13 @@ +# atenddvi + +atenddvi package for LaTeX + + + +LaTeX offers \AtBeginDvi. This package atenddvi +provides the counterpart \AtEndDvi. The execution of its +argument is delayed to the end of the document at the end of the +last page. Thus \special and \write remain effective, because +they are put into the last page. This is the main difference +to \AtEndDocument. + diff --git a/macros/latex/contrib/atenddvi/atenddvi.dtx b/macros/latex/contrib/atenddvi/atenddvi.dtx new file mode 100644 index 0000000000..5214ad77e2 --- /dev/null +++ b/macros/latex/contrib/atenddvi/atenddvi.dtx @@ -0,0 +1,554 @@ +% \iffalse meta-comment +% +% File: atenddvi.dtx +% Version: 2019/12/05 v1.3 +% Info: At end DVI hook +% +% Copyright (C) +% 2007 Heiko Oberdiek +% 2016-2019 Oberdiek Package Support Group +% https://github.com/ho-tex/atenddvi/issues +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any later +% version. This version of this license is in +% https://www.latex-project.org/lppl/lppl-1-3c.txt +% and the latest version of this license is in +% https://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". +% +% The Current Maintainers of this work are +% Heiko Oberdiek and the Oberdiek Package Support Group +% https://github.com/ho-tex/atenddvi/issues +% +% This work consists of the main source file atenddvi.dtx +% and the derived files +% atenddvi.sty, atenddvi.pdf, atenddvi.ins, atenddvi.drv. +% +% Distribution: +% CTAN:macros/latex/contrib/atenddvi/atenddvi.dtx +% CTAN:macros/latex/contrib/atenddvi/atenddvi.pdf +% +% Unpacking: +% (a) If atenddvi.ins is present: +% tex atenddvi.ins +% (b) Without atenddvi.ins: +% tex atenddvi.dtx +% (c) If you insist on using LaTeX +% latex \let\install=y\input{atenddvi.dtx} +% (quote the arguments according to the demands of your shell) +% +% Documentation: +% (a) If atenddvi.drv is present: +% latex atenddvi.drv +% (b) Without atenddvi.drv: +% latex atenddvi.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 atenddvi.dtx +% makeindex -s gind.ist atenddvi.idx +% pdflatex atenddvi.dtx +% makeindex -s gind.ist atenddvi.idx +% pdflatex atenddvi.dtx +% +% Installation: +% TDS:tex/latex/atenddvi/atenddvi.sty +% TDS:doc/latex/atenddvi/atenddvi.pdf +% TDS:source/latex/atenddvi/atenddvi.dtx +% +%<*ignore> +\begingroup + \catcode123=1 % + \catcode125=2 % + \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: atenddvi 2019/12/05 v1.3 At end DVI hook (HO)} +\Msg{************************************************************************} + +\keepsilent +\askforoverwritefalse + +\let\MetaPrefix\relax +\preamble + +This is a generated file. + +Project: atenddvi +Version: 2019/12/05 v1.3 + +Copyright (C) + 2007 Heiko Oberdiek + 2016-2019 Oberdiek Package Support Group + +This work may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either +version 1.3c of this license or (at your option) any later +version. This version of this license is in + https://www.latex-project.org/lppl/lppl-1-3c.txt +and the latest version of this license is in + https://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". + +The Current Maintainers of this work are +Heiko Oberdiek and the Oberdiek Package Support Group +https://github.com/ho-tex/atenddvi/issues + + +This work consists of the main source file atenddvi.dtx +and the derived files + atenddvi.sty, atenddvi.pdf, atenddvi.ins, atenddvi.drv. + +\endpreamble +\let\MetaPrefix\DoubleperCent + +\generate{% + \file{atenddvi.ins}{\from{atenddvi.dtx}{install}}% + \file{atenddvi.drv}{\from{atenddvi.dtx}{driver}}% + \usedir{tex/latex/atenddvi}% + \file{atenddvi.sty}{\from{atenddvi.dtx}{package}}% +} + +\catcode32=13\relax% active space +\let =\space% +\Msg{************************************************************************} +\Msg{*} +\Msg{* To finish the installation you have to move the following} +\Msg{* file into a directory searched by TeX:} +\Msg{*} +\Msg{* atenddvi.sty} +\Msg{*} +\Msg{* To produce the documentation run the file `atenddvi.drv'} +\Msg{* through LaTeX.} +\Msg{*} +\Msg{* Happy TeXing!} +\Msg{*} +\Msg{************************************************************************} + +\endbatchfile +% +%<*ignore> +\fi +% +%<*driver> +\NeedsTeXFormat{LaTeX2e} +\ProvidesFile{atenddvi.drv}% + [2019/12/05 v1.3 At end DVI hook (HO)]% +\documentclass{ltxdoc} +\usepackage{holtxdoc}[2011/11/22] +\begin{document} + \DocInput{atenddvi.dtx}% +\end{document} +% +% \fi +% +% +% +% \GetFileInfo{atenddvi.drv} +% +% \title{The \xpackage{atenddvi} package} +% \date{2019/12/05 v1.3} +% \author{Heiko Oberdiek\thanks +% {Please report any issues at \url{https://github.com/ho-tex/atenddvi/issues}}} +% +% \maketitle +% +% \begin{abstract} +% \LaTeX\ offers \cs{AtBeginDvi}. This package \xpackage{atenddvi} +% provides the counterpart \cs{AtEndDvi}. The execution of its +% argument is delayed to the end of the document at the end of the +% last page. Thus \cs{special} and \cs{write} remain effective, because +% they are put into the last page. This is the main difference +% to \cs{AtEndDocument}. +% \end{abstract} +% +% \tableofcontents +% +% \section{Documentation} +% +% \begin{declcs}{AtEndDvi} \M{code} +% \end{declcs} +% Macro \cs{AtEndDvi} provides a hook mechanism to put \meta{code} +% at the end of the last output page. It is the logical counterpart +% to \cs{AtBeginDvi}. Despite the name the output type DVI, PDF or whatever +% does not matter. +% +% Unlike \cs{AtBeginDvi} the \meta{code} is not put in a box and +% therefore executed immediately. The hook for \cs{AtEndDvi} is based on +% a macro similar to \cs{AtBeginDocument} or \cs{AtEndDocument}. The +% execution of \meta{code} is delayed until the hook is executed on +% the last page. +% +% Commands such as \cs{special} or \cs{write} (not the \cs{immediate} +% variant) must go as nodes into the contents of a page to have the +% desired effect. +% When the hook for \cs{AtEndDocument} is executed, the last intended +% page may already be shipped out. Therefore \cs{special} or \cs{write} +% cannot be used in a reliable way without generating new page. +% +% This gap is closed by \cs{AtEndDvi} of this package \xpackage{atenddvi}. +% If the document is compiled the first time, the package remembers +% the last page in a reference. In the sceond run, it puts the hook +% on the page that has been detected in the previous run as last page. +% The package detectes if the number of pages has changed, and then +% generates a warning to rerun \LaTeX. +% +% \StopEventually{ +% } +% +% \section{Implementation} +% +% \begin{macrocode} +%<*package> +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{atenddvi}% + [2019/12/05 v1.3 At end DVI hook (HO)]% +% \end{macrocode} +% +% Load the required packages +% \begin{macrocode} +\RequirePackage{zref-abspage,zref-lastpage}[2007/03/19] +\RequirePackage{atbegshi} +% \end{macrocode} +% +% \begin{macro}{\AtEndDvi@Hook} +% Macro \cs{AtEndDvi@Hook} is the data storage macro +% for the code that is executed later at end of the last page. +% \begin{macrocode} +\let\AtEndDvi@Hook\@empty +% \end{macrocode} +% \end{macro} +% \begin{macro}{\AtEndDvi} +% Macro \cs{AtEndDvi} is called in the same way as +% \cs{AtBeginDocument}. The argument is added to the hook macro. +% \begin{macrocode} +\newcommand*{\AtEndDvi}{% + \g@addto@macro\AtEndDvi@Hook +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\AtEndDvi@AtBeginShipout} +% \begin{macrocode} +\def\AtEndDvi@AtBeginShipout{% + \begingroup +% \end{macrocode} +% The reference `LastPage' is marked used. If the reference +% is not yet defined, then the user gets the warning because of +% the undefined reference and the rerun warning at the end of +% the compile run. However, we do not need a warning each page, +% the first page is enough. +% \begin{macrocode} + \ifnum\value{abspage}=1 % + \zref@refused{LastPage}% + \fi +% \end{macrocode} +% The current absolute page number is compared with the +% absolute page number of the reference `LastPage'. +% \begin{macrocode} + \ifnum\zref@extractdefault{LastPage}{abspage}{0}=\value{abspage}% +% \end{macrocode} +% \begin{macro}{\AtEndDvi@LastPage} +% We found the right page and remember it in a macro. +% \begin{macrocode} + \xdef\AtEndDvi@LastPage{\number\value{abspage}}% +% \end{macrocode} +% \end{macro} +% The hook of \cs{AtEndDvi} is now put on the last page +% after the contents of the page. +% \begin{macrocode} + \global\setbox\AtBeginShipoutBox=\vbox{% + \hbox{% + \box\AtBeginShipoutBox + \setbox\AtBeginShipoutBox=\hbox{% + \begingroup + \AtEndDvi@Hook + \endgroup + }% + \wd\AtBeginShipoutBox=\z@ + \ht\AtBeginShipoutBox=\z@ + \dp\AtBeginShipoutBox=\z@ + \box\AtBeginShipoutBox + }% + }% +% \end{macrocode} +% We do not need the every page hook. +% \begin{macrocode} + \global\let\AtEndDvi@AtBeginShipout\@empty +% \end{macrocode} +% The hook is consumed, \cs{AtEndDvi} does not have an effect. +% \begin{macrocode} + \global\let\AtEndDvi\@gobble +% \end{macrocode} +% Make a protocol entry, which page is used by this package +% as last page. +% \begin{macrocode} + \let\on@line\@empty + \PackageInfo{atenddvi}{Last page = \AtEndDvi@LastPage}% + \fi + \endgroup +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\AtEndDvi@AtBeginDocument} +% In order to get as late as possible in the chain of the +% every shipout hook, the call of \cs{AtBeginShipout} is delayed. +% \begin{macrocode} +\def\AtEndDvi@AtBeginDocument{% + \AtBeginShipout{\AtEndDvi@AtBeginShipout}% +% \end{macrocode} +% \begin{macro}{\AtEndDvi@Check} +% After \cs{AtEndDocument} \LaTeX\ reads its \xfile{.aux} files +% again. Code in \cs{AtEndDocument} could generate additional +% pages. This is unlikely by code in the \xfile{.aux} file, +% thus we use the \xfile{.aux} file to run macro +% \cs{AtEndDvi@Check} for checking the last page. +% +% During the first reading of the \xfile{.aux} file, +% \cs{AtEndDvi@Check} is disabled, its real meaning +% is assigned afterwards. +% \begin{macrocode} + \if@filesw + \immediate\write\@mainaux{% + \string\providecommand\string\AtEndDvi@Check{}% + }% + \immediate\write\@mainaux{% + \string\AtEndDvi@Check + }% + \fi + \let\AtEndDvi@Check\AtEndDvi@CheckImpl +} +% \end{macrocode} +% \end{macro} +% \begin{macrocode} +\AtBeginDocument{\AtEndDvi@AtBeginDocument} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\AtEndDvi@CheckImpl} +% First check is whether a last page was found at all. +% Secondly the found last page is compared with the real last page. +% \begin{macrocode} +\def\AtEndDvi@CheckImpl{% + \@ifundefined{AtEndDvi@LastPage}{% + \PackageWarningNoLine{atenddvi}{% + Rerun LaTeX, last page not yet found% + }% + }{% + \ifnum\AtEndDvi@LastPage=\value{abspage}% + \else + \PackageWarningNoLine{atenddvi}{% + Rerun LaTeX, last page has changed% + }% + \fi + }% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macrocode} +% +% \end{macrocode} +% +% \section{Installation} +% +% \subsection{Download} +% +% \paragraph{Package.} This package is available on +% CTAN\footnote{\CTANpkg{atenddvi}}: +% \begin{description} +% \item[\CTAN{macros/latex/contrib/atenddvi/atenddvi.dtx}] The source file. +% \item[\CTAN{macros/latex/contrib/atenddvi/atenddvi.pdf}] Documentation. +% \end{description} +% +% +% \paragraph{Bundle.} All the packages of the bundle `atenddvi' +% 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[\CTANinstall{install/macros/latex/contrib/atenddvi.tds.zip}] +% \end{description} +% \emph{TDS} refers to the standard ``A Directory Structure +% for \TeX\ Files'' (\CTANpkg{tds}). Directories +% with \xfile{texmf} in their name are usually organized this way. +% +% \subsection{Bundle installation} +% +% \paragraph{Unpacking.} Unpack the \xfile{atenddvi.tds.zip} in the +% TDS tree (also known as \xfile{texmf} tree) of your choice. +% Example (linux): +% \begin{quote} +% |unzip atenddvi.tds.zip -d ~/texmf| +% \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 atenddvi.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@{}} +% atenddvi.sty & tex/latex/atenddvi/atenddvi.sty\\ +% atenddvi.pdf & doc/latex/atenddvi/atenddvi.pdf\\ +% atenddvi.dtx & source/latex/atenddvi/atenddvi.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 +% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh +% these. For example, \TeX\,Live\ users run \verb|texhash| or +% \verb|mktexlsr|. +% +% \subsection{Some details for the interested} +% +% \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{atenddvi.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 atenddvi.dtx +%makeindex -s gind.ist atenddvi.idx +%pdflatex atenddvi.dtx +%makeindex -s gind.ist atenddvi.idx +%pdflatex atenddvi.dtx +%\end{verbatim} +% \end{quote} +% +% \begin{History} +% \begin{Version}{2007/03/20 v1.0} +% \item +% First version. +% \end{Version} +% \begin{Version}{2007/04/17 v1.1} +% \item +% Package \xpackage{atbegshi} replaces package \xpackage{everyshi}. +% \end{Version} +% \begin{Version}{2016/05/16 v1.2} +% \item +% Documentation updates. +% \end{Version} +% \begin{Version}{2019/12/05 v1.3} +% \item +% Documentation updates. +% \end{Version} +% \end{History} +% +% \PrintIndex +% +% \Finale +\endinput diff --git a/macros/latex/contrib/atenddvi/atenddvi.pdf b/macros/latex/contrib/atenddvi/atenddvi.pdf new file mode 100644 index 0000000000..2f0ddb7d53 Binary files /dev/null and b/macros/latex/contrib/atenddvi/atenddvi.pdf differ diff --git a/macros/latex/contrib/csquotes/README.md b/macros/latex/contrib/csquotes/README.md index f0ed6e1d5f..60a0689276 100644 --- a/macros/latex/contrib/csquotes/README.md +++ b/macros/latex/contrib/csquotes/README.md @@ -16,7 +16,7 @@ quotes are freely configurable. ## License -Copyright (c) 2003-2011 Philipp Lehman, 2015 Joseph Wright. +Copyright (c) 2003-2011 Philipp Lehman, 2015-2019 Joseph Wright. Permission is granted to copy, distribute and/or modify this software under the terms of the LaTeX Project Public License (LPPL), version 1.3c or any later version. diff --git a/macros/latex/contrib/csquotes/csq-compat.def b/macros/latex/contrib/csquotes/csq-compat.def index d7a6e504d9..d4c9485a30 100644 --- a/macros/latex/contrib/csquotes/csq-compat.def +++ b/macros/latex/contrib/csquotes/csq-compat.def @@ -1,5 +1,5 @@ \ProvidesFile{csq-compat.def} - [2019-12-02 v5.2i csquotes backwards compatibility (JAW)] + [2019-12-06 v5.2j csquotes backwards compatibility (JAW)] \def\csq@getversion#1{% \expandafter\csq@getversion@i diff --git a/macros/latex/contrib/csquotes/csquotes.def b/macros/latex/contrib/csquotes/csquotes.def index 18479e170a..beab625e06 100644 --- a/macros/latex/contrib/csquotes/csquotes.def +++ b/macros/latex/contrib/csquotes/csquotes.def @@ -1,5 +1,5 @@ \ProvidesFile{csquotes.def} - [2019-12-02 v5.2i csquotes generic definitions (JAW)] + [2019-12-06 v5.2j csquotes generic definitions (JAW)] % Set defaults @@ -323,6 +323,12 @@ \DeclareQuoteAlias[mexican]{spanish}{mexican} \DeclareQuoteAlias[spanish]{spanish}{spanish} \DeclareQuoteAlias[quotes]{swedish}{swedish} +\DeclareQuoteAlias{italian}{latin/italianguillemets} +\DeclareQuoteAlias[italianguillemets]{latin}{latin} +\DeclareQuoteAlias{german}{latin/germanquotes} +\DeclareQuoteAlias[guillemets]{german}{latin/germanguillemets} +\DeclareQuoteAlias{british}{latin/britishquotes} +\DeclareQuoteAlias{american}{latin/americanquotes} % Babel aliases @@ -351,6 +357,7 @@ \DeclareQuoteOption{german} \DeclareQuoteOption{icelandic} \DeclareQuoteOption{italian} +\DeclareQuoteOption{latin} \DeclareQuoteOption{latvian} \DeclareQuoteOption{norwegian} \DeclareQuoteOption{polish} diff --git a/macros/latex/contrib/csquotes/csquotes.pdf b/macros/latex/contrib/csquotes/csquotes.pdf index 8c6842882b..de42c872e3 100644 Binary files a/macros/latex/contrib/csquotes/csquotes.pdf and b/macros/latex/contrib/csquotes/csquotes.pdf differ diff --git a/macros/latex/contrib/csquotes/csquotes.sty b/macros/latex/contrib/csquotes/csquotes.sty index 9fa4802124..9f1db3d123 100644 --- a/macros/latex/contrib/csquotes/csquotes.sty +++ b/macros/latex/contrib/csquotes/csquotes.sty @@ -12,7 +12,7 @@ \NeedsTeXFormat{LaTeX2e}[2005/12/01] \ProvidesPackage{csquotes} - [2019-12-02 v5.2i context-sensitive quotations (JAW)] + [2019-12-06 v5.2j context-sensitive quotations (JAW)] %% Compatibility and requirements diff --git a/macros/latex/contrib/csquotes/csquotes.tex b/macros/latex/contrib/csquotes/csquotes.tex index 35665fb62c..db52185989 100644 --- a/macros/latex/contrib/csquotes/csquotes.tex +++ b/macros/latex/contrib/csquotes/csquotes.tex @@ -18,8 +18,8 @@ url={http://www.ctan.org/pkg/csquotes/}, author={Philipp Lehman, Joseph Wright}, email={joseph.wright@morningstar2.co.uk}, - revision={v5.2i}, - date={2019-12-02}} + revision={v5.2j}, + date={2019-12-06}} \hypersetup{% pdftitle={The csquotes Package}, @@ -1041,7 +1041,7 @@ The \cmd{textdel} command passes its \prm{text} argument to \cmd{mktextdel} for You may redefine the above hooks to change the format of the printed output. For example, if you prefer replacements to be indicated by «[\textellipsis text]» rather than «[\textellipsis\unkern] [text]», redefine \cmd{mktextelpins} accordingly: \begin{ltxcode} -\newcommand{<<\mktextelpins>>}[1]{[\textellipsis #1]} +\renewcommand{<<\mktextelpins>>}[1]{[\textellipsis #1]} \end{ltxcode} % The \cmd{unkern} in the default definitions is required because \cmd{textellipsis} adds asymmetric kerning by default. The kerning after the final dot is similar to the spacing between the dots, which is fine if \cmd{textellipsis} is followed by any text, but undesirable if it is enclosed in brackets. @@ -1543,6 +1543,12 @@ This revision history is a list of changes relevant to users of this package. Ch \begin{changelog} +\begin{release}{5.2j}{2019-12-04} +\item Fix issue with some combinations of language and document class +\item Added support for Latin quotations +\end{release} + + \begin{release}{5.2i}{2019-12-02} \item Fix issue with \cmd{csq@mainlang} \end{release} diff --git a/macros/latex/contrib/curve2e/README.txt b/macros/latex/contrib/curve2e/README.txt index d3f4a120f7..84e7fecffb 100644 --- a/macros/latex/contrib/curve2e/README.txt +++ b/macros/latex/contrib/curve2e/README.txt @@ -10,7 +10,7 @@ %% License information appended %% File README.txt for package curve2e - [2019-11-30 v.2.0.6 Extension package for pict2e] + [2019-12-06 v.2.0.7 Extension package for pict2e] diff --git a/macros/latex/contrib/curve2e/curve2e.dtx b/macros/latex/contrib/curve2e/curve2e.dtx index b8e7c519c1..d850055244 100644 --- a/macros/latex/contrib/curve2e/curve2e.dtx +++ b/macros/latex/contrib/curve2e/curve2e.dtx @@ -47,7 +47,7 @@ README.txt and curve2e-v161.sty. %<+package>\ProvidesPackage{curve2e}% %<+readme>File README.txt for package curve2e %<*package|readme> - [2019-11-30 v.2.0.6 Extension package for pict2e] + [2019-12-06 v.2.0.7 Extension package for pict2e] % %<*driver> \documentclass{ltxdoc}\errorcontextlines=9 @@ -110,7 +110,7 @@ README.txt and curve2e-v161.sty. % % \fi % -% \CheckSum{5593} +% \CheckSum{5592} % \begin{abstract} % This file documents the |curve2e| extension package to the |pict2e| % bundle implementation; the latter was described by Lamport @@ -1576,14 +1576,19 @@ README.txt and curve2e-v161.sty. % Since we already loaded package|xfp| or at least we explicitly load it % in our preamble, we add, if not already defined by the package, the two % new commands that allow to make floating point tests, and to implement -% a “while” cycle +% a “while” cycle\footnote{Thanks to Brian Dunn who spotted a bug in +% the previous definitions.} % \begin{macrocode} -\AtBeginDocument{\@ifpackageloaded{xfp}{% +% \ExplSyntaxOn -\ProvideExpandableDocumentCommand\fptest{m}{\fp_compare:nTF{#1}} -\ProvideExpandableDocumentCommand\fpdowhile{m m}{\fp_do_while:nn{#1}{#2}} +\AtBeginDocument{% +\ProvideExpandableDocumentCommand\fptest{m m m}{% + \fp_compare:nTF{#1}{#2}{#3}} +\ProvideExpandableDocumentCommand\fpdowhile{m m}{% + \fp_do_while:nn{#1}{#2}} +} \ExplSyntaxOff -}{}} + % \end{macrocode} % % The next macros are just for debugging. With the \texttt{trace} package diff --git a/macros/latex/contrib/curve2e/curve2e.pdf b/macros/latex/contrib/curve2e/curve2e.pdf index 5256df2081..3838751099 100644 Binary files a/macros/latex/contrib/curve2e/curve2e.pdf and b/macros/latex/contrib/curve2e/curve2e.pdf differ diff --git a/macros/latex/contrib/glossaries/CHANGES b/macros/latex/contrib/glossaries/CHANGES index 1ddbd44ab6..b669941078 100644 --- a/macros/latex/contrib/glossaries/CHANGES +++ b/macros/latex/contrib/glossaries/CHANGES @@ -1,5 +1,11 @@ glossaries change log: +v4.44 (2019-12-06): + + * glossaries-prefix.sty: + + - add hook for glossaries-extra's record option. + v4.43 (2019-09-28): * glossaries.sty: diff --git a/macros/latex/contrib/glossaries/README b/macros/latex/contrib/glossaries/README index 57f06c7d5c..cbf39bc988 100644 --- a/macros/latex/contrib/glossaries/README +++ b/macros/latex/contrib/glossaries/README @@ -1,6 +1,6 @@ -LaTeX Package : glossaries v4.43 +LaTeX Package : glossaries v4.44 -Last Modified : 2019-09-28 +Last Modified : 2019-12-06 Author : Nicola Talbot diff --git a/macros/latex/contrib/glossaries/glossaries-code.pdf b/macros/latex/contrib/glossaries/glossaries-code.pdf index 0b01413312..6cadc9faf1 100644 Binary files a/macros/latex/contrib/glossaries/glossaries-code.pdf and b/macros/latex/contrib/glossaries/glossaries-code.pdf differ diff --git a/macros/latex/contrib/glossaries/glossaries-user.html b/macros/latex/contrib/glossaries/glossaries-user.html index 5692dfce9e..66646c2c86 100644 --- a/macros/latex/contrib/glossaries/glossaries-user.html +++ b/macros/latex/contrib/glossaries/glossaries-user.html @@ -141,7 +141,9 @@ td.td01{ padding-left:0pt; padding-right:5pt; } td.td10{ padding-left:5pt; padding-right:0pt; } td.td11{ padding-left:5pt; padding-right:5pt; } table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } -.hline hr, .cline hr{ height : 1px; margin:0px; } +.hline hr, .cline hr{ height : 0px; margin:0px; } +.hline td, .cline td{ padding: 0; } +.hline hr, .cline hr{border:none;border-top:1px solid black;} .tabbing-right {text-align:right;} span.TEX {letter-spacing: -0.125em; } span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;} @@ -206,7 +208,9 @@ td.td01{ padding-left:0pt; padding-right:5pt; } td.td10{ padding-left:5pt; padding-right:0pt; } td.td11{ padding-left:5pt; padding-right:5pt; } table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } -.hline hr, .cline hr{ height : 1px; margin:0px; } +.hline hr, .cline hr{ height : 0px; margin:0px; } +.hline td, .cline td{ padding: 0; } +.hline hr, .cline hr{border:none;border-top:1px solid black;} div.array {text-align:center;} .alltt P { margin-bottom : 0em; margin-top : 0em; } .alltt { margin-bottom : 1em; margin-top : 1em; } @@ -311,7 +315,7 @@ span#textcolor62{color:#00FF00} >

User Manual for glossaries.sty v4.43 +class="cmr-17">User Manual for glossaries.sty v4.44

http://www.dickimaw-books.com/

2019-09-28

+class="cmr-12">2019-12-06

@@ -484,7 +488,7 @@ class="cmtt-10">glossaries-code.pdf
Advanced users wishing to know more about the inner workings of all the packages provided in the glossaries bundle should read “Documented - Code for glossaries v4.43”. + Code for glossaries v4.44”.
INSTALL
glossaries package, make sure you also upgrade your versi makeglossaries. The current version is 4.41.
+ id="dx1-17037">. The current version is 4.44.

diff --git a/macros/latex/contrib/glossaries/glossaries-user.pdf b/macros/latex/contrib/glossaries/glossaries-user.pdf index f3a00dc86f..76f4e9569b 100644 Binary files a/macros/latex/contrib/glossaries/glossaries-user.pdf and b/macros/latex/contrib/glossaries/glossaries-user.pdf differ diff --git a/macros/latex/contrib/glossaries/glossaries-user.tex b/macros/latex/contrib/glossaries/glossaries-user.tex index 7aeaac090d..41dc516ee7 100644 --- a/macros/latex/contrib/glossaries/glossaries-user.tex +++ b/macros/latex/contrib/glossaries/glossaries-user.tex @@ -450,11 +450,11 @@ and~\hyperlink{option#2}{#2}} \MakeShortVerb{"} \DeleteShortVerb{\|} - \title{User Manual for glossaries.sty v4.43} + \title{User Manual for glossaries.sty v4.44} \author{Nicola L.C. Talbot\\% \url{http://www.dickimaw-books.com/}} - \date{2019-09-28} + \date{2019-12-06} \maketitle \begin{abstract} @@ -545,7 +545,7 @@ package. \item[\url{glossaries-code.pdf}] Advanced users wishing to know more about the inner workings of all the packages provided in the \styfmt{glossaries} bundle should read -\qt{Documented Code for glossaries v4.43}. +\qt{Documented Code for glossaries v4.44}. \item[INSTALL] Installation instructions. @@ -2846,7 +2846,7 @@ resulting file onto the man path. Alternatively do \begin{important} When upgrading the \styfmt{glossaries} package, make sure you also upgrade your version of \gls{makeglossaries}. The current version is -4.41. +4.44. \end{important} \subsection{Using the makeglossaries-lite Lua Script} diff --git a/macros/latex/contrib/glossaries/glossaries.dtx b/macros/latex/contrib/glossaries/glossaries.dtx index 124662d6a6..37f589e208 100644 --- a/macros/latex/contrib/glossaries/glossaries.dtx +++ b/macros/latex/contrib/glossaries/glossaries.dtx @@ -1,10 +1,12 @@ %\iffalse % glossaries.dtx generated using makedtx version 1.2 (c) Nicola Talbot % Command line args: +% -codetitle "Main Package Code" +% -doc "glossaries-manual.tex" +% -section "chapter" +% -setambles ".*\.perl=>\nopreamble\nopostamble" +% -setambles ".*\.tex=>\nopreamble\nopostamble" % -author "Nicola Talbot" -% -comment ".*\.perl" -% -comment ".*\.tex" -% -comment ".*\.xdy" % -src "glossaries\.sty\Z=>glossaries.sty" % -src "glossaries-prefix.sty\Z=>glossaries-prefix.sty" % -src "(glossary-.+)\.(sty)\Z=>\1.\2" @@ -13,25 +15,14 @@ % -src "(glossaries-accsupp)\.(sty)\Z=>\1.\2" % -src "(glossaries-babel)\.(sty)\Z=>\1.\2" % -src "(glossaries-polyglossia)\.(sty)\Z=>\1.\2" -% -src "(minimalgls\.tex)\Z=>\1" -% -src "(glossary-lipsum-examples\.tex)\Z=>\1" % -src "(example-glossaries-.*\.tex)\Z=>\1" -% -src "(sample.*\.tex)\Z=>\1" -% -src "(mwe.*\.tex)\Z=>\1" -% -src "(samplexdy-mc.*\.xdy)\Z=>\1" -% -src "(database.*\.tex)\Z=>\1" % -src "(.*\.perl)\Z=>\1" % -macrocode ".*\.perl" % -macrocode ".*\.tex" -% -macrocode ".*\.xdy" -% -section "chapter" -% -codetitle "Main Package Code" -% -doc "glossaries-manual.tex" -% -setambles ".*\.perl=>\nopreamble\nopostamble" -% -setambles ".*\.tex=>\nopreamble\nopostamble" -% -setambles ".*\.xdy=>\nopreamble\nopostamble" +% -comment ".*\.perl" +% -comment ".*\.tex" % glossaries -% Created on 2019/9/28 15:01 +% Created on 2019/12/6 14:57 %\fi %\iffalse %<*package> @@ -145,7 +136,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of \setcounter{IndexColumns}{2} -\CheckSum{19658} +\CheckSum{19669} \newcommand*{\ifirstuse}{\iterm{first use}} \newcommand*{\firstuse}{\gls{firstuse}} @@ -172,12 +163,12 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of %\fi %\MakeShortVerb{"} % -% \title{Documented Code For glossaries v4.43} +% \title{Documented Code For glossaries v4.44} % \author{Nicola L.C. Talbot\\[10pt] %Dickimaw Books\\ %\url{http://www.dickimaw-books.com/}} % -% \date{2019-09-28} +% \date{2019-12-06} % \maketitle % %This is the documented code for the \styfmt{glossaries} package. @@ -193,7 +184,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of %glossaries package}. % %\item[\url{glossaries-user.pdf}] -%For the main user guide, read \qt{glossaries.sty v4.43: +%For the main user guide, read \qt{glossaries.sty v4.44: %\LaTeX2e\ Package to Assist Generating Glossaries}. % %\item[\url{mfirstuc-manual.pdf}] @@ -248,7 +239,7 @@ governed by the \gloskey{first} and \gloskey{firstplural} keys of % This package requires \LaTeXe. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} %\changes{4.18}{2015-09-09}{split mfirstuc into separate bundle} % Required packages: @@ -19196,7 +19187,7 @@ you % \cs{gls}\marg{label}} on subsequent use. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-prefix}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries-prefix}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Pass all options to \sty{glossaries}: % \begin{macrocode} @@ -19351,6 +19342,20 @@ you % \end{macrocode} %\end{macro} % +%\begin{macro}{\@glsprefix@record@hook} +%\changes{4.44}{2019-12-06}{new} +%Need to take into account the possibility that +%\sty{glossaries-extra} might be loaded with the \pkgopt{record} +%option. +% \begin{macrocode} +\providecommand{\@glsprefix@record@hook}[2]{% + \ifdef\@glsxtr@record + {\@glsxtr@record{#1}{#2}{glslink}}% + {}% +} +% \end{macrocode} +%\end{macro} +% % Define commands that insert the prefix before commands like \ics{gls}: %\begin{macro}{\pgls} %\changes{4.08}{2014-07-30}{changed to use \cs{@gls@hyp@opt}} @@ -19374,6 +19379,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@pgls@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19412,6 +19418,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@pglspl@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19450,6 +19457,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@Pgls@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19497,6 +19505,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@Pglspl@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19544,6 +19553,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@PGLS@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19582,6 +19592,7 @@ you % Read in the final optional argument: % \begin{macrocode} \def\@PGLSpl@#1#2[#3]{% + \@glsprefix@record@hook{#1}{#2}% \glsdoifexists{#2}% {% \ifglsused{#2}% @@ -19611,7 +19622,7 @@ you %\label{sec:code:hypernav} % Package Definition: % \begin{macrocode} -\ProvidesPackage{glossary-hypernav}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-hypernav}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % % The commands defined in this package are provided to @@ -19804,7 +19815,7 @@ you % This defines an in-line style where the entries are % comma-separated with just the name and description displayed. % \begin{macrocode} -\ProvidesPackage{glossary-inline}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-inline}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % %\begin{style}{inline} @@ -19995,7 +20006,7 @@ you % \ics{item} command, it will appear in a bold font by % default. % \begin{macrocode} -\ProvidesPackage{glossary-list}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-list}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} %\begin{macro}{\indexspace} %\changes{4.13}{2015-02-03}{new} @@ -20277,7 +20288,7 @@ you % The glossary styles defined in the \isty{glossary-long} package % used the \env{longtable} environment in the glossary. % \begin{macrocode} -\ProvidesPackage{glossary-long}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-long}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Requires the \isty{longtable} package: % \begin{macrocode} @@ -20774,7 +20785,7 @@ you % \url{http://tex.stackexchange.com/a/56890} % % \begin{macrocode} -\ProvidesPackage{glossary-longbooktabs}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-longbooktabs}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Requires \sty{booktabs} package: % \begin{macrocode} @@ -21115,7 +21126,7 @@ you % used the \env{longtable} environment in the glossary and use % ragged right formatting for the multiline columns. % \begin{macrocode} -\ProvidesPackage{glossary-longragged}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-longragged}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Requires the \isty{array} package: % \begin{macrocode} @@ -21548,7 +21559,7 @@ you %use the \sty{multicol} package. These use the tree-like glossary %styles in a multicol environment. % \begin{macrocode} -\ProvidesPackage{glossary-mcols}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-mcols}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Required packages: % \begin{macrocode} @@ -21985,7 +21996,7 @@ you % The glossary styles defined in the \isty{glossary-super} package % use the \env{supertabular} environment. % \begin{macrocode} -\ProvidesPackage{glossary-super}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-super}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Requires the \isty{supertabular} package: % \begin{macrocode} @@ -22517,7 +22528,7 @@ you % are like those provided by the \isty{glossary-super} package, % except that the multiline columns have ragged right justification. % \begin{macrocode} -\ProvidesPackage{glossary-superragged}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-superragged}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Requires the \isty{array} package: % \begin{macrocode} @@ -22957,7 +22968,7 @@ you % that have a tree-like structure. These are designed for % hierarchical glossaries. % \begin{macrocode} -\ProvidesPackage{glossary-tree}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossary-tree}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % %\begin{macro}{\indexspace} @@ -23678,7 +23689,7 @@ you % hyperlinks may not work properly. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-compatible-207}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries-compatible-207}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} %\begin{macro}{\GlsAddXdyAttribute} % Adds an attribute in old format. @@ -24039,7 +24050,7 @@ you %\section{glossaries-compatible-307} % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-compatible-307}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries-compatible-307}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % % Compatibility macros for predefined glossary styles: @@ -24847,7 +24858,7 @@ you % \end{macrocode} % Package version number now in line with main glossaries package number. % \begin{macrocode} -\ProvidesPackage{glossaries-accsupp}[2019/09/28 v4.43 (NLCT) +\ProvidesPackage{glossaries-accsupp}[2019/12/06 v4.44 (NLCT) Experimental glossaries accessibility] % \end{macrocode} % Pass all options to \sty{glossaries}: @@ -27290,7 +27301,7 @@ you % modules. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-babel}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries-babel}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Load \sty{tracklang} to obtain language settings. % \begin{macrocode} @@ -27334,7 +27345,7 @@ you % modules. % \begin{macrocode} \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{glossaries-polyglossia}[2019/09/28 v4.43 (NLCT)] +\ProvidesPackage{glossaries-polyglossia}[2019/12/06 v4.44 (NLCT)] % \end{macrocode} % Load \sty{tracklang} to obtain language settings. % \begin{macrocode} @@ -27370,344 +27381,6 @@ you %\fi %\iffalse % \begin{macrocode} -%<*minimalgls.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*glossary-lipsum-examples.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex - % arara: bibtex - % arara: pdflatex - % arara: pdflatex -\documentclass{report} - -\usepackage{graphicx} - -\usepackage[colorlinks]{hyperref} -\usepackage[savewrites,nopostdot,toc,acronym,symbols]{glossaries} -\usepackage{glossary-mcols} -\usepackage{glossary-longragged} - -\newglossary*{symbolname}{Entries with Symbols in the Name} -\newglossary*{long}{Long Descriptions} -\newglossary*{multipar}{Multi-Paragraph Descriptions} -\newglossary*{acronymdesc}{Acronyms with Descriptions} -\newglossary*{images}{Descriptions with Images} -\newglossary*{acronymslang}{Acronyms with Translations} - -\newglossary*{parent}{Hierarchical Entries} -\newglossary*{homographs}{Homographs} -\newglossary*{cites}{Entries with Citations} -\newglossary*{urls}{Entries with URLs} - -\DeclareAcronymList{acronymdesc,acronymslang} - -\makeglossaries - -\loadglsentries{example-glossaries-brief} -\loadglsentries[long]{example-glossaries-long} -\loadglsentries[multipar]{example-glossaries-multipar} -\loadglsentries[symbols]{example-glossaries-symbols} -\loadglsentries[symbolname]{example-glossaries-symbolnames} -\loadglsentries[images]{example-glossaries-images} -\loadglsentries[parent]{example-glossaries-parent} -\loadglsentries[homographs]{example-glossaries-childnoname} -\loadglsentries[cites]{example-glossaries-cite} -\loadglsentries[urls]{example-glossaries-url} - -\setacronymstyle{long-short} - -\loadglsentries[acronym]{example-glossaries-acronym} - -\setacronymstyle{long-short-desc} - -\loadglsentries[acronymdesc]{example-glossaries-acronym-desc} - - % define an acronym style for the acronyms with a translation: - -\newacronymstyle{acronymslang}% -{% - \GlsUseAcrEntryDispStyle{long-short}% -} -{% - \GlsUseAcrStyleDefs{short-long}% - \renewcommand*{\genacrfullformat}[2]{% - \glsentrylong{##1}##2\space - (\protect\firstacronymfont{\glsentryshort{##1}}% - \ifglshasfield{useri}{##1}% - {, English: \glsentryuseri{##1}}{})% - }% - \renewcommand*{\Genacrfullformat}[2]{% - \Glsentrylong{##1}##2\space - (\protect\firstacronymfont{\glsentryshort{##1}}% - \ifglshasfield{useri}{##1}% - {, English: \glsentryuseri{##1}}{})% - }% - \renewcommand*{\genplacrfullformat}[2]{% - \glsentrylongpl{##1}##2\space - (\protect\firstacronymfont{\glsentryshortpl{##1}}% - \ifglshasfield{useri}{##1}% - {, English: \glsentryuseri{##1}}{})% - }% - \renewcommand*{\Genplacrfullformat}[2]{% - \Glsentrylongpl{##1}##2\space - (\protect\firstacronymfont{\glsentryshortpl{##1}}% - \ifglshasfield{useri}{##1}% - {, English: \glsentryuseri{##1}}{})% - }% -} - -\setacronymstyle{acronymslang} - -\loadglsentries[acronymslang]{example-glossaries-acronyms-lang} - - % Define a style for the "images" glossary. The image names are - % stored in the user1 key. - % (The image insertion can probably be done more neatly using an - % appropriate package, but this is just a sample file.) - -\newsavebox\glsimagebox -\newlength\glswidth - -\newglossarystyle{images}% -{% - \setglossarystyle{tree}% - \renewenvironment{theglossary}{}{}% - \renewcommand{\glossentry}[2]{% - \ifglshasfield{useri}{##1}% - {\savebox - {\glsimagebox}% - {\includegraphics[height=4\baselineskip]{\glsentryuseri{##1}}}% - \settowidth{\glswidth}{\usebox\glsimagebox}% - \glswidth=\dimexpr\linewidth-\glswidth-1em\relax - \parshape=5 - 0pt \glswidth - 0pt \glswidth - 0pt \glswidth - 0pt \glswidth - 0pt \linewidth\relax - }% - {% - \savebox{\glsimagebox}{}% - }% - \noindent - \makebox[0pt][l]{% - \smash{\makebox[\linewidth][r]{\raisebox{-3\baselineskip}{\usebox\glsimagebox}}}}% - \glsentryitem{##1}\textbf{\glstarget{##1}{\glossentryname{##1}}}% - \space\glossentrydesc{##1}\par - \indexspace - }% - \renewcommand*{\glsgroupskip}{}% -} - - % glossary style for acronyms with a translation - -\newglossarystyle{acronymslang} -{% - \setglossarystyle{long}% - \renewcommand*{\glsgroupskip}{}% - \renewcommand{\glossentry}[2]{% - \glsentryitem{##1}\glstarget{##1}{\glossentryname{##1}} & - \glossentrydesc{##1}\glspostdescription - \ifglshasfield{useri}{##1}{ (English: \glsentryuseri{##1})}{}% - \space ##2\tabularnewline - }% -} - - % glossary style for the cites glossary - -\newglossarystyle{cites} -{% based on list style - \setglossarystyle{list}% - \renewcommand*{\glossentry}[2]{% - \item[\glsentryitem{##1}% - \glstarget{##1}{\glossentryname{##1}}] - \glossentrydesc{##1}\glspostdescription - \ifglshasfield{useri}{##1}{\space - % in the event of multiple cites (as in the vestibulum2 - % sample entry), \glsentryuseri{##1} needs to be expanded - % before being passed to \cite. - \glsletentryfield{\thiscite}{##1}{useri}% - (See \expandafter\cite\expandafter{\thiscite})}{}% - \space ##2}% -} - - % glossary style for the urls glossary - -\newglossarystyle{urls} -{% based on list style - \setglossarystyle{list}% - \renewcommand{\glossentry}[2]{% - \item[\glsentryitem{##1}% - \glstarget{##1}{\glossentryname{##1}}] - \glossentrydesc{##1}\glspostdescription\space##2% - \ifglshasfield{useri}{##1}{\glspar - \glsletentryfield{\thisurl}{##1}{useri}% - \expandafter\url\expandafter{\thisurl}}{}}% -} - -\begin{document} -\tableofcontents - -\chapter{Sample} - -This is a sample document that uses the dummy glossary entries -supplied with the glossaries bundle for testing. - -Here are all the entries (including acronyms): - -\forallglossaries{\thistype}{\section{Glossary `\thistype'} -\forglsentries[\thistype]{\thislabel}{\gls{\thislabel}. }} - -\section{Acronyms Revisited} - -Here are just the acronyms again: -\forallacronyms{\thistype}{\forglsentries[\thistype]{\thislabel}{\gls{\thislabel}. }} - -\printglossary[style=mcolindex,title={Brief Descriptions}] - -\printglossary[type=long,style=list] - -\printglossary[type=multipar,style=altlist] - -\printglossary[type=symbols,style=altlongragged4col,nogroupskip] - -\printglossary[type=symbolname,style=list,nogroupskip] - -\printglossary[type=acronym,style=long] - -\printglossary[type=acronymdesc,style=altlist] - -\printglossary[type=images,style=images] - -\printglossary[type=acronymslang,style=acronymslang] - -\printglossary[type=homographs,style=mcoltreenoname,subentrycounter] - -\printglossary[type=parent,style=tree] - -\printglossary[type=cites,style=cites,nopostdot=false,nogroupskip] - -\printglossary[type=urls,style=urls,nopostdot=false,nogroupskip] - -\bibliographystyle{plain} -\bibliography{xampl} - -\end{document} -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} %<*example-glossaries-acronym-desc.tex> % \end{macrocode} %\fi @@ -29054,6326 +28727,6 @@ amet, libero}, %\fi %\iffalse % \begin{macrocode} -%<*sample-chap-hyperfirst.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-crossref.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-custom-acronym.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-dot-abbr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-dual.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-entrycount.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-entryfmt.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-FnDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-font-abbr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-ignored.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-index.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-inline.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-langdict.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-newkeys.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-noidxapp-utf8.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-noidxapp.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-nomathhyper.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-numberlist.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-prefix.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-si.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-storage-abbr-desc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample-storage-abbr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sample4col.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleaccsupp.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleAcr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleAcrDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleacronyms.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleCustomAcr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleDB.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleEq.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleEqPg.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleFnAcrDesc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleNtn.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplePeople.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleSec.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleSort.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampletree.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*sampleutf8.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplexdy.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< \tallynum { - "arabic-numbers" % -> arabic number (0, 1, 2, etc) - :sep "\glsclosebrace" % -> } -} - -% If the definition of \tally changes so that it expands to -% something slightly different then the above will have to be -% changed accordingly. - -% (Need to redefine \glsXpageXhyperbfit and -% \glsXpageXglsnumberformat after \makeglossaries to get the -% hyperlinks working correctly.) - -% To have Mc as a separate group uncomment the following three -% lines: - -%\setStyleFile{samplexdy-mc} % note no extension -%\noist -%\GlsSetXdyLanguage{} - -% The above three lines specify to use samplexdy-mc.xdy (supplied -% with this file) and don't overwrite it. The language is -% unset using \GlsSetXdyLanguage{} as all the language -% dependent information is contained in samplexdy-mc.xdy -% Note that using \noist means that commands like -% \GlsAddXdyAttribute and \GlsAddXdyLocation will no longer have -% an effect. - -% Write the style file (if \noist isn't used) -% and activate glossary entries - -\makeglossaries - -% Each page location will be specified in the form: -% -% "\glsXpageXglsnumberformat{}{\tallynum {" number "}}" -% or -% "\glsXpageXhyperbfit{}{\tallynum {" number "}}" -% -% Knowing this, we can redefine \glsXpageXglsnumberformat -% and \glsXpageXhyperbfit to grab the number part to work out the -% location's numeric value. If the definition of \tally changes -% so that it expands to something slightly different then this -% code will no longer work. -% -% Redefine to allow hyperlinks: - -\renewcommand{\glsXpageXglsnumberformat}[2]{% - % remember that #2 is in the form \tallynum {n} - % so this does \linkpagenumber\tallynum{n} - \linkpagenumber#2% -} - -\renewcommand{\glsXpageXhyperbfit}[2]{% - \textbf{\em\linkpagenumber#2}% -} - -% Syntax: \linkpagenumber\tallynum{page number} -% This creates hyperlink to the given page. -\newcommand{\linkpagenumber}[2]{\hyperlink{page.#2}{#1{#2}}} - -% Define glossary entries -% \glshyperlink is used instead of \gls to prevent the glossary -% page numbers also appear in the locations, however I need -% to ensure that the referenced entries are added to the -% glossary via commands that use \glslink, \glsadd or \glssee - -\newglossaryentry{mcadam}{name={McAdam, John Loudon}, -first={John Loudon McAdam},text={McAdam}, -description={Scottish engineer}} - -\newglossaryentry{maclaurin}{name={Maclaurin, Colin}, -first={Colin Maclaurin},text={Maclaurin}, -description={Scottish mathematician best known for the -\gls{maclaurinseries}}} - -\newglossaryentry{maclaurinseries}{name={Maclaurin series}, -description={Series expansion},see={taylorstheorem}} - -\newglossaryentry{taylorstheorem}{name={Taylor's theorem}, -description={Theorem expressing a function $f(x)$ as the sum of -a polynomial and a remainder: -\[f(x) = f(a)+f'(a)(x-a)+f''(a)(x-a^2)/2!+\cdots+R_n\] -If $n\to\infty$ the expansion is a \glshyperlink{taylorseries} -and if $a=0$, the series is called a -\gls{maclaurinseries}}} - -\newglossaryentry{taylorseries}{name={Taylor series}, -description={Series expansion},see={taylorstheorem}} - -\newglossaryentry{taylor}{name={Taylor, Brook}, -first={Brook Taylor},text={Taylor}, -description={English mathematician}} - -\newglossaryentry{mcnemar}{name={McNemar, Quinn}, -first={Quinn McNemar},text={McNemar}, -description={Mathematician who introduced -\gls{mcnemarstest}. This entry has the number list -suppressed},nonumberlist} - -\newglossaryentry{mcnemarstest}{name={McNemar's test}, -description={A nonparametric test introduced by -\gls{mcnemar} in 1947}} - -\newglossaryentry{mach}{name={Mach, Ernst}, -first={Ernst Mach},text={Mach}, -% if using samplexdy-mc.xdy, the following line is needed -% to prevent this entry being put in the "Mc" group -sort={mach, Ernst}, -description={Czech/Austrian physicist and philosopher}} - -\newglossaryentry{machnumber}{name={Mach number}, -% if using samplexdy-mc.xdy, the following line is needed -% to prevent this entry being put in the "Mc" group -sort={mach number}, -description={Ratio of the speed of a body in a fluid to the -speed of sound in that fluid named after \gls{mach}}} - -\newglossaryentry{malthus}{name={Malthus, Thomas Robert}, -first={Thomas Robert Malthus},text={Malthus}, -description={English mathematician, sociologist and classicist}} - -\newglossaryentry{ampereandre}{name={Ampère, André-Marie}, -first={André-Marie Ampère},text={Ampère}, -description={French mathematician and physicist}} - -\newglossaryentry{ampere}{name={ampere}, -description={SI unit of electric current named after -\gls{ampereandre}}} - -\newglossaryentry{archimedes}{name={Archimedes of Syracuse}, -first={Archimedes of Syracuse},text={Archimedes}, -description={Greek mathematician}} - -\newglossaryentry{archimedesprinciple}{name={Archimedes' principle}, -description={Principle that if a body is submerged in a fluid -it experiences upthrust equal to the weight of the displaced -fluid. Named after \gls{archimedes}}} - -\newglossaryentry{galton}{name={Galton, Sir Francis}, -first={Sir Francis Galton},text={Galton}, -description={English anthropologist}} - -\newglossaryentry{gauss}{name={Gauss, Karl Friedrich}, -first={Karl Friedrich Gauss},text={Gauss}, -description={German mathematician}} - -\newglossaryentry{gaussianint}{name={Gaussian integer}, -description={Complex number where both real and imaginary -parts are integers}} - -\newglossaryentry{gaussianfn}{name={Gaussian function}, - description={A function of the form: - \[f(x) = a \exp\left(-\frac{(x-b)^2}{2c^2}\right)\] - for some constants $a$, $b$ and $c$}} - -\newglossaryentry{peano}{name={Peano, Giuseppe}, -first={Giuseppe Peano},text={Peano}, -description={Italian mathematician}} - -\newglossaryentry{peanoscurve}{name={Peano's curve}, -description={A space-filling curve discovered by -\gls{peano}}} - -\newglossaryentry{pearson}{name={Pearson, Karl}, -first={Karl Pearson},text={Pearson}, -description={English mathematician}} - -\newglossaryentry{pearspmcc}{name={Pearson's product moment -correlation coefficient},description={Product moment correlation -coefficient named after \gls{pearson}}} - -\begin{document} -\title{Sample Document Using the Glossaries Package With Xindy} -\author{Nicola Talbot} -\maketitle - -\section{\glsentryfirst{gauss}} - -This is a section on \gls[format=(]{gauss}. This section spans -several pages. - -\rule{1pt}{0.6\textheight} - -This paragraph has been shoved to the bottom of the page using a rule. -This paragraph spans a page break for testing purposes to ensure the -glossary entry in this paragraph has the correct location. Here's -the glossary entry: \gls{gaussianfn}. Check that the location is -correct. - -This page talks about \glspl[format=hyperbfit]{gaussianint}. Since -it's the principle definition, the user-defined hyperbfit format is -used. - -\newpage - -The section on \gls[format=)]{gauss} ends here. - -\section{Series Expansions} - -This section is about series expansions. It mentions -\gls{maclaurin} and \gls{taylor}. It also discusses -\gls{taylorstheorem} which is related to the \gls{taylorseries}. -The \gls{maclaurinseries} is a special case of the -\gls{taylorseries}. - -\section{\glsentryname{archimedesprinciple}} - -This section discusses \gls{archimedesprinciple} which was -introduced by \gls{archimedes}. - -\section{Another section} - -This section covers \gls{mach} who introduced the \gls{machnumber}. -It also mentions \gls{ampereandre} after whom the -SI unit \gls{ampere} is named. It then discusses \gls{galton} -and \gls{malthus}. Finally it mentions \gls{mcadam}. - -\newpage -This page discusses \gls{mcnemar} who introduced -\gls{mcnemarstest} and \gls{peano} who discovered \gls{peanoscurve}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplexdy2.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%< -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplexdy3.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<} (where is the page number) -% so need to define the location in that format: -% (This command will have no effect if \noist is used) - -\GlsAddXdyLocation{customfmt}{:sep "\string\customfmtnum\space\glsopenbrace" - "arabic-numbers" :sep "\glsclosebrace"} - -% (Need to redefine \glsXpageXhyperbfit and -% \glsXpageXglsnumberformat after \makeglossaries to get the -% hyperlinks working correctly.) - -% To have Mc as a separate group uncomment the following three -% lines: - -%\setStyleFile{samplexdy-mc} % note no extension -%\noist -%\GlsSetXdyLanguage{} - -% The above three lines specify to use samplexdy-mc.xdy (supplied -% with this file) and don't overwrite it. The language is -% unset using \GlsSetXdyLanguage{} as all the language -% dependent information is contained in samplexdy-mc.xdy -% Note that using \noist means that commands like -% \GlsAddXdyAttribute and \GlsAddXdyLocation will no longer have -% an effect. - -% Write the style file (if \noist isn't used) -% and activate glossary entries - -\makeglossaries - -% Each page location will be specified in the form: -% -% "\glsXpageXglsnumberformat{}{\customfmtnum "\marg{n}"}" -% or -% "\glsXpageXhyperbfit{}{\customfmtnum "\marg{n}"}" -% -% Redefine to allow hyperlinks: - -\renewcommand{\glsXpageXglsnumberformat}[2]{% - \linkpagenumber#2% -} - -\renewcommand{\glsXpageXhyperbfit}[2]{% - \textbf{\em\linkpagenumber#2}% -} - -% The arguments of \linkpagenumber will be -% #1 -> \customfmtnum -% #2 -> n -% This means that the page number (n) can be used to -% form the hyperlink target. -\newcommand{\linkpagenumber}[2]{\hyperlink{page.#2}{#1{#2}}} - -% Define glossary entries -% \glshyperlink is used instead of \gls to prevent the glossary -% page numbers also appear in the locations, however I need -% to ensure that the referenced entries are added to the -% glossary via commands that use \glslink, \glsadd or \glssee - -\newglossaryentry{mcadam}{name={McAdam, John Loudon}, -first={John Loudon McAdam},text={McAdam}, -description={Scottish engineer}} - -\newglossaryentry{maclaurin}{name={Maclaurin, Colin}, -first={Colin Maclaurin},text={Maclaurin}, -description={Scottish mathematician best known for the -\gls{maclaurinseries}}} - -\newglossaryentry{maclaurinseries}{name={Maclaurin series}, -description={Series expansion},see={taylorstheorem}} - -\newglossaryentry{taylorstheorem}{name={Taylor's theorem}, -description={Theorem expressing a function $f(x)$ as the sum of -a polynomial and a remainder: -\[f(x) = f(a)+f'(a)(x-a)+f''(a)(x-a^2)/2!+\cdots+R_n\] -If $n\to\infty$ the expansion is a \glshyperlink{taylorseries} -and if $a=0$, the series is called a -\gls{maclaurinseries}}} - -\newglossaryentry{taylorseries}{name={Taylor series}, -description={Series expansion},see={taylorstheorem}} - -\newglossaryentry{taylor}{name={Taylor, Brook}, -first={Brook Taylor},text={Taylor}, -description={English mathematician}} - -\newglossaryentry{mcnemar}{name={McNemar, Quinn}, -first={Quinn McNemar},text={McNemar}, -description={Mathematician who introduced -\gls{mcnemarstest}. This entry has the number list -suppressed},nonumberlist} - -\newglossaryentry{mcnemarstest}{name={McNemar's test}, -description={A nonparametric test introduced by -\gls{mcnemar} in 1947}} - -\newglossaryentry{mach}{name={Mach, Ernst}, -first={Ernst Mach},text={Mach}, -% if using samplexdy-mc.xdy, the following line is needed -% to prevent this entry being put in the "Mc" group -sort={mach, Ernst}, -description={Czech/Austrian physicist and philosopher}} - -\newglossaryentry{machnumber}{name={Mach number}, -% if using samplexdy-mc.xdy, the following line is needed -% to prevent this entry being put in the "Mc" group -sort={mach number}, -description={Ratio of the speed of a body in a fluid to the -speed of sound in that fluid named after \gls{mach}}} - -\newglossaryentry{malthus}{name={Malthus, Thomas Robert}, -first={Thomas Robert Malthus},text={Malthus}, -description={English mathematician, sociologist and classicist}} - -\newglossaryentry{ampereandre}{name={Ampère, André-Marie}, -first={André-Marie Ampère},text={Ampère}, -description={French mathematician and physicist}} - -\newglossaryentry{ampere}{name={ampere}, -description={SI unit of electric current named after -\gls{ampereandre}}} - -\newglossaryentry{archimedes}{name={Archimedes of Syracuse}, -first={Archimedes of Syracuse},text={Archimedes}, -description={Greek mathematician}} - -\newglossaryentry{archimedesprinciple}{name={Archimedes' principle}, -description={Principle that if a body is submerged in a fluid -it experiences upthrust equal to the weight of the displaced -fluid. Named after \gls{archimedes}}} - -\newglossaryentry{galton}{name={Galton, Sir Francis}, -first={Sir Francis Galton},text={Galton}, -description={English anthropologist}} - -\newglossaryentry{gauss}{name={Gauss, Karl Friedrich}, -first={Karl Friedrich Gauss},text={Gauss}, -description={German mathematician}} - -\newglossaryentry{gaussianint}{name={Gaussian integer}, -description={Complex number where both real and imaginary -parts are integers}} - -\newglossaryentry{gaussianfn}{name={Gaussian function}, - description={A function of the form: - \[f(x) = a \exp\left(-\frac{(x-b)^2}{2c^2}\right)\] - for some constants $a$, $b$ and $c$}} - -\newglossaryentry{peano}{name={Peano, Giuseppe}, -first={Giuseppe Peano},text={Peano}, -description={Italian mathematician}} - -\newglossaryentry{peanoscurve}{name={Peano's curve}, -description={A space-filling curve discovered by -\gls{peano}}} - -\newglossaryentry{pearson}{name={Pearson, Karl}, -first={Karl Pearson},text={Pearson}, -description={English mathematician}} - -\newglossaryentry{pearspmcc}{name={Pearson's product moment -correlation coefficient},description={Product moment correlation -coefficient named after \gls{pearson}}} - -\begin{document} -\title{Sample Document Using the Glossaries Package With Xindy} -\author{Nicola Talbot} -\maketitle - -\section{\glsentryfirst{gauss}} - -This is a section on -\gls[format=(]{gauss}. This section spans -several pages. - -\rule{1pt}{0.6\textheight} - -This paragraph has been shoved to the bottom of the page using a rule. -This paragraph spans a page break for testing purposes to ensure the -glossary entry in this paragraph has the correct location. Here's -the glossary entry: \gls{gaussianfn}. - -This page talks about \glspl[format=hyperbfit]{gaussianint}. Since -it's the principle definition, the user-defined hyperbfit format is -used. - -\newpage - -The section on \gls[format=)]{gauss} ends here. - -\section{Series Expansions} - -This section is about series expansions. It mentions -\gls{maclaurin} and \gls{taylor}. It also discusses -\gls{taylorstheorem} which is related to the \gls{taylorseries}. -The \gls{maclaurinseries} is a special case of the -\gls{taylorseries}. - -\section{\glsentryname{archimedesprinciple}} - -This section discusses \gls{archimedesprinciple} which was -introduced by \gls{archimedes}. - -\section{Another section} - -This section covers \gls{mach} who introduced the \gls{machnumber}. -It also mentions \gls{ampereandre} after whom the -SI unit \gls{ampere} is named. It then discusses \gls{galton} -and \gls{malthus}. Finally it mentions \gls{mcadam}. - -\newpage -This page discusses \gls{mcnemar} who introduced -\gls{mcnemarstest} and \gls{peano} who discovered \gls{peanoscurve}. - -\printglossaries -\end{document} -%COMMENT -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*mwe-acr-desc.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex -\documentclass{article} - -\usepackage{glossaries} - -\makeglossaries - -\setacronymstyle{short-long-desc} - -\newacronym[description={a device that emits a narrow beam of -light}]{laser}{laser}{light amplification by stimulated -emission of radiation} - -\begin{document} - -First use: \gls{laser}. - -Next use: \gls{laser} or \glspl{laser}. - -\printglossaries - -\end{document} -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*mwe-acr.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex -\documentclass{article} - -\usepackage{glossaries} - -\makeglossaries - -\setacronymstyle{long-short} - -\newacronym{laser}{laser}{light amplification by stimulated -emission of radiation} - -\begin{document} - -First use: \gls{laser}. - -Next use: \gls{laser} or \glspl{laser}. - -\printglossaries - -\end{document} -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*mwe-gls.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex -\documentclass{article} - -\usepackage{glossaries} - -\makeglossaries - -\newglossaryentry{apple}{name={apple},description={a fruit}} - -\begin{document} - -\Gls{apple} or \gls{apple} or \glspl{apple}. - -\printglossaries - -\end{document} -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplexdy-mc.xdy> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -;; xindy style file for samplexdy.tex that has Mc letter group - -(define-letter-group "A" :prefixes ("€")) -(define-letter-group "B" :after "A" :prefixes ("„")) -(define-letter-group "C" :after "B" :prefixes ("†")) -(define-letter-group "D" :after "C" :prefixes ("")) -(define-letter-group "E" :after "D" :prefixes ("—")) -(define-letter-group "F" :after "E" :prefixes ("œ")) -(define-letter-group "G" :after "F" :prefixes ("")) -(define-letter-group "H" :after "G" :prefixes ("¤")) -(define-letter-group "I" :after "H" :prefixes ("¨")) -(define-letter-group "J" :after "I" :prefixes ("¬")) -(define-letter-group "K" :after "J" :prefixes ("®")) -(define-letter-group "L" :after "K" :prefixes ("´")) -(define-letter-group "Mc" :after "L" :prefixes ("»†")) -(define-letter-group "M" :after "Mc" :prefixes ("»")) -(define-letter-group "N" :after "M" :prefixes ("¼")) -(define-letter-group "O" :after "N" :prefixes ("Ã")) -(define-letter-group "P" :after "O" :prefixes ("È")) -(define-letter-group "Q" :after "P" :prefixes ("Ê")) -(define-letter-group "R" :after "Q" :prefixes ("Ë")) -(define-letter-group "S" :after "R" :prefixes ("Ð")) -(define-letter-group "T" :after "S" :prefixes ("Ú")) -(define-letter-group "U" :after "T" :prefixes ("à")) -(define-letter-group "V" :after "U" :prefixes ("å")) -(define-letter-group "W" :after "V" :prefixes ("æ")) -(define-letter-group "X" :after "W" :prefixes ("ë")) -(define-letter-group "Y" :after "X" :prefixes ("í")) -(define-letter-group "Ȝ" :after "Y" :prefixes ("ï")) -(define-letter-group "Z" :after "Ȝ" :prefixes ("ð")) -(define-letter-group "Þ" :after "Z" :prefixes ("ö")) -(define-letter-group "Æ¿" :after "Þ" :prefixes ("÷")) - -(define-rule-set "en-alphabetize" - - :rules (("à" "€" :string) - ("À" "€" :string) - ("Æ" "€—" :string) - ("æ" "€—" :string) - ("Ç" "†" :string) - ("ç" "†" :string) - ("ð" "" :string) - ("Ð" "" :string) - ("É" "—" :string) - ("Ê" "—" :string) - ("È" "—" :string) - ("Ë" "—" :string) - ("è" "—" :string) - ("ë" "—" :string) - ("ê" "—" :string) - ("é" "—" :string) - ("Ï" "¨" :string) - ("ï" "¨" :string) - ("Ñ" "¼" :string) - ("ñ" "¼" :string) - ("Ö" "Ã" :string) - ("Ô" "Ã" :string) - ("ô" "Ã" :string) - ("ö" "Ã" :string) - ("œ" "×" :string) - ("Œ" "×" :string) - ("ȝ" "ï" :string) - ("Ȝ" "ï" :string) - ("þ" "ö" :string) - ("Þ" "ö" :string) - ("Ç·" "÷" :string) - ("Æ¿" "÷" :string) - ("a" "€" :string) - ("A" "€" :string) - ("b" "„" :string) - ("B" "„" :string) - ("C" "†" :string) - ("c" "†" :string) - ("d" "" :string) - ("D" "" :string) - ("E" "—" :string) - ("e" "—" :string) - ("F" "œ" :string) - ("f" "œ" :string) - ("g" "" :string) - ("G" "" :string) - ("H" "¤" :string) - ("h" "¤" :string) - ("I" "¨" :string) - ("i" "¨" :string) - ("J" "¬" :string) - ("j" "¬" :string) - ("K" "®" :string) - ("k" "®" :string) - ("L" "´" :string) - ("l" "´" :string) - ("Mc" "»†" :string) - ("Mac" "»†" :string) - ("M" "»" :string) - ("m" "»" :string) - ("N" "¼" :string) - ("n" "¼" :string) - ("O" "Ã" :string) - ("o" "Ã" :string) - ("P" "È" :string) - ("p" "È" :string) - ("q" "Ê" :string) - ("Q" "Ê" :string) - ("r" "Ë" :string) - ("R" "Ë" :string) - ("S" "Ð" :string) - ("s" "Ð" :string) - ("T" "Ú" :string) - ("t" "Ú" :string) - ("u" "à" :string) - ("U" "à" :string) - ("v" "å" :string) - ("V" "å" :string) - ("w" "æ" :string) - ("W" "æ" :string) - ("X" "ë" :string) - ("x" "ë" :string) - ("Y" "í" :string) - ("y" "í" :string) - ("z" "ð" :string) - ("Z" "ð" :string) - )) - -(define-rule-set "en-resolve-diacritics" - - :rules (("ȝ" "¢" :string) - ("þ" "¢" :string) - ("Ç·" "¢" :string) - ("Þ" "¢" :string) - ("Ȝ" "¢" :string) - ("Æ¿" "¢" :string) - ("Ö" "£" :string) - ("Ñ" "£" :string) - ("ð" "£" :string) - ("Ç" "£" :string) - ("É" "£" :string) - ("Ï" "£" :string) - ("ï" "£" :string) - ("ö" "£" :string) - ("ñ" "£" :string) - ("ç" "£" :string) - ("à" "£" :string) - ("À" "£" :string) - ("é" "£" :string) - ("Ð" "£" :string) - ("Ô" "¤" :string) - ("ô" "¤" :string) - ("È" "¤" :string) - ("è" "¤" :string) - ("Ë" "¥" :string) - ("ë" "¥" :string) - ("Ê" "¦" :string) - ("ê" "¦" :string) - ("œ" "ÿ" :string) - ("Æ" "ÿ" :string) - ("Œ" "ÿ" :string) - ("æ" "ÿ" :string) - ("S" "¢" :string) - ("K" "¢" :string) - ("d" "¢" :string) - ("Y" "¢" :string) - ("E" "¢" :string) - ("y" "¢" :string) - ("g" "¢" :string) - ("e" "¢" :string) - ("J" "¢" :string) - ("q" "¢" :string) - ("D" "¢" :string) - ("b" "¢" :string) - ("z" "¢" :string) - ("w" "¢" :string) - ("Q" "¢" :string) - ("M" "¢" :string) - ("C" "¢" :string) - ("L" "¢" :string) - ("X" "¢" :string) - ("P" "¢" :string) - ("T" "¢" :string) - ("a" "¢" :string) - ("N" "¢" :string) - ("j" "¢" :string) - ("Z" "¢" :string) - ("u" "¢" :string) - ("k" "¢" :string) - ("t" "¢" :string) - ("W" "¢" :string) - ("v" "¢" :string) - ("s" "¢" :string) - ("B" "¢" :string) - ("H" "¢" :string) - ("c" "¢" :string) - ("I" "¢" :string) - ("G" "¢" :string) - ("U" "¢" :string) - ("F" "¢" :string) - ("r" "¢" :string) - ("x" "¢" :string) - ("V" "¢" :string) - ("h" "¢" :string) - ("f" "¢" :string) - ("i" "¢" :string) - ("A" "¢" :string) - ("O" "¢" :string) - ("n" "¢" :string) - ("m" "¢" :string) - ("l" "¢" :string) - ("p" "¢" :string) - ("R" "¢" :string) - ("o" "¢" :string) - )) - -(define-rule-set "en-resolve-case" - - :rules (("Ö" "8" :string) - ("Ñ" "8" :string) - ("Ô" "8" :string) - ("Ç" "8" :string) - ("É" "8" :string) - ("Ï" "8" :string) - ("Ê" "8" :string) - ("È" "8" :string) - ("Ë" "8" :string) - ("Ç·" "8" :string) - ("À" "8" :string) - ("Þ" "8" :string) - ("Ȝ" "8" :string) - ("Ð" "8" :string) - ("Æ" "89" :string) - ("Œ" "89" :string) - ("ð" "9" :string) - ("ô" "9" :string) - ("ȝ" "9" :string) - ("ï" "9" :string) - ("ö" "9" :string) - ("ñ" "9" :string) - ("ç" "9" :string) - ("à" "9" :string) - ("þ" "9" :string) - ("è" "9" :string) - ("ë" "9" :string) - ("ê" "9" :string) - ("é" "9" :string) - ("Æ¿" "9" :string) - ("œ" "99" :string) - ("æ" "99" :string) - ("S" "8" :string) - ("K" "8" :string) - ("Y" "8" :string) - ("E" "8" :string) - ("J" "8" :string) - ("D" "8" :string) - ("Q" "8" :string) - ("M" "8" :string) - ("C" "8" :string) - ("L" "8" :string) - ("X" "8" :string) - ("P" "8" :string) - ("T" "8" :string) - ("N" "8" :string) - ("Z" "8" :string) - ("W" "8" :string) - ("B" "8" :string) - ("H" "8" :string) - ("I" "8" :string) - ("G" "8" :string) - ("U" "8" :string) - ("F" "8" :string) - ("V" "8" :string) - ("A" "8" :string) - ("O" "8" :string) - ("R" "8" :string) - ("d" "9" :string) - ("y" "9" :string) - ("g" "9" :string) - ("e" "9" :string) - ("q" "9" :string) - ("b" "9" :string) - ("z" "9" :string) - ("w" "9" :string) - ("a" "9" :string) - ("j" "9" :string) - ("u" "9" :string) - ("k" "9" :string) - ("t" "9" :string) - ("v" "9" :string) - ("s" "9" :string) - ("c" "9" :string) - ("r" "9" :string) - ("x" "9" :string) - ("h" "9" :string) - ("f" "9" :string) - ("i" "9" :string) - ("n" "9" :string) - ("m" "9" :string) - ("l" "9" :string) - ("p" "9" :string) - ("o" "9" :string) - )) - -(define-rule-set "en-ignore-special" - - :rules (("-" "" :string) - ("!" "" :string) - ("{" "" :string) - ("'" "" :string) - ("}" "" :string) - ("?" "" :string) - ("." "" :string) - )) - -(define-rule-set "en-resolve-special" - - :rules (("Ö" "¤" :string) - ("Ñ" "¤" :string) - ("ð" "¤" :string) - ("Ô" "¤" :string) - ("Ç" "¤" :string) - ("É" "¤" :string) - ("ô" "¤" :string) - ("Ï" "¤" :string) - ("ȝ" "¤" :string) - ("ï" "¤" :string) - ("Ê" "¤" :string) - ("ö" "¤" :string) - ("ñ" "¤" :string) - ("È" "¤" :string) - ("ç" "¤" :string) - ("Ë" "¤" :string) - ("à" "¤" :string) - ("þ" "¤" :string) - ("Ç·" "¤" :string) - ("è" "¤" :string) - ("À" "¤" :string) - ("ë" "¤" :string) - ("Þ" "¤" :string) - ("ê" "¤" :string) - ("é" "¤" :string) - ("Ȝ" "¤" :string) - ("Æ¿" "¤" :string) - ("Ð" "¤" :string) - ("œ" "¤¤" :string) - ("Æ" "¤¤" :string) - ("Œ" "¤¤" :string) - ("æ" "¤¤" :string) - ("?" "¡" :string) - ("!" "¢" :string) - ("." "£" :string) - ("S" "¤" :string) - ("K" "¤" :string) - ("d" "¤" :string) - ("Y" "¤" :string) - ("E" "¤" :string) - ("y" "¤" :string) - ("g" "¤" :string) - ("e" "¤" :string) - ("J" "¤" :string) - ("q" "¤" :string) - ("D" "¤" :string) - ("b" "¤" :string) - ("z" "¤" :string) - ("w" "¤" :string) - ("Q" "¤" :string) - ("M" "¤" :string) - ("C" "¤" :string) - ("L" "¤" :string) - ("X" "¤" :string) - ("P" "¤" :string) - ("T" "¤" :string) - ("a" "¤" :string) - ("N" "¤" :string) - ("j" "¤" :string) - ("Z" "¤" :string) - ("u" "¤" :string) - ("k" "¤" :string) - ("t" "¤" :string) - ("W" "¤" :string) - ("v" "¤" :string) - ("s" "¤" :string) - ("B" "¤" :string) - ("H" "¤" :string) - ("c" "¤" :string) - ("I" "¤" :string) - ("G" "¤" :string) - ("U" "¤" :string) - ("F" "¤" :string) - ("r" "¤" :string) - ("x" "¤" :string) - ("V" "¤" :string) - ("h" "¤" :string) - ("f" "¤" :string) - ("i" "¤" :string) - ("A" "¤" :string) - ("O" "¤" :string) - ("n" "¤" :string) - ("m" "¤" :string) - ("l" "¤" :string) - ("p" "¤" :string) - ("R" "¤" :string) - ("o" "¤" :string) - ("-" "¥" :string) - ("'" "¦" :string) - ("{" "§" :string) - ("}" "¨" :string) - )) - -; The following section is customised for samplexdy.tex -; (copied from samplexdy.xdy automatically generated by -; samplexdy.tex) - -; required styles - -(require "tex.xdy") - -; list of allowed attributes (number formats) - -(define-attributes (("default" - "hyperbfit" - "pagehyperbfit" - "glsnumberformat" - "pageglsnumberformat" - "textrm" - "pagetextrm" - "textsf" - "pagetextsf" - "texttt" - "pagetexttt" - "textbf" - "pagetextbf" - "textmd" - "pagetextmd" - "textit" - "pagetextit" - "textup" - "pagetextup" - "textsl" - "pagetextsl" - "textsc" - "pagetextsc" - "emph" - "pageemph" - "glshypernumber" - "pageglshypernumber" - "hyperrm" - "pagehyperrm" - "hypersf" - "pagehypersf" - "hypertt" - "pagehypertt" - "hyperbf" - "pagehyperbf" - "hypermd" - "pagehypermd" - "hyperit" - "pagehyperit" - "hyperup" - "pagehyperup" - "hypersl" - "pagehypersl" - "hypersc" - "pagehypersc" - "hyperemph" - "pagehyperemph"))) - -; user defined alphabets - - - -; location class definitions - -(define-location-class "roman-page-numbers" - ( :sep "{}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-roman-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-roman-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-roman-page-numbers" - ( :sep "{" "alpha" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-roman-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-roman-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers" - ( :sep "{}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-Roman-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-Roman-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-Roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-Roman-page-numbers" - ( :sep "{" "alpha" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-Roman-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-Roman-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-Roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers" - ( :sep "{}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-arabic-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-arabic-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-arabic-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-arabic-page-numbers" - ( :sep "{" "alpha" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-arabic-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-arabic-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-arabic-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers" - ( :sep "{}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-alpha-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-alpha-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-alpha-page-numbers" - ( :sep "{" "alpha" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "alpha" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers" - ( :sep "{}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-Alpha-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-Alpha-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-Alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-Alpha-page-numbers" - ( :sep "{" "alpha" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-Alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-Alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-Alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers" - ( :sep "{}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-Appendix-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-Appendix-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-Appendix-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-Appendix-page-numbers" - ( :sep "{" "alpha" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-Appendix-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-Appendix-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-Appendix-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers" - ( :sep "{}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "roman-page-numbers-arabic-section-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Roman-page-numbers-arabic-section-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-page-numbers-arabic-section-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "alpha-page-numbers-arabic-section-numbers" - ( :sep "{" "alpha" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-arabic-section-numbers" - ( :sep "{" "ALPHA" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-arabic-section-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) -(define-location-class "arabic-section-numbers-arabic-section-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) - :min-range-length 2 -) - -; user defined location classes - -(define-location-class "Numberstring" - (:sep "{}{" :sep "\protect \Numberstringnum {" "arabic-numbers" :sep "}" :sep "}")) - -; define cross-reference class - -(define-crossref-class "see" :unverified ) -(markup-crossref-list :class "see" - :open "\glsseeformat" :close "{}") - -; define the order of the location classes -(define-location-class-order ( - "roman-page-numbers" - "arabic-page-numbers" - "arabic-section-numbers" - "alpha-page-numbers" - "Roman-page-numbers" - "Alpha-page-numbers" - "Appendix-page-numbers" - "see" )) - -; define the glossary markup - -(markup-index - :open "\glossarysection[\glossarytoctitle]{\glossarytitle}\glossarypreamble -\providecommand*\glsXpageXhyperbfit[2]{\setentrycounter[#1]{page}\hyperbfit{#2}} -\providecommand*\glsXpageXglsnumberformat[2]{\setentrycounter[#1]{page}\glsnumberformat{#2}} -\providecommand*\glsXpageXtextrm[2]{\setentrycounter[#1]{page}\textrm{#2}} -\providecommand*\glsXpageXtextsf[2]{\setentrycounter[#1]{page}\textsf{#2}} -\providecommand*\glsXpageXtexttt[2]{\setentrycounter[#1]{page}\texttt{#2}} -\providecommand*\glsXpageXtextbf[2]{\setentrycounter[#1]{page}\textbf{#2}} -\providecommand*\glsXpageXtextmd[2]{\setentrycounter[#1]{page}\textmd{#2}} -\providecommand*\glsXpageXtextit[2]{\setentrycounter[#1]{page}\textit{#2}} -\providecommand*\glsXpageXtextup[2]{\setentrycounter[#1]{page}\textup{#2}} -\providecommand*\glsXpageXtextsl[2]{\setentrycounter[#1]{page}\textsl{#2}} -\providecommand*\glsXpageXtextsc[2]{\setentrycounter[#1]{page}\textsc{#2}} -\providecommand*\glsXpageXemph[2]{\setentrycounter[#1]{page}\emph{#2}} -\providecommand*\glsXpageXglshypernumber[2]{\setentrycounter[#1]{page}\glshypernumber{#2}} -\providecommand*\glsXpageXhyperrm[2]{\setentrycounter[#1]{page}\hyperrm{#2}} -\providecommand*\glsXpageXhypersf[2]{\setentrycounter[#1]{page}\hypersf{#2}} -\providecommand*\glsXpageXhypertt[2]{\setentrycounter[#1]{page}\hypertt{#2}} -\providecommand*\glsXpageXhyperbf[2]{\setentrycounter[#1]{page}\hyperbf{#2}} -\providecommand*\glsXpageXhypermd[2]{\setentrycounter[#1]{page}\hypermd{#2}} -\providecommand*\glsXpageXhyperit[2]{\setentrycounter[#1]{page}\hyperit{#2}} -\providecommand*\glsXpageXhyperup[2]{\setentrycounter[#1]{page}\hyperup{#2}} -\providecommand*\glsXpageXhypersl[2]{\setentrycounter[#1]{page}\hypersl{#2}} -\providecommand*\glsXpageXhypersc[2]{\setentrycounter[#1]{page}\hypersc{#2}} -\providecommand*\glsXpageXhyperemph[2]{\setentrycounter[#1]{page}\hyperemph{#2}} -\begin{theglossary}\glossaryheader~n" - :close "%~n\end{theglossary}\glossarypostamble~n" - :tree) -(markup-letter-group-list :sep "\glsgroupskip~n") -(markup-indexentry :open "\relax\glsresetentrylist~n") -(markup-locclass-list :open "{\glossaryentrynumbers{\relax " - :sep ", " :close "}}") -(markup-locref-list :sep "\delimN ") -(markup-range :sep "\delimR ") - -; define format to use for locations - - -(markup-locref :open "~n\glsXpageXhyperbfit" - :close "" - :attr "pagehyperbfit") -(markup-locref :open "~n\glsXpageXglsnumberformat" - :close "" - :attr "pageglsnumberformat") -(markup-locref :open "~n\glsXpageXtextrm" - :close "" - :attr "pagetextrm") -(markup-locref :open "~n\glsXpageXtextsf" - :close "" - :attr "pagetextsf") -(markup-locref :open "~n\glsXpageXtexttt" - :close "" - :attr "pagetexttt") -(markup-locref :open "~n\glsXpageXtextbf" - :close "" - :attr "pagetextbf") -(markup-locref :open "~n\glsXpageXtextmd" - :close "" - :attr "pagetextmd") -(markup-locref :open "~n\glsXpageXtextit" - :close "" - :attr "pagetextit") -(markup-locref :open "~n\glsXpageXtextup" - :close "" - :attr "pagetextup") -(markup-locref :open "~n\glsXpageXtextsl" - :close "" - :attr "pagetextsl") -(markup-locref :open "~n\glsXpageXtextsc" - :close "" - :attr "pagetextsc") -(markup-locref :open "~n\glsXpageXemph" - :close "" - :attr "pageemph") -(markup-locref :open "~n\glsXpageXglshypernumber" - :close "" - :attr "pageglshypernumber") -(markup-locref :open "~n\glsXpageXhyperrm" - :close "" - :attr "pagehyperrm") -(markup-locref :open "~n\glsXpageXhypersf" - :close "" - :attr "pagehypersf") -(markup-locref :open "~n\glsXpageXhypertt" - :close "" - :attr "pagehypertt") -(markup-locref :open "~n\glsXpageXhyperbf" - :close "" - :attr "pagehyperbf") -(markup-locref :open "~n\glsXpageXhypermd" - :close "" - :attr "pagehypermd") -(markup-locref :open "~n\glsXpageXhyperit" - :close "" - :attr "pagehyperit") -(markup-locref :open "~n\glsXpageXhyperup" - :close "" - :attr "pagehyperup") -(markup-locref :open "~n\glsXpageXhypersl" - :close "" - :attr "pagehypersl") -(markup-locref :open "~n\glsXpageXhypersc" - :close "" - :attr "pagehypersc") -(markup-locref :open "~n\glsXpageXhyperemph" - :close "" - :attr "pagehyperemph") - -; define letter group list format - -(markup-letter-group-list :sep "\glsgroupskip~n") - -; letter group headings - -(markup-letter-group :open-head "\glsgroupheading{" - :close-head "}") - -; additional letter groups - -(define-letter-group "glsnumbers" - :prefixes ("0" "1" "2" "3" "4" "5" "6" "7" "8" "9") - :before "A") - -; additional sort rules - - -; The following is copied from xindy/lang/english/utf8-lang.xdy - -(define-sort-rule-orientations (forward backward forward forward)) -(use-rule-set :run 0 - :rule-set ("en-alphabetize" "en-ignore-special")) -(use-rule-set :run 1 - :rule-set ("en-resolve-diacritics" "en-ignore-special")) -(use-rule-set :run 2 - :rule-set ("en-resolve-case" "en-ignore-special")) -(use-rule-set :run 3 - :rule-set ("en-resolve-special")) - -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*samplexdy-mc207.xdy> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -;; xindy style file for samplexdy.tex that has Mc letter group - -(define-letter-group "A" :prefixes ("€")) -(define-letter-group "B" :after "A" :prefixes ("„")) -(define-letter-group "C" :after "B" :prefixes ("†")) -(define-letter-group "D" :after "C" :prefixes ("")) -(define-letter-group "E" :after "D" :prefixes ("—")) -(define-letter-group "F" :after "E" :prefixes ("œ")) -(define-letter-group "G" :after "F" :prefixes ("")) -(define-letter-group "H" :after "G" :prefixes ("¤")) -(define-letter-group "I" :after "H" :prefixes ("¨")) -(define-letter-group "J" :after "I" :prefixes ("¬")) -(define-letter-group "K" :after "J" :prefixes ("®")) -(define-letter-group "L" :after "K" :prefixes ("´")) -(define-letter-group "Mc" :after "L" :prefixes ("»†")) -(define-letter-group "M" :after "Mc" :prefixes ("»")) -(define-letter-group "N" :after "M" :prefixes ("¼")) -(define-letter-group "O" :after "N" :prefixes ("Ã")) -(define-letter-group "P" :after "O" :prefixes ("È")) -(define-letter-group "Q" :after "P" :prefixes ("Ê")) -(define-letter-group "R" :after "Q" :prefixes ("Ë")) -(define-letter-group "S" :after "R" :prefixes ("Ð")) -(define-letter-group "T" :after "S" :prefixes ("Ú")) -(define-letter-group "U" :after "T" :prefixes ("à")) -(define-letter-group "V" :after "U" :prefixes ("å")) -(define-letter-group "W" :after "V" :prefixes ("æ")) -(define-letter-group "X" :after "W" :prefixes ("ë")) -(define-letter-group "Y" :after "X" :prefixes ("í")) -(define-letter-group "Ȝ" :after "Y" :prefixes ("ï")) -(define-letter-group "Z" :after "Ȝ" :prefixes ("ð")) -(define-letter-group "Þ" :after "Z" :prefixes ("ö")) -(define-letter-group "Æ¿" :after "Þ" :prefixes ("÷")) - -(define-rule-set "en-alphabetize" - - :rules (("à" "€" :string) - ("À" "€" :string) - ("Æ" "€—" :string) - ("æ" "€—" :string) - ("Ç" "†" :string) - ("ç" "†" :string) - ("ð" "" :string) - ("Ð" "" :string) - ("É" "—" :string) - ("Ê" "—" :string) - ("È" "—" :string) - ("Ë" "—" :string) - ("è" "—" :string) - ("ë" "—" :string) - ("ê" "—" :string) - ("é" "—" :string) - ("Ï" "¨" :string) - ("ï" "¨" :string) - ("Ñ" "¼" :string) - ("ñ" "¼" :string) - ("Ö" "Ã" :string) - ("Ô" "Ã" :string) - ("ô" "Ã" :string) - ("ö" "Ã" :string) - ("œ" "×" :string) - ("Œ" "×" :string) - ("ȝ" "ï" :string) - ("Ȝ" "ï" :string) - ("þ" "ö" :string) - ("Þ" "ö" :string) - ("Ç·" "÷" :string) - ("Æ¿" "÷" :string) - ("a" "€" :string) - ("A" "€" :string) - ("b" "„" :string) - ("B" "„" :string) - ("C" "†" :string) - ("c" "†" :string) - ("d" "" :string) - ("D" "" :string) - ("E" "—" :string) - ("e" "—" :string) - ("F" "œ" :string) - ("f" "œ" :string) - ("g" "" :string) - ("G" "" :string) - ("H" "¤" :string) - ("h" "¤" :string) - ("I" "¨" :string) - ("i" "¨" :string) - ("J" "¬" :string) - ("j" "¬" :string) - ("K" "®" :string) - ("k" "®" :string) - ("L" "´" :string) - ("l" "´" :string) - ("Mc" "»†" :string) - ("Mac" "»†" :string) - ("M" "»" :string) - ("m" "»" :string) - ("N" "¼" :string) - ("n" "¼" :string) - ("O" "Ã" :string) - ("o" "Ã" :string) - ("P" "È" :string) - ("p" "È" :string) - ("q" "Ê" :string) - ("Q" "Ê" :string) - ("r" "Ë" :string) - ("R" "Ë" :string) - ("S" "Ð" :string) - ("s" "Ð" :string) - ("T" "Ú" :string) - ("t" "Ú" :string) - ("u" "à" :string) - ("U" "à" :string) - ("v" "å" :string) - ("V" "å" :string) - ("w" "æ" :string) - ("W" "æ" :string) - ("X" "ë" :string) - ("x" "ë" :string) - ("Y" "í" :string) - ("y" "í" :string) - ("z" "ð" :string) - ("Z" "ð" :string) - )) - -(define-rule-set "en-resolve-diacritics" - - :rules (("ȝ" "¢" :string) - ("þ" "¢" :string) - ("Ç·" "¢" :string) - ("Þ" "¢" :string) - ("Ȝ" "¢" :string) - ("Æ¿" "¢" :string) - ("Ö" "£" :string) - ("Ñ" "£" :string) - ("ð" "£" :string) - ("Ç" "£" :string) - ("É" "£" :string) - ("Ï" "£" :string) - ("ï" "£" :string) - ("ö" "£" :string) - ("ñ" "£" :string) - ("ç" "£" :string) - ("à" "£" :string) - ("À" "£" :string) - ("é" "£" :string) - ("Ð" "£" :string) - ("Ô" "¤" :string) - ("ô" "¤" :string) - ("È" "¤" :string) - ("è" "¤" :string) - ("Ë" "¥" :string) - ("ë" "¥" :string) - ("Ê" "¦" :string) - ("ê" "¦" :string) - ("œ" "ÿ" :string) - ("Æ" "ÿ" :string) - ("Œ" "ÿ" :string) - ("æ" "ÿ" :string) - ("S" "¢" :string) - ("K" "¢" :string) - ("d" "¢" :string) - ("Y" "¢" :string) - ("E" "¢" :string) - ("y" "¢" :string) - ("g" "¢" :string) - ("e" "¢" :string) - ("J" "¢" :string) - ("q" "¢" :string) - ("D" "¢" :string) - ("b" "¢" :string) - ("z" "¢" :string) - ("w" "¢" :string) - ("Q" "¢" :string) - ("M" "¢" :string) - ("C" "¢" :string) - ("L" "¢" :string) - ("X" "¢" :string) - ("P" "¢" :string) - ("T" "¢" :string) - ("a" "¢" :string) - ("N" "¢" :string) - ("j" "¢" :string) - ("Z" "¢" :string) - ("u" "¢" :string) - ("k" "¢" :string) - ("t" "¢" :string) - ("W" "¢" :string) - ("v" "¢" :string) - ("s" "¢" :string) - ("B" "¢" :string) - ("H" "¢" :string) - ("c" "¢" :string) - ("I" "¢" :string) - ("G" "¢" :string) - ("U" "¢" :string) - ("F" "¢" :string) - ("r" "¢" :string) - ("x" "¢" :string) - ("V" "¢" :string) - ("h" "¢" :string) - ("f" "¢" :string) - ("i" "¢" :string) - ("A" "¢" :string) - ("O" "¢" :string) - ("n" "¢" :string) - ("m" "¢" :string) - ("l" "¢" :string) - ("p" "¢" :string) - ("R" "¢" :string) - ("o" "¢" :string) - )) - -(define-rule-set "en-resolve-case" - - :rules (("Ö" "8" :string) - ("Ñ" "8" :string) - ("Ô" "8" :string) - ("Ç" "8" :string) - ("É" "8" :string) - ("Ï" "8" :string) - ("Ê" "8" :string) - ("È" "8" :string) - ("Ë" "8" :string) - ("Ç·" "8" :string) - ("À" "8" :string) - ("Þ" "8" :string) - ("Ȝ" "8" :string) - ("Ð" "8" :string) - ("Æ" "89" :string) - ("Œ" "89" :string) - ("ð" "9" :string) - ("ô" "9" :string) - ("ȝ" "9" :string) - ("ï" "9" :string) - ("ö" "9" :string) - ("ñ" "9" :string) - ("ç" "9" :string) - ("à" "9" :string) - ("þ" "9" :string) - ("è" "9" :string) - ("ë" "9" :string) - ("ê" "9" :string) - ("é" "9" :string) - ("Æ¿" "9" :string) - ("œ" "99" :string) - ("æ" "99" :string) - ("S" "8" :string) - ("K" "8" :string) - ("Y" "8" :string) - ("E" "8" :string) - ("J" "8" :string) - ("D" "8" :string) - ("Q" "8" :string) - ("M" "8" :string) - ("C" "8" :string) - ("L" "8" :string) - ("X" "8" :string) - ("P" "8" :string) - ("T" "8" :string) - ("N" "8" :string) - ("Z" "8" :string) - ("W" "8" :string) - ("B" "8" :string) - ("H" "8" :string) - ("I" "8" :string) - ("G" "8" :string) - ("U" "8" :string) - ("F" "8" :string) - ("V" "8" :string) - ("A" "8" :string) - ("O" "8" :string) - ("R" "8" :string) - ("d" "9" :string) - ("y" "9" :string) - ("g" "9" :string) - ("e" "9" :string) - ("q" "9" :string) - ("b" "9" :string) - ("z" "9" :string) - ("w" "9" :string) - ("a" "9" :string) - ("j" "9" :string) - ("u" "9" :string) - ("k" "9" :string) - ("t" "9" :string) - ("v" "9" :string) - ("s" "9" :string) - ("c" "9" :string) - ("r" "9" :string) - ("x" "9" :string) - ("h" "9" :string) - ("f" "9" :string) - ("i" "9" :string) - ("n" "9" :string) - ("m" "9" :string) - ("l" "9" :string) - ("p" "9" :string) - ("o" "9" :string) - )) - -(define-rule-set "en-ignore-special" - - :rules (("-" "" :string) - ("!" "" :string) - ("{" "" :string) - ("'" "" :string) - ("}" "" :string) - ("?" "" :string) - ("." "" :string) - )) - -(define-rule-set "en-resolve-special" - - :rules (("Ö" "¤" :string) - ("Ñ" "¤" :string) - ("ð" "¤" :string) - ("Ô" "¤" :string) - ("Ç" "¤" :string) - ("É" "¤" :string) - ("ô" "¤" :string) - ("Ï" "¤" :string) - ("ȝ" "¤" :string) - ("ï" "¤" :string) - ("Ê" "¤" :string) - ("ö" "¤" :string) - ("ñ" "¤" :string) - ("È" "¤" :string) - ("ç" "¤" :string) - ("Ë" "¤" :string) - ("à" "¤" :string) - ("þ" "¤" :string) - ("Ç·" "¤" :string) - ("è" "¤" :string) - ("À" "¤" :string) - ("ë" "¤" :string) - ("Þ" "¤" :string) - ("ê" "¤" :string) - ("é" "¤" :string) - ("Ȝ" "¤" :string) - ("Æ¿" "¤" :string) - ("Ð" "¤" :string) - ("œ" "¤¤" :string) - ("Æ" "¤¤" :string) - ("Œ" "¤¤" :string) - ("æ" "¤¤" :string) - ("?" "¡" :string) - ("!" "¢" :string) - ("." "£" :string) - ("S" "¤" :string) - ("K" "¤" :string) - ("d" "¤" :string) - ("Y" "¤" :string) - ("E" "¤" :string) - ("y" "¤" :string) - ("g" "¤" :string) - ("e" "¤" :string) - ("J" "¤" :string) - ("q" "¤" :string) - ("D" "¤" :string) - ("b" "¤" :string) - ("z" "¤" :string) - ("w" "¤" :string) - ("Q" "¤" :string) - ("M" "¤" :string) - ("C" "¤" :string) - ("L" "¤" :string) - ("X" "¤" :string) - ("P" "¤" :string) - ("T" "¤" :string) - ("a" "¤" :string) - ("N" "¤" :string) - ("j" "¤" :string) - ("Z" "¤" :string) - ("u" "¤" :string) - ("k" "¤" :string) - ("t" "¤" :string) - ("W" "¤" :string) - ("v" "¤" :string) - ("s" "¤" :string) - ("B" "¤" :string) - ("H" "¤" :string) - ("c" "¤" :string) - ("I" "¤" :string) - ("G" "¤" :string) - ("U" "¤" :string) - ("F" "¤" :string) - ("r" "¤" :string) - ("x" "¤" :string) - ("V" "¤" :string) - ("h" "¤" :string) - ("f" "¤" :string) - ("i" "¤" :string) - ("A" "¤" :string) - ("O" "¤" :string) - ("n" "¤" :string) - ("m" "¤" :string) - ("l" "¤" :string) - ("p" "¤" :string) - ("R" "¤" :string) - ("o" "¤" :string) - ("-" "¥" :string) - ("'" "¦" :string) - ("{" "§" :string) - ("}" "¨" :string) - )) - -; The following section is customised for samplexdy.tex -; (copied from samplexdy.xdy automatically generated by -; samplexdy.tex) - -; required styles - -(require "tex.xdy") - -; list of allowed attributes (number formats) - -(define-attributes (("default" - "glsnumberformat" - "textrm" - "textsf" - "texttt" - "textbf" - "textmd" - "textit" - "textup" - "textsl" - "textsc" - "emph" - "glshypernumber" - "hyperrm" - "hypersf" - "hypertt" - "hyperbf" - "hypermd" - "hyperit" - "hyperup" - "hypersl" - "hypersc" - "hyperemph" - "hyperbfit"))) - -; user defined alphabets - - - -; location class definitions - -(define-location-class "roman-page-numbers" - ("roman-numbers-lowercase")) -(define-location-class "Roman-page-numbers" - ("roman-numbers-uppercase")) -(define-location-class "arabic-page-numbers" - ("arabic-numbers")) -(define-location-class "alpha-page-numbers" - ("alpha")) -(define-location-class "Alpha-page-numbers" - ("ALPHA")) -(define-location-class "Appendix-page-numbers" - ("ALPHA" :sep "." "arabic-numbers")) -(define-location-class "arabic-section-numbers" - ("arabic-numbers" :sep "." "arabic-numbers")) - -; user defined location classes - -(define-location-class "Numberstring" - (:sep "\protect \Numberstringnum {" "arabic-numbers" :sep "}")) - -; define cross-reference class - -(define-crossref-class "see" :unverified ) -(markup-crossref-list :class "see" - :open "\glsseeformat" :close "{}") - -; define the order of the location classes -(define-location-class-order ( - "roman-page-numbers" - "arabic-page-numbers" - "arabic-section-numbers" - "alpha-page-numbers" - "Roman-page-numbers" - "Alpha-page-numbers" - "Appendix-page-numbers" - "see" )) - -; define the glossary markup - -(markup-index - :open "\glossarysection[\glossarytoctitle]{\glossarytitle}\glossarypreamble~n\begin{theglossary}\glossaryheader~n" - :close "~n\end{theglossary}~n\glossarypostamble~n" - :tree) -(markup-letter-group-list :sep "\glsgroupskip~n") -(markup-indexentry :open "~n" :depth 0) -(markup-locclass-list :open "{\glossaryentrynumbers{\relax " - :sep ", " :close "}}") -(markup-locref-list :sep "\delimN ") -(markup-range :sep "\delimR ") - -; define format to use for locations - - -(markup-locref :open "~n\setentrycounter{page}\glsnumberformat{" - :close "}" - :attr "glsnumberformat") -(markup-locref :open "~n\setentrycounter{page}\textrm{" - :close "}" - :attr "textrm") -(markup-locref :open "~n\setentrycounter{page}\textsf{" - :close "}" - :attr "textsf") -(markup-locref :open "~n\setentrycounter{page}\texttt{" - :close "}" - :attr "texttt") -(markup-locref :open "~n\setentrycounter{page}\textbf{" - :close "}" - :attr "textbf") -(markup-locref :open "~n\setentrycounter{page}\textmd{" - :close "}" - :attr "textmd") -(markup-locref :open "~n\setentrycounter{page}\textit{" - :close "}" - :attr "textit") -(markup-locref :open "~n\setentrycounter{page}\textup{" - :close "}" - :attr "textup") -(markup-locref :open "~n\setentrycounter{page}\textsl{" - :close "}" - :attr "textsl") -(markup-locref :open "~n\setentrycounter{page}\textsc{" - :close "}" - :attr "textsc") -(markup-locref :open "~n\setentrycounter{page}\emph{" - :close "}" - :attr "emph") -(markup-locref :open "~n\setentrycounter{page}\glshypernumber{" - :close "}" - :attr "glshypernumber") -(markup-locref :open "~n\setentrycounter{page}\hyperrm{" - :close "}" - :attr "hyperrm") -(markup-locref :open "~n\setentrycounter{page}\hypersf{" - :close "}" - :attr "hypersf") -(markup-locref :open "~n\setentrycounter{page}\hypertt{" - :close "}" - :attr "hypertt") -(markup-locref :open "~n\setentrycounter{page}\hyperbf{" - :close "}" - :attr "hyperbf") -(markup-locref :open "~n\setentrycounter{page}\hypermd{" - :close "}" - :attr "hypermd") -(markup-locref :open "~n\setentrycounter{page}\hyperit{" - :close "}" - :attr "hyperit") -(markup-locref :open "~n\setentrycounter{page}\hyperup{" - :close "}" - :attr "hyperup") -(markup-locref :open "~n\setentrycounter{page}\hypersl{" - :close "}" - :attr "hypersl") -(markup-locref :open "~n\setentrycounter{page}\hypersc{" - :close "}" - :attr "hypersc") -(markup-locref :open "~n\setentrycounter{page}\hyperemph{" - :close "}" - :attr "hyperemph") -(markup-locref :open "~n\setentrycounter{page}\hyperbfit{" - :close "}" - :attr "hyperbfit") - -; define letter group list format - -(markup-letter-group-list :sep "\glsgroupskip~n") - -; letter group headings - -(markup-letter-group :open-head "\glsgroupheading{" - :close-head "}") - -(define-letter-group "glsnumbers" - :prefixes ("0" "1" "2" "3" "4" "5" "6" "7" "8" "9") - :before "A") - -; The following is copied from xindy/lang/english/utf8-lang.xdy - -(define-sort-rule-orientations (forward backward forward forward)) -(use-rule-set :run 0 - :rule-set ("en-alphabetize" "en-ignore-special")) -(use-rule-set :run 1 - :rule-set ("en-resolve-diacritics" "en-ignore-special")) -(use-rule-set :run 2 - :rule-set ("en-resolve-case" "en-ignore-special")) -(use-rule-set :run 3 - :rule-set ("en-resolve-special")) - -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*database1.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % This is a sample database of glossary entries - % Only those entries used in the document with \glslink, \gls, - % \glspl, and uppercase variants will have entries in the - % glossary. Note that the type key is not used, as the - % glossary type can be specified in \loadglsentries - -\newglossaryentry{array}{name=array, -description={A list of values identified by a numeric value}} - -\newglossaryentry{binary}{name=binary, -description={Pertaining to numbers represented in base 2}} - -\newglossaryentry{comment}{name=comment, -description={A remark that doesn't affect the meaning of the -code}} - -\newglossaryentry{global}{name=global, -description={Something that maintains its state when it leaves -the current group}} - -\newglossaryentry{local}{name=local, -description={Something that only maintains its state until -it leaves the group in which it was defined/changed}} - -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -%<*database2.tex> -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} - % This is a sample database of glossary entries - % Only those entries used in the document with \glslink, \gls, - % \glspl, and uppercase variants will have entries in the - % glossary. Note that the type key is not used, as the - % glossary type can be specified in \loadglsentries - - % Don't need to worry about makeindex special characters -\newglossaryentry{quote}{name={"}, -description={the double quote symbol}} - -\newglossaryentry{at}{name={@}, -description={the ``at'' symbol}} - -\newglossaryentry{excl}{name={!}, -description={the exclamation mark symbol}} - -\newglossaryentry{bar}{name={\ensuremath{|}}, -description={the vertical bar symbol}} - -\newglossaryentry{hash}{name={\#}, -description={the hash symbol}} - -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} -% -% \end{macrocode} -%\fi -%\iffalse -% \begin{macrocode} %<*glossaries.perl> % \end{macrocode} %\fi diff --git a/macros/latex/contrib/glossaries/glossaries.ins b/macros/latex/contrib/glossaries/glossaries.ins index f46dd99a7a..6539fc8046 100644 --- a/macros/latex/contrib/glossaries/glossaries.ins +++ b/macros/latex/contrib/glossaries/glossaries.ins @@ -1,4 +1,4 @@ -% glossaries.ins generated using makedtx version 1.2 2019/9/28 15:01 +% glossaries.ins generated using makedtx version 1.2 2019/12/6 14:57 \input docstrip \preamble @@ -18,7 +18,7 @@ The Current Maintainer of this work is Nicola Talbot. - This work consists of the files glossaries.dtx and glossaries.ins and the derived files glossaries.sty, glossaries-prefix.sty, glossary-hypernav.sty, glossary-inline.sty, glossary-list.sty, glossary-long.sty, glossary-longbooktabs.sty, glossary-longragged.sty, glossary-mcols.sty, glossary-super.sty, glossary-superragged.sty, glossary-tree.sty, glossaries-compatible-207.sty, glossaries-compatible-307.sty, glossaries-accsupp.sty, glossaries-babel.sty, glossaries-polyglossia.sty, minimalgls.tex, glossary-lipsum-examples.tex, example-glossaries-acronym-desc.tex, example-glossaries-acronym.tex, example-glossaries-acronyms-lang.tex, example-glossaries-brief.tex, example-glossaries-childnoname.tex, example-glossaries-cite.tex, example-glossaries-images.tex, example-glossaries-long.tex, example-glossaries-multipar.tex, example-glossaries-parent.tex, example-glossaries-symbolnames.tex, example-glossaries-symbols.tex, example-glossaries-url.tex, sample-chap-hyperfirst.tex, sample-crossref.tex, sample-custom-acronym.tex, sample-dot-abbr.tex, sample-dual.tex, sample-entrycount.tex, sample-entryfmt.tex, sample-FnDesc.tex, sample-font-abbr.tex, sample-ignored.tex, sample-index.tex, sample-inline.tex, sample-langdict.tex, sample-newkeys.tex, sample-noidxapp-utf8.tex, sample-noidxapp.tex, sample-nomathhyper.tex, sample-numberlist.tex, sample-prefix.tex, sample-si.tex, sample-storage-abbr-desc.tex, sample-storage-abbr.tex, sample.tex, sample4col.tex, sampleaccsupp.tex, sampleAcr.tex, sampleAcrDesc.tex, sampleacronyms.tex, sampleCustomAcr.tex, sampleDB.tex, sampleDesc.tex, sampleEq.tex, sampleEqPg.tex, sampleFnAcrDesc.tex, sampleNtn.tex, samplePeople.tex, sampleSec.tex, sampleSort.tex, sampletree.tex, sampleutf8.tex, samplexdy.tex, samplexdy2.tex, samplexdy3.tex, mwe-acr-desc.tex, mwe-acr.tex, mwe-gls.tex, samplexdy-mc.xdy, samplexdy-mc207.xdy, database1.tex, database2.tex, glossaries.perl. + This work consists of the files glossaries.dtx and glossaries.ins and the derived files glossaries.sty, glossaries-prefix.sty, glossary-hypernav.sty, glossary-inline.sty, glossary-list.sty, glossary-long.sty, glossary-longbooktabs.sty, glossary-longragged.sty, glossary-mcols.sty, glossary-super.sty, glossary-superragged.sty, glossary-tree.sty, glossaries-compatible-207.sty, glossaries-compatible-307.sty, glossaries-accsupp.sty, glossaries-babel.sty, glossaries-polyglossia.sty, example-glossaries-acronym-desc.tex, example-glossaries-acronym.tex, example-glossaries-acronyms-lang.tex, example-glossaries-brief.tex, example-glossaries-childnoname.tex, example-glossaries-cite.tex, example-glossaries-images.tex, example-glossaries-long.tex, example-glossaries-multipar.tex, example-glossaries-parent.tex, example-glossaries-symbolnames.tex, example-glossaries-symbols.tex, example-glossaries-url.tex, glossaries.perl. \endpreamble @@ -58,8 +58,6 @@ \usepostamble\defaultpostamble\from{glossaries.dtx}{glossaries-babel.sty,package}} \file{glossaries-polyglossia.sty}{\usepreamble\defaultpreamble \usepostamble\defaultpostamble\from{glossaries.dtx}{glossaries-polyglossia.sty,package}} -\file{minimalgls.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{minimalgls.tex}} -\file{glossary-lipsum-examples.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{glossary-lipsum-examples.tex}} \file{example-glossaries-acronym-desc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-acronym-desc.tex}} \file{example-glossaries-acronym.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-acronym.tex}} \file{example-glossaries-acronyms-lang.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-acronyms-lang.tex}} @@ -73,56 +71,6 @@ \file{example-glossaries-symbolnames.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-symbolnames.tex}} \file{example-glossaries-symbols.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-symbols.tex}} \file{example-glossaries-url.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{example-glossaries-url.tex}} -\file{sample-chap-hyperfirst.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-chap-hyperfirst.tex}} -\file{sample-crossref.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-crossref.tex}} -\file{sample-custom-acronym.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-custom-acronym.tex}} -\file{sample-dot-abbr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-dot-abbr.tex}} -\file{sample-dual.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-dual.tex}} -\file{sample-entrycount.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-entrycount.tex}} -\file{sample-entryfmt.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-entryfmt.tex}} -\file{sample-FnDesc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-FnDesc.tex}} -\file{sample-font-abbr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-font-abbr.tex}} -\file{sample-ignored.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-ignored.tex}} -\file{sample-index.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-index.tex}} -\file{sample-inline.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-inline.tex}} -\file{sample-langdict.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-langdict.tex}} -\file{sample-newkeys.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-newkeys.tex}} -\file{sample-noidxapp-utf8.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-noidxapp-utf8.tex}} -\file{sample-noidxapp.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-noidxapp.tex}} -\file{sample-nomathhyper.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-nomathhyper.tex}} -\file{sample-numberlist.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-numberlist.tex}} -\file{sample-prefix.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-prefix.tex}} -\file{sample-si.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-si.tex}} -\file{sample-storage-abbr-desc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-storage-abbr-desc.tex}} -\file{sample-storage-abbr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample-storage-abbr.tex}} -\file{sample.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample.tex}} -\file{sample4col.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sample4col.tex}} -\file{sampleaccsupp.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleaccsupp.tex}} -\file{sampleAcr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleAcr.tex}} -\file{sampleAcrDesc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleAcrDesc.tex}} -\file{sampleacronyms.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleacronyms.tex}} -\file{sampleCustomAcr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleCustomAcr.tex}} -\file{sampleDB.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleDB.tex}} -\file{sampleDesc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleDesc.tex}} -\file{sampleEq.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleEq.tex}} -\file{sampleEqPg.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleEqPg.tex}} -\file{sampleFnAcrDesc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleFnAcrDesc.tex}} -\file{sampleNtn.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleNtn.tex}} -\file{samplePeople.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{samplePeople.tex}} -\file{sampleSec.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleSec.tex}} -\file{sampleSort.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleSort.tex}} -\file{sampletree.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampletree.tex}} -\file{sampleutf8.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{sampleutf8.tex}} -\file{samplexdy.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{samplexdy.tex}} -\file{samplexdy2.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{samplexdy2.tex}} -\file{samplexdy3.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{samplexdy3.tex}} -\file{mwe-acr-desc.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{mwe-acr-desc.tex}} -\file{mwe-acr.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{mwe-acr.tex}} -\file{mwe-gls.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{mwe-gls.tex}} -\file{samplexdy-mc.xdy}{\nopreamble\nopostamble\from{glossaries.dtx}{samplexdy-mc.xdy}} -\file{samplexdy-mc207.xdy}{\nopreamble\nopostamble\from{glossaries.dtx}{samplexdy-mc207.xdy}} -\file{database1.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{database1.tex}} -\file{database2.tex}{\nopreamble\nopostamble\from{glossaries.dtx}{database2.tex}} \file{glossaries.perl}{\nopreamble\nopostamble\from{glossaries.dtx}{glossaries.perl}} } diff --git a/macros/latex/contrib/glossaries/glossariesbegin.html b/macros/latex/contrib/glossaries/glossariesbegin.html index b45260805c..a3835bfd2e 100644 --- a/macros/latex/contrib/glossaries/glossariesbegin.html +++ b/macros/latex/contrib/glossaries/glossariesbegin.html @@ -109,7 +109,9 @@ td.td01{ padding-left:0pt; padding-right:5pt; } td.td10{ padding-left:5pt; padding-right:0pt; } td.td11{ padding-left:5pt; padding-right:5pt; } table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } -.hline hr, .cline hr{ height : 1px; margin:0px; } +.hline hr, .cline hr{ height : 0px; margin:0px; } +.hline td, .cline td{ padding: 0; } +.hline hr, .cline hr{border:none;border-top:1px solid black;} .tabbing-right {text-align:right;} span.TEX {letter-spacing: -0.125em; } span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;} @@ -119,8 +121,9 @@ span.LATEX span.TEX{ position:relative; left: -0.4em; } div.float, div.figure {margin-left: auto; margin-right: auto;} div.float img {text-align:center;} div.figure img {text-align:center;} -.marginpar {width:20%; float:right; text-align:left; margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;} -.marginpar p{margin-top:0.4em; margin-bottom:0.4em;} +.marginpar,.reversemarginpar {width:20%; float:right; text-align:left; margin-left:auto; margin-top:0.5em; font-size:85%; text-decoration:underline;} +.marginpar p,.reversemarginpar p{margin-top:0.4em; margin-bottom:0.4em;} +.reversemarginpar{float:left;} table.equation {width:100%;} .equation td{text-align:center; } td.equation { margin-top:1em; margin-bottom:1em; } @@ -173,7 +176,9 @@ td.td01{ padding-left:0pt; padding-right:5pt; } td.td10{ padding-left:5pt; padding-right:0pt; } td.td11{ padding-left:5pt; padding-right:5pt; } table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } -.hline hr, .cline hr{ height : 1px; margin:0px; } +.hline hr, .cline hr{ height : 0px; margin:0px; } +.hline td, .cline td{ padding: 0; } +.hline hr, .cline hr{border:none;border-top:1px solid black;} div.array {text-align:center;} .equation td{text-align:center; } .equation-star td{text-align:center; } @@ -190,6 +195,7 @@ table.gather {width:100%;} div.gather-star {text-align:center;} table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } div.longtable{text-align:center;} +table.longtable{margin-left:auto; margin-right: auto;} .supertabular {text-align:center} div.important { border : solid red; } div.verbatim { font-family: monospace; white-space: nowrap; text-align:left; clear:both; padding-top: 2ex; padding-bottom: 2ex;} @@ -255,7 +261,7 @@ span#textcolor40{color:#00FF00} >

The glossaries package v4.43: a guide for +class="cmr-17">The glossaries package v4.44: a guide for beginners

@@ -268,7 +274,7 @@ class="td11"> Nicola L.C. Talbot

2019-09-28

+class="cmr-12">2019-12-06

diff --git a/macros/latex/contrib/glossaries/glossariesbegin.pdf b/macros/latex/contrib/glossaries/glossariesbegin.pdf index 0a03bf1c66..b541ca9147 100644 Binary files a/macros/latex/contrib/glossaries/glossariesbegin.pdf and b/macros/latex/contrib/glossaries/glossariesbegin.pdf differ diff --git a/macros/latex/contrib/glossaries/glossariesbegin.tex b/macros/latex/contrib/glossaries/glossariesbegin.tex index 50a0bfccd9..03ab7be4ab 100644 --- a/macros/latex/contrib/glossaries/glossariesbegin.tex +++ b/macros/latex/contrib/glossaries/glossariesbegin.tex @@ -31,10 +31,10 @@ \texorpdfstring{{\frenchspacing\obeyspaces\ttfamily#1}}{#1}} \newcommand*{\file}[1]{\texorpdfstring{\texttt{#1}}{#1}} -\title{The glossaries package v4.43: +\title{The glossaries package v4.44: a guide for beginners} \author{Nicola L.C. Talbot} -\date{2019-09-28} +\date{2019-12-06} \ifpdf \externaldocument{glossaries-user} diff --git a/macros/latex/contrib/glossaries/glossary2glossaries.html b/macros/latex/contrib/glossaries/glossary2glossaries.html index bc00961cad..38391e1d5a 100644 --- a/macros/latex/contrib/glossaries/glossary2glossaries.html +++ b/macros/latex/contrib/glossaries/glossary2glossaries.html @@ -116,7 +116,9 @@ td.td01{ padding-left:0pt; padding-right:5pt; } td.td10{ padding-left:5pt; padding-right:0pt; } td.td11{ padding-left:5pt; padding-right:5pt; } table[rules] {border-left:solid black 0.4pt; border-right:solid black 0.4pt; } -.hline hr, .cline hr{ height : 1px; margin:0px; } +.hline hr, .cline hr{ height : 0px; margin:0px; } +.hline td, .cline td{ padding: 0; } +.hline hr, .cline hr{border:none;border-top:1px solid black;} .tabbing-right {text-align:right;} span.TEX {letter-spacing: -0.125em; } span.TEX span.E{ position:relative;top:0.5ex;left:-0.0417em;} @@ -201,7 +203,7 @@ class="td11">Nicola L.C. Talbot

2019-09-28

+class="cmr-12">2019-12-06

diff --git a/macros/latex/contrib/glossaries/glossary2glossaries.pdf b/macros/latex/contrib/glossaries/glossary2glossaries.pdf index 81d25e73d5..c3e3b4f504 100644 Binary files a/macros/latex/contrib/glossaries/glossary2glossaries.pdf and b/macros/latex/contrib/glossaries/glossary2glossaries.pdf differ diff --git a/macros/latex/contrib/glossaries/glossary2glossaries.tex b/macros/latex/contrib/glossaries/glossary2glossaries.tex index f49eb809de..9dc8492091 100644 --- a/macros/latex/contrib/glossaries/glossary2glossaries.tex +++ b/macros/latex/contrib/glossaries/glossary2glossaries.tex @@ -34,7 +34,7 @@ \title{Upgrading from the glossary package to the glossaries package} \author{Nicola L.C. Talbot} -\date{2019-09-28} +\date{2019-12-06} \newenvironment{oldway}{% \begin{labelledbox}{\styfmt{glossary}}\ttfamily\obeylines diff --git a/macros/latex/contrib/glossaries/makeglossaries b/macros/latex/contrib/glossaries/makeglossaries index 643e36b3c1..d42214c5ff 100755 --- a/macros/latex/contrib/glossaries/makeglossaries +++ b/macros/latex/contrib/glossaries/makeglossaries @@ -2,13 +2,13 @@ # File : makeglossaries # Author : Nicola Talbot -# Version : 4.41 +# Version : 4.44 # Description: simple Perl script that calls makeindex or xindy. # Intended for use with "glossaries.sty" (saves having to remember # all the various switches) # This file is distributed as part of the glossaries LaTeX package. -# Copyright 2007 Nicola L.C. Talbot +# Copyright 2019 Nicola L.C. Talbot # 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 any later version. @@ -31,9 +31,11 @@ # glossaries-babel.sty, glossaries-polyglossia.sty, glossaries.perl. # Also makeglossaries and makeglossaries-lite.lua. -my $version="4.41 (2018-07-23)"; +my $version="4.44 (2019-12-06)"; # History: +# v4.43: +# * No change. # v4.41: # * No change. # v4.40: diff --git a/macros/latex/contrib/glossaries/makeglossaries-lite.1 b/macros/latex/contrib/glossaries/makeglossaries-lite.1 index 6d4e3c1261..e94ad592da 100644 --- a/macros/latex/contrib/glossaries/makeglossaries-lite.1 +++ b/macros/latex/contrib/glossaries/makeglossaries-lite.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35) +.\" Automatically generated by Pod::Man 4.12 (Pod::Simple 3.39) .\" .\" Standard preamble: .\" ======================================================================== @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "MAKEGLOSSARIES-LITE 1" -.TH MAKEGLOSSARIES-LITE 1 "2019-09-28" "perl v5.28.1" "makeglossaries-lite Lua Script" +.TH MAKEGLOSSARIES-LITE 1 "2019-12-06" "perl v5.30.1" "makeglossaries-lite Lua Script" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff --git a/macros/latex/contrib/glossaries/makeglossaries-lite.lua b/macros/latex/contrib/glossaries/makeglossaries-lite.lua index f812edacee..22b1c75147 100755 --- a/macros/latex/contrib/glossaries/makeglossaries-lite.lua +++ b/macros/latex/contrib/glossaries/makeglossaries-lite.lua @@ -14,7 +14,7 @@ use the Perl makeglossaries script. This file is distributed as part of the glossaries LaTeX package. - Copyright 2015 Nicola L.C. Talbot + Copyright 2019 Nicola L.C. Talbot 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 any later version. @@ -36,6 +36,8 @@ Also makeglossaries and makeglossaries-lite.lua. History: + * 4.44: + - no change. * 4.41: - no change. * 4.40: @@ -64,7 +66,7 @@ - changed first line from lua to texlua --]] -thisversion = "4.41 (2018-07-23)" +thisversion = "4.44 (2019-12-06)" quiet = false dryrun = false diff --git a/macros/latex/contrib/glossaries/makeglossaries.1 b/macros/latex/contrib/glossaries/makeglossaries.1 index b2606ee432..c6f103fe49 100644 --- a/macros/latex/contrib/glossaries/makeglossaries.1 +++ b/macros/latex/contrib/glossaries/makeglossaries.1 @@ -1,4 +1,4 @@ -.\" Automatically generated by Pod::Man 4.11 (Pod::Simple 3.35) +.\" Automatically generated by Pod::Man 4.12 (Pod::Simple 3.39) .\" .\" Standard preamble: .\" ======================================================================== @@ -133,7 +133,7 @@ .\" ======================================================================== .\" .IX Title "MAKEGLOSSARIES 1" -.TH MAKEGLOSSARIES 1 "2019-09-28" "perl v5.28.1" "makeglossaries Perl Script" +.TH MAKEGLOSSARIES 1 "2019-12-06" "perl v5.30.1" "makeglossaries Perl Script" .\" For nroff, turn off justification. Always turn off hyphenation; it makes .\" way too many mistakes in technical documents. .if n .ad l diff --git a/macros/latex/contrib/glossaries/samples/database1.tex b/macros/latex/contrib/glossaries/samples/database1.tex index f9ecc9a420..8a78ad6d78 100644 --- a/macros/latex/contrib/glossaries/samples/database1.tex +++ b/macros/latex/contrib/glossaries/samples/database1.tex @@ -1,8 +1,8 @@ - % This is a sample database of glossary entries - % Only those entries used in the document with \glslink, \gls, - % \glspl, and uppercase variants will have entries in the - % glossary. Note that the type key is not used, as the - % glossary type can be specified in \loadglsentries +% This is a sample database of glossary entries +% Only those entries used in the document with \glslink, \gls, +% \glspl, and uppercase variants will have entries in the +% glossary. Note that the type key is not used, as the +% glossary type can be specified in \loadglsentries \newglossaryentry{array}{name=array, description={A list of values identified by a numeric value}} @@ -11,7 +11,7 @@ description={A list of values identified by a numeric value}} description={Pertaining to numbers represented in base 2}} \newglossaryentry{comment}{name=comment, -description={A remark that doesn't affect the meaning of the +description={A remark that doesn't affect the meaning of the code}} \newglossaryentry{global}{name=global, diff --git a/macros/latex/contrib/glossaries/samples/database2.tex b/macros/latex/contrib/glossaries/samples/database2.tex index 55bc08a1c4..7b0e2995be 100644 --- a/macros/latex/contrib/glossaries/samples/database2.tex +++ b/macros/latex/contrib/glossaries/samples/database2.tex @@ -1,10 +1,10 @@ - % This is a sample database of glossary entries - % Only those entries used in the document with \glslink, \gls, - % \glspl, and uppercase variants will have entries in the - % glossary. Note that the type key is not used, as the - % glossary type can be specified in \loadglsentries +% This is a sample database of glossary entries +% Only those entries used in the document with \glslink, \gls, +% \glspl, and uppercase variants will have entries in the +% glossary. Note that the type key is not used, as the +% glossary type can be specified in \loadglsentries - % Don't need to worry about makeindex special characters +% Don't need to worry about makeindex special characters \newglossaryentry{quote}{name={"}, description={the double quote symbol}} diff --git a/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.pdf b/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.pdf index af2c27e7db..76744ff2da 100644 Binary files a/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.pdf and b/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.tex b/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.tex index c8fa373feb..b75e0c6761 100644 --- a/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.tex +++ b/macros/latex/contrib/glossaries/samples/glossary-lipsum-examples.tex @@ -1,9 +1,9 @@ - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex - % arara: bibtex - % arara: pdflatex - % arara: pdflatex +% arara: pdflatex +% arara: makeglossaries +% arara: pdflatex +% arara: bibtex +% arara: pdflatex +% arara: pdflatex \documentclass{report} \usepackage{graphicx} diff --git a/macros/latex/contrib/glossaries/samples/minimalgls.pdf b/macros/latex/contrib/glossaries/samples/minimalgls.pdf index 613b44b89b..e81068446a 100644 Binary files a/macros/latex/contrib/glossaries/samples/minimalgls.pdf and b/macros/latex/contrib/glossaries/samples/minimalgls.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/minimalgls.tex b/macros/latex/contrib/glossaries/samples/minimalgls.tex index 195b4a04e9..816007fd2e 100644 --- a/macros/latex/contrib/glossaries/samples/minimalgls.tex +++ b/macros/latex/contrib/glossaries/samples/minimalgls.tex @@ -1,7 +1,7 @@ % This file is public domain. % -% This is a minimal file for testing and debugging -% the glossaries package. Change the class file as +% This is a minimal file for testing and debugging +% the glossaries package. Change the class file as % desired, and add the relevant package options to % both the class file and the glossaries package. % Change the sample glossary entry and acronym if @@ -9,7 +9,7 @@ % glossary, add in the relevant \newglossary command % and a sample entry. % -% Only add extra packages or commands if they +% Only add extra packages or commands if they % contribute to whatever problem you are trying to % test. % @@ -57,9 +57,9 @@ description={a sample entry}} % This contrived acronym has non-standard plural forms. % These are specified in the optional argument. -% Remove the optional argument to revert to the default +% Remove the optional argument to revert to the default % plurals. -\newacronym[\glsshortpluralkey=cas,\glslongpluralkey=contrived +\newacronym[\glsshortpluralkey=cas,\glslongpluralkey=contrived acronyms]{aca}{aca}{a contrived acronym} % Keep all definitions in the preamble! diff --git a/macros/latex/contrib/glossaries/samples/mwe-acr-desc.pdf b/macros/latex/contrib/glossaries/samples/mwe-acr-desc.pdf index 2eef686216..06ebb2b46c 100644 Binary files a/macros/latex/contrib/glossaries/samples/mwe-acr-desc.pdf and b/macros/latex/contrib/glossaries/samples/mwe-acr-desc.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/mwe-acr-desc.tex b/macros/latex/contrib/glossaries/samples/mwe-acr-desc.tex index 1cb34e284f..be64f5cafa 100644 --- a/macros/latex/contrib/glossaries/samples/mwe-acr-desc.tex +++ b/macros/latex/contrib/glossaries/samples/mwe-acr-desc.tex @@ -1,8 +1,8 @@ - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex +% This file is public domain +% If you want to use arara, you need the following directives: +% arara: pdflatex +% arara: makeglossaries +% arara: pdflatex \documentclass{article} \usepackage{glossaries} @@ -11,7 +11,7 @@ \setacronymstyle{short-long-desc} -\newacronym[description={a device that emits a narrow beam of +\newacronym[description={a device that emits a narrow beam of light}]{laser}{laser}{light amplification by stimulated emission of radiation} diff --git a/macros/latex/contrib/glossaries/samples/mwe-acr.pdf b/macros/latex/contrib/glossaries/samples/mwe-acr.pdf index dc4f70c518..02f3e50e86 100644 Binary files a/macros/latex/contrib/glossaries/samples/mwe-acr.pdf and b/macros/latex/contrib/glossaries/samples/mwe-acr.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/mwe-acr.tex b/macros/latex/contrib/glossaries/samples/mwe-acr.tex index 46b36dcc25..d7dd581f60 100644 --- a/macros/latex/contrib/glossaries/samples/mwe-acr.tex +++ b/macros/latex/contrib/glossaries/samples/mwe-acr.tex @@ -1,8 +1,8 @@ - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex +% This file is public domain +% If you want to use arara, you need the following directives: +% arara: pdflatex +% arara: makeglossaries +% arara: pdflatex \documentclass{article} \usepackage{glossaries} diff --git a/macros/latex/contrib/glossaries/samples/mwe-gls.pdf b/macros/latex/contrib/glossaries/samples/mwe-gls.pdf index 75781ecb5b..14208cc5da 100644 Binary files a/macros/latex/contrib/glossaries/samples/mwe-gls.pdf and b/macros/latex/contrib/glossaries/samples/mwe-gls.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/mwe-gls.tex b/macros/latex/contrib/glossaries/samples/mwe-gls.tex index 9c5e7c6bc4..59dacdd4d1 100644 --- a/macros/latex/contrib/glossaries/samples/mwe-gls.tex +++ b/macros/latex/contrib/glossaries/samples/mwe-gls.tex @@ -1,8 +1,8 @@ - % This file is public domain - % If you want to use arara, you need the following directives: - % arara: pdflatex - % arara: makeglossaries - % arara: pdflatex +% This file is public domain +% If you want to use arara, you need the following directives: +% arara: pdflatex +% arara: makeglossaries +% arara: pdflatex \documentclass{article} \usepackage{glossaries} diff --git a/macros/latex/contrib/glossaries/samples/sample-FnDesc.pdf b/macros/latex/contrib/glossaries/samples/sample-FnDesc.pdf index e7b5016362..0ac18e640f 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-FnDesc.pdf and b/macros/latex/contrib/glossaries/samples/sample-FnDesc.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-chap-hyperfirst.pdf b/macros/latex/contrib/glossaries/samples/sample-chap-hyperfirst.pdf index 5ae0a14a80..891ae8db65 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-chap-hyperfirst.pdf and b/macros/latex/contrib/glossaries/samples/sample-chap-hyperfirst.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-crossref.pdf b/macros/latex/contrib/glossaries/samples/sample-crossref.pdf index bd89fff0b2..7033120a7b 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-crossref.pdf and b/macros/latex/contrib/glossaries/samples/sample-crossref.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-custom-acronym.pdf b/macros/latex/contrib/glossaries/samples/sample-custom-acronym.pdf index 5ea60ec873..37de7552bb 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-custom-acronym.pdf and b/macros/latex/contrib/glossaries/samples/sample-custom-acronym.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-custom-acronym.tex b/macros/latex/contrib/glossaries/samples/sample-custom-acronym.tex index 992187f671..74ea760665 100644 --- a/macros/latex/contrib/glossaries/samples/sample-custom-acronym.tex +++ b/macros/latex/contrib/glossaries/samples/sample-custom-acronym.tex @@ -10,7 +10,7 @@ % The package option "nomain" is used here to suppress the % main glossary, since this example doesn't use it. If you % want to use the main glossary, remove the "nomain" option. - nomain + nomain ]{glossaries} \makeglossaries diff --git a/macros/latex/contrib/glossaries/samples/sample-dot-abbr.pdf b/macros/latex/contrib/glossaries/samples/sample-dot-abbr.pdf index 59e6a1b940..4722172d2c 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-dot-abbr.pdf and b/macros/latex/contrib/glossaries/samples/sample-dot-abbr.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-dual.pdf b/macros/latex/contrib/glossaries/samples/sample-dual.pdf index b3948a464c..44eb610a1c 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-dual.pdf and b/macros/latex/contrib/glossaries/samples/sample-dual.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-entrycount.pdf b/macros/latex/contrib/glossaries/samples/sample-entrycount.pdf index 9b28627e43..c7e9ec1a23 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-entrycount.pdf and b/macros/latex/contrib/glossaries/samples/sample-entrycount.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-entryfmt.pdf b/macros/latex/contrib/glossaries/samples/sample-entryfmt.pdf index 64deb3490c..869b9204a5 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-entryfmt.pdf and b/macros/latex/contrib/glossaries/samples/sample-entryfmt.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-font-abbr.pdf b/macros/latex/contrib/glossaries/samples/sample-font-abbr.pdf index 45e6dd0584..046347b87e 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-font-abbr.pdf and b/macros/latex/contrib/glossaries/samples/sample-font-abbr.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-ignored.pdf b/macros/latex/contrib/glossaries/samples/sample-ignored.pdf index 7185f4d455..2344c44f54 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-ignored.pdf and b/macros/latex/contrib/glossaries/samples/sample-ignored.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-index.pdf b/macros/latex/contrib/glossaries/samples/sample-index.pdf index 18a83dfcd2..5baa6494f9 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-index.pdf and b/macros/latex/contrib/glossaries/samples/sample-index.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-inline.pdf b/macros/latex/contrib/glossaries/samples/sample-inline.pdf index cadd7af539..df6e6f6556 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-inline.pdf and b/macros/latex/contrib/glossaries/samples/sample-inline.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-inline.tex b/macros/latex/contrib/glossaries/samples/sample-inline.tex index c5d7220945..e6a6e94c87 100644 --- a/macros/latex/contrib/glossaries/samples/sample-inline.tex +++ b/macros/latex/contrib/glossaries/samples/sample-inline.tex @@ -38,7 +38,7 @@ parent={glossary}} \newglossaryentry{pagelist}{name=page list, % description value has to be enclosed in braces % because it contains commas -description={a list of individual pages or page ranges +description={a list of individual pages or page ranges (e.g.\ 1,2,4,7-9)}} \newglossaryentry{mtrx}{name=matrix, @@ -49,10 +49,10 @@ plural=matrices} % entry with a paragraph break in the description \newglossaryentry{par}{name=paragraph, -description={distinct section of piece of +description={distinct section of piece of writing. Beginning on new, usually indented, line}} -% entry with two types of plural. Set the plural form to the +% entry with two types of plural. Set the plural form to the % form most likely to be used. If you want to use a different % plural, you will need to explicity specify it in \glslink \newglossaryentry{cow}{name=cow, @@ -107,9 +107,9 @@ Once you have run your document through \LaTeX, you will then need to run the \texttt{.glo} file through \texttt{makeindex}. You will need to set the output file so that it creates a \texttt{.gls} file instead -of an \texttt{.ind} file, and change the name of +of an \texttt{.ind} file, and change the name of the log file so that it doesn't overwrite the index -log file (if you have an index for your document). +log file (if you have an index for your document). Rather than having to remember all the command line switches, you can call the \gls{Perl} script \texttt{makeglossaries} which provides a convenient @@ -123,7 +123,7 @@ must be used, e.g.\ in the description of \gls{pagelist}. Plurals are assumed to have the letter s appended, but if this is not the case, as in \glspl{mtrx}, then you need to specify the plural when you define the entry. If a term may have multiple -plurals (for example \glspl{cow}/\glslink{cow}{kine}) then +plurals (for example \glspl{cow}/\glslink{cow}{kine}) then define the entry with the plural form most likely to be used and explicitly specify the alternative form using \verb|\glslink|. \Glspl{seal} and \glspl{sealion} have regular plural forms. diff --git a/macros/latex/contrib/glossaries/samples/sample-langdict.pdf b/macros/latex/contrib/glossaries/samples/sample-langdict.pdf index 5d85d6c143..585c4a96ea 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-langdict.pdf and b/macros/latex/contrib/glossaries/samples/sample-langdict.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-newkeys.pdf b/macros/latex/contrib/glossaries/samples/sample-newkeys.pdf index a15f6e32c6..b9d3912b1b 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-newkeys.pdf and b/macros/latex/contrib/glossaries/samples/sample-newkeys.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-newkeys.tex b/macros/latex/contrib/glossaries/samples/sample-newkeys.tex index d2830fc6bf..ee93bcb22e 100644 --- a/macros/latex/contrib/glossaries/samples/sample-newkeys.tex +++ b/macros/latex/contrib/glossaries/samples/sample-newkeys.tex @@ -52,11 +52,11 @@ The duck was \glsing{waddle} round the dog. The dog \glsed{run} away from the duck. -First letter uppercase: \Glsed{jump}, \Glsing{jump}, +First letter uppercase: \Glsed{jump}, \Glsing{jump}, \Glsed{waddle}, \Glsing{waddle}, \Glsed{run}, \Glsing{run}. -All uppercase: \GLSed{jump}, \GLSing{jump}, +All uppercase: \GLSed{jump}, \GLSing{jump}, \GLSed{waddle}, \GLSing{waddle}, \GLSed{run}, \GLSing{run}. diff --git a/macros/latex/contrib/glossaries/samples/sample-noidxapp-utf8.pdf b/macros/latex/contrib/glossaries/samples/sample-noidxapp-utf8.pdf index 5cac8cf6e8..d94e24a152 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-noidxapp-utf8.pdf and b/macros/latex/contrib/glossaries/samples/sample-noidxapp-utf8.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-noidxapp.pdf b/macros/latex/contrib/glossaries/samples/sample-noidxapp.pdf index 16c254d9ed..ed705c0fe4 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-noidxapp.pdf and b/macros/latex/contrib/glossaries/samples/sample-noidxapp.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-nomathhyper.pdf b/macros/latex/contrib/glossaries/samples/sample-nomathhyper.pdf index 67fc47f4b0..0954a5014c 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-nomathhyper.pdf and b/macros/latex/contrib/glossaries/samples/sample-nomathhyper.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-numberlist.pdf b/macros/latex/contrib/glossaries/samples/sample-numberlist.pdf index 5b8fa5e678..9e46a428b6 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-numberlist.pdf and b/macros/latex/contrib/glossaries/samples/sample-numberlist.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-prefix.pdf b/macros/latex/contrib/glossaries/samples/sample-prefix.pdf index 2fe7792920..881252f458 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-prefix.pdf and b/macros/latex/contrib/glossaries/samples/sample-prefix.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-si.pdf b/macros/latex/contrib/glossaries/samples/sample-si.pdf index af7aa9f693..c2aef74cde 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-si.pdf and b/macros/latex/contrib/glossaries/samples/sample-si.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.pdf b/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.pdf index 2da749d357..3b517bf24f 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.pdf and b/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.tex b/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.tex index 39a6eb6721..39fcb8c8dd 100644 --- a/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.tex +++ b/macros/latex/contrib/glossaries/samples/sample-storage-abbr-desc.tex @@ -87,15 +87,15 @@ % The default for "abbrtype" is "acronym" so we don't need % this new key for acronyms: -\newacronym[description={system for detecting the position and -speed of aircraft, ships, etc}]{radar}{radar}{radio detecting +\newacronym[description={system for detecting the position and +speed of aircraft, ships, etc}]{radar}{radar}{radio detecting and ranging} \newacronym[description={device that creates a narrow beam -of intense light}]{laser}{laser}{light amplification by +of intense light}]{laser}{laser}{light amplification by stimulated emission of radiation} -\newacronym[description={portable breathing device for +\newacronym[description={portable breathing device for divers}]{scuba}{scuba}{self-contained underwater breathing apparatus} @@ -105,7 +105,7 @@ apparatus} \newinitialism[description={mathematical manipulation of an information signal}]{dsp}{DSP}{digital signal processing} -\newinitialism[description={device that allows customers of +\newinitialism[description={device that allows customers of financial institutions to perform transactions, such as cash withdrawal, without the need for a teller}]{atm}{ATM} {automated teller machine} diff --git a/macros/latex/contrib/glossaries/samples/sample-storage-abbr.pdf b/macros/latex/contrib/glossaries/samples/sample-storage-abbr.pdf index c547306b25..d8115a22da 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample-storage-abbr.pdf and b/macros/latex/contrib/glossaries/samples/sample-storage-abbr.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample-storage-abbr.tex b/macros/latex/contrib/glossaries/samples/sample-storage-abbr.tex index 7ea6faadd1..fbde7ef10b 100644 --- a/macros/latex/contrib/glossaries/samples/sample-storage-abbr.tex +++ b/macros/latex/contrib/glossaries/samples/sample-storage-abbr.tex @@ -88,7 +88,7 @@ % The default for "abbrtype" is "acronym" so we don't need % this new key for acronyms: \newacronym{radar}{radar}{radio detecting and ranging} -\newacronym{laser}{laser}{light amplification by stimulated +\newacronym{laser}{laser}{light amplification by stimulated emission of radiation} \newacronym{scuba}{scuba}{self-contained underwater breathing apparatus} diff --git a/macros/latex/contrib/glossaries/samples/sample.pdf b/macros/latex/contrib/glossaries/samples/sample.pdf index f5736bbae1..2bf39bd56e 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample.pdf and b/macros/latex/contrib/glossaries/samples/sample.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sample.tex b/macros/latex/contrib/glossaries/samples/sample.tex index 9478e16f2e..eca1464585 100644 --- a/macros/latex/contrib/glossaries/samples/sample.tex +++ b/macros/latex/contrib/glossaries/samples/sample.tex @@ -32,7 +32,7 @@ parent={glossary}} \newglossaryentry{pagelist}{name=page list, % description value has to be enclosed in braces % because it contains commas -description={a list of individual pages or page ranges +description={a list of individual pages or page ranges (e.g.\ 1,2,4,7-9)}} \newglossaryentry{mtrx}{name=matrix, @@ -52,7 +52,7 @@ distinct section of a piece of writing. Beginning on new, usually indented, line} -% entry with two types of plural. Set the plural form to the +% entry with two types of plural. Set the plural form to the % form most likely to be used. If you want to use a different % plural, you will need to explicity specify it in \glslink \newglossaryentry{cow}{name=cow, @@ -91,7 +91,7 @@ parent=bravo} % accidentally introducing unwanted space as leading and trailing % spaces within the braces aren't stripped. For example, % text={ spurious space } will result in extra space appearing -% when the entry is referenced. +% when the entry is referenced. \newglossaryentry{spuriousspace}{% name={space, spurious}, text={spurious space}, @@ -139,7 +139,7 @@ Be careful about \glspl{spuriousspace} appearing in your code. Plurals are assumed to have the letter s appended, but if this is not the case, as in \glspl{mtrx}, then you need to specify the plural when you define the entry. If a term may have multiple -plurals (for example \glspl{cow}/\glslink{cow}{kine}) then +plurals (for example \glspl{cow}/\glslink{cow}{kine}) then define the entry with the plural form most likely to be used and explicitly specify the alternative form using \verb|\glslink| (e.g.\ \glslink{cow}{kine}) diff --git a/macros/latex/contrib/glossaries/samples/sample4col.pdf b/macros/latex/contrib/glossaries/samples/sample4col.pdf index 9942f1b6af..a9e88dfadf 100644 Binary files a/macros/latex/contrib/glossaries/samples/sample4col.pdf and b/macros/latex/contrib/glossaries/samples/sample4col.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampleAcr.pdf b/macros/latex/contrib/glossaries/samples/sampleAcr.pdf index 8c346877a0..cef9f80d86 100644 Binary files a/macros/latex/contrib/glossaries/samples/sampleAcr.pdf and b/macros/latex/contrib/glossaries/samples/sampleAcr.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampleAcr.tex b/macros/latex/contrib/glossaries/samples/sampleAcr.tex index 12801f7d95..572b95d6ea 100644 --- a/macros/latex/contrib/glossaries/samples/sampleAcr.tex +++ b/macros/latex/contrib/glossaries/samples/sampleAcr.tex @@ -45,7 +45,7 @@ acronyms. \glsresetall Possessive: \gls{ksvm}['s]. -Make the glossary entry number bold for this +Make the glossary entry number bold for this one \gls[format=hyperbf]{ksvm}. \chapter{Short, Long and Full Forms} diff --git a/macros/latex/contrib/glossaries/samples/sampleAcrDesc.pdf b/macros/latex/contrib/glossaries/samples/sampleAcrDesc.pdf index bd045debe9..96222c6f12 100644 Binary files a/macros/latex/contrib/glossaries/samples/sampleAcrDesc.pdf and b/macros/latex/contrib/glossaries/samples/sampleAcrDesc.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampleAcrDesc.tex b/macros/latex/contrib/glossaries/samples/sampleAcrDesc.tex index 0bec67636f..e2170feb16 100644 --- a/macros/latex/contrib/glossaries/samples/sampleAcrDesc.tex +++ b/macros/latex/contrib/glossaries/samples/sampleAcrDesc.tex @@ -11,7 +11,7 @@ % The package option "nomain" is used here to suppress the % main glossary, since this example doesn't use it. If you % want to use the main glossary, remove the "nomain" option. - nomain,% + nomain,% style=altlist, % use altlist style toc, % add the glossary to the table of contents ]{glossaries} @@ -29,7 +29,7 @@ \renewcommand*{\glsnamefont}[1]{\textmd{#1}} -\newacronym[description={Statistical pattern recognition +\newacronym[description={Statistical pattern recognition technique~\protect\cite{svm}}, % acronym's description ]{svm}{svm}{support vector machine} @@ -48,10 +48,10 @@ technique~\protect\cite{svm}}, % acronym's description The \gls{svm} is used widely in the area of pattern recognition. % plural form with initial letter in uppercase: \Glspl{svm} are \ldots\ (but beware, converting the initial letter to -upper case for a small caps acronym is sometimes considered +upper case for a small caps acronym is sometimes considered poor style). -Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full +Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full version: \acrfull{svm}. Description: \glsentrydesc{svm}. This is the entry in uppercase: \GLS{svm}. @@ -64,7 +64,7 @@ a link: \glsentrydesc{ksvm}. \glsresetall Possessive: \gls{ksvm}['s]. -Make the glossary entry number bold for this +Make the glossary entry number bold for this one \gls[format=hyperbf]{svm}. \begin{thebibliography}{1} diff --git a/macros/latex/contrib/glossaries/samples/sampleCustomAcr.pdf b/macros/latex/contrib/glossaries/samples/sampleCustomAcr.pdf index f3a6c9f22f..a7d8af989a 100644 Binary files a/macros/latex/contrib/glossaries/samples/sampleCustomAcr.pdf and b/macros/latex/contrib/glossaries/samples/sampleCustomAcr.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampleCustomAcr.tex b/macros/latex/contrib/glossaries/samples/sampleCustomAcr.tex index bc32d1329a..eda408e02c 100644 --- a/macros/latex/contrib/glossaries/samples/sampleCustomAcr.tex +++ b/macros/latex/contrib/glossaries/samples/sampleCustomAcr.tex @@ -11,7 +11,7 @@ % The package option "nomain" is used here to suppress the % main glossary, since this example doesn't use it. If you % want to use the main glossary, remove the "nomain" option. - nomain, + nomain, style=altlist, % use altlist style toc, % add the glossary to the table of contents ]{glossaries} @@ -68,14 +68,14 @@ % Change the "see" items so that they use \acronymfont: \renewcommand*{\glsseeitemformat}[1]{\acronymfont{\glsentrytext{#1}}} -\newacronym[description={Statistical pattern recognition +\newacronym[description={Statistical pattern recognition technique~\protect\cite{svm}}, % acronym's description ]{svm}{svm}{support vector machine} \newacronym[description={Statistical pattern recognition technique using the ``kernel trick''},% acronym's description see={[see also]{svm}}, -]{ksvm}{ksvm}{kernel +]{ksvm}{ksvm}{kernel support vector machine} \begin{document} @@ -86,10 +86,10 @@ support vector machine} The \gls{svm} is used widely in the area of pattern recognition. % plural form with initial letter in uppercase: \Glspl{svm} are \ldots\ (but beware, converting the initial letter to -upper case for a small caps acronym is sometimes considered +upper case for a small caps acronym is sometimes considered poor style). -Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full +Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full version: \acrfull{svm}. Description: \glsentrydesc{svm}. This is the entry in uppercase: \GLS{svm}. @@ -103,7 +103,7 @@ a link: \glsentrydesc{ksvm}. \glsresetall (Reset all.) Possessive: \gls{ksvm}['s]. -Make the glossary entry number bold for this +Make the glossary entry number bold for this one \gls[format=hyperbf]{svm}. \begin{thebibliography}{1} diff --git a/macros/latex/contrib/glossaries/samples/sampleDB.pdf b/macros/latex/contrib/glossaries/samples/sampleDB.pdf index 44217f42b9..9a06139e72 100644 Binary files a/macros/latex/contrib/glossaries/samples/sampleDB.pdf and b/macros/latex/contrib/glossaries/samples/sampleDB.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampleDesc.pdf b/macros/latex/contrib/glossaries/samples/sampleDesc.pdf index 788bb043e6..9eb6db4814 100644 Binary files a/macros/latex/contrib/glossaries/samples/sampleDesc.pdf and b/macros/latex/contrib/glossaries/samples/sampleDesc.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampleDesc.tex b/macros/latex/contrib/glossaries/samples/sampleDesc.tex index 09e408f906..bcf7e4444e 100644 --- a/macros/latex/contrib/glossaries/samples/sampleDesc.tex +++ b/macros/latex/contrib/glossaries/samples/sampleDesc.tex @@ -59,7 +59,7 @@ the so called ``kernel trick''. \glsresetall Possessive: \gls{ksvm}['s]. -Make the glossary entry number bold for this +Make the glossary entry number bold for this one \gls[format=hyperbf]{svm}. \begin{thebibliography}{1} diff --git a/macros/latex/contrib/glossaries/samples/sampleEq.pdf b/macros/latex/contrib/glossaries/samples/sampleEq.pdf index e8c8bbdfab..ebcb74a296 100644 Binary files a/macros/latex/contrib/glossaries/samples/sampleEq.pdf and b/macros/latex/contrib/glossaries/samples/sampleEq.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampleEq.tex b/macros/latex/contrib/glossaries/samples/sampleEq.tex index fb577e9874..403930a97e 100644 --- a/macros/latex/contrib/glossaries/samples/sampleEq.tex +++ b/macros/latex/contrib/glossaries/samples/sampleEq.tex @@ -98,8 +98,8 @@ description=Catalan's constant,sort=G} This is a sample document illustrating the use of the \textsf{glossaries} package. The functions here have been taken from ``Tables of Integrals, Series, and Products'' by I.S.~Gradshteyn and I.M~Ryzhik. -The glossary is a list of special functions, so -the equation number has been used rather than the page number. This +The glossary is a list of special functions, so +the equation number has been used rather than the page number. This can be done using the \texttt{counter=equation} package option. \end{abstract} @@ -112,7 +112,7 @@ option. \gls{Gamma} = \int_{0}^{\infty}e^{-t}t^{z-1}\,dt \end{equation} -\verb|\ensuremath| is only required here if using +\verb|\ensuremath| is only required here if using hyperlinks. \begin{equation} \glslink{Gamma}{\ensuremath{\Gamma(x+1)}} = x\Gamma(x) @@ -185,7 +185,7 @@ Alternatively: \section{Laguerre polynomials} \begin{equation} -L_n^{\alpha} (x) = \frac{1}{n!}e^x x^{-\alpha} +L_n^{\alpha} (x) = \frac{1}{n!}e^x x^{-\alpha} \frac{d^n}{dx^n}(e^{-x}x^{n+\alpha}) \end{equation} @@ -193,8 +193,8 @@ L_n^{\alpha} (x) = \frac{1}{n!}e^x x^{-\alpha} Bessel functions $Z_\nu$ are solutions of \begin{equation} -\frac{d^2\glslink{Znu}{Z_\nu}}{dz^2} -+ \frac{1}{z}\,\frac{dZ_\nu}{dz} + +\frac{d^2\glslink{Znu}{Z_\nu}}{dz^2} ++ \frac{1}{z}\,\frac{dZ_\nu}{dz} + \left( 1-\frac{\nu^2}{z^2}Z_\nu = 0 \right) \end{equation} diff --git a/macros/latex/contrib/glossaries/samples/sampleEqPg.pdf b/macros/latex/contrib/glossaries/samples/sampleEqPg.pdf index d8f45efa45..1285f4cc16 100644 Binary files a/macros/latex/contrib/glossaries/samples/sampleEqPg.pdf and b/macros/latex/contrib/glossaries/samples/sampleEqPg.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampleEqPg.tex b/macros/latex/contrib/glossaries/samples/sampleEqPg.tex index 980cb82f34..6061bb72d9 100644 --- a/macros/latex/contrib/glossaries/samples/sampleEqPg.tex +++ b/macros/latex/contrib/glossaries/samples/sampleEqPg.tex @@ -137,15 +137,15 @@ This is a sample document illustrating the use of the \textsf{glossaries} package. The functions here have been taken from ``Tables of Integrals, Series, and Products'' by I.S.~Gradshteyn and I.M~Ryzhik. -The glossary lists both page numbers and equation numbers. +The glossary lists both page numbers and equation numbers. Since the majority of the entries use the equation number, \texttt{counter=equation} was used as a package option. Note that this example will only work where the -page number and equation number compositor is the same. So -it won't work if, say, the page numbers are of the form -2-4 and the equation numbers are of the form 4.6. -As most of the glossary entries should have an italic -format, it is easiest to set the default format to +page number and equation number compositor is the same. So +it won't work if, say, the page numbers are of the form +2-4 and the equation numbers are of the form 4.6. +As most of the glossary entries should have an italic +format, it is easiest to set the default format to italic. \end{abstract} @@ -156,7 +156,7 @@ italic. \chapter{Gamma Functions} -The \glslink[format=hyperbf,counter=page]{Gamma}{gamma function} is +The \glslink[format=hyperbf,counter=page]{Gamma}{gamma function} is defined as \begin{equation} \gls{Gamma} = \int_{0}^{\infty}e^{-t}t^{z-1}\,dt @@ -177,7 +177,7 @@ defined as \newpage \begin{equation} -\glslink{Gamma}{\ensuremath{\Gamma(\alpha)}} = +\glslink{Gamma}{\ensuremath{\Gamma(\alpha)}} = \Gamma(\alpha, x) + \gamma(\alpha, x) \end{equation} @@ -233,7 +233,7 @@ Alternatively: \chapter{Laguerre polynomials} \begin{equation} -\gls{Lna} = \frac{1}{n!}e^x x^{-\alpha} +\gls{Lna} = \frac{1}{n!}e^x x^{-\alpha} \frac{d^n}{dx^n}(e^{-x}x^{n+\alpha}) \end{equation} @@ -241,7 +241,7 @@ Alternatively: Bessel functions $Z_\nu(z)$ are solutions of \begin{equation} -\frac{d^2\glslink{Znu}{Z_\nu}}{dz^2} + \frac{1}{z}\,\frac{dZ_\nu}{dz} + +\frac{d^2\glslink{Znu}{Z_\nu}}{dz^2} + \frac{1}{z}\,\frac{dZ_\nu}{dz} + \left( 1-\frac{\nu^2}{z^2}Z_\nu = 0 \right) @@ -278,7 +278,7 @@ Bessel functions $Z_\nu(z)$ are solutions of \chapter{Elliptical Integral of the First Kind} \begin{equation} -\gls{Fpk} = \int_0^\phi +\gls{Fpk} = \int_0^\phi \frac{d\alpha}{\sqrt{1-k^2\sin^2\alpha}} \end{equation} diff --git a/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.pdf b/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.pdf index c29aff931f..e654508453 100644 Binary files a/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.pdf and b/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.tex b/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.tex index c1a24c8f17..0f3d868166 100644 --- a/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.tex +++ b/macros/latex/contrib/glossaries/samples/sampleFnAcrDesc.tex @@ -34,14 +34,14 @@ \renewcommand*{\glsseeitemformat}[1]{\acronymfont{\glsentrytext{#1}}} -\newacronym[description={Statistical pattern recognition +\newacronym[description={Statistical pattern recognition technique~\protect\cite{svm}}, % acronym's description ]{svm}{svm}{support vector machine} \newacronym[description={Statistical pattern recognition technique using the ``kernel trick''},% acronym's description see={[see also]{svm}}, -]{ksvm}{ksvm}{kernel +]{ksvm}{ksvm}{kernel support vector machine} \begin{document} @@ -52,10 +52,10 @@ support vector machine} The \gls{svm} is used widely in the area of pattern recognition. % plural form with initial letter in uppercase: \Glspl{svm} are \ldots\ (but beware, converting the initial letter to -upper case for a small caps acronym is sometimes considered +upper case for a small caps acronym is sometimes considered poor style). -Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full +Short version: \acrshort{svm}. Long version: \acrlong{svm}. Full version: \acrfull{svm}. Description: \glsentrydesc{svm}. This is the entry in uppercase: \GLS{svm}. @@ -68,7 +68,7 @@ a link: \glsentrydesc{ksvm}. \glsresetall Possessive: \gls{ksvm}['s]. -Make the glossary entry number bold for this +Make the glossary entry number bold for this one \gls[format=hyperbf]{svm}. \begin{thebibliography}{1} diff --git a/macros/latex/contrib/glossaries/samples/sampleNtn.pdf b/macros/latex/contrib/glossaries/samples/sampleNtn.pdf index c0ff5ea069..3db806aea9 100644 Binary files a/macros/latex/contrib/glossaries/samples/sampleNtn.pdf and b/macros/latex/contrib/glossaries/samples/sampleNtn.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampleNtn.tex b/macros/latex/contrib/glossaries/samples/sampleNtn.tex index 997f518f9a..9b3841cc33 100644 --- a/macros/latex/contrib/glossaries/samples/sampleNtn.tex +++ b/macros/latex/contrib/glossaries/samples/sampleNtn.tex @@ -7,7 +7,7 @@ \documentclass{report} % If you want to add babel to this document, you may have to -% replace the : character in the labels if you are using a +% replace the : character in the labels if you are using a % language setting (e.g. french) that makes : active. \usepackage[plainpages=false,colorlinks]{hyperref} @@ -60,7 +60,7 @@ description={The number of elements in the specified set}} \pagenumbering{Alph} This is a sample document illustrating the use of the \textsf{glossaries} package. In this example, a new glossary type -called \texttt{notation} is defined, so that the document can have a +called \texttt{notation} is defined, so that the document can have a separate glossary of terms and index of notation. The index of notation doesn't have associated numbers. \end{abstract} @@ -74,12 +74,12 @@ doesn't have associated numbers. \chapter{Introduction} \pagenumbering{arabic} -\Glspl{gls:set} are denoted by a calligraphic font +\Glspl{gls:set} are denoted by a calligraphic font e.g.\ \gls{not:set}. Let \gls[format=hyperit]{not:U} denote the universal set. -The \gls{gls:card} of a set $\mathcal{S}$ is denoted +The \gls{gls:card} of a set $\mathcal{S}$ is denoted \gls{not:card}. \chapter{Another Chapter} diff --git a/macros/latex/contrib/glossaries/samples/samplePeople.pdf b/macros/latex/contrib/glossaries/samples/samplePeople.pdf index d5c7d3a3fc..bdd7bb5d2a 100644 Binary files a/macros/latex/contrib/glossaries/samples/samplePeople.pdf and b/macros/latex/contrib/glossaries/samples/samplePeople.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampleSec.pdf b/macros/latex/contrib/glossaries/samples/sampleSec.pdf index 10f71ff8bc..219ec0f535 100644 Binary files a/macros/latex/contrib/glossaries/samples/sampleSec.pdf and b/macros/latex/contrib/glossaries/samples/sampleSec.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampleSort.pdf b/macros/latex/contrib/glossaries/samples/sampleSort.pdf index 4b3be13c50..d771b7d591 100644 Binary files a/macros/latex/contrib/glossaries/samples/sampleSort.pdf and b/macros/latex/contrib/glossaries/samples/sampleSort.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampleSort.tex b/macros/latex/contrib/glossaries/samples/sampleSort.tex index 6f83926710..960dc22f0f 100644 --- a/macros/latex/contrib/glossaries/samples/sampleSort.tex +++ b/macros/latex/contrib/glossaries/samples/sampleSort.tex @@ -7,7 +7,7 @@ \documentclass{report} % If you want to add babel to this document, you may have to -% replace the : character in the labels if you are using a +% replace the : character in the labels if you are using a % language setting (e.g. french) that makes : active. \usepackage[plainpages=false,colorlinks]{hyperref} @@ -75,7 +75,7 @@ description={The number of elements in the specified set}} \pagenumbering{Alph} This is a sample document illustrating the use of the \textsf{glossaries} package. In this example, a new glossary type -called \texttt{notation} is defined, so that the document can have a +called \texttt{notation} is defined, so that the document can have a separate glossary of terms, list of acronyms and index of notation. \end{abstract} @@ -88,10 +88,10 @@ separate glossary of terms, list of acronyms and index of notation. \chapter{Introduction} \pagenumbering{arabic} -\Glspl{gls:set} are denoted by a calligraphic font +\Glspl{gls:set} are denoted by a calligraphic font e.g.\ $\gls{not:set}$. -The \gls{gls:card} of a set $\mathcal{S}$ is denoted +The \gls{gls:card} of a set $\mathcal{S}$ is denoted $\gls{not:card}$. The empty set is denoted $\gls{not:emptyset}$. diff --git a/macros/latex/contrib/glossaries/samples/sampleaccsupp.pdf b/macros/latex/contrib/glossaries/samples/sampleaccsupp.pdf index b4b75549e1..185bfcd745 100644 Binary files a/macros/latex/contrib/glossaries/samples/sampleaccsupp.pdf and b/macros/latex/contrib/glossaries/samples/sampleaccsupp.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampleacronyms.pdf b/macros/latex/contrib/glossaries/samples/sampleacronyms.pdf index c89060bb16..15a119ffc2 100644 Binary files a/macros/latex/contrib/glossaries/samples/sampleacronyms.pdf and b/macros/latex/contrib/glossaries/samples/sampleacronyms.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampletree.pdf b/macros/latex/contrib/glossaries/samples/sampletree.pdf index fe99e848e0..1d1e1dcc2e 100644 Binary files a/macros/latex/contrib/glossaries/samples/sampletree.pdf and b/macros/latex/contrib/glossaries/samples/sampletree.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/sampleutf8.pdf b/macros/latex/contrib/glossaries/samples/sampleutf8.pdf index 888b1a9928..93e155d97f 100644 Binary files a/macros/latex/contrib/glossaries/samples/sampleutf8.pdf and b/macros/latex/contrib/glossaries/samples/sampleutf8.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/samplexdy-mc.xdy b/macros/latex/contrib/glossaries/samples/samplexdy-mc.xdy index 22f392f9aa..8e9c52deb7 100644 --- a/macros/latex/contrib/glossaries/samples/samplexdy-mc.xdy +++ b/macros/latex/contrib/glossaries/samples/samplexdy-mc.xdy @@ -414,286 +414,288 @@ ; list of allowed attributes (number formats) (define-attributes (("default" - "hyperbfit" + "hyperbfit" "pagehyperbfit" - "glsnumberformat" + "glsnumberformat" "pageglsnumberformat" - "textrm" + "textrm" "pagetextrm" - "textsf" + "textsf" "pagetextsf" - "texttt" + "texttt" "pagetexttt" - "textbf" + "textbf" "pagetextbf" - "textmd" + "textmd" "pagetextmd" - "textit" + "textit" "pagetextit" - "textup" + "textup" "pagetextup" - "textsl" + "textsl" "pagetextsl" - "textsc" + "textsc" "pagetextsc" - "emph" + "emph" "pageemph" - "glshypernumber" + "glshypernumber" "pageglshypernumber" - "hyperrm" + "hyperrm" "pagehyperrm" - "hypersf" + "hypersf" "pagehypersf" - "hypertt" + "hypertt" "pagehypertt" - "hyperbf" + "hyperbf" "pagehyperbf" - "hypermd" + "hypermd" "pagehypermd" - "hyperit" + "hyperit" "pagehyperit" - "hyperup" + "hyperup" "pagehyperup" - "hypersl" + "hypersl" "pagehypersl" - "hypersc" + "hypersc" "pagehypersc" - "hyperemph" + "hyperemph" "pagehyperemph"))) ; user defined alphabets + + ; location class definitions (define-location-class "roman-page-numbers" - ( :sep "{}{" "roman-numbers-lowercase" :sep "}" ) + ( :sep "{}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "roman-page-numbers-roman-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "roman-numbers-lowercase" :sep "}" ) +) +(define-location-class "roman-page-numbers-roman-page-numbers" + ( :sep "{" "roman-numbers-lowercase" :sep "}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "Roman-page-numbers-roman-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "roman-numbers-lowercase" :sep "}" ) +) +(define-location-class "Roman-page-numbers-roman-page-numbers" + ( :sep "{" "roman-numbers-uppercase" :sep "}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-page-numbers-roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) +) +(define-location-class "arabic-page-numbers-roman-page-numbers" + ( :sep "{" "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "alpha-page-numbers-roman-page-numbers" - ( :sep "{" "alpha" :sep "}{" "roman-numbers-lowercase" :sep "}" ) +) +(define-location-class "alpha-page-numbers-roman-page-numbers" + ( :sep "{" "alpha" :sep "}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-roman-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "roman-numbers-lowercase" :sep "}" ) +) +(define-location-class "Alpha-page-numbers-roman-page-numbers" + ( :sep "{" "ALPHA" :sep "}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-roman-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) +) +(define-location-class "Appendix-page-numbers-roman-page-numbers" + ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-section-numbers-roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) +) +(define-location-class "arabic-section-numbers-roman-page-numbers" + ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-lowercase" :sep "}" ) :min-range-length 2 -) +) (define-location-class "Roman-page-numbers" - ( :sep "{}{" "roman-numbers-uppercase" :sep "}" ) + ( :sep "{}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "roman-page-numbers-Roman-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "roman-numbers-uppercase" :sep "}" ) +) +(define-location-class "roman-page-numbers-Roman-page-numbers" + ( :sep "{" "roman-numbers-lowercase" :sep "}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "Roman-page-numbers-Roman-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "roman-numbers-uppercase" :sep "}" ) +) +(define-location-class "Roman-page-numbers-Roman-page-numbers" + ( :sep "{" "roman-numbers-uppercase" :sep "}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-page-numbers-Roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) +) +(define-location-class "arabic-page-numbers-Roman-page-numbers" + ( :sep "{" "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "alpha-page-numbers-Roman-page-numbers" - ( :sep "{" "alpha" :sep "}{" "roman-numbers-uppercase" :sep "}" ) +) +(define-location-class "alpha-page-numbers-Roman-page-numbers" + ( :sep "{" "alpha" :sep "}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-Roman-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "roman-numbers-uppercase" :sep "}" ) +) +(define-location-class "Alpha-page-numbers-Roman-page-numbers" + ( :sep "{" "ALPHA" :sep "}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-Roman-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) +) +(define-location-class "Appendix-page-numbers-Roman-page-numbers" + ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-section-numbers-Roman-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) +) +(define-location-class "arabic-section-numbers-Roman-page-numbers" + ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "roman-numbers-uppercase" :sep "}" ) :min-range-length 2 -) +) (define-location-class "arabic-page-numbers" - ( :sep "{}{" "arabic-numbers" :sep "}" ) + ( :sep "{}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "roman-page-numbers-arabic-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "arabic-numbers" :sep "}" ) +) +(define-location-class "roman-page-numbers-arabic-page-numbers" + ( :sep "{" "roman-numbers-lowercase" :sep "}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Roman-page-numbers-arabic-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "arabic-numbers" :sep "}" ) +) +(define-location-class "Roman-page-numbers-arabic-page-numbers" + ( :sep "{" "roman-numbers-uppercase" :sep "}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-page-numbers-arabic-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) +) +(define-location-class "arabic-page-numbers-arabic-page-numbers" + ( :sep "{" "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "alpha-page-numbers-arabic-page-numbers" - ( :sep "{" "alpha" :sep "}{" "arabic-numbers" :sep "}" ) +) +(define-location-class "alpha-page-numbers-arabic-page-numbers" + ( :sep "{" "alpha" :sep "}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-arabic-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "arabic-numbers" :sep "}" ) +) +(define-location-class "Alpha-page-numbers-arabic-page-numbers" + ( :sep "{" "ALPHA" :sep "}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-arabic-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) +) +(define-location-class "Appendix-page-numbers-arabic-page-numbers" + ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-section-numbers-arabic-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) +) +(define-location-class "arabic-section-numbers-arabic-page-numbers" + ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "}" ) :min-range-length 2 -) +) (define-location-class "alpha-page-numbers" - ( :sep "{}{" "alpha" :sep "}" ) + ( :sep "{}{" "alpha" :sep "}" ) :min-range-length 2 -) -(define-location-class "roman-page-numbers-alpha-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "alpha" :sep "}" ) +) +(define-location-class "roman-page-numbers-alpha-page-numbers" + ( :sep "{" "roman-numbers-lowercase" :sep "}{" "alpha" :sep "}" ) :min-range-length 2 -) -(define-location-class "Roman-page-numbers-alpha-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "alpha" :sep "}" ) +) +(define-location-class "Roman-page-numbers-alpha-page-numbers" + ( :sep "{" "roman-numbers-uppercase" :sep "}{" "alpha" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-page-numbers-alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "alpha" :sep "}" ) +) +(define-location-class "arabic-page-numbers-alpha-page-numbers" + ( :sep "{" "arabic-numbers" :sep "}{" "alpha" :sep "}" ) :min-range-length 2 -) -(define-location-class "alpha-page-numbers-alpha-page-numbers" - ( :sep "{" "alpha" :sep "}{" "alpha" :sep "}" ) +) +(define-location-class "alpha-page-numbers-alpha-page-numbers" + ( :sep "{" "alpha" :sep "}{" "alpha" :sep "}" ) :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "alpha" :sep "}" ) +) +(define-location-class "Alpha-page-numbers-alpha-page-numbers" + ( :sep "{" "ALPHA" :sep "}{" "alpha" :sep "}" ) :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "alpha" :sep "}" ) +) +(define-location-class "Appendix-page-numbers-alpha-page-numbers" + ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "alpha" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-section-numbers-alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "alpha" :sep "}" ) +) +(define-location-class "arabic-section-numbers-alpha-page-numbers" + ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "alpha" :sep "}" ) :min-range-length 2 -) +) (define-location-class "Alpha-page-numbers" - ( :sep "{}{" "ALPHA" :sep "}" ) + ( :sep "{}{" "ALPHA" :sep "}" ) :min-range-length 2 -) -(define-location-class "roman-page-numbers-Alpha-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "ALPHA" :sep "}" ) +) +(define-location-class "roman-page-numbers-Alpha-page-numbers" + ( :sep "{" "roman-numbers-lowercase" :sep "}{" "ALPHA" :sep "}" ) :min-range-length 2 -) -(define-location-class "Roman-page-numbers-Alpha-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "ALPHA" :sep "}" ) +) +(define-location-class "Roman-page-numbers-Alpha-page-numbers" + ( :sep "{" "roman-numbers-uppercase" :sep "}{" "ALPHA" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-page-numbers-Alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) +) +(define-location-class "arabic-page-numbers-Alpha-page-numbers" + ( :sep "{" "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) :min-range-length 2 -) -(define-location-class "alpha-page-numbers-Alpha-page-numbers" - ( :sep "{" "alpha" :sep "}{" "ALPHA" :sep "}" ) +) +(define-location-class "alpha-page-numbers-Alpha-page-numbers" + ( :sep "{" "alpha" :sep "}{" "ALPHA" :sep "}" ) :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-Alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "ALPHA" :sep "}" ) +) +(define-location-class "Alpha-page-numbers-Alpha-page-numbers" + ( :sep "{" "ALPHA" :sep "}{" "ALPHA" :sep "}" ) :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-Alpha-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) +) +(define-location-class "Appendix-page-numbers-Alpha-page-numbers" + ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-section-numbers-Alpha-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) +) +(define-location-class "arabic-section-numbers-Alpha-page-numbers" + ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "}" ) :min-range-length 2 -) +) (define-location-class "Appendix-page-numbers" - ( :sep "{}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) + ( :sep "{}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "roman-page-numbers-Appendix-page-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "roman-page-numbers-Appendix-page-numbers" + ( :sep "{" "roman-numbers-lowercase" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Roman-page-numbers-Appendix-page-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "Roman-page-numbers-Appendix-page-numbers" + ( :sep "{" "roman-numbers-uppercase" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-page-numbers-Appendix-page-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "arabic-page-numbers-Appendix-page-numbers" + ( :sep "{" "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "alpha-page-numbers-Appendix-page-numbers" - ( :sep "{" "alpha" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "alpha-page-numbers-Appendix-page-numbers" + ( :sep "{" "alpha" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-Appendix-page-numbers" - ( :sep "{" "ALPHA" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "Alpha-page-numbers-Appendix-page-numbers" + ( :sep "{" "ALPHA" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-Appendix-page-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "Appendix-page-numbers-Appendix-page-numbers" + ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-section-numbers-Appendix-page-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "arabic-section-numbers-Appendix-page-numbers" + ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "ALPHA" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) +) (define-location-class "arabic-section-numbers" - ( :sep "{}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) + ( :sep "{}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "roman-page-numbers-arabic-section-numbers" - ( :sep "{" "roman-numbers-lowercase" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "roman-page-numbers-arabic-section-numbers" + ( :sep "{" "roman-numbers-lowercase" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Roman-page-numbers-arabic-section-numbers" - ( :sep "{" "roman-numbers-uppercase" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "Roman-page-numbers-arabic-section-numbers" + ( :sep "{" "roman-numbers-uppercase" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-page-numbers-arabic-section-numbers" - ( :sep "{" "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "arabic-page-numbers-arabic-section-numbers" + ( :sep "{" "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "alpha-page-numbers-arabic-section-numbers" - ( :sep "{" "alpha" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "alpha-page-numbers-arabic-section-numbers" + ( :sep "{" "alpha" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Alpha-page-numbers-arabic-section-numbers" - ( :sep "{" "ALPHA" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "Alpha-page-numbers-arabic-section-numbers" + ( :sep "{" "ALPHA" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "Appendix-page-numbers-arabic-section-numbers" - ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "Appendix-page-numbers-arabic-section-numbers" + ( :sep "{" "ALPHA" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) -(define-location-class "arabic-section-numbers-arabic-section-numbers" - ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) +) +(define-location-class "arabic-section-numbers-arabic-section-numbers" + ( :sep "{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}{" "arabic-numbers" :sep "." "arabic-numbers" :sep "}" ) :min-range-length 2 -) +) ; user defined location classes (define-location-class "Numberstring" - (:sep "{}{" :sep "\protect \Numberstringnum {" "arabic-numbers" :sep "}" :sep "}")) + (:sep "{}{" :sep "\protect \Numberstringnum {" "arabic-numbers" :sep "}" :sep "}")) ; define cross-reference class @@ -709,7 +711,7 @@ "alpha-page-numbers" "Roman-page-numbers" "Alpha-page-numbers" - "Appendix-page-numbers" + "Appendix-page-numbers" "see" )) ; define the glossary markup @@ -739,8 +741,8 @@ \providecommand*\glsXpageXhypersl[2]{\setentrycounter[#1]{page}\hypersl{#2}} \providecommand*\glsXpageXhypersc[2]{\setentrycounter[#1]{page}\hypersc{#2}} \providecommand*\glsXpageXhyperemph[2]{\setentrycounter[#1]{page}\hyperemph{#2}} -\begin{theglossary}\glossaryheader~n" - :close "%~n\end{theglossary}\glossarypostamble~n" +\begin{theglossary}\glossaryheader~n" + :close "%~n\end{theglossary}\glossarypostamble~n" :tree) (markup-letter-group-list :sep "\glsgroupskip~n") (markup-indexentry :open "\relax\glsresetentrylist~n") @@ -751,74 +753,75 @@ ; define format to use for locations -(markup-locref :open "~n\glsXpageXhyperbfit" - :close "" + +(markup-locref :open "~n\glsXpageXhyperbfit" + :close "" :attr "pagehyperbfit") -(markup-locref :open "~n\glsXpageXglsnumberformat" - :close "" +(markup-locref :open "~n\glsXpageXglsnumberformat" + :close "" :attr "pageglsnumberformat") -(markup-locref :open "~n\glsXpageXtextrm" - :close "" +(markup-locref :open "~n\glsXpageXtextrm" + :close "" :attr "pagetextrm") -(markup-locref :open "~n\glsXpageXtextsf" - :close "" +(markup-locref :open "~n\glsXpageXtextsf" + :close "" :attr "pagetextsf") -(markup-locref :open "~n\glsXpageXtexttt" - :close "" +(markup-locref :open "~n\glsXpageXtexttt" + :close "" :attr "pagetexttt") -(markup-locref :open "~n\glsXpageXtextbf" - :close "" +(markup-locref :open "~n\glsXpageXtextbf" + :close "" :attr "pagetextbf") -(markup-locref :open "~n\glsXpageXtextmd" - :close "" +(markup-locref :open "~n\glsXpageXtextmd" + :close "" :attr "pagetextmd") -(markup-locref :open "~n\glsXpageXtextit" - :close "" +(markup-locref :open "~n\glsXpageXtextit" + :close "" :attr "pagetextit") -(markup-locref :open "~n\glsXpageXtextup" - :close "" +(markup-locref :open "~n\glsXpageXtextup" + :close "" :attr "pagetextup") -(markup-locref :open "~n\glsXpageXtextsl" - :close "" +(markup-locref :open "~n\glsXpageXtextsl" + :close "" :attr "pagetextsl") -(markup-locref :open "~n\glsXpageXtextsc" - :close "" +(markup-locref :open "~n\glsXpageXtextsc" + :close "" :attr "pagetextsc") -(markup-locref :open "~n\glsXpageXemph" - :close "" +(markup-locref :open "~n\glsXpageXemph" + :close "" :attr "pageemph") -(markup-locref :open "~n\glsXpageXglshypernumber" - :close "" +(markup-locref :open "~n\glsXpageXglshypernumber" + :close "" :attr "pageglshypernumber") -(markup-locref :open "~n\glsXpageXhyperrm" - :close "" +(markup-locref :open "~n\glsXpageXhyperrm" + :close "" :attr "pagehyperrm") -(markup-locref :open "~n\glsXpageXhypersf" - :close "" +(markup-locref :open "~n\glsXpageXhypersf" + :close "" :attr "pagehypersf") -(markup-locref :open "~n\glsXpageXhypertt" - :close "" +(markup-locref :open "~n\glsXpageXhypertt" + :close "" :attr "pagehypertt") -(markup-locref :open "~n\glsXpageXhyperbf" - :close "" +(markup-locref :open "~n\glsXpageXhyperbf" + :close "" :attr "pagehyperbf") -(markup-locref :open "~n\glsXpageXhypermd" - :close "" +(markup-locref :open "~n\glsXpageXhypermd" + :close "" :attr "pagehypermd") -(markup-locref :open "~n\glsXpageXhyperit" - :close "" +(markup-locref :open "~n\glsXpageXhyperit" + :close "" :attr "pagehyperit") -(markup-locref :open "~n\glsXpageXhyperup" - :close "" +(markup-locref :open "~n\glsXpageXhyperup" + :close "" :attr "pagehyperup") -(markup-locref :open "~n\glsXpageXhypersl" - :close "" +(markup-locref :open "~n\glsXpageXhypersl" + :close "" :attr "pagehypersl") -(markup-locref :open "~n\glsXpageXhypersc" - :close "" +(markup-locref :open "~n\glsXpageXhypersc" + :close "" :attr "pagehypersc") -(markup-locref :open "~n\glsXpageXhyperemph" - :close "" +(markup-locref :open "~n\glsXpageXhyperemph" + :close "" :attr "pagehyperemph") ; define letter group list format @@ -838,15 +841,16 @@ ; additional sort rules + ; The following is copied from xindy/lang/english/utf8-lang.xdy (define-sort-rule-orientations (forward backward forward forward)) (use-rule-set :run 0 - :rule-set ("en-alphabetize" "en-ignore-special")) + :rule-set ("en-alphabetize" "en-ignore-special")) (use-rule-set :run 1 - :rule-set ("en-resolve-diacritics" "en-ignore-special")) + :rule-set ("en-resolve-diacritics" "en-ignore-special")) (use-rule-set :run 2 - :rule-set ("en-resolve-case" "en-ignore-special")) + :rule-set ("en-resolve-case" "en-ignore-special")) (use-rule-set :run 3 - :rule-set ("en-resolve-special")) + :rule-set ("en-resolve-special")) diff --git a/macros/latex/contrib/glossaries/samples/samplexdy-mc207.xdy b/macros/latex/contrib/glossaries/samples/samplexdy-mc207.xdy index 7c8d2b9e48..318205d8ff 100644 --- a/macros/latex/contrib/glossaries/samples/samplexdy-mc207.xdy +++ b/macros/latex/contrib/glossaries/samples/samplexdy-mc207.xdy @@ -440,6 +440,8 @@ ; user defined alphabets + + ; location class definitions (define-location-class "roman-page-numbers" @@ -460,7 +462,7 @@ ; user defined location classes (define-location-class "Numberstring" - (:sep "\protect \Numberstringnum {" "arabic-numbers" :sep "}")) + (:sep "\protect \Numberstringnum {" "arabic-numbers" :sep "}")) ; define cross-reference class @@ -476,14 +478,14 @@ "alpha-page-numbers" "Roman-page-numbers" "Alpha-page-numbers" - "Appendix-page-numbers" + "Appendix-page-numbers" "see" )) ; define the glossary markup (markup-index - :open "\glossarysection[\glossarytoctitle]{\glossarytitle}\glossarypreamble~n\begin{theglossary}\glossaryheader~n" - :close "~n\end{theglossary}~n\glossarypostamble~n" + :open "\glossarysection[\glossarytoctitle]{\glossarytitle}\glossarypreamble~n\begin{theglossary}\glossaryheader~n" + :close "~n\end{theglossary}~n\glossarypostamble~n" :tree) (markup-letter-group-list :sep "\glsgroupskip~n") (markup-indexentry :open "~n" :depth 0) @@ -494,74 +496,75 @@ ; define format to use for locations -(markup-locref :open "~n\setentrycounter{page}\glsnumberformat{" - :close "}" + +(markup-locref :open "~n\setentrycounter{page}\glsnumberformat{" + :close "}" :attr "glsnumberformat") -(markup-locref :open "~n\setentrycounter{page}\textrm{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textrm{" + :close "}" :attr "textrm") -(markup-locref :open "~n\setentrycounter{page}\textsf{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textsf{" + :close "}" :attr "textsf") -(markup-locref :open "~n\setentrycounter{page}\texttt{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\texttt{" + :close "}" :attr "texttt") -(markup-locref :open "~n\setentrycounter{page}\textbf{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textbf{" + :close "}" :attr "textbf") -(markup-locref :open "~n\setentrycounter{page}\textmd{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textmd{" + :close "}" :attr "textmd") -(markup-locref :open "~n\setentrycounter{page}\textit{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textit{" + :close "}" :attr "textit") -(markup-locref :open "~n\setentrycounter{page}\textup{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textup{" + :close "}" :attr "textup") -(markup-locref :open "~n\setentrycounter{page}\textsl{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textsl{" + :close "}" :attr "textsl") -(markup-locref :open "~n\setentrycounter{page}\textsc{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\textsc{" + :close "}" :attr "textsc") -(markup-locref :open "~n\setentrycounter{page}\emph{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\emph{" + :close "}" :attr "emph") -(markup-locref :open "~n\setentrycounter{page}\glshypernumber{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\glshypernumber{" + :close "}" :attr "glshypernumber") -(markup-locref :open "~n\setentrycounter{page}\hyperrm{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hyperrm{" + :close "}" :attr "hyperrm") -(markup-locref :open "~n\setentrycounter{page}\hypersf{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hypersf{" + :close "}" :attr "hypersf") -(markup-locref :open "~n\setentrycounter{page}\hypertt{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hypertt{" + :close "}" :attr "hypertt") -(markup-locref :open "~n\setentrycounter{page}\hyperbf{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hyperbf{" + :close "}" :attr "hyperbf") -(markup-locref :open "~n\setentrycounter{page}\hypermd{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hypermd{" + :close "}" :attr "hypermd") -(markup-locref :open "~n\setentrycounter{page}\hyperit{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hyperit{" + :close "}" :attr "hyperit") -(markup-locref :open "~n\setentrycounter{page}\hyperup{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hyperup{" + :close "}" :attr "hyperup") -(markup-locref :open "~n\setentrycounter{page}\hypersl{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hypersl{" + :close "}" :attr "hypersl") -(markup-locref :open "~n\setentrycounter{page}\hypersc{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hypersc{" + :close "}" :attr "hypersc") -(markup-locref :open "~n\setentrycounter{page}\hyperemph{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hyperemph{" + :close "}" :attr "hyperemph") -(markup-locref :open "~n\setentrycounter{page}\hyperbfit{" - :close "}" +(markup-locref :open "~n\setentrycounter{page}\hyperbfit{" + :close "}" :attr "hyperbfit") ; define letter group list format @@ -581,11 +584,11 @@ (define-sort-rule-orientations (forward backward forward forward)) (use-rule-set :run 0 - :rule-set ("en-alphabetize" "en-ignore-special")) + :rule-set ("en-alphabetize" "en-ignore-special")) (use-rule-set :run 1 - :rule-set ("en-resolve-diacritics" "en-ignore-special")) + :rule-set ("en-resolve-diacritics" "en-ignore-special")) (use-rule-set :run 2 - :rule-set ("en-resolve-case" "en-ignore-special")) + :rule-set ("en-resolve-case" "en-ignore-special")) (use-rule-set :run 3 - :rule-set ("en-resolve-special")) + :rule-set ("en-resolve-special")) diff --git a/macros/latex/contrib/glossaries/samples/samplexdy.pdf b/macros/latex/contrib/glossaries/samples/samplexdy.pdf index 93a35e09cc..8db6ac5ddf 100644 Binary files a/macros/latex/contrib/glossaries/samples/samplexdy.pdf and b/macros/latex/contrib/glossaries/samples/samplexdy.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/samplexdy.tex b/macros/latex/contrib/glossaries/samples/samplexdy.tex index 808a1ac5ee..2effb0da1b 100644 --- a/macros/latex/contrib/glossaries/samples/samplexdy.tex +++ b/macros/latex/contrib/glossaries/samples/samplexdy.tex @@ -17,7 +17,7 @@ % Otherwise do: % % xindy -L english -C utf8 -I xindy -M samplexdy -t samplexdy.glg -o samplexdy.gls samplexdy.glo -% +% % If you want to use arara, you need the following directives: % arara: pdflatex: { synctex: on } % arara: makeglossaries @@ -74,7 +74,7 @@ % (This command will have no effect if \noist is used) \GlsAddXdyLocation{tally}{% tally location format - :sep "\string\tallynum\space\glsopenbrace" % -> \tallynum { + :sep "\string\tallynum\space\glsopenbrace" % -> \tallynum { "arabic-numbers" % -> arabic number (0, 1, 2, etc) :sep "\glsclosebrace" % -> } } @@ -96,7 +96,7 @@ % The above three lines specify to use samplexdy-mc.xdy (supplied % with this file) and don't overwrite it. The language is -% unset using \GlsSetXdyLanguage{} as all the language +% unset using \GlsSetXdyLanguage{} as all the language % dependent information is contained in samplexdy-mc.xdy % Note that using \noist means that commands like % \GlsAddXdyAttribute and \GlsAddXdyLocation will no longer have @@ -138,7 +138,7 @@ % Define glossary entries % \glshyperlink is used instead of \gls to prevent the glossary % page numbers also appear in the locations, however I need -% to ensure that the referenced entries are added to the +% to ensure that the referenced entries are added to the % glossary via commands that use \glslink, \glsadd or \glssee \newglossaryentry{mcadam}{name={McAdam, John Loudon}, @@ -158,7 +158,7 @@ description={Theorem expressing a function $f(x)$ as the sum of a polynomial and a remainder: \[f(x) = f(a)+f'(a)(x-a)+f''(a)(x-a^2)/2!+\cdots+R_n\] If $n\to\infty$ the expansion is a \glshyperlink{taylorseries} -and if $a=0$, the series is called a +and if $a=0$, the series is called a \gls{maclaurinseries}}} \newglossaryentry{taylorseries}{name={Taylor series}, @@ -170,7 +170,7 @@ description={English mathematician}} \newglossaryentry{mcnemar}{name={McNemar, Quinn}, first={Quinn McNemar},text={McNemar}, -description={Mathematician who introduced +description={Mathematician who introduced \gls{mcnemarstest}. This entry has the number list suppressed},nonumberlist} @@ -235,7 +235,7 @@ first={Giuseppe Peano},text={Peano}, description={Italian mathematician}} \newglossaryentry{peanoscurve}{name={Peano's curve}, -description={A space-filling curve discovered by +description={A space-filling curve discovered by \gls{peano}}} \newglossaryentry{pearson}{name={Pearson, Karl}, @@ -258,14 +258,14 @@ several pages. \rule{1pt}{0.6\textheight} -This paragraph has been shoved to the bottom of the page using a rule. +This paragraph has been shoved to the bottom of the page using a rule. This paragraph spans a page break for testing purposes to ensure the glossary entry in this paragraph has the correct location. Here's the glossary entry: \gls{gaussianfn}. Check that the location is correct. This page talks about \glspl[format=hyperbfit]{gaussianint}. Since -it's the principle definition, the user-defined hyperbfit format is +it's the principle definition, the user-defined hyperbfit format is used. \newpage @@ -275,7 +275,7 @@ The section on \gls[format=)]{gauss} ends here. \section{Series Expansions} This section is about series expansions. It mentions -\gls{maclaurin} and \gls{taylor}. It also discusses +\gls{maclaurin} and \gls{taylor}. It also discusses \gls{taylorstheorem} which is related to the \gls{taylorseries}. The \gls{maclaurinseries} is a special case of the \gls{taylorseries}. diff --git a/macros/latex/contrib/glossaries/samples/samplexdy2.pdf b/macros/latex/contrib/glossaries/samples/samplexdy2.pdf index 7519f29bae..de19ce8acb 100644 Binary files a/macros/latex/contrib/glossaries/samples/samplexdy2.pdf and b/macros/latex/contrib/glossaries/samples/samplexdy2.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/samplexdy2.tex b/macros/latex/contrib/glossaries/samples/samplexdy2.tex index f8d707849f..6225fb4d9f 100644 --- a/macros/latex/contrib/glossaries/samples/samplexdy2.tex +++ b/macros/latex/contrib/glossaries/samples/samplexdy2.tex @@ -1,6 +1,6 @@ % This file is public domain % -% This is a sample document illustrating how to use the +% This is a sample document illustrating how to use the % glossaries package with xindy. To create the document: % % pdflatex samplexdy2 @@ -27,14 +27,14 @@ \renewcommand*{\theHsection}{\thepart.\thesection} \renewcommand*{\thepart}{\Roman{part}} -\GlsAddXdyLocation["roman-numbers-uppercase"]{section}{:sep "[" +\GlsAddXdyLocation["roman-numbers-uppercase"]{section}{:sep "[" "arabic-numbers" :sep "]" "arabic-numbers" } % If part is 0, then \thepart will be empty, so add an extra % case to catch this: -\GlsAddXdyLocation{zero.section}{:sep "[" +\GlsAddXdyLocation{zero.section}{:sep "[" "arabic-numbers" :sep "]" "arabic-numbers" } diff --git a/macros/latex/contrib/glossaries/samples/samplexdy3.pdf b/macros/latex/contrib/glossaries/samples/samplexdy3.pdf index 323bc80c80..b715c047b4 100644 Binary files a/macros/latex/contrib/glossaries/samples/samplexdy3.pdf and b/macros/latex/contrib/glossaries/samples/samplexdy3.pdf differ diff --git a/macros/latex/contrib/glossaries/samples/samplexdy3.tex b/macros/latex/contrib/glossaries/samples/samplexdy3.tex index dcdc327b37..8a28f1c3f9 100644 --- a/macros/latex/contrib/glossaries/samples/samplexdy3.tex +++ b/macros/latex/contrib/glossaries/samples/samplexdy3.tex @@ -98,9 +98,9 @@ } % The arguments of \linkpagenumber will be -% #1 -> \customfmtnum +% #1 -> \customfmtnum % #2 -> n -% This means that the page number (n) can be used to +% This means that the page number (n) can be used to % form the hyperlink target. \newcommand{\linkpagenumber}[2]{\hyperlink{page.#2}{#1{#2}}} diff --git a/macros/latex/contrib/hologo/README.md b/macros/latex/contrib/hologo/README.md new file mode 100644 index 0000000000..ab6a141e0b --- /dev/null +++ b/macros/latex/contrib/hologo/README.md @@ -0,0 +1,7 @@ +# hologo + +hologo package for LaTeX + +This package starts a collection of logos with support for bookmarks +strings. + diff --git a/macros/latex/contrib/hologo/hologo.dtx b/macros/latex/contrib/hologo/hologo.dtx new file mode 100644 index 0000000000..a8a8260c8a --- /dev/null +++ b/macros/latex/contrib/hologo/hologo.dtx @@ -0,0 +1,4780 @@ +% \iffalse meta-comment +% +% File: hologo.dtx +% Version: 2019/12/05 v1.14 +% Info: A logo collection with bookmark support +% +% Copyright (C) +% 2010-2012 Heiko Oberdiek +% 2016-2019 Oberdiek Package Support Group +% https://github.com/ho-tex/hologo/issues +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any later +% version. This version of this license is in +% https://www.latex-project.org/lppl/lppl-1-3c.txt +% and the latest version of this license is in +% https://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". +% +% The Current Maintainers of this work are +% Heiko Oberdiek and the Oberdiek Package Support Group +% https://github.com/ho-tex/hologo/issues +% +% The Base Interpreter refers to any `TeX-Format', +% because some files are installed in TDS:tex/generic//. +% +% This work consists of the main source file hologo.dtx +% and the derived files +% hologo.sty, hologo.pdf, hologo.ins, hologo.drv, hologo-example.tex, +% hologo-test1.tex, hologo-test-spacefactor.tex, +% hologo-test-list.tex. +% +% Distribution: +% CTAN:macros/latex/contrib/hologo/hologo.dtx +% CTAN:macros/latex/contrib/hologo/hologo.pdf +% +% Unpacking: +% (a) If hologo.ins is present: +% tex hologo.ins +% (b) Without hologo.ins: +% tex hologo.dtx +% (c) If you insist on using LaTeX +% latex \let\install=y\input{hologo.dtx} +% (quote the arguments according to the demands of your shell) +% +% Documentation: +% (a) If hologo.drv is present: +% latex hologo.drv +% (b) Without hologo.drv: +% latex hologo.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 hologo.dtx +% makeindex -s gind.ist hologo.idx +% pdflatex hologo.dtx +% makeindex -s gind.ist hologo.idx +% pdflatex hologo.dtx +% +% Installation: +% TDS:tex/generic/hologo/hologo.sty +% TDS:doc/latex/hologo/hologo.pdf +% TDS:doc/latex/hologo/example/hologo-example.tex +% TDS:source/latex/hologo/hologo.dtx +% +%<*ignore> +\begingroup + \catcode123=1 % + \catcode125=2 % + \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: hologo 2019/12/05 v1.14 A logo collection with bookmark support (HO)} +\Msg{************************************************************************} + +\keepsilent +\askforoverwritefalse + +\let\MetaPrefix\relax +\preamble + +This is a generated file. + +Project: hologo +Version: 2019/12/05 v1.14 + +Copyright (C) + 2010-2012 Heiko Oberdiek + 2016-2019 Oberdiek Package Support Group + +This work may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either +version 1.3c of this license or (at your option) any later +version. This version of this license is in + https://www.latex-project.org/lppl/lppl-1-3c.txt +and the latest version of this license is in + https://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". + +The Current Maintainers of this work are +Heiko Oberdiek and the Oberdiek Package Support Group +https://github.com/ho-tex/hologo/issues + + +The Base Interpreter refers to any `TeX-Format', +because some files are installed in TDS:tex/generic//. + +This work consists of the main source file hologo.dtx +and the derived files + hologo.sty, hologo.pdf, hologo.ins, hologo.drv, hologo-example.tex, + hologo-test1.tex, hologo-test-spacefactor.tex, + hologo-test-list.tex. + +\endpreamble +\let\MetaPrefix\DoubleperCent + +\generate{% + \file{hologo.ins}{\from{hologo.dtx}{install}}% + \file{hologo.drv}{\from{hologo.dtx}{driver}}% + \usedir{tex/generic/hologo}% + \file{hologo.sty}{\from{hologo.dtx}{package}}% + \usedir{doc/latex/hologo/example}% + \file{hologo-example.tex}{\from{hologo.dtx}{example}}% +} + +\catcode32=13\relax% active space +\let =\space% +\Msg{************************************************************************} +\Msg{*} +\Msg{* To finish the installation you have to move the following} +\Msg{* file into a directory searched by TeX:} +\Msg{*} +\Msg{* hologo.sty} +\Msg{*} +\Msg{* To produce the documentation run the file `hologo.drv'} +\Msg{* through LaTeX.} +\Msg{*} +\Msg{* Happy TeXing!} +\Msg{*} +\Msg{************************************************************************} + +\endbatchfile +% +%<*ignore> +\fi +% +%<*driver> +\NeedsTeXFormat{LaTeX2e} +\ProvidesFile{hologo.drv}% + [2019/12/05 v1.14 A logo collection with bookmark support (HO)]% +\documentclass{ltxdoc} +\usepackage{holtxdoc}[2011/11/22] +\usepackage{hologo}[2019/12/05] +\usepackage{longtable} +\usepackage{array} +\usepackage{paralist} +%\usepackage[T1]{fontenc} +%\usepackage{lmodern} +\begin{document} + \DocInput{hologo.dtx}% +\end{document} +% +% \fi +% +% +% +% \GetFileInfo{hologo.drv} +% +% \title{The \xpackage{hologo} package} +% \date{2019/12/05 v1.14} +% \author{Heiko Oberdiek\thanks +% {Please report any issues at \url{https://github.com/ho-tex/hologo/issues}}} +% +% \maketitle +% +% \begin{abstract} +% This package starts a collection of logos with support for bookmarks +% strings. +% \end{abstract} +% +% \tableofcontents +% +% \section{Documentation} +% +% \subsection{Logo macros} +% +% \begin{declcs}{hologo} \M{name} +% \end{declcs} +% Macro \cs{hologo} sets the logo with name \meta{name}. +% The following table shows the supported names. +% +% \begingroup +% \def\hologoEntry#1#2#3{^^A +% #1&\hologoLogoSetup{#1}{variant=#2}\hologo{#1}\tabularnewline +% } +% \begin{longtable}{>{\ttfamily}l>{\ttfamily}lll} +% \rmfamily\bfseries{name} & \rmfamily\bfseries variant +% & \bfseries logo & \bfseries since\\ +% \hline +% \endhead +% \hologoList +% \end{longtable} +% \endgroup +% +% \begin{declcs}{Hologo} \M{name} +% \end{declcs} +% Macro \cs{Hologo} starts the logo \meta{name} with an uppercase +% letter. As an exception small greek letters are not converted +% to uppercase. Examples, see \hologo{eTeX} and \hologo{ExTeX}. +% +% \subsection{Setup macros} +% +% The package does not support package options, but the following +% setup macros can be used to set options. +% +% \begin{declcs}{hologoSetup} \M{key value list} +% \end{declcs} +% Macro \cs{hologoSetup} sets global options. +% +% \begin{declcs}{hologoLogoSetup} \M{logo} \M{key value list} +% \end{declcs} +% Some options can also be used to configure a logo. +% These settings take precedence over global option settings. +% +% \subsection{Options}\label{sec:options} +% +% There are boolean and string options: +% \begin{description} +% \item[Boolean option:] +% It takes |true| or |false| +% as value. If the value is omitted, then |true| is used. +% \item[String option:] +% A value must be given as string. (But the string might be empty.) +% \end{description} +% The following options can be used both in \cs{hologoSetup} +% and \cs{hologoLogoSetup}: +% \begin{description} +% \def\entry#1{\item[\xoption{#1}:]} +% \entry{break} +% enables or disables line breaks inside the logo. This setting is +% refined by options \xoption{hyphenbreak}, \xoption{spacebreak} +% or \xoption{discretionarybreak}. +% Default is |false|. +% \entry{hyphenbreak} +% enables or disables the line break right after the hyphen character. +% \entry{spacebreak} +% enables or disables line breaks at space characters. +% \entry{discretionarybreak} +% enables or disables line breaks at hyphenation points +% (inserted by \cs{-}). +% \end{description} +% Macro \cs{hologoLogoSetup} also knows: +% \begin{description} +% \item[\xoption{variant}:] +% This is a string option. It specifies a variant of a logo that +% must exist. An empty string selects the package default variant. +% \end{description} +% Example: +% \begin{quote} +% |\hologoSetup{break=false}|\\ +% |\hologoLogoSetup{plainTeX}{variant=hyphen,hyphenbreak}|\\ +% Then ``plain-\TeX'' contains one break point after the hyphen. +% \end{quote} +% +% \subsection{Driver options} +% +% Sometimes graphical operations are needed to construct some +% glyphs (e.g.\ \hologo{XeTeX}). If package \xpackage{graphics} +% or package \xpackage{pgf} are found, then the macros are taken +% from there. Otherwise the packge defines its own operations +% and therefore needs the driver information. Many drivers are +% detected automatically (\hologo{pdfTeX}/\hologo{LuaTeX} +% in PDF mode, \hologo{XeTeX}, \hologo{VTeX}). These have precedence +% over a driver option. The driver can be given as package option +% or using \cs{hologoDriverSetup}. +% The following list contains the recognized driver options: +% \begin{itemize} +% \item \xoption{pdftex}, \xoption{luatex} +% \item \xoption{dvipdfm}, \xoption{dvipdfmx} +% \item \xoption{dvips}, \xoption{dvipsone}, \xoption{xdvi} +% \item \xoption{xetex} +% \item \xoption{vtex} +% \end{itemize} +% The left driver of a line is the driver name that is used internally. +% The following names are aliases for drivers that use the +% same method. Therefore the entry in the \xext{log} file for +% the used driver prints the internally used driver name. +% \begin{description} +% \item[\xoption{driverfallback}:] +% This option expects a driver that is used, +% if the driver could not be detected automatically. +% \end{description} +% +% \begin{declcs}{hologoDriverSetup} \M{driver option} +% \end{declcs} +% The driver can also be configured after package loading +% using \cs{hologoDriverSetup}, also the way for \hologo{plainTeX} +% to setup the driver. +% +% \subsection{Font setup} +% +% Some logos require a special font, but should also be usable by +% \hologo{plainTeX}. Therefore the package provides some ways +% to influence the font settings. The options below +% take font settings as values. Both font commands +% such as \cs{sffamily} and macros that take one argument +% like \cs{textsf} can be used. +% +% \begin{declcs}{hologoFontSetup} \M{key value list} +% \end{declcs} +% Macro \cs{hologoFontSetup} sets the fonts for all logos. +% Supported keys: +% \begin{description} +% \def\entry#1{\item[\xoption{#1}:]} +% \entry{general} +% This font is used for all logos. The default is empty. +% That means no special font is used. +% \entry{bibsf} +% This font is used for +% {\hologoLogoSetup{BibTeX}{variant=sf}\hologo{BibTeX}} +% with variant \xoption{sf}. +% \entry{rm} +% This font is a serif font. It is used for \hologo{ExTeX}. +% \entry{sc} +% This font specifies a small caps font. It is used for +% {\hologoLogoSetup{BibTeX}{variant=sc}\hologo{BibTeX}} +% with variant \xoption{sc}. +% \entry{sf} +% This font specifies a sans serif font. The default +% is \cs{sffamily}, then \cs{sf} is tried. Otherwise +% a warning is given. It is used by \hologo{KOMAScript}. +% \entry{sy} +% This is the font for math symbols (e.g. cmsy). +% It is used by \hologo{AmS}, \hologo{NTS}, \hologo{ExTeX}. +% \entry{logo} +% \hologo{METAFONT} and \hologo{METAPOST} are using that font. +% In \hologo{LaTeX} \cs{logofamily} is used and +% the definitions of package \xpackage{mflogo} are used +% if the package is not loaded. +% Otherwise the \cs{tenlogo} is used and defined +% if it does not already exists. +% \end{description} +% +% \begin{declcs}{hologoLogoFontSetup} \M{logo} \M{key value list} +% \end{declcs} +% Fonts can also be set for a logo or logo component separately, +% see the following list. +% The keys are the same as for \cs{hologoFontSetup}. +% +% \begin{longtable}{>{\ttfamily}l>{\sffamily}ll} +% \meta{logo} & keys & result\\ +% \hline +% \endhead +% BibTeX & bibsf & {\hologoLogoSetup{BibTeX}{variant=sf}\hologo{BibTeX}}\\[.5ex] +% BibTeX & sc & {\hologoLogoSetup{BibTeX}{variant=sc}\hologo{BibTeX}}\\[.5ex] +% ExTeX & rm & \hologo{ExTeX}\\ +% SliTeX & rm & \hologo{SliTeX}\\[.5ex] +% AmS & sy & \hologo{AmS}\\ +% ExTeX & sy & \hologo{ExTeX}\\ +% NTS & sy & \hologo{NTS}\\[.5ex] +% KOMAScript & sf & \hologo{KOMAScript}\\[.5ex] +% METAFONT & logo & \hologo{METAFONT}\\ +% METAPOST & logo & \hologo{METAPOST}\\[.5ex] +% SliTeX & sc \hologo{SliTeX} +% \end{longtable} +% +% \subsubsection{Font order} +% +% For all logos the font \xoption{general} is applied first. +% Example: +%\begin{quote} +%|\hologoFontSetup{general=\color{red}}| +%\end{quote} +% will print red logos. +% Then if the font uses a special font \xoption{sf}, for example, +% the font is applied that is setup by \cs{hologoLogoFontSetup}. +% If this font is not setup, then the common font setup +% by \cs{hologoFontSetup} is used. Otherwise a warning is given, +% that there is no font configured. +% +% \subsection{Additional user macros} +% +% Usually a variant of a logo is configured by using +% \cs{hologoLogoSetup}, because it is bad style to mix +% different variants of the same logo in the same text. +% There the following macros are a convenience for testing. +% +% \begin{declcs}{hologoVariant} \M{name} \M{variant}\\ +% \cs{HologoVariant} \M{name} \M{variant} +% \end{declcs} +% Logo \meta{name} is set using \meta{variant} that specifies +% explicitely which variant of the macro is used. If the argument +% is empty, then the default form of the logo is used +% (configurable by \cs{hologoLogoSetup}). +% +% \cs{HologoVariant} is used if the logo is set in a context +% that needs an uppercase first letter (beginning of a sentence, \dots). +% +% \begin{declcs}{hologoList}\\ +% \cs{hologoEntry} \M{logo} \M{variant} \M{since} +% \end{declcs} +% Macro \cs{hologoList} contains all logos that are provided +% by the package including variants. The list consists of calls +% of \cs{hologoEntry} with three arguments starting with the +% logo name \meta{logo} and its variant \meta{variant}. An empty +% variant means the current default. Argument \meta{since} specifies +% with version of the package \xpackage{hologo} is needed to get +% the logo. If the logo is fixed, then the date gets updated. +% Therefore the date \meta{since} is not exactly the date of +% the first introduction, but rather the date of the latest fix. +% +% Before \cs{hologoList} can be used, macro \cs{hologoEntry} needs +% a definition. The example file in section \ref{sec:example} +% shows applications of \cs{hologoList}. +% +% \subsection{Supported contexts} +% +% Macros \cs{hologo} and friends support special contexts: +% \begin{itemize} +% \item \hologo{LaTeX}'s protection mechanism. +% \item Bookmarks of package \xpackage{hyperref}. +% \item Package \xpackage{tex4ht}. +% \item The macros can be used inside \cs{csname} constructs, +% if \cs{ifincsname} is available (\hologo{pdfTeX}, \hologo{XeTeX}, +% \hologo{LuaTeX}). +% \end{itemize} +% +% \subsection{Example} +% \label{sec:example} +% +% The following example prints the logos in different fonts. +% \begin{macrocode} +%<*example> +%<{\bfseries}ll} + \textbf{font} & \textbf{Font name}\\ + \hline + lmr & Latin Modern Roman\\ + lmss & Latin Modern Sans\\ + qtm & \TeX\ Gyre Termes\\ + qhv & \TeX\ Gyre Heros\\ + qpl & \TeX\ Gyre Pagella\\ + \end{longtable} + + % Logo list with logos in different fonts + + \begingroup + \newcommand*{\SetVariant}[2]{% + \ifx\\#2\\% + \else + \hologoLogoSetup{#1}{variant=#2}% + \fi + }% + \newcommand*{\hologoEntry}[3]{% + \SetVariant{#1}{#2}% + \raisebox{1em}[0pt][0pt]{\hypertarget{#1@#2}{}}% + \bookmark[% + dest={#1@#2},% + ]{% + #1\ifx\\#2\\\else\space(#2)\fi: \Hologo{#1}, \hologo{#1} % + [Unicode]% + }% + \hypersetup{unicode=false}% + \bookmark[% + dest={#1@#2},% + ]{% + #1\ifx\\#2\\\else\space(#2)\fi: \Hologo{#1}, \hologo{#1} % + [PDFDocEncoding]% + }% + \texttt{#1}% + &% + \texttt{#2}% + &% + \Hologo{#1}% + &% + \SetVariant{#1}{#2}% + \hologo{#1}% + &% + \SetVariant{#1}{#2}% + \fontfamily{qtm}\selectfont + \hologo{#1}% + &% + \SetVariant{#1}{#2}% + \fontfamily{qpl}\selectfont + \hologo{#1}% + &% + \SetVariant{#1}{#2}% + \textsf{\hologo{#1}}% + &% + \SetVariant{#1}{#2}% + \fontfamily{qhv}\selectfont + \hologo{#1}% + \tabularnewline + }% + \begin{longtable}{llllllll}% + \textbf{\textit{logo}} & \textbf{\textit{variant}} & + \texttt{\string\Hologo} & + \textbf{lmr} & \textbf{qtm} & \textbf{qpl} & + \textbf{lmss} & \textbf{qhv} + \tabularnewline + \hline + \endhead + \hologoList + \end{longtable}% + \endgroup + +\end{landscape} +\end{document} +%verbatim +% +% \end{macrocode} +% +% \StopEventually{ +% } +% +% \section{Implementation} +% \begin{macrocode} +%<*package> +% \end{macrocode} +% Reload check, especially if the package is not used with \LaTeX. +% \begin{macrocode} +\begingroup\catcode61\catcode48\catcode32=10\relax% + \catcode13=5 % ^^M + \endlinechar=13 % + \catcode35=6 % # + \catcode39=12 % ' + \catcode44=12 % , + \catcode45=12 % - + \catcode46=12 % . + \catcode58=12 % : + \catcode64=11 % @ + \catcode123=1 % { + \catcode125=2 % } + \expandafter\let\expandafter\x\csname ver@hologo.sty\endcsname + \ifx\x\relax % plain-TeX, first loading + \else + \def\empty{}% + \ifx\x\empty % LaTeX, first loading, + % variable is initialized, but \ProvidesPackage not yet seen + \else + \expandafter\ifx\csname PackageInfo\endcsname\relax + \def\x#1#2{% + \immediate\write-1{Package #1 Info: #2.}% + }% + \else + \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% + \fi + \x{hologo}{The package is already loaded}% + \aftergroup\endinput + \fi + \fi +\endgroup% +% \end{macrocode} +% Package identification: +% \begin{macrocode} +\begingroup\catcode61\catcode48\catcode32=10\relax% + \catcode13=5 % ^^M + \endlinechar=13 % + \catcode35=6 % # + \catcode39=12 % ' + \catcode40=12 % ( + \catcode41=12 % ) + \catcode44=12 % , + \catcode45=12 % - + \catcode46=12 % . + \catcode47=12 % / + \catcode58=12 % : + \catcode64=11 % @ + \catcode91=12 % [ + \catcode93=12 % ] + \catcode123=1 % { + \catcode125=2 % } + \expandafter\ifx\csname ProvidesPackage\endcsname\relax + \def\x#1#2#3[#4]{\endgroup + \immediate\write-1{Package: #3 #4}% + \xdef#1{#4}% + }% + \else + \def\x#1#2[#3]{\endgroup + #2[{#3}]% + \ifx#1\@undefined + \xdef#1{#3}% + \fi + \ifx#1\relax + \xdef#1{#3}% + \fi + }% + \fi +\expandafter\x\csname ver@hologo.sty\endcsname +\ProvidesPackage{hologo}% + [2019/12/05 v1.14 A logo collection with bookmark support (HO)]% +% \end{macrocode} +% +% \begin{macrocode} +\begingroup\catcode61\catcode48\catcode32=10\relax% + \catcode13=5 % ^^M + \endlinechar=13 % + \catcode123=1 % { + \catcode125=2 % } + \catcode64=11 % @ + \def\x{\endgroup + \expandafter\edef\csname HOLOGO@AtEnd\endcsname{% + \endlinechar=\the\endlinechar\relax + \catcode13=\the\catcode13\relax + \catcode32=\the\catcode32\relax + \catcode35=\the\catcode35\relax + \catcode61=\the\catcode61\relax + \catcode64=\the\catcode64\relax + \catcode123=\the\catcode123\relax + \catcode125=\the\catcode125\relax + }% + }% +\x\catcode61\catcode48\catcode32=10\relax% +\catcode13=5 % ^^M +\endlinechar=13 % +\catcode35=6 % # +\catcode64=11 % @ +\catcode123=1 % { +\catcode125=2 % } +\def\TMP@EnsureCode#1#2{% + \edef\HOLOGO@AtEnd{% + \HOLOGO@AtEnd + \catcode#1=\the\catcode#1\relax + }% + \catcode#1=#2\relax +} +\TMP@EnsureCode{10}{12}% ^^J +\TMP@EnsureCode{33}{12}% ! +\TMP@EnsureCode{34}{12}% " +\TMP@EnsureCode{36}{3}% $ +\TMP@EnsureCode{38}{4}% & +\TMP@EnsureCode{39}{12}% ' +\TMP@EnsureCode{40}{12}% ( +\TMP@EnsureCode{41}{12}% ) +\TMP@EnsureCode{42}{12}% * +\TMP@EnsureCode{43}{12}% + +\TMP@EnsureCode{44}{12}% , +\TMP@EnsureCode{45}{12}% - +\TMP@EnsureCode{46}{12}% . +\TMP@EnsureCode{47}{12}% / +\TMP@EnsureCode{58}{12}% : +\TMP@EnsureCode{59}{12}% ; +\TMP@EnsureCode{60}{12}% < +\TMP@EnsureCode{62}{12}% > +\TMP@EnsureCode{63}{12}% ? +\TMP@EnsureCode{91}{12}% [ +\TMP@EnsureCode{93}{12}% ] +\TMP@EnsureCode{94}{7}% ^ (superscript) +\TMP@EnsureCode{95}{8}% _ (subscript) +\TMP@EnsureCode{96}{12}% ` +\TMP@EnsureCode{124}{12}% | +\edef\HOLOGO@AtEnd{% + \HOLOGO@AtEnd + \escapechar\the\escapechar\relax + \noexpand\endinput +} +\escapechar=92 % +% \end{macrocode} +% +% \subsection{Logo list} +% +% \begin{macro}{\hologoList} +% \begin{macrocode} +\def\hologoList{% + \hologoEntry{(La)TeX}{}{2011/10/01}% + \hologoEntry{AmSLaTeX}{}{2010/04/16}% + \hologoEntry{AmSTeX}{}{2010/04/16}% + \hologoEntry{biber}{}{2011/10/01}% + \hologoEntry{BibTeX}{}{2011/10/01}% + \hologoEntry{BibTeX}{sf}{2011/10/01}% + \hologoEntry{BibTeX}{sc}{2011/10/01}% + \hologoEntry{BibTeX8}{}{2011/11/22}% + \hologoEntry{ConTeXt}{}{2011/03/25}% + \hologoEntry{ConTeXt}{narrow}{2011/03/25}% + \hologoEntry{ConTeXt}{simple}{2011/03/25}% + \hologoEntry{emTeX}{}{2010/04/26}% + \hologoEntry{eTeX}{}{2010/04/08}% + \hologoEntry{ExTeX}{}{2011/10/01}% + \hologoEntry{HanTheThanh}{}{2011/11/29}% + \hologoEntry{iniTeX}{}{2011/10/01}% + \hologoEntry{KOMAScript}{}{2011/10/01}% + \hologoEntry{La}{}{2010/05/08}% + \hologoEntry{LaTeX}{}{2010/04/08}% + \hologoEntry{LaTeX2e}{}{2010/04/08}% + \hologoEntry{LaTeX3}{}{2010/04/24}% + \hologoEntry{LaTeXe}{}{2010/04/08}% + \hologoEntry{LaTeXML}{}{2011/11/22}% + \hologoEntry{LaTeXTeX}{}{2011/10/01}% + \hologoEntry{LuaLaTeX}{}{2010/04/08}% + \hologoEntry{LuaTeX}{}{2010/04/08}% + \hologoEntry{LyX}{}{2011/10/01}% + \hologoEntry{METAFONT}{}{2011/10/01}% + \hologoEntry{MetaFun}{}{2011/10/01}% + \hologoEntry{METAPOST}{}{2011/10/01}% + \hologoEntry{MetaPost}{}{2011/10/01}% + \hologoEntry{MiKTeX}{}{2011/10/01}% + \hologoEntry{NTS}{}{2011/10/01}% + \hologoEntry{OzMF}{}{2011/10/01}% + \hologoEntry{OzMP}{}{2011/10/01}% + \hologoEntry{OzTeX}{}{2011/10/01}% + \hologoEntry{OzTtH}{}{2011/10/01}% + \hologoEntry{PCTeX}{}{2011/10/01}% + \hologoEntry{pdfTeX}{}{2011/10/01}% + \hologoEntry{pdfLaTeX}{}{2011/10/01}% + \hologoEntry{PiC}{}{2011/10/01}% + \hologoEntry{PiCTeX}{}{2011/10/01}% + \hologoEntry{plainTeX}{}{2010/04/08}% + \hologoEntry{plainTeX}{space}{2010/04/16}% + \hologoEntry{plainTeX}{hyphen}{2010/04/16}% + \hologoEntry{plainTeX}{runtogether}{2010/04/16}% + \hologoEntry{SageTeX}{}{2011/11/22}% + \hologoEntry{SLiTeX}{}{2011/10/01}% + \hologoEntry{SLiTeX}{lift}{2011/10/01}% + \hologoEntry{SLiTeX}{narrow}{2011/10/01}% + \hologoEntry{SLiTeX}{simple}{2011/10/01}% + \hologoEntry{SliTeX}{}{2011/10/01}% + \hologoEntry{SliTeX}{narrow}{2011/10/01}% + \hologoEntry{SliTeX}{simple}{2011/10/01}% + \hologoEntry{SliTeX}{lift}{2011/10/01}% + \hologoEntry{teTeX}{}{2011/10/01}% + \hologoEntry{TeX}{}{2010/04/08}% + \hologoEntry{TeX4ht}{}{2011/11/22}% + \hologoEntry{TTH}{}{2011/11/22}% + \hologoEntry{virTeX}{}{2011/10/01}% + \hologoEntry{VTeX}{}{2010/04/24}% + \hologoEntry{Xe}{}{2010/04/08}% + \hologoEntry{XeLaTeX}{}{2010/04/08}% + \hologoEntry{XeTeX}{}{2010/04/08}% +} +% \end{macrocode} +% \end{macro} +% +% \subsection{Load resources} +% +% \begin{macrocode} +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname RequirePackage\endcsname\relax + \def\TMP@RequirePackage#1[#2]{% + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname ver@#1.sty\endcsname\relax + \input #1.sty\relax + \fi + }% + \TMP@RequirePackage{ltxcmds}[2011/02/04]% + \TMP@RequirePackage{infwarerr}[2010/04/08]% + \TMP@RequirePackage{kvsetkeys}[2010/03/01]% + \TMP@RequirePackage{kvdefinekeys}[2010/03/01]% + \TMP@RequirePackage{pdftexcmds}[2010/04/01]% + \TMP@RequirePackage{iftex}[2019/11/07]% + \ltx@IfUndefined{newif}{% + \expandafter\let\csname newif\endcsname\ltx@newif + }{}% +\else + \RequirePackage{ltxcmds}[2011/02/04]% + \RequirePackage{infwarerr}[2010/04/08]% + \RequirePackage{kvsetkeys}[2010/03/01]% + \RequirePackage{kvdefinekeys}[2010/03/01]% + \RequirePackage{pdftexcmds}[2010/04/01]% + \RequirePackage{iftex}[2019/11/07]% +\fi +% \end{macrocode} +% +% \begin{macro}{\HOLOGO@IfDefined} +% \begin{macrocode} +\def\HOLOGO@IfExists#1{% + \ifx\@undefined#1% + \expandafter\ltx@secondoftwo + \else + \ifx\relax#1% + \expandafter\ltx@secondoftwo + \else + \expandafter\expandafter\expandafter\ltx@firstoftwo + \fi + \fi +} +% \end{macrocode} +% \end{macro} +% +% \subsection{Setup macros} +% +% \begin{macro}{\hologoSetup} +% \begin{macrocode} +\def\hologoSetup{% + \let\HOLOGO@name\relax + \HOLOGO@Setup +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\hologoLogoSetup} +% \begin{macrocode} +\def\hologoLogoSetup#1{% + \edef\HOLOGO@name{#1}% + \ltx@IfUndefined{HoLogo@\HOLOGO@name}{% + \@PackageError{hologo}{% + Unknown logo `\HOLOGO@name'% + }\@ehc + \ltx@gobble + }{% + \HOLOGO@Setup + }% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@Setup} +% \begin{macrocode} +\def\HOLOGO@Setup{% + \kvsetkeys{HoLogo}% +} +% \end{macrocode} +% \end{macro} +% +% \subsection{Options} +% +% \begin{macro}{\HOLOGO@DeclareBoolOption} +% \begin{macrocode} +\def\HOLOGO@DeclareBoolOption#1{% + \expandafter\chardef\csname HOLOGOOPT@#1\endcsname\ltx@zero + \kv@define@key{HoLogo}{#1}[true]{% + \def\HOLOGO@temp{##1}% + \ifx\HOLOGO@temp\HOLOGO@true + \ifx\HOLOGO@name\relax + \expandafter\chardef\csname HOLOGOOPT@#1\endcsname=\ltx@one + \else + \expandafter\chardef\csname + HoLogoOpt@#1@\HOLOGO@name\endcsname\ltx@one + \fi + \HOLOGO@SetBreakAll{#1}% + \else + \ifx\HOLOGO@temp\HOLOGO@false + \ifx\HOLOGO@name\relax + \expandafter\chardef\csname HOLOGOOPT@#1\endcsname=\ltx@zero + \else + \expandafter\chardef\csname + HoLogoOpt@#1@\HOLOGO@name\endcsname=\ltx@zero + \fi + \HOLOGO@SetBreakAll{#1}% + \else + \@PackageError{hologo}{% + Unknown value `##1' for boolean option `#1'.\MessageBreak + Known values are `true' and `false'% + }\@ehc + \fi + \fi + }% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@SetBreakAll} +% \begin{macrocode} +\def\HOLOGO@SetBreakAll#1{% + \def\HOLOGO@temp{#1}% + \ifx\HOLOGO@temp\HOLOGO@break + \ifx\HOLOGO@name\relax + \chardef\HOLOGOOPT@hyphenbreak=\HOLOGOOPT@break + \chardef\HOLOGOOPT@spacebreak=\HOLOGOOPT@break + \chardef\HOLOGOOPT@discretionarybreak=\HOLOGOOPT@break + \else + \expandafter\chardef + \csname HoLogoOpt@hyphenbreak@\HOLOGO@name\endcsname=% + \csname HoLogoOpt@break@\HOLOGO@name\endcsname + \expandafter\chardef + \csname HoLogoOpt@spacebreak@\HOLOGO@name\endcsname=% + \csname HoLogoOpt@break@\HOLOGO@name\endcsname + \expandafter\chardef + \csname HoLogoOpt@discretionarybreak@\HOLOGO@name + \endcsname=% + \csname HoLogoOpt@break@\HOLOGO@name\endcsname + \fi + \fi +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@true} +% \begin{macrocode} +\def\HOLOGO@true{true} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HOLOGO@false} +% \begin{macrocode} +\def\HOLOGO@false{false} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HOLOGO@break} +% \begin{macrocode} +\def\HOLOGO@break{break} +% \end{macrocode} +% \end{macro} +% +% \begin{macrocode} +\HOLOGO@DeclareBoolOption{break} +\HOLOGO@DeclareBoolOption{hyphenbreak} +\HOLOGO@DeclareBoolOption{spacebreak} +\HOLOGO@DeclareBoolOption{discretionarybreak} +% \end{macrocode} +% +% \begin{macrocode} +\kv@define@key{HoLogo}{variant}{% + \ifx\HOLOGO@name\relax + \@PackageError{hologo}{% + Option `variant' is not available in \string\hologoSetup,% + \MessageBreak + Use \string\hologoLogoSetup\space instead% + }\@ehc + \else + \edef\HOLOGO@temp{#1}% + \ifx\HOLOGO@temp\ltx@empty + \expandafter + \let\csname HoLogoOpt@variant@\HOLOGO@name\endcsname\@undefined + \else + \ltx@IfUndefined{HoLogo@\HOLOGO@name @\HOLOGO@temp}{% + \@PackageError{hologo}{% + Unknown variant `\HOLOGO@temp' of logo `\HOLOGO@name'% + }\@ehc + }{% + \expandafter + \let\csname HoLogoOpt@variant@\HOLOGO@name\endcsname + \HOLOGO@temp + }% + \fi + \fi +} +% \end{macrocode} +% +% \begin{macro}{\HOLOGO@Variant} +% \begin{macrocode} +\def\HOLOGO@Variant#1{% + #1% + \ltx@ifundefined{HoLogoOpt@variant@#1}{% + }{% + @\csname HoLogoOpt@variant@#1\endcsname + }% +} +% \end{macrocode} +% \end{macro} +% +% \subsection{Break/no-break support} +% +% \begin{macro}{\HOLOGO@space} +% \begin{macrocode} +\def\HOLOGO@space{% + \ltx@ifundefined{HoLogoOpt@spacebreak@\HOLOGO@name}{% + \ltx@ifundefined{HoLogoOpt@break@\HOLOGO@name}{% + \chardef\HOLOGO@temp=\HOLOGOOPT@spacebreak + }{% + \chardef\HOLOGO@temp=% + \csname HoLogoOpt@break@\HOLOGO@name\endcsname + }% + }{% + \chardef\HOLOGO@temp=% + \csname HoLogoOpt@spacebreak@\HOLOGO@name\endcsname + }% + \ifcase\HOLOGO@temp + \penalty10000 % + \fi + \ltx@space +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@hyphen} +% \begin{macrocode} +\def\HOLOGO@hyphen{% + \ltx@ifundefined{HoLogoOpt@hyphenbreak@\HOLOGO@name}{% + \ltx@ifundefined{HoLogoOpt@break@\HOLOGO@name}{% + \chardef\HOLOGO@temp=\HOLOGOOPT@hyphenbreak + }{% + \chardef\HOLOGO@temp=% + \csname HoLogoOpt@break@\HOLOGO@name\endcsname + }% + }{% + \chardef\HOLOGO@temp=% + \csname HoLogoOpt@hyphenbreak@\HOLOGO@name\endcsname + }% + \ifcase\HOLOGO@temp + \ltx@mbox{-}% + \else + -% + \fi +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@discretionary} +% \begin{macrocode} +\def\HOLOGO@discretionary{% + \ltx@ifundefined{HoLogoOpt@discretionarybreak@\HOLOGO@name}{% + \ltx@ifundefined{HoLogoOpt@break@\HOLOGO@name}{% + \chardef\HOLOGO@temp=\HOLOGOOPT@discretionarybreak + }{% + \chardef\HOLOGO@temp=% + \csname HoLogoOpt@break@\HOLOGO@name\endcsname + }% + }{% + \chardef\HOLOGO@temp=% + \csname HoLogoOpt@discretionarybreak@\HOLOGO@name\endcsname + }% + \ifcase\HOLOGO@temp + \else + \-% + \fi +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@mbox} +% \begin{macrocode} +\def\HOLOGO@mbox#1{% + \ltx@ifundefined{HoLogoOpt@break@\HOLOGO@name}{% + \chardef\HOLOGO@temp=\HOLOGOOPT@hyphenbreak + }{% + \chardef\HOLOGO@temp=% + \csname HoLogoOpt@break@\HOLOGO@name\endcsname + }% + \ifcase\HOLOGO@temp + \ltx@mbox{#1}% + \else + #1% + \fi +} +% \end{macrocode} +% \end{macro} +% +% \subsection{Font support} +% +% \begin{macro}{\HoLogoFont@font} +% \begin{tabular}{@{}ll@{}} +% |#1|:& logo name\\ +% |#2|:& font short name\\ +% |#3|:& text +% \end{tabular} +% \begin{macrocode} +\def\HoLogoFont@font#1#2#3{% + \begingroup + \ltx@IfUndefined{HoLogoFont@logo@#1.#2}{% + \ltx@IfUndefined{HoLogoFont@font@#2}{% + \@PackageWarning{hologo}{% + Missing font `#2' for logo `#1'% + }% + #3% + }{% + \csname HoLogoFont@font@#2\endcsname{#3}% + }% + }{% + \csname HoLogoFont@logo@#1.#2\endcsname{#3}% + }% + \endgroup +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogoFont@Def} +% \begin{macrocode} +\def\HoLogoFont@Def#1{% + \expandafter\def\csname HoLogoFont@font@#1\endcsname +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoFont@LogoDef} +% \begin{macrocode} +\def\HoLogoFont@LogoDef#1#2{% + \expandafter\def\csname HoLogoFont@logo@#1.#2\endcsname +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{Font defaults} +% +% \begin{macro}{\HoLogoFont@font@general} +% \begin{macrocode} +\HoLogoFont@Def{general}{}% +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogoFont@font@rm} +% \begin{macrocode} +\ltx@IfUndefined{rmfamily}{% + \ltx@IfUndefined{rm}{% + }{% + \HoLogoFont@Def{rm}{\rm}% + }% +}{% + \HoLogoFont@Def{rm}{\rmfamily}% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogoFont@font@sf} +% \begin{macrocode} +\ltx@IfUndefined{sffamily}{% + \ltx@IfUndefined{sf}{% + }{% + \HoLogoFont@Def{sf}{\sf}% + }% +}{% + \HoLogoFont@Def{sf}{\sffamily}% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogoFont@font@bibsf} +% In case of \hologo{plainTeX} the original small caps +% variant is used as default. In \hologo{LaTeX} +% the definition of package \xpackage{dtklogos} \cite{dtklogos} +% is used. +%\begin{quote} +%\begin{verbatim} +%\DeclareRobustCommand{\BibTeX}{% +% B% +% \kern-.05em% +% \hbox{% +% $\m@th$% %% force math size calculations +% \csname S@\f@size\endcsname +% \fontsize\sf@size\z@ +% \math@fontsfalse +% \selectfont +% I% +% \kern-.025em% +% B +% }% +% \kern-.08em% +% \-% +% \TeX +%} +%\end{verbatim} +%\end{quote} +% \begin{macrocode} +\ltx@IfUndefined{selectfont}{% + \ltx@IfUndefined{tensc}{% + \font\tensc=cmcsc10\relax + }{}% + \HoLogoFont@Def{bibsf}{\tensc}% +}{% + \HoLogoFont@Def{bibsf}{% + $\mathsurround=0pt$% + \csname S@\f@size\endcsname + \fontsize\sf@size{0pt}% + \math@fontsfalse + \selectfont + }% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogoFont@font@sc} +% \begin{macrocode} +\ltx@IfUndefined{scshape}{% + \ltx@IfUndefined{tensc}{% + \font\tensc=cmcsc10\relax + }{}% + \HoLogoFont@Def{sc}{\tensc}% +}{% + \HoLogoFont@Def{sc}{\scshape}% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogoFont@font@sy} +% \begin{macrocode} +\ltx@IfUndefined{usefont}{% + \ltx@IfUndefined{tensy}{% + }{% + \HoLogoFont@Def{sy}{\tensy}% + }% +}{% + \HoLogoFont@Def{sy}{% + \usefont{OMS}{cmsy}{m}{n}% + }% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogoFont@font@logo} +% \begin{macrocode} +\begingroup + \def\x{LaTeX2e}% +\expandafter\endgroup +\ifx\fmtname\x + \ltx@IfUndefined{logofamily}{% + \DeclareRobustCommand\logofamily{% + \not@math@alphabet\logofamily\relax + \fontencoding{U}% + \fontfamily{logo}% + \selectfont + }% + }{}% + \ltx@IfUndefined{logofamily}{% + }{% + \HoLogoFont@Def{logo}{\logofamily}% + }% +\else + \ltx@IfUndefined{tenlogo}{% + \font\tenlogo=logo10\relax + }{}% + \HoLogoFont@Def{logo}{\tenlogo}% +\fi +% \end{macrocode} +% \end{macro} +% +% \subsubsection{Font setup} +% +% \begin{macro}{\hologoFontSetup} +% \begin{macrocode} +\def\hologoFontSetup{% + \let\HOLOGO@name\relax + \HOLOGO@FontSetup +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\hologoLogoFontSetup} +% \begin{macrocode} +\def\hologoLogoFontSetup#1{% + \edef\HOLOGO@name{#1}% + \ltx@IfUndefined{HoLogo@\HOLOGO@name}{% + \@PackageError{hologo}{% + Unknown logo `\HOLOGO@name'% + }\@ehc + \ltx@gobble + }{% + \HOLOGO@FontSetup + }% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@FontSetup} +% \begin{macrocode} +\def\HOLOGO@FontSetup{% + \kvsetkeys{HoLogoFont}% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macrocode} +\def\HOLOGO@temp#1{% + \kv@define@key{HoLogoFont}{#1}{% + \ifx\HOLOGO@name\relax + \HoLogoFont@Def{#1}{##1}% + \else + \HoLogoFont@LogoDef\HOLOGO@name{#1}{##1}% + \fi + }% +} +\HOLOGO@temp{general} +\HOLOGO@temp{sf} +% \end{macrocode} +% +% \subsection{Generic logo commands} +% +% \begin{macrocode} +\HOLOGO@IfExists\hologo{% + \@PackageError{hologo}{% + \string\hologo\ltx@space is already defined.\MessageBreak + Package loading is aborted% + }\@ehc + \HOLOGO@AtEnd +}% +\HOLOGO@IfExists\hologoRobust{% + \@PackageError{hologo}{% + \string\hologoRobust\ltx@space is already defined.\MessageBreak + Package loading is aborted% + }\@ehc + \HOLOGO@AtEnd +}% +% \end{macrocode} +% +% \subsubsection{\cs{hologo} and friends} +% +% \begin{macrocode} +\ifluatex + \expandafter\ltx@firstofone +\else + \expandafter\ltx@gobble +\fi +{% + \ltx@IfUndefined{ifincsname}{% + \ifnum\luatexversion<36 % + \expandafter\ltx@gobble + \else + \expandafter\ltx@firstofone + \fi + {% + \begingroup + \ifcase0% + \directlua{% + if tex.enableprimitives then % + tex.enableprimitives('HOLOGO@', {'ifincsname'})% + else % + tex.print('1')% + end% + }% + \ifx\HOLOGO@ifincsname\@undefined 1\fi% + \relax + \expandafter\ltx@firstofone + \else + \endgroup + \expandafter\ltx@gobble + \fi + {% + \global\let\ifincsname\HOLOGO@ifincsname + }% + \HOLOGO@temp + }% + }{}% +} +% \end{macrocode} +% \begin{macrocode} +\ltx@IfUndefined{ifincsname}{% + \catcode`$=14 % +}{% + \catcode`$=9 % +} +% \end{macrocode} +% +% \begin{macro}{\hologo} +% \begin{macrocode} +\def\hologo#1{% +$ \ifincsname +$ \ltx@ifundefined{HoLogoCs@\HOLOGO@Variant{#1}}{% +$ #1% +$ }{% +$ \csname HoLogoCs@\HOLOGO@Variant{#1}\endcsname\ltx@firstoftwo +$ }% +$ \else + \HOLOGO@IfExists\texorpdfstring\texorpdfstring\ltx@firstoftwo + {% + \hologoRobust{#1}% + }{% + \ltx@ifundefined{HoLogoBkm@\HOLOGO@Variant{#1}}{% + \ltx@ifundefined{HoLogo@#1}{?#1?}{#1}% + }{% + \csname HoLogoBkm@\HOLOGO@Variant{#1}\endcsname + \ltx@firstoftwo + }% + }% +$ \fi +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\Hologo} +% \begin{macrocode} +\def\Hologo#1{% +$ \ifincsname +$ \ltx@ifundefined{HoLogoCs@\HOLOGO@Variant{#1}}{% +$ #1% +$ }{% +$ \csname HoLogoCs@\HOLOGO@Variant{#1}\endcsname\ltx@secondoftwo +$ }% +$ \else + \HOLOGO@IfExists\texorpdfstring\texorpdfstring\ltx@firstoftwo + {% + \HologoRobust{#1}% + }{% + \ltx@ifundefined{HoLogoBkm@\HOLOGO@Variant{#1}}{% + \ltx@ifundefined{HoLogo@#1}{?#1?}{#1}% + }{% + \csname HoLogoBkm@\HOLOGO@Variant{#1}\endcsname + \ltx@secondoftwo + }% + }% +$ \fi +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\hologoVariant} +% \begin{macrocode} +\def\hologoVariant#1#2{% + \ifx\relax#2\relax + \hologo{#1}% + \else +$ \ifincsname +$ \ltx@ifundefined{HoLogoCs@#1@#2}{% +$ #1% +$ }{% +$ \csname HoLogoCs@#1@#2\endcsname\ltx@firstoftwo +$ }% +$ \else + \HOLOGO@IfExists\texorpdfstring\texorpdfstring\ltx@firstoftwo + {% + \hologoVariantRobust{#1}{#2}% + }{% + \ltx@ifundefined{HoLogoBkm@#1@#2}{% + \ltx@ifundefined{HoLogo@#1}{?#1?}{#1}% + }{% + \csname HoLogoBkm@#1@#2\endcsname + \ltx@firstoftwo + }% + }% +$ \fi + \fi +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HologoVariant} +% \begin{macrocode} +\def\HologoVariant#1#2{% + \ifx\relax#2\relax + \Hologo{#1}% + \else +$ \ifincsname +$ \ltx@ifundefined{HoLogoCs@#1@#2}{% +$ #1% +$ }{% +$ \csname HoLogoCs@#1@#2\endcsname\ltx@secondoftwo +$ }% +$ \else + \HOLOGO@IfExists\texorpdfstring\texorpdfstring\ltx@firstoftwo + {% + \HologoVariantRobust{#1}{#2}% + }{% + \ltx@ifundefined{HoLogoBkm@#1@#2}{% + \ltx@ifundefined{HoLogo@#1}{?#1?}{#1}% + }{% + \csname HoLogoBkm@#1@#2\endcsname + \ltx@secondoftwo + }% + }% +$ \fi + \fi +} +% \end{macrocode} +% \end{macro} +% +% \begin{macrocode} +\catcode`\$=3 % +% \end{macrocode} +% +% \subsubsection{\cs{hologoRobust} and friends} +% +% \begin{macro}{\hologoRobust} +% \begin{macrocode} +\ltx@IfUndefined{protected}{% + \ltx@IfUndefined{DeclareRobustCommand}{% + \def\hologoRobust#1% + }{% + \DeclareRobustCommand*\hologoRobust[1]% + }% +}{% + \protected\def\hologoRobust#1% +}% +{% + \edef\HOLOGO@name{#1}% + \ltx@IfUndefined{HoLogo@\HOLOGO@Variant\HOLOGO@name}{% + \@PackageError{hologo}{% + Unknown logo `\HOLOGO@name'% + }\@ehc + ?\HOLOGO@name?% + }{% + \ltx@IfUndefined{ver@tex4ht.sty}{% + \HoLogoFont@font\HOLOGO@name{general}{% + \csname HoLogo@\HOLOGO@Variant\HOLOGO@name\endcsname + \ltx@firstoftwo + }% + }{% + \ltx@IfUndefined{HoLogoHtml@\HOLOGO@Variant\HOLOGO@name}{% + \HOLOGO@name + }{% + \csname HoLogoHtml@\HOLOGO@Variant\HOLOGO@name\endcsname + \ltx@firstoftwo + }% + }% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HologoRobust} +% \begin{macrocode} +\ltx@IfUndefined{protected}{% + \ltx@IfUndefined{DeclareRobustCommand}{% + \def\HologoRobust#1% + }{% + \DeclareRobustCommand*\HologoRobust[1]% + }% +}{% + \protected\def\HologoRobust#1% +}% +{% + \edef\HOLOGO@name{#1}% + \ltx@IfUndefined{HoLogo@\HOLOGO@Variant\HOLOGO@name}{% + \@PackageError{hologo}{% + Unknown logo `\HOLOGO@name'% + }\@ehc + ?\HOLOGO@name?% + }{% + \ltx@IfUndefined{ver@tex4ht.sty}{% + \HoLogoFont@font\HOLOGO@name{general}{% + \csname HoLogo@\HOLOGO@Variant\HOLOGO@name\endcsname + \ltx@secondoftwo + }% + }{% + \ltx@IfUndefined{HoLogoHtml@\HOLOGO@Variant\HOLOGO@name}{% + \expandafter\HOLOGO@Uppercase\HOLOGO@name + }{% + \csname HoLogoHtml@\HOLOGO@Variant\HOLOGO@name\endcsname + \ltx@secondoftwo + }% + }% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\hologoVariantRobust} +% \begin{macrocode} +\ltx@IfUndefined{protected}{% + \ltx@IfUndefined{DeclareRobustCommand}{% + \def\hologoVariantRobust#1#2% + }{% + \DeclareRobustCommand*\hologoVariantRobust[2]% + }% +}{% + \protected\def\hologoVariantRobust#1#2% +}% +{% + \begingroup + \hologoLogoSetup{#1}{variant={#2}}% + \hologoRobust{#1}% + \endgroup +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HologoVariantRobust} +% \begin{macrocode} +\ltx@IfUndefined{protected}{% + \ltx@IfUndefined{DeclareRobustCommand}{% + \def\HologoVariantRobust#1#2% + }{% + \DeclareRobustCommand*\HologoVariantRobust[2]% + }% +}{% + \protected\def\HologoVariantRobust#1#2% +}% +{% + \begingroup + \hologoLogoSetup{#1}{variant={#2}}% + \HologoRobust{#1}% + \endgroup +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\hologorobust} +% Macro \cs{hologorobust} is only defined for compatibility. +% Its use is deprecated. +% \begin{macrocode} +\def\hologorobust{\hologoRobust} +% \end{macrocode} +% \end{macro} +% +% \subsection{Helpers} +% +% \begin{macro}{\HOLOGO@Uppercase} +% Macro \cs{HOLOGO@Uppercase} is restricted to \cs{uppercase}, +% because \hologo{plainTeX} or \hologo{iniTeX} do not provide +% \cs{MakeUppercase}. +% \begin{macrocode} +\def\HOLOGO@Uppercase#1{\uppercase{#1}} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@PdfdocUnicode} +% \begin{macrocode} +\def\HOLOGO@PdfdocUnicode{% + \ifx\ifHy@unicode\iftrue + \expandafter\ltx@secondoftwo + \else + \expandafter\ltx@firstoftwo + \fi +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@Math} +% \begin{macrocode} +\def\HOLOGO@MathSetup{% + \mathsurround0pt\relax + \HOLOGO@IfExists\f@series{% + \if b\expandafter\ltx@car\f@series x\@nil + \csname boldmath\endcsname + \fi + }{}% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@TempDimen} +% \begin{macrocode} +\dimendef\HOLOGO@TempDimen=\ltx@zero +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HOLOGO@NegativeKerning} +% \begin{macrocode} +\def\HOLOGO@NegativeKerning#1{% + \begingroup + \HOLOGO@TempDimen=0pt\relax + \comma@parse@normalized{#1}{% + \ifdim\HOLOGO@TempDimen=0pt % + \expandafter\HOLOGO@@NegativeKerning\comma@entry + \fi + \ltx@gobble + }% + \ifdim\HOLOGO@TempDimen<0pt % + \kern\HOLOGO@TempDimen + \fi + \endgroup +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HOLOGO@@NegativeKerning} +% \begin{macrocode} +\def\HOLOGO@@NegativeKerning#1#2{% + \setbox\ltx@zero\hbox{#1#2}% + \HOLOGO@TempDimen=\wd\ltx@zero + \setbox\ltx@zero\hbox{#1\kern0pt#2}% + \advance\HOLOGO@TempDimen by -\wd\ltx@zero +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@SpaceFactor} +% \begin{macrocode} +\def\HOLOGO@SpaceFactor{% + \spacefactor1000 % +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@Span} +% \begin{macrocode} +\def\HOLOGO@Span#1#2{% + \HCode{}% + #2% + \HCode{}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{Text subscript} +% +% \begin{macro}{\HOLOGO@SubScript}% +% \begin{macrocode} +\def\HOLOGO@SubScript#1{% + \ltx@IfUndefined{textsubscript}{% + \ltx@IfUndefined{text}{% + \ltx@mbox{% + \mathsurround=0pt\relax + $% + _{% + \ltx@IfUndefined{sf@size}{% + \mathrm{#1}% + }{% + \mbox{% + \fontsize\sf@size{0pt}\selectfont + #1% + }% + }% + }% + $% + }% + }{% + \ltx@mbox{% + \mathsurround=0pt\relax + $_{\text{#1}}$% + }% + }% + }{% + \textsubscript{#1}% + }% +} +% \end{macrocode} +% \end{macro} +% +% \subsection{\hologo{TeX} and friends} +% +% \subsubsection{\hologo{TeX}} +% +% \begin{macro}{\HoLogo@TeX} +% Source: \hologo{LaTeX} kernel. +% \begin{macrocode} +\def\HoLogo@TeX#1{% + T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\HOLOGO@SpaceFactor +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@TeX} +% \begin{macrocode} +\def\HoLogoHtml@TeX#1{% + \HoLogoCss@TeX + \HOLOGO@Span{TeX}{% + T% + \HOLOGO@Span{e}{% + E% + }% + X% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@TeX} +% \begin{macrocode} +\def\HoLogoCss@TeX{% + \Css{% + span.HoLogo-TeX span.HoLogo-e{% + position:relative;% + top:.5ex;% + margin-left:-.1667em;% + margin-right:-.125em;% + }% + }% + \Css{% + a span.HoLogo-TeX span.HoLogo-e{% + text-decoration:none;% + }% + }% + \global\let\HoLogoCss@TeX\relax +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{plainTeX}} +% +% \begin{macro}{\HoLogo@plainTeX@space} +% Source: ``The \hologo{TeX}book'' +% \begin{macrocode} +\def\HoLogo@plainTeX@space#1{% + \HOLOGO@mbox{#1{p}{P}lain}\HOLOGO@space\hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCs@plainTeX@space} +% \begin{macrocode} +\def\HoLogoCs@plainTeX@space#1{#1{p}{P}lain TeX}% +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@plainTeX@space} +% \begin{macrocode} +\def\HoLogoBkm@plainTeX@space#1{% + #1{p}{P}lain \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@plainTeX@space} +% \begin{macrocode} +\def\HoLogoHtml@plainTeX@space#1{% + #1{p}{P}lain \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@plainTeX@hyphen} +% \begin{macrocode} +\def\HoLogo@plainTeX@hyphen#1{% + \HOLOGO@mbox{#1{p}{P}lain}\HOLOGO@hyphen\hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCs@plainTeX@hyphen} +% \begin{macrocode} +\def\HoLogoCs@plainTeX@hyphen#1{#1{p}{P}lain-TeX} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@plainTeX@hyphen} +% \begin{macrocode} +\def\HoLogoBkm@plainTeX@hyphen#1{% + #1{p}{P}lain-\hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@plainTeX@hyphen} +% \begin{macrocode} +\def\HoLogoHtml@plainTeX@hyphen#1{% + #1{p}{P}lain-\hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@plainTeX@runtogether} +% \begin{macrocode} +\def\HoLogo@plainTeX@runtogether#1{% + \HOLOGO@mbox{#1{p}{P}lain\hologo{TeX}}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCs@plainTeX@runtogether} +% \begin{macrocode} +\def\HoLogoCs@plainTeX@runtogether#1{#1{p}{P}lainTeX} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@plainTeX@runtogether} +% \begin{macrocode} +\def\HoLogoBkm@plainTeX@runtogether#1{% + #1{p}{P}lain\hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@plainTeX@runtogether} +% \begin{macrocode} +\def\HoLogoHtml@plainTeX@runtogether#1{% + #1{p}{P}lain\hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@plainTeX} +% \begin{macrocode} +\def\HoLogo@plainTeX{\HoLogo@plainTeX@space} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCs@plainTeX} +% \begin{macrocode} +\def\HoLogoCs@plainTeX{\HoLogoCs@plainTeX@space} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@plainTeX} +% \begin{macrocode} +\def\HoLogoBkm@plainTeX{\HoLogoBkm@plainTeX@space} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@plainTeX} +% \begin{macrocode} +\def\HoLogoHtml@plainTeX{\HoLogoHtml@plainTeX@space} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{LaTeX}} +% +% Source: \hologo{LaTeX} kernel. +%\begin{quote} +%\begin{verbatim} +%\DeclareRobustCommand{\LaTeX}{% +% L% +% \kern-.36em% +% {% +% \sbox\z@ T% +% \vbox to\ht\z@{% +% \hbox{% +% \check@mathfonts +% \fontsize\sf@size\z@ +% \math@fontsfalse +% \selectfont +% A% +% }% +% \vss +% }% +% }% +% \kern-.15em% +% \TeX +%} +%\end{verbatim} +%\end{quote} +% +% \begin{macro}{\HoLogo@La} +% \begin{macrocode} +\def\HoLogo@La#1{% + L% + \kern-.36em% + \begingroup + \setbox\ltx@zero\hbox{T}% + \vbox to\ht\ltx@zero{% + \hbox{% + \ltx@ifundefined{check@mathfonts}{% + \csname sevenrm\endcsname + }{% + \check@mathfonts + \fontsize\sf@size{0pt}% + \math@fontsfalse\selectfont + }% + A% + }% + \vss + }% + \endgroup +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@LaTeX} +% Source: \hologo{LaTeX} kernel. +% \begin{macrocode} +\def\HoLogo@LaTeX#1{% + \hologo{La}% + \kern-.15em% + \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@LaTeX} +% \begin{macrocode} +\def\HoLogoHtml@LaTeX#1{% + \HoLogoCss@LaTeX + \HOLOGO@Span{LaTeX}{% + L% + \HOLOGO@Span{a}{% + A% + }% + \hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@LaTeX} +% \begin{macrocode} +\def\HoLogoCss@LaTeX{% + \Css{% + span.HoLogo-LaTeX span.HoLogo-a{% + position:relative;% + top:-.5ex;% + margin-left:-.36em;% + margin-right:-.15em;% + font-size:85\%;% + }% + }% + \global\let\HoLogoCss@LaTeX\relax +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{(La)TeX}} +% +% \begin{macro}{\HoLogo@LaTeXTeX} +% The kerning around the parentheses is taken +% from package \xpackage{dtklogos} \cite{dtklogos}. +%\begin{quote} +%\begin{verbatim} +%\DeclareRobustCommand{\LaTeXTeX}{% +% (% +% \kern-.15em% +% L% +% \kern-.36em% +% {% +% \sbox\z@ T% +% \vbox to\ht0{% +% \hbox{% +% $\m@th$% +% \csname S@\f@size\endcsname +% \fontsize\sf@size\z@ +% \math@fontsfalse +% \selectfont +% A% +% }% +% \vss +% }% +% }% +% \kern-.2em% +% )% +% \kern-.15em% +% \TeX +%} +%\end{verbatim} +%\end{quote} +% \begin{macrocode} +\def\HoLogo@LaTeXTeX#1{% + (% + \kern-.15em% + \hologo{La}% + \kern-.2em% + )% + \kern-.15em% + \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@LaTeXTeX} +% \begin{macrocode} +\def\HoLogoBkm@LaTeXTeX#1{(La)TeX} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@(La)TeX} +% \begin{macrocode} +\expandafter +\let\csname HoLogo@(La)TeX\endcsname\HoLogo@LaTeXTeX +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@(La)TeX} +% \begin{macrocode} +\expandafter +\let\csname HoLogoBkm@(La)TeX\endcsname\HoLogoBkm@LaTeXTeX +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@LaTeXTeX} +% \begin{macrocode} +\def\HoLogoHtml@LaTeXTeX#1{% + \HoLogoCss@LaTeXTeX + \HOLOGO@Span{LaTeXTeX}{% + (% + \HOLOGO@Span{L}{L}% + \HOLOGO@Span{a}{A}% + \HOLOGO@Span{ParenRight}{)}% + \hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@(La)TeX} +% Kerning after opening parentheses and before closing parentheses +% is $-0.1$\,em. The original values $-0.15$\,em +% looked too ugly for a serif font. +% \begin{macrocode} +\expandafter +\let\csname HoLogoHtml@(La)TeX\endcsname\HoLogoHtml@LaTeXTeX +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@LaTeXTeX} +% \begin{macrocode} +\def\HoLogoCss@LaTeXTeX{% + \Css{% + span.HoLogo-LaTeXTeX span.HoLogo-L{% + margin-left:-.1em;% + }% + }% + \Css{% + span.HoLogo-LaTeXTeX span.HoLogo-a{% + position:relative;% + top:-.5ex;% + margin-left:-.36em;% + margin-right:-.1em;% + font-size:85\%;% + }% + }% + \Css{% + span.HoLogo-LaTeXTeX span.HoLogo-ParenRight{% + margin-right:-.15em;% + }% + }% + \global\let\HoLogoCss@LaTeXTeX\relax +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{LaTeXe}} +% +% \begin{macro}{\HoLogo@LaTeXe} +% Source: \hologo{LaTeX} kernel +% \begin{macrocode} +\def\HoLogo@LaTeXe#1{% + \hologo{LaTeX}% + \kern.15em% + \hbox{% + \HOLOGO@MathSetup + 2% + $_{\textstyle\varepsilon}$% + }% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogoCs@LaTeXe} +% \begin{macrocode} +\ifnum64=`\^^^^0040\relax % test for big chars of LuaTeX/XeTeX + \catcode`\$=9 % + \catcode`\&=14 % +\else + \catcode`\$=14 % + \catcode`\&=9 % +\fi +\def\HoLogoCs@LaTeXe#1{% + LaTeX2% +$ \string ^^^^0395% +& e% +}% +\catcode`\$=3 % +\catcode`\&=4 % +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogoBkm@LaTeXe} +% \begin{macrocode} +\def\HoLogoBkm@LaTeXe#1{% + \hologo{LaTeX}% + 2% + \HOLOGO@PdfdocUnicode{e}{\textepsilon}% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogoHtml@LaTeXe} +% \begin{macrocode} +\def\HoLogoHtml@LaTeXe#1{% + \HoLogoCss@LaTeXe + \HOLOGO@Span{LaTeX2e}{% + \hologo{LaTeX}% + \HOLOGO@Span{2}{2}% + \HOLOGO@Span{e}{% + \HOLOGO@MathSetup + \ensuremath{\textstyle\varepsilon}% + }% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@LaTeXe} +% \begin{macrocode} +\def\HoLogoCss@LaTeXe{% + \Css{% + span.HoLogo-LaTeX2e span.HoLogo-2{% + padding-left:.15em;% + }% + }% + \Css{% + span.HoLogo-LaTeX2e span.HoLogo-e{% + position:relative;% + top:.35ex;% + text-decoration:none;% + }% + }% + \global\let\HoLogoCss@LaTeXe\relax +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@LaTeX2e} +% \begin{macrocode} +\expandafter +\let\csname HoLogo@LaTeX2e\endcsname\HoLogo@LaTeXe +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCs@LaTeX2e} +% \begin{macrocode} +\expandafter +\let\csname HoLogoCs@LaTeX2e\endcsname\HoLogoCs@LaTeXe +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@LaTeX2e} +% \begin{macrocode} +\expandafter +\let\csname HoLogoBkm@LaTeX2e\endcsname\HoLogoBkm@LaTeXe +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@LaTeX2e} +% \begin{macrocode} +\expandafter +\let\csname HoLogoHtml@LaTeX2e\endcsname\HoLogoHtml@LaTeXe +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{LaTeX3}} +% +% \begin{macro}{\HoLogo@LaTeX3} +% Source: \hologo{LaTeX} kernel +% \begin{macrocode} +\expandafter\def\csname HoLogo@LaTeX3\endcsname#1{% + \hologo{LaTeX}% + 3% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogoBkm@LaTeX3} +% \begin{macrocode} +\expandafter\def\csname HoLogoBkm@LaTeX3\endcsname#1{% + \hologo{LaTeX}% + 3% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@LaTeX3} +% \begin{macrocode} +\expandafter +\let\csname HoLogoHtml@LaTeX3\expandafter\endcsname +\csname HoLogo@LaTeX3\endcsname +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{LaTeXML}} +% +% \begin{macro}{\HoLogo@LaTeXML} +% \begin{macrocode} +\def\HoLogo@LaTeXML#1{% + \HOLOGO@mbox{% + \hologo{La}% + \kern-.15em% + T% + \kern-.1667em% + \lower.5ex\hbox{E}% + \kern-.125em% + \HoLogoFont@font{LaTeXML}{sc}{xml}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@pdfLaTeX} +% \begin{macrocode} +\def\HoLogoHtml@LaTeXML#1{% + \HOLOGO@Span{LaTeXML}{% + \HoLogoCss@LaTeX + \HoLogoCss@TeX + \HOLOGO@Span{LaTeX}{% + L% + \HOLOGO@Span{a}{% + A% + }% + }% + \HOLOGO@Span{TeX}{% + T% + \HOLOGO@Span{e}{% + E% + }% + }% + \HCode{}% + xml% + \HCode{}% + }% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{eTeX}} +% +% \begin{macro}{\HoLogo@eTeX} +% Source: package \xpackage{etex} +% \begin{macrocode} +\def\HoLogo@eTeX#1{% + \ltx@mbox{% + \HOLOGO@MathSetup + $\varepsilon$% + -% + \HOLOGO@NegativeKerning{-T,T-,To}% + \hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCs@eTeX} +% \begin{macrocode} +\ifnum64=`\^^^^0040\relax % test for big chars of LuaTeX/XeTeX + \catcode`\$=9 % + \catcode`\&=14 % +\else + \catcode`\$=14 % + \catcode`\&=9 % +\fi +\def\HoLogoCs@eTeX#1{% +$ #1{\string ^^^^0395}{\string ^^^^03b5}% +& #1{e}{E}% + TeX% +}% +\catcode`\$=3 % +\catcode`\&=4 % +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@eTeX} +% \begin{macrocode} +\def\HoLogoBkm@eTeX#1{% + \HOLOGO@PdfdocUnicode{#1{e}{E}}{\textepsilon}% + -% + \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@eTeX} +% \begin{macrocode} +\def\HoLogoHtml@eTeX#1{% + \ltx@mbox{% + \HOLOGO@MathSetup + $\varepsilon$% + -% + \hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{iniTeX}} +% +% \begin{macro}{\HoLogo@iniTeX} +% \begin{macrocode} +\def\HoLogo@iniTeX#1{% + \HOLOGO@mbox{% + #1{i}{I}ni\hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCs@iniTeX} +% \begin{macrocode} +\def\HoLogoCs@iniTeX#1{#1{i}{I}niTeX} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@iniTeX} +% \begin{macrocode} +\def\HoLogoBkm@iniTeX#1{% + #1{i}{I}ni\hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@iniTeX} +% \begin{macrocode} +\let\HoLogoHtml@iniTeX\HoLogo@iniTeX +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{virTeX}} +% +% \begin{macro}{\HoLogo@virTeX} +% \begin{macrocode} +\def\HoLogo@virTeX#1{% + \HOLOGO@mbox{% + #1{v}{V}ir\hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCs@virTeX} +% \begin{macrocode} +\def\HoLogoCs@virTeX#1{#1{v}{V}irTeX} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@virTeX} +% \begin{macrocode} +\def\HoLogoBkm@virTeX#1{% + #1{v}{V}ir\hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@virTeX} +% \begin{macrocode} +\let\HoLogoHtml@virTeX\HoLogo@virTeX +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{SliTeX}} +% +% \paragraph{Definitions of the three variants.} +% +% \begin{macro}{\HoLogo@SLiTeX@lift} +% \begin{macrocode} +\def\HoLogo@SLiTeX@lift#1{% + \HoLogoFont@font{SliTeX}{rm}{% + S% + \kern-.06em% + L% + \kern-.18em% + \raise.32ex\hbox{\HoLogoFont@font{SliTeX}{sc}{i}}% + \HOLOGO@discretionary + \kern-.06em% + \hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@SLiTeX@lift} +% \begin{macrocode} +\def\HoLogoBkm@SLiTeX@lift#1{SLiTeX} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@SLiTeX@lift} +% \begin{macrocode} +\def\HoLogoHtml@SLiTeX@lift#1{% + \HoLogoCss@SLiTeX@lift + \HOLOGO@Span{SLiTeX-lift}{% + \HoLogoFont@font{SliTeX}{rm}{% + S% + \HOLOGO@Span{L}{L}% + \HOLOGO@Span{i}{i}% + \hologo{TeX}% + }% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@SLiTeX@lift} +% \begin{macrocode} +\def\HoLogoCss@SLiTeX@lift{% + \Css{% + span.HoLogo-SLiTeX-lift span.HoLogo-L{% + margin-left:-.06em;% + margin-right:-.18em;% + }% + }% + \Css{% + span.HoLogo-SLiTeX-lift span.HoLogo-i{% + position:relative;% + top:-.32ex;% + margin-right:-.06em;% + font-variant:small-caps;% + }% + }% + \global\let\HoLogoCss@SLiTeX@lift\relax +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@SliTeX@simple} +% \begin{macrocode} +\def\HoLogo@SliTeX@simple#1{% + \HoLogoFont@font{SliTeX}{rm}{% + \ltx@mbox{% + \HoLogoFont@font{SliTeX}{sc}{Sli}% + }% + \HOLOGO@discretionary + \hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@SliTeX@simple} +% \begin{macrocode} +\def\HoLogoBkm@SliTeX@simple#1{SliTeX} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@SliTeX@simple} +% \begin{macrocode} +\let\HoLogoHtml@SliTeX@simple\HoLogo@SliTeX@simple +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@SliTeX@narrow} +% \begin{macrocode} +\def\HoLogo@SliTeX@narrow#1{% + \HoLogoFont@font{SliTeX}{rm}{% + \ltx@mbox{% + S% + \kern-.06em% + \HoLogoFont@font{SliTeX}{sc}{% + l% + \kern-.035em% + i% + }% + }% + \HOLOGO@discretionary + \kern-.06em% + \hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@SliTeX@narrow} +% \begin{macrocode} +\def\HoLogoBkm@SliTeX@narrow#1{SliTeX} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@SliTeX@narrow} +% \begin{macrocode} +\def\HoLogoHtml@SliTeX@narrow#1{% + \HoLogoCss@SliTeX@narrow + \HOLOGO@Span{SliTeX-narrow}{% + \HoLogoFont@font{SliTeX}{rm}{% + S% + \HOLOGO@Span{l}{l}% + \HOLOGO@Span{i}{i}% + \hologo{TeX}% + }% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@SliTeX@narrow} +% \begin{macrocode} +\def\HoLogoCss@SliTeX@narrow{% + \Css{% + span.HoLogo-SliTeX-narrow span.HoLogo-l{% + margin-left:-.06em;% + margin-right:-.035em;% + font-variant:small-caps;% + }% + }% + \Css{% + span.HoLogo-SliTeX-narrow span.HoLogo-i{% + margin-right:-.06em;% + font-variant:small-caps;% + }% + }% + \global\let\HoLogoCss@SliTeX@narrow\relax +} +% \end{macrocode} +% \end{macro} +% +% \paragraph{Macro set completion.} +% +% \begin{macro}{\HoLogo@SLiTeX@simple} +% \begin{macrocode} +\def\HoLogo@SLiTeX@simple{\HoLogo@SliTeX@simple} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@SLiTeX@simple} +% \begin{macrocode} +\def\HoLogoBkm@SLiTeX@simple{\HoLogoBkm@SliTeX@simple} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@SLiTeX@simple} +% \begin{macrocode} +\def\HoLogoHtml@SLiTeX@simple{\HoLogoHtml@SliTeX@simple} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@SLiTeX@narrow} +% \begin{macrocode} +\def\HoLogo@SLiTeX@narrow{\HoLogo@SliTeX@narrow} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@SLiTeX@narrow} +% \begin{macrocode} +\def\HoLogoBkm@SLiTeX@narrow{\HoLogoBkm@SliTeX@narrow} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@SLiTeX@narrow} +% \begin{macrocode} +\def\HoLogoHtml@SLiTeX@narrow{\HoLogoHtml@SliTeX@narrow} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@SliTeX@lift} +% \begin{macrocode} +\def\HoLogo@SliTeX@lift{\HoLogo@SLiTeX@lift} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@SliTeX@lift} +% \begin{macrocode} +\def\HoLogoBkm@SliTeX@lift{\HoLogoBkm@SLiTeX@lift} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@SliTeX@lift} +% \begin{macrocode} +\def\HoLogoHtml@SliTeX@lift{\HoLogoHtml@SLiTeX@lift} +% \end{macrocode} +% \end{macro} +% +% \paragraph{Defaults.} +% +% \begin{macro}{\HoLogo@SLiTeX} +% \begin{macrocode} +\def\HoLogo@SLiTeX{\HoLogo@SLiTeX@lift} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@SLiTeX} +% \begin{macrocode} +\def\HoLogoBkm@SLiTeX{\HoLogoBkm@SLiTeX@lift} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@SLiTeX} +% \begin{macrocode} +\def\HoLogoHtml@SLiTeX{\HoLogoHtml@SLiTeX@lift} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@SliTeX} +% \begin{macrocode} +\def\HoLogo@SliTeX{\HoLogo@SliTeX@narrow} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@SliTeX} +% \begin{macrocode} +\def\HoLogoBkm@SliTeX{\HoLogoBkm@SliTeX@narrow} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@SliTeX} +% \begin{macrocode} +\def\HoLogoHtml@SliTeX{\HoLogoHtml@SliTeX@narrow} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{LuaTeX}} +% +% \begin{macro}{\HoLogo@LuaTeX} +% The kerning is an idea of Hans Hagen, see mailing list +% `luatex at tug dot org' in March 2010. +% \begin{macrocode} +\def\HoLogo@LuaTeX#1{% + \HOLOGO@mbox{% + Lua% + \HOLOGO@NegativeKerning{aT,oT,To}% + \hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@LuaTeX} +% \begin{macrocode} +\let\HoLogoHtml@LuaTeX\HoLogo@LuaTeX +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{LuaLaTeX}} +% +% \begin{macro}{\HoLogo@LuaLaTeX} +% \begin{macrocode} +\def\HoLogo@LuaLaTeX#1{% + \HOLOGO@mbox{% + Lua% + \hologo{LaTeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@LuaLaTeX} +% \begin{macrocode} +\let\HoLogoHtml@LuaLaTeX\HoLogo@LuaLaTeX +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{XeTeX}, \hologo{XeLaTeX}} +% +% \begin{macro}{\HOLOGO@IfCharExists} +% \begin{macrocode} +\ifluatex + \ifnum\luatexversion<36 % + \else + \def\HOLOGO@IfCharExists#1{% + \ifnum + \directlua{% + if luaotfload and luaotfload.aux then + if luaotfload.aux.font_has_glyph(% + font.current(), \number#1) then % + tex.print("1") % + end % + elseif font and font.fonts and font.current then % + local f = font.fonts[font.current()]% + if f.characters and f.characters[\number#1] then % + tex.print("1")% + end % + end% + }0=\ltx@zero + \expandafter\ltx@secondoftwo + \else + \expandafter\ltx@firstoftwo + \fi + }% + \fi +\fi +\ltx@IfUndefined{HOLOGO@IfCharExists}{% + \def\HOLOGO@@IfCharExists#1{% + \begingroup + \tracinglostchars=\ltx@zero + \setbox\ltx@zero=\hbox{% + \kern7sp\char#1\relax + \ifnum\lastkern>\ltx@zero + \expandafter\aftergroup\csname iffalse\endcsname + \else + \expandafter\aftergroup\csname iftrue\endcsname + \fi + }% + % \if{true|false} from \aftergroup + \endgroup + \expandafter\ltx@firstoftwo + \else + \endgroup + \expandafter\ltx@secondoftwo + \fi + }% + \ifxetex + \ltx@IfUndefined{XeTeXfonttype}{}{% + \ltx@IfUndefined{XeTeXcharglyph}{}{% + \def\HOLOGO@IfCharExists#1{% + \ifnum\XeTeXfonttype\font>\ltx@zero + \expandafter\ltx@firstofthree + \else + \expandafter\ltx@gobble + \fi + {% + \ifnum\XeTeXcharglyph#1>\ltx@zero + \expandafter\ltx@firstoftwo + \else + \expandafter\ltx@secondoftwo + \fi + }% + \HOLOGO@@IfCharExists{#1}% + }% + }% + }% + \fi +}{} +\ltx@ifundefined{HOLOGO@IfCharExists}{% + \ifnum64=`\^^^^0040\relax % test for big chars of LuaTeX/XeTeX + \let\HOLOGO@IfCharExists\HOLOGO@@IfCharExists + \else + \def\HOLOGO@IfCharExists#1{% + \ifnum#1>255 % + \expandafter\ltx@fourthoffour + \fi + \HOLOGO@@IfCharExists{#1}% + }% + \fi +}{} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@Xe} +% Source: package \xpackage{dtklogos} +% \begin{macrocode} +\def\HoLogo@Xe#1{% + X% + \kern-.1em\relax + \HOLOGO@IfCharExists{"018E}{% + \lower.5ex\hbox{\char"018E}% + }{% + \chardef\HOLOGO@choice=\ltx@zero + \ifdim\fontdimen\ltx@one\font>0pt % + \ltx@IfUndefined{rotatebox}{% + \ltx@IfUndefined{pgftext}{% + \ltx@IfUndefined{psscalebox}{% + \ltx@IfUndefined{HOLOGO@ScaleBox@\hologoDriver}{% + }{% + \chardef\HOLOGO@choice=4 % + }% + }{% + \chardef\HOLOGO@choice=3 % + }% + }{% + \chardef\HOLOGO@choice=2 % + }% + }{% + \chardef\HOLOGO@choice=1 % + }% + \ifcase\HOLOGO@choice + \HOLOGO@WarningUnsupportedDriver{Xe}% + e% + \or % 1: \rotatebox + \begingroup + \setbox\ltx@zero\hbox{\rotatebox{180}{E}}% + \ltx@LocDimenA=\dp\ltx@zero + \advance\ltx@LocDimenA by -.5ex\relax + \raise\ltx@LocDimenA\box\ltx@zero + \endgroup + \or % 2: \pgftext + \lower.5ex\hbox{% + \pgfpicture + \pgftext[rotate=180]{E}% + \endpgfpicture + }% + \or % 3: \psscalebox + \begingroup + \setbox\ltx@zero\hbox{\psscalebox{-1 -1}{E}}% + \ltx@LocDimenA=\dp\ltx@zero + \advance\ltx@LocDimenA by -.5ex\relax + \raise\ltx@LocDimenA\box\ltx@zero + \endgroup + \or % 4: \HOLOGO@PointReflectBox + \lower.5ex\hbox{\HOLOGO@PointReflectBox{E}}% + \else + \@PackageError{hologo}{Internal error (choice/it}\@ehc + \fi + \else + \ltx@IfUndefined{reflectbox}{% + \ltx@IfUndefined{pgftext}{% + \ltx@IfUndefined{psscalebox}{% + \ltx@IfUndefined{HOLOGO@ScaleBox@\hologoDriver}{% + }{% + \chardef\HOLOGO@choice=4 % + }% + }{% + \chardef\HOLOGO@choice=3 % + }% + }{% + \chardef\HOLOGO@choice=2 % + }% + }{% + \chardef\HOLOGO@choice=1 % + }% + \ifcase\HOLOGO@choice + \HOLOGO@WarningUnsupportedDriver{Xe}% + e% + \or % 1: reflectbox + \lower.5ex\hbox{% + \reflectbox{E}% + }% + \or % 2: \pgftext + \lower.5ex\hbox{% + \pgfpicture + \pgftransformxscale{-1}% + \pgftext{E}% + \endpgfpicture + }% + \or % 3: \psscalebox + \lower.5ex\hbox{% + \psscalebox{-1 1}{E}% + }% + \or % 4: \HOLOGO@Reflectbox + \lower.5ex\hbox{% + \HOLOGO@ReflectBox{E}% + }% + \else + \@PackageError{hologo}{Internal error (choice/up)}\@ehc + \fi + \fi + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@Xe} +% \begin{macrocode} +\def\HoLogoHtml@Xe#1{% + \HoLogoCss@Xe + \HOLOGO@Span{Xe}{% + X% + \HOLOGO@Span{e}{% + \HCode{&\ltx@hashchar x018e;}% + }% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@Xe} +% \begin{macrocode} +\def\HoLogoCss@Xe{% + \Css{% + span.HoLogo-Xe span.HoLogo-e{% + position:relative;% + top:.5ex;% + left-margin:-.1em;% + }% + }% + \global\let\HoLogoCss@Xe\relax +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@XeTeX} +% \begin{macrocode} +\def\HoLogo@XeTeX#1{% + \hologo{Xe}% + \kern-.15em\relax + \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogoHtml@XeTeX} +% \begin{macrocode} +\def\HoLogoHtml@XeTeX#1{% + \HoLogoCss@XeTeX + \HOLOGO@Span{XeTeX}{% + \hologo{Xe}% + \hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@XeTeX} +% \begin{macrocode} +\def\HoLogoCss@XeTeX{% + \Css{% + span.HoLogo-XeTeX span.HoLogo-TeX{% + margin-left:-.15em;% + }% + }% + \global\let\HoLogoCss@XeTeX\relax +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@XeLaTeX} +% \begin{macrocode} +\def\HoLogo@XeLaTeX#1{% + \hologo{Xe}% + \kern-.13em% + \hologo{LaTeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@XeLaTeX} +% \begin{macrocode} +\def\HoLogoHtml@XeLaTeX#1{% + \HoLogoCss@XeLaTeX + \HOLOGO@Span{XeLaTeX}{% + \hologo{Xe}% + \hologo{LaTeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@XeLaTeX} +% \begin{macrocode} +\def\HoLogoCss@XeLaTeX{% + \Css{% + span.HoLogo-XeLaTeX span.HoLogo-Xe{% + margin-right:-.13em;% + }% + }% + \global\let\HoLogoCss@XeLaTeX\relax +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{pdfTeX}, \hologo{pdfLaTeX}} +% +% \begin{macro}{\HoLogo@pdfTeX} +% \begin{macrocode} +\def\HoLogo@pdfTeX#1{% + \HOLOGO@mbox{% + #1{p}{P}df\hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCs@pdfTeX} +% \begin{macrocode} +\def\HoLogoCs@pdfTeX#1{#1{p}{P}dfTeX} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@pdfTeX} +% \begin{macrocode} +\def\HoLogoBkm@pdfTeX#1{% + #1{p}{P}df\hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@pdfTeX} +% \begin{macrocode} +\let\HoLogoHtml@pdfTeX\HoLogo@pdfTeX +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@pdfLaTeX} +% \begin{macrocode} +\def\HoLogo@pdfLaTeX#1{% + \HOLOGO@mbox{% + #1{p}{P}df\hologo{LaTeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCs@pdfLaTeX} +% \begin{macrocode} +\def\HoLogoCs@pdfLaTeX#1{#1{p}{P}dfLaTeX} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@pdfLaTeX} +% \begin{macrocode} +\def\HoLogoBkm@pdfLaTeX#1{% + #1{p}{P}df\hologo{LaTeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@pdfLaTeX} +% \begin{macrocode} +\let\HoLogoHtml@pdfLaTeX\HoLogo@pdfLaTeX +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{VTeX}} +% +% \begin{macro}{\HoLogo@VTeX} +% \begin{macrocode} +\def\HoLogo@VTeX#1{% + \HOLOGO@mbox{% + V\hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@VTeX} +% \begin{macrocode} +\let\HoLogoHtml@VTeX\HoLogo@VTeX +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{AmS}, \dots} +% +% Source: class \xclass{amsdtx} +% +% \begin{macro}{\HoLogo@AmS} +% \begin{macrocode} +\def\HoLogo@AmS#1{% + \HoLogoFont@font{AmS}{sy}{% + A% + \kern-.1667em% + \lower.5ex\hbox{M}% + \kern-.125em% + S% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@AmS} +% \begin{macrocode} +\def\HoLogoBkm@AmS#1{AmS} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@AmS} +% \begin{macrocode} +\def\HoLogoHtml@AmS#1{% + \HoLogoCss@AmS +% \HoLogoFont@font{AmS}{sy}{% + \HOLOGO@Span{AmS}{% + A% + \HOLOGO@Span{M}{M}% + S% + }% +% }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@AmS} +% \begin{macrocode} +\def\HoLogoCss@AmS{% + \Css{% + span.HoLogo-AmS span.HoLogo-M{% + position:relative;% + top:.5ex;% + margin-left:-.1667em;% + margin-right:-.125em;% + text-decoration:none;% + }% + }% + \global\let\HoLogoCss@AmS\relax +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@AmSTeX} +% \begin{macrocode} +\def\HoLogo@AmSTeX#1{% + \hologo{AmS}% + \HOLOGO@hyphen + \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@AmSTeX} +% \begin{macrocode} +\def\HoLogoBkm@AmSTeX#1{AmS-TeX}% +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@AmSTeX} +% \begin{macrocode} +\let\HoLogoHtml@AmSTeX\HoLogo@AmSTeX +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@AmSLaTeX} +% \begin{macrocode} +\def\HoLogo@AmSLaTeX#1{% + \hologo{AmS}% + \HOLOGO@hyphen + \hologo{LaTeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@AmSLaTeX} +% \begin{macrocode} +\def\HoLogoBkm@AmSLaTeX#1{AmS-LaTeX}% +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@AmSLaTeX} +% \begin{macrocode} +\let\HoLogoHtml@AmSLaTeX\HoLogo@AmSLaTeX +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{BibTeX}} +% +% \begin{macro}{\HoLogo@BibTeX@sc} +% A definition of \hologo{BibTeX} is provided in +% the documentation source for the manual of \hologo{BibTeX} +% \cite{btxdoc}. +%\begin{quote} +%\begin{verbatim} +%\def\BibTeX{% +% {% +% \rm +% B% +% \kern-.05em% +% {% +% \sc +% i% +% \kern-.025em % +% b% +% }% +% \kern-.08em +% T% +% \kern-.1667em% +% \lower.7ex\hbox{E}% +% \kern-.125em% +% X% +% }% +%} +%\end{verbatim} +%\end{quote} +% \begin{macrocode} +\def\HoLogo@BibTeX@sc#1{% + B% + \kern-.05em% + \HoLogoFont@font{BibTeX}{sc}{% + i% + \kern-.025em% + b% + }% + \HOLOGO@discretionary + \kern-.08em% + \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@BibTeX@sc} +% \begin{macrocode} +\def\HoLogoHtml@BibTeX@sc#1{% + \HoLogoCss@BibTeX@sc + \HOLOGO@Span{BibTeX-sc}{% + B% + \HOLOGO@Span{i}{i}% + \HOLOGO@Span{b}{b}% + \hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@BibTeX@sc} +% \begin{macrocode} +\def\HoLogoCss@BibTeX@sc{% + \Css{% + span.HoLogo-BibTeX-sc span.HoLogo-i{% + margin-left:-.05em;% + margin-right:-.025em;% + font-variant:small-caps;% + }% + }% + \Css{% + span.HoLogo-BibTeX-sc span.HoLogo-b{% + margin-right:-.08em;% + font-variant:small-caps;% + }% + }% + \global\let\HoLogoCss@BibTeX@sc\relax +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@BibTeX@sf} +% Variant \xoption{sf} avoids trouble with unavailable +% small caps fonts (e.g., bold versions of Computer Modern or +% Latin Modern). The definition is taken from +% package \xpackage{dtklogos} \cite{dtklogos}. +%\begin{quote} +%\begin{verbatim} +%\DeclareRobustCommand{\BibTeX}{% +% B% +% \kern-.05em% +% \hbox{% +% $\m@th$% %% force math size calculations +% \csname S@\f@size\endcsname +% \fontsize\sf@size\z@ +% \math@fontsfalse +% \selectfont +% I% +% \kern-.025em% +% B +% }% +% \kern-.08em% +% \-% +% \TeX +%} +%\end{verbatim} +%\end{quote} +% \begin{macrocode} +\def\HoLogo@BibTeX@sf#1{% + B% + \kern-.05em% + \HoLogoFont@font{BibTeX}{bibsf}{% + I% + \kern-.025em% + B% + }% + \HOLOGO@discretionary + \kern-.08em% + \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@BibTeX@sf} +% \begin{macrocode} +\def\HoLogoHtml@BibTeX@sf#1{% + \HoLogoCss@BibTeX@sf + \HOLOGO@Span{BibTeX-sf}{% + B% + \HoLogoFont@font{BibTeX}{bibsf}{% + \HOLOGO@Span{i}{I}% + B% + }% + \hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@BibTeX@sf} +% \begin{macrocode} +\def\HoLogoCss@BibTeX@sf{% + \Css{% + span.HoLogo-BibTeX-sf span.HoLogo-i{% + margin-left:-.05em;% + margin-right:-.025em;% + }% + }% + \Css{% + span.HoLogo-BibTeX-sf span.HoLogo-TeX{% + margin-left:-.08em;% + }% + }% + \global\let\HoLogoCss@BibTeX@sf\relax +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@BibTeX} +% \begin{macrocode} +\def\HoLogo@BibTeX{\HoLogo@BibTeX@sf} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@BibTeX} +% \begin{macrocode} +\def\HoLogoHtml@BibTeX{\HoLogoHtml@BibTeX@sf} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{BibTeX8}} +% +% \begin{macro}{\HoLogo@BibTeX8} +% \begin{macrocode} +\expandafter\def\csname HoLogo@BibTeX8\endcsname#1{% + \hologo{BibTeX}% + 8% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogoBkm@BibTeX8} +% \begin{macrocode} +\expandafter\def\csname HoLogoBkm@BibTeX8\endcsname#1{% + \hologo{BibTeX}% + 8% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@BibTeX8} +% \begin{macrocode} +\expandafter +\let\csname HoLogoHtml@BibTeX8\expandafter\endcsname +\csname HoLogo@BibTeX8\endcsname +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{ConTeXt}} +% +% \begin{macro}{\HoLogo@ConTeXt@simple} +% \begin{macrocode} +\def\HoLogo@ConTeXt@simple#1{% + \HOLOGO@mbox{Con}% + \HOLOGO@discretionary + \HOLOGO@mbox{\hologo{TeX}t}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@ConTeXt@simple} +% \begin{macrocode} +\let\HoLogoHtml@ConTeXt@simple\HoLogo@ConTeXt@simple +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@ConTeXt@narrow} +% This definition of logo \hologo{ConTeXt} with variant \xoption{narrow} +% comes from TUGboat's class \xclass{ltugboat} (version 2010/11/15 v2.8). +% \begin{macrocode} +\def\HoLogo@ConTeXt@narrow#1{% + \HOLOGO@mbox{C\kern-.0333emon}% + \HOLOGO@discretionary + \kern-.0667em% + \HOLOGO@mbox{\hologo{TeX}\kern-.0333emt}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@ConTeXt@narrow} +% \begin{macrocode} +\def\HoLogoHtml@ConTeXt@narrow#1{% + \HoLogoCss@ConTeXt@narrow + \HOLOGO@Span{ConTeXt-narrow}{% + \HOLOGO@Span{C}{C}% + on% + \hologo{TeX}% + t% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@ConTeXt@narrow} +% \begin{macrocode} +\def\HoLogoCss@ConTeXt@narrow{% + \Css{% + span.HoLogo-ConTeXt-narrow span.HoLogo-C{% + margin-left:-.0333em;% + }% + }% + \Css{% + span.HoLogo-ConTeXt-narrow span.HoLogo-TeX{% + margin-left:-.0667em;% + margin-right:-.0333em;% + }% + }% + \global\let\HoLogoCss@ConTeXt@narrow\relax +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@ConTeXt} +% \begin{macrocode} +\def\HoLogo@ConTeXt{\HoLogo@ConTeXt@narrow} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@ConTeXt} +% \begin{macrocode} +\def\HoLogoHtml@ConTeXt{\HoLogoHtml@ConTeXt@narrow} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{emTeX}} +% +% \begin{macro}{\HoLogo@emTeX} +% \begin{macrocode} +\def\HoLogo@emTeX#1{% + \HOLOGO@mbox{#1{e}{E}m}% + \HOLOGO@discretionary + \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCs@emTeX} +% \begin{macrocode} +\def\HoLogoCs@emTeX#1{#1{e}{E}mTeX}% +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@emTeX} +% \begin{macrocode} +\def\HoLogoBkm@emTeX#1{% + #1{e}{E}m\hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@emTeX} +% \begin{macrocode} +\let\HoLogoHtml@emTeX\HoLogo@emTeX +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{ExTeX}} +% +% \begin{macro}{\HoLogo@ExTeX} +% The definition is taken from the FAQ of the +% project \hologo{ExTeX} +% \cite{ExTeX-FAQ}. +%\begin{quote} +%\begin{verbatim} +%\def\ExTeX{% +% \textrm{% Logo always with serifs +% \ensuremath{% +% \textstyle +% \varepsilon_{% +% \kern-0.15em% +% \mathcal{X}% +% }% +% }% +% \kern-.15em% +% \TeX +% }% +%} +%\end{verbatim} +%\end{quote} +% \begin{macrocode} +\def\HoLogo@ExTeX#1{% + \HoLogoFont@font{ExTeX}{rm}{% + \ltx@mbox{% + \HOLOGO@MathSetup + $% + \textstyle + \varepsilon_{% + \kern-0.15em% + \HoLogoFont@font{ExTeX}{sy}{X}% + }% + $% + }% + \HOLOGO@discretionary + \kern-.15em% + \hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@ExTeX} +% \begin{macrocode} +\def\HoLogoHtml@ExTeX#1{% + \HoLogoCss@ExTeX + \HoLogoFont@font{ExTeX}{rm}{% + \HOLOGO@Span{ExTeX}{% + \ltx@mbox{% + \HOLOGO@MathSetup + $\textstyle\varepsilon$% + \HOLOGO@Span{X}{$\textstyle\chi$}% + \hologo{TeX}% + }% + }% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@ExTeX} +% \begin{macrocode} +\def\HoLogoBkm@ExTeX#1{% + \HOLOGO@PdfdocUnicode{#1{e}{E}x}{\textepsilon\textchi}% + \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@ExTeX} +% \begin{macrocode} +\def\HoLogoCss@ExTeX{% + \Css{% + span.HoLogo-ExTeX{% + font-family:serif;% + }% + }% + \Css{% + span.HoLogo-ExTeX span.HoLogo-TeX{% + margin-left:-.15em;% + }% + }% + \global\let\HoLogoCss@ExTeX\relax +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{MiKTeX}} +% +% \begin{macro}{\HoLogo@MiKTeX} +% \begin{macrocode} +\def\HoLogo@MiKTeX#1{% + \HOLOGO@mbox{MiK}% + \HOLOGO@discretionary + \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@MiKTeX} +% \begin{macrocode} +\let\HoLogoHtml@MiKTeX\HoLogo@MiKTeX +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{OzTeX} and friends} +% +% Source: \hologo{OzTeX} FAQ \cite{OzTeX}: +% \begin{quote} +% |\def\OzTeX{O\kern-.03em z\kern-.15em\TeX}|\\ +% (There is no kerning in OzMF, OzMP and OzTtH.) +% \end{quote} +% +% \begin{macro}{\HoLogo@OzTeX} +% \begin{macrocode} +\def\HoLogo@OzTeX#1{% + O% + \kern-.03em % + z% + \kern-.15em % + \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@OzTeX} +% \begin{macrocode} +\def\HoLogoHtml@OzTeX#1{% + \HoLogoCss@OzTeX + \HOLOGO@Span{OzTeX}{% + O% + \HOLOGO@Span{z}{z}% + \hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@OzTeX} +% \begin{macrocode} +\def\HoLogoCss@OzTeX{% + \Css{% + span.HoLogo-OzTeX span.HoLogo-z{% + margin-left:-.03em;% + margin-right:-.15em;% + }% + }% + \global\let\HoLogoCss@OzTeX\relax +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@OzMF} +% \begin{macrocode} +\def\HoLogo@OzMF#1{% + \HOLOGO@mbox{OzMF}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogo@OzMP} +% \begin{macrocode} +\def\HoLogo@OzMP#1{% + \HOLOGO@mbox{OzMP}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogo@OzTtH} +% \begin{macrocode} +\def\HoLogo@OzTtH#1{% + \HOLOGO@mbox{OzTtH}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{PCTeX}} +% +% \begin{macro}{\HoLogo@PCTeX} +% \begin{macrocode} +\def\HoLogo@PCTeX#1{% + \HOLOGO@mbox{PC}% + \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@PCTeX} +% \begin{macrocode} +\let\HoLogoHtml@PCTeX\HoLogo@PCTeX +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{PiCTeX}} +% +% The original definitions from \xfile{pictex.tex} \cite{PiCTeX}: +%\begin{quote} +%\begin{verbatim} +%\def\PiC{% +% P% +% \kern-.12em% +% \lower.5ex\hbox{I}% +% \kern-.075em% +% C% +%} +%\def\PiCTeX{% +% \PiC +% \kern-.11em% +% \TeX +%} +%\end{verbatim} +%\end{quote} +% +% \begin{macro}{\HoLogo@PiC} +% \begin{macrocode} +\def\HoLogo@PiC#1{% + P% + \kern-.12em% + \lower.5ex\hbox{I}% + \kern-.075em% + C% + \HOLOGO@SpaceFactor +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@PiC} +% \begin{macrocode} +\def\HoLogoHtml@PiC#1{% + \HoLogoCss@PiC + \HOLOGO@Span{PiC}{% + P% + \HOLOGO@Span{i}{I}% + C% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@PiC} +% \begin{macrocode} +\def\HoLogoCss@PiC{% + \Css{% + span.HoLogo-PiC span.HoLogo-i{% + position:relative;% + top:.5ex;% + margin-left:-.12em;% + margin-right:-.075em;% + text-decoration:none;% + }% + }% + \global\let\HoLogoCss@PiC\relax +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@PiCTeX} +% \begin{macrocode} +\def\HoLogo@PiCTeX#1{% + \hologo{PiC}% + \HOLOGO@discretionary + \kern-.11em% + \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@PiCTeX} +% \begin{macrocode} +\def\HoLogoHtml@PiCTeX#1{% + \HoLogoCss@PiCTeX + \HOLOGO@Span{PiCTeX}{% + \hologo{PiC}% + \hologo{TeX}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@PiCTeX} +% \begin{macrocode} +\def\HoLogoCss@PiCTeX{% + \Css{% + span.HoLogo-PiCTeX span.HoLogo-PiC{% + margin-right:-.11em;% + }% + }% + \global\let\HoLogoCss@PiCTeX\relax +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{teTeX}} +% +% \begin{macro}{\HoLogo@teTeX} +% \begin{macrocode} +\def\HoLogo@teTeX#1{% + \HOLOGO@mbox{#1{t}{T}e}% + \HOLOGO@discretionary + \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCs@teTeX} +% \begin{macrocode} +\def\HoLogoCs@teTeX#1{#1{t}{T}dfTeX} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@teTeX} +% \begin{macrocode} +\def\HoLogoBkm@teTeX#1{% + #1{t}{T}e\hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@teTeX} +% \begin{macrocode} +\let\HoLogoHtml@teTeX\HoLogo@teTeX +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{TeX4ht}} +% +% \begin{macro}{\HoLogo@TeX4ht} +% \begin{macrocode} +\expandafter\def\csname HoLogo@TeX4ht\endcsname#1{% + \HOLOGO@mbox{\hologo{TeX}4ht}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@TeX4ht} +% \begin{macrocode} +\expandafter +\let\csname HoLogoHtml@TeX4ht\expandafter\endcsname +\csname HoLogo@TeX4ht\endcsname +% \end{macrocode} +% \end{macro} +% +% +% \subsubsection{\hologo{SageTeX}} +% +% \begin{macro}{\HoLogo@SageTeX} +% \begin{macrocode} +\def\HoLogo@SageTeX#1{% + \HOLOGO@mbox{Sage}% + \HOLOGO@discretionary + \HOLOGO@NegativeKerning{eT,oT,To}% + \hologo{TeX}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@SageTeX} +% \begin{macrocode} +\let\HoLogoHtml@SageTeX\HoLogo@SageTeX +% \end{macrocode} +% \end{macro} +% +% \subsection{\hologo{METAFONT} and friends} +% +% \begin{macro}{\HoLogo@METAFONT} +% \begin{macrocode} +\def\HoLogo@METAFONT#1{% + \HoLogoFont@font{METAFONT}{logo}{% + \HOLOGO@mbox{META}% + \HOLOGO@discretionary + \HOLOGO@mbox{FONT}% + }% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@METAPOST} +% \begin{macrocode} +\def\HoLogo@METAPOST#1{% + \HoLogoFont@font{METAPOST}{logo}{% + \HOLOGO@mbox{META}% + \HOLOGO@discretionary + \HOLOGO@mbox{POST}% + }% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@MetaFun} +% \begin{macrocode} +\def\HoLogo@MetaFun#1{% + \HOLOGO@mbox{Meta}% + \HOLOGO@discretionary + \HOLOGO@mbox{Fun}% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogo@MetaPost} +% \begin{macrocode} +\def\HoLogo@MetaPost#1{% + \HOLOGO@mbox{Meta}% + \HOLOGO@discretionary + \HOLOGO@mbox{Post}% +} +% \end{macrocode} +% \end{macro} +% +% \subsection{Others} +% +% \subsubsection{\hologo{biber}} +% +% \begin{macro}{\HoLogo@biber} +% \begin{macrocode} +\def\HoLogo@biber#1{% + \HOLOGO@mbox{#1{b}{B}i}% + \HOLOGO@discretionary + \HOLOGO@mbox{ber}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCs@biber} +% \begin{macrocode} +\def\HoLogoCs@biber#1{#1{b}{B}iber} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@biber} +% \begin{macrocode} +\def\HoLogoBkm@biber#1{% + #1{b}{B}iber% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@biber} +% \begin{macrocode} +\let\HoLogoHtml@biber\HoLogo@biber +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{KOMAScript}} +% +% \begin{macro}{\HoLogo@KOMAScript} +% The definition for \hologo{KOMAScript} is taken +% from \hologo{KOMAScript} (\xfile{scrlogo.dtx}, reformatted) \cite{scrlogo}: +%\begin{quote} +%\begin{verbatim} +%\@ifundefined{KOMAScript}{% +% \DeclareRobustCommand{\KOMAScript}{% +% \textsf{% +% K\kern.05em O\kern.05emM\kern.05em A% +% \kern.1em-\kern.1em % +% Script% +% }% +% }% +%}{} +%\end{verbatim} +%\end{quote} +% \begin{macrocode} +\def\HoLogo@KOMAScript#1{% + \HoLogoFont@font{KOMAScript}{sf}{% + \HOLOGO@mbox{% + K\kern.05em% + O\kern.05em% + M\kern.05em% + A% + }% + \kern.1em% + \HOLOGO@hyphen + \kern.1em% + \HOLOGO@mbox{Script}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@KOMAScript} +% \begin{macrocode} +\def\HoLogoBkm@KOMAScript#1{% + KOMA-Script% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@KOMAScript} +% \begin{macrocode} +\def\HoLogoHtml@KOMAScript#1{% + \HoLogoCss@KOMAScript + \HoLogoFont@font{KOMAScript}{sf}{% + \HOLOGO@Span{KOMAScript}{% + K% + \HOLOGO@Span{O}{O}% + M% + \HOLOGO@Span{A}{A}% + \HOLOGO@Span{hyphen}{-}% + Script% + }% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@KOMAScript} +% \begin{macrocode} +\def\HoLogoCss@KOMAScript{% + \Css{% + span.HoLogo-KOMAScript{% + font-family:sans-serif;% + }% + }% + \Css{% + span.HoLogo-KOMAScript span.HoLogo-O{% + padding-left:.05em;% + padding-right:.05em;% + }% + }% + \Css{% + span.HoLogo-KOMAScript span.HoLogo-A{% + padding-left:.05em;% + }% + }% + \Css{% + span.HoLogo-KOMAScript span.HoLogo-hyphen{% + padding-left:.1em;% + padding-right:.1em;% + }% + }% + \global\let\HoLogoCss@KOMAScript\relax +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{LyX}} +% +% \begin{macro}{\HoLogo@LyX} +% The definition is taken from the documentation source files +% of \hologo{LyX}, \xfile{Intro.lyx} \cite{LyX}: +%\begin{quote} +%\begin{verbatim} +%\def\LyX{% +% \texorpdfstring{% +% L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@% +% }{% +% LyX% +% }% +%} +%\end{verbatim} +%\end{quote} +% \begin{macrocode} +\def\HoLogo@LyX#1{% + L% + \kern-.1667em% + \lower.25em\hbox{Y}% + \kern-.125em% + X% + \HOLOGO@SpaceFactor +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@LyX} +% \begin{macrocode} +\def\HoLogoHtml@LyX#1{% + \HoLogoCss@LyX + \HOLOGO@Span{LyX}{% + L% + \HOLOGO@Span{y}{Y}% + X% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoCss@LyX} +% \begin{macrocode} +\def\HoLogoCss@LyX{% + \Css{% + span.HoLogo-LyX span.HoLogo-y{% + position:relative;% + top:.25em;% + margin-left:-.1667em;% + margin-right:-.125em;% + text-decoration:none;% + }% + }% + \global\let\HoLogoCss@LyX\relax +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\hologo{NTS}} +% +% \begin{macro}{\HoLogo@NTS} +% Definition for \hologo{NTS} can be found in +% package \xpackage{etex\textunderscore man} for the \hologo{eTeX} manual \cite{etexman} +% and in package \xpackage{dtklogos} \cite{dtklogos}: +%\begin{quote} +%\begin{verbatim} +%\def\NTS{% +% \leavevmode +% \hbox{% +% $% +% \cal N% +% \kern-0.35em% +% \lower0.5ex\hbox{$\cal T$}% +% \kern-0.2em% +% S% +% $% +% }% +%} +%\end{verbatim} +%\end{quote} +% \begin{macrocode} +\def\HoLogo@NTS#1{% + \HoLogoFont@font{NTS}{sy}{% + N\/% + \kern-.35em% + \lower.5ex\hbox{T\/}% + \kern-.2em% + S\/% + }% + \HOLOGO@SpaceFactor +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\Hologo{TTH} (\hologo{TeX} to HTML translator)} +% +% Source: \url{http://hutchinson.belmont.ma.us/tth/} +% In the HTML source the second `T' is printed as subscript. +%\begin{quote} +%\begin{verbatim} +%TTH +%\end{verbatim} +%\end{quote} +% \begin{macro}{\HoLogo@TTH} +% \begin{macrocode} +\def\HoLogo@TTH#1{% + \ltx@mbox{% + T\HOLOGO@SubScript{T}H% + }% + \HOLOGO@SpaceFactor +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HoLogoHtml@TTH} +% \begin{macrocode} +\def\HoLogoHtml@TTH#1{% + T\HCode{}T\HCode{}H% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{\Hologo{HanTheThanh}} +% +% Partial source: Package \xpackage{dtklogos}. +% The double accent is U+1EBF (latin small letter e with circumflex +% and acute). +% \begin{macro}{\HoLogo@HanTheThanh} +% \begin{macrocode} +\def\HoLogo@HanTheThanh#1{% + \ltx@mbox{H\`an}% + \HOLOGO@space + \ltx@mbox{% + Th% + \HOLOGO@IfCharExists{"1EBF}{% + \char"1EBF\relax + }{% + \^e\hbox to 0pt{\hss\raise .5ex\hbox{\'{}}}% + }% + }% + \HOLOGO@space + \ltx@mbox{Th\`anh}% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoBkm@HanTheThanh} +% \begin{macrocode} +\def\HoLogoBkm@HanTheThanh#1{% + H\`an % + Th\HOLOGO@PdfdocUnicode{\^e}{\9036\277} % + Th\`anh% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HoLogoHtml@HanTheThanh} +% \begin{macrocode} +\def\HoLogoHtml@HanTheThanh#1{% + H\`an % + Th\HCode{&\ltx@hashchar x1ebf;} % + Th\`anh% +} +% \end{macrocode} +% \end{macro} +% +% \subsection{Driver detection} +% +% \begin{macrocode} +\HOLOGO@IfExists\InputIfFileExists{% + \InputIfFileExists{hologo.cfg}{}{}% +}{% + \ltx@IfUndefined{pdf@filesize}{% + \def\HOLOGO@InputIfExists{% + \openin\HOLOGO@temp=hologo.cfg\relax + \ifeof\HOLOGO@temp + \closein\HOLOGO@temp + \else + \closein\HOLOGO@temp + \begingroup + \def\x{LaTeX2e}% + \expandafter\endgroup + \ifx\fmtname\x + \input{hologo.cfg}% + \else + \input hologo.cfg\relax + \fi + \fi + }% + \ltx@IfUndefined{newread}{% + \chardef\HOLOGO@temp=15 % + \def\HOLOGO@CheckRead{% + \ifeof\HOLOGO@temp + \HOLOGO@InputIfExists + \else + \ifcase\HOLOGO@temp + \@PackageWarningNoLine{hologo}{% + Configuration file ignored, because\MessageBreak + a free read register could not be found% + }% + \else + \begingroup + \count\ltx@cclv=\HOLOGO@temp + \advance\ltx@cclv by \ltx@minusone + \edef\x{\endgroup + \chardef\noexpand\HOLOGO@temp=\the\count\ltx@cclv + \relax + }% + \x + \fi + \fi + }% + }{% + \csname newread\endcsname\HOLOGO@temp + \HOLOGO@InputIfExists + }% + }{% + \edef\HOLOGO@temp{\pdf@filesize{hologo.cfg}}% + \ifx\HOLOGO@temp\ltx@empty + \else + \ifnum\HOLOGO@temp>0 % + \begingroup + \def\x{LaTeX2e}% + \expandafter\endgroup + \ifx\fmtname\x + \input{hologo.cfg}% + \else + \input hologo.cfg\relax + \fi + \else + \@PackageInfoNoLine{hologo}{% + Empty configuration file `hologo.cfg' ignored% + }% + \fi + \fi + }% +} +% \end{macrocode} +% +% \begin{macrocode} +\def\HOLOGO@temp#1#2{% + \kv@define@key{HoLogoDriver}{#1}[]{% + \begingroup + \def\HOLOGO@temp{##1}% + \ltx@onelevel@sanitize\HOLOGO@temp + \ifx\HOLOGO@temp\ltx@empty + \else + \@PackageError{hologo}{% + Value (\HOLOGO@temp) not permitted for option `#1'% + }% + \@ehc + \fi + \endgroup + \def\hologoDriver{#2}% + }% +}% +\def\HOLOGO@@temp#1#2{% + \ifx\kv@value\relax + \HOLOGO@temp{#1}{#1}% + \else + \HOLOGO@temp{#1}{#2}% + \fi +}% +\kv@parse@normalized{% + pdftex,% + luatex=pdftex,% + dvipdfm,% + dvipdfmx=dvipdfm,% + dvips,% + dvipsone=dvips,% + xdvi=dvips,% + xetex,% + vtex,% +}\HOLOGO@@temp +% \end{macrocode} +% +% \begin{macrocode} +\kv@define@key{HoLogoDriver}{driverfallback}{% + \def\HOLOGO@DriverFallback{#1}% +} +% \end{macrocode} +% +% \begin{macro}{\HOLOGO@DriverFallback} +% \begin{macrocode} +\def\HOLOGO@DriverFallback{dvips} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\hologoDriverSetup} +% \begin{macrocode} +\def\hologoDriverSetup{% + \let\hologoDriver\ltx@undefined + \HOLOGO@DriverSetup +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@DriverSetup} +% \begin{macrocode} +\def\HOLOGO@DriverSetup#1{% + \kvsetkeys{HoLogoDriver}{#1}% + \HOLOGO@CheckDriver + \ltx@ifundefined{hologoDriver}{% + \begingroup + \edef\x{\endgroup + \noexpand\kvsetkeys{HoLogoDriver}{\HOLOGO@DriverFallback}% + }\x + }{}% + \@PackageInfoNoLine{hologo}{Using driver `\hologoDriver'}% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@CheckDriver} +% \begin{macrocode} +\def\HOLOGO@CheckDriver{% + \ifpdf + \def\hologoDriver{pdftex}% + \let\HOLOGO@pdfliteral\pdfliteral + \ifluatex + \ifx\pdfextension\@undefined\else + \protected\def\pdfliteral{\pdfextension literal}% + \let\HOLOGO@pdfliteral\pdfliteral + \fi + \ltx@IfUndefined{HOLOGO@pdfliteral}{% + \ifnum\luatexversion<36 % + \else + \begingroup + \let\HOLOGO@temp\endgroup + \ifcase0% + \directlua{% + if tex.enableprimitives then % + tex.enableprimitives('HOLOGO@', {'pdfliteral'})% + else % + tex.print('1')% + end% + }% + \ifx\HOLOGO@pdfliteral\@undefined 1\fi% + \relax% + \endgroup + \let\HOLOGO@temp\relax + \global\let\HOLOGO@pdfliteral\HOLOGO@pdfliteral + \fi% + \HOLOGO@temp + \fi + }{}% + \fi + \ltx@IfUndefined{HOLOGO@pdfliteral}{% + \@PackageWarningNoLine{hologo}{% + Cannot find \string\pdfliteral + }% + }{}% + \else + \ifxetex + \def\hologoDriver{xetex}% + \else + \ifvtex + \def\hologoDriver{vtex}% + \fi + \fi + \fi +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@WarningUnsupportedDriver} +% \begin{macrocode} +\def\HOLOGO@WarningUnsupportedDriver#1{% + \@PackageWarningNoLine{hologo}{% + Logo `#1' needs driver specific macros,\MessageBreak + but driver `\hologoDriver' is not supported.\MessageBreak + Use a different driver or\MessageBreak + load package `graphics' or `pgf'% + }% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{Reflect box macros} +% +% Skip driver part if not needed. +% \begin{macrocode} +\ltx@IfUndefined{reflectbox}{}{% + \ltx@IfUndefined{rotatebox}{}{% + \HOLOGO@AtEnd + }% +} +\ltx@IfUndefined{pgftext}{}{% + \HOLOGO@AtEnd +} +\ltx@IfUndefined{psscalebox}{}{% + \HOLOGO@AtEnd +} +% \end{macrocode} +% +% \begin{macrocode} +\def\HOLOGO@temp{LaTeX2e} +\ifx\fmtname\HOLOGO@temp + \RequirePackage{kvoptions}[2011/06/30]% + \ProcessKeyvalOptions{HoLogoDriver}% +\fi +\HOLOGO@DriverSetup{} +% \end{macrocode} +% +% \begin{macro}{\HOLOGO@ReflectBox} +% \begin{macrocode} +\def\HOLOGO@ReflectBox#1{% + \begingroup + \setbox\ltx@zero\hbox{\begingroup#1\endgroup}% + \setbox\ltx@two\hbox{% + \kern\wd\ltx@zero + \csname HOLOGO@ScaleBox@\hologoDriver\endcsname{-1}{1}{% + \hbox to 0pt{\copy\ltx@zero\hss}% + }% + }% + \wd\ltx@two=\wd\ltx@zero + \box\ltx@two + \endgroup +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\HOLOGO@PointReflectBox} +% \begin{macrocode} +\def\HOLOGO@PointReflectBox#1{% + \begingroup + \setbox\ltx@zero\hbox{\begingroup#1\endgroup}% + \setbox\ltx@two\hbox{% + \kern\wd\ltx@zero + \raise\ht\ltx@zero\hbox{% + \csname HOLOGO@ScaleBox@\hologoDriver\endcsname{-1}{-1}{% + \hbox to 0pt{\copy\ltx@zero\hss}% + }% + }% + }% + \wd\ltx@two=\wd\ltx@zero + \box\ltx@two + \endgroup +} +% \end{macrocode} +% \end{macro} +% +% We must define all variants because of dynamic driver setup. +% \begin{macrocode} +\def\HOLOGO@temp#1#2{#2} +% \end{macrocode} +% +% \begin{macro}{\HOLOGO@ScaleBox@pdftex} +% \begin{macrocode} +\HOLOGO@temp{pdftex}{% + \def\HOLOGO@ScaleBox@pdftex#1#2#3{% + \HOLOGO@pdfliteral{% + q #1 0 0 #2 0 0 cm% + }% + #3% + \HOLOGO@pdfliteral{% + Q% + }% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HOLOGO@ScaleBox@dvips} +% \begin{macrocode} +\HOLOGO@temp{dvips}{% + \def\HOLOGO@ScaleBox@dvips#1#2#3{% + \special{ps:% + gsave % + currentpoint % + currentpoint translate % + #1 #2 scale % + neg exch neg exch translate% + }% + #3% + \special{ps:% + currentpoint % + grestore % + moveto% + }% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HOLOGO@ScaleBox@dvipdfm} +% \begin{macrocode} +\HOLOGO@temp{dvipdfm}{% + \let\HOLOGO@ScaleBox@dvipdfm\HOLOGO@ScaleBox@dvips +} +% \end{macrocode} +% \end{macro} +% Since \hologo{XeTeX} v0.6. +% \begin{macro}{\HOLOGO@ScaleBox@xetex} +% \begin{macrocode} +\HOLOGO@temp{xetex}{% + \def\HOLOGO@ScaleBox@xetex#1#2#3{% + \special{x:gsave}% + \special{x:scale #1 #2}% + #3% + \special{x:grestore}% + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\HOLOGO@ScaleBox@vtex} +% \begin{macrocode} +\HOLOGO@temp{vtex}{% + \def\HOLOGO@ScaleBox@vtex#1#2#3{% + \special{r(#1,0,0,#2,0,0}% + #3% + \special{r)}% + }% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macrocode} +\HOLOGO@AtEnd% +% +% \end{macrocode} +%% \section{Installation} +% +% \subsection{Download} +% +% \paragraph{Package.} This package is available on +% CTAN\footnote{\CTANpkg{hologo}}: +% \begin{description} +% \item[\CTAN{macros/latex/contrib/hologo/hologo.dtx}] The source file. +% \item[\CTAN{macros/latex/contrib/hologo/hologo.pdf}] Documentation. +% \end{description} +% +% +% \paragraph{Bundle.} All the packages of the bundle `hologo' +% 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[\CTANinstall{install/macros/latex/contrib/hologo.tds.zip}] +% \end{description} +% \emph{TDS} refers to the standard ``A Directory Structure +% for \TeX\ Files'' (\CTANpkg{tds}). Directories +% with \xfile{texmf} in their name are usually organized this way. +% +% \subsection{Bundle installation} +% +% \paragraph{Unpacking.} Unpack the \xfile{hologo.tds.zip} in the +% TDS tree (also known as \xfile{texmf} tree) of your choice. +% Example (linux): +% \begin{quote} +% |unzip hologo.tds.zip -d ~/texmf| +% \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 hologo.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@{}} +% hologo.sty & tex/generic/hologo/hologo.sty\\ +% hologo.pdf & doc/latex/hologo/hologo.pdf\\ +% example/hologo-example.tex & doc/latex/hologo/example/hologo-example.tex\\ +% hologo.dtx & source/latex/hologo/hologo.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 +% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh +% these. For example, \TeX\,Live\ users run \verb|texhash| or +% \verb|mktexlsr|. +% +% \subsection{Some details for the interested} +% +% \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{hologo.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 hologo.dtx +%makeindex -s gind.ist hologo.idx +%pdflatex hologo.dtx +%makeindex -s gind.ist hologo.idx +%pdflatex hologo.dtx +%\end{verbatim} +% \end{quote} +% +% \begin{thebibliography}{9} +% \raggedright +% +% \bibitem{btxdoc} +% Oren Patashnik, +% \textit{\hologo{BibTeX}ing}, +% 1988-02-08.\\ +% \CTANpkg{bibtex} +% +% \bibitem{dtklogos} +% Gerd Neugebauer, DANTE, +% \textit{Package \xpackage{dtklogos}}, +% 2011-04-25.\\ +% \url{http://mirrors.ctan.org/usergrps/dante/dtk/dtk-logos.sty} +% +% \bibitem{etexman} +% The \hologo{NTS} Team, +% \textit{The \hologo{eTeX} manual}, +% 1998-02.\\ +% \CTANpkg{etex} +% +% \bibitem{ExTeX-FAQ} +% The \hologo{ExTeX} group, +% \textit{\hologo{ExTeX}: FAQ -- How is \hologo{ExTeX} typeset?}, +% 2007-04-14.\\ +% \url{http://www.extex.org/documentation/faq.html} +% +% \bibitem{LyX} +% ^^A@MISC{ LyX, +% ^^A title = {{LyX 2.0.0 -- The Document Processor [Computer software and manual]}}, +% ^^A author = {{The LyX Team}}, +% ^^A howpublished = {Internet: http://www.lyx.org}, +% ^^A year = {2011-05-08}, +% ^^A note = {Retrieved May 10, 2011, from http://www.lyx.org}, +% ^^A url = {http://www.lyx.org/} +% ^^A} +% The \hologo{LyX} Team, +% \textit{\hologo{LyX} -- The Document Processor}, +% 2011-05-08.\\ +% \url{https://www.lyx.org/} +% +% \bibitem{OzTeX} +% Andrew Trevorrow, +% \hologo{OzTeX} FAQ: What is the correct way to typeset ``\hologo{OzTeX}''?, +% 2011-09-15 (visited). +% \url{http://www.trevorrow.com/oztex/ozfaq.html#oztex-logo} +% +% \bibitem{PiCTeX} +% Michael Wichura, +% \textit{The \hologo{PiCTeX} macro package}, +% 1987-09-21. +% \CTANpkg{pictex} +% +% \bibitem{scrlogo} +% Markus Kohm, +% \textit{\hologo{KOMAScript} Datei \xfile{scrlogo.dtx}}, +% 2009-01-30.\\ +% \CTANinstall{install/macros/latex/contrib/koma-script.tds.zip} +% +% \end{thebibliography} +% +% \begin{History} +% \begin{Version}{2010/04/08 v1.0} +% \item +% The first version. +% \end{Version} +% \begin{Version}{2010/04/16 v1.1} +% \item +% \cs{Hologo} added for support of logos at start of a sentence. +% \item +% \cs{hologoSetup} and \cs{hologoLogoSetup} added. +% \item +% Options \xoption{break}, \xoption{hyphenbreak}, \xoption{spacebreak} +% added. +% \item +% Variant support added by option \xoption{variant}. +% \end{Version} +% \begin{Version}{2010/04/24 v1.2} +% \item +% \hologo{LaTeX3} added. +% \item +% \hologo{VTeX} added. +% \end{Version} +% \begin{Version}{2010/11/21 v1.3} +% \item +% \hologo{iniTeX}, \hologo{virTeX} added. +% \end{Version} +% \begin{Version}{2011/03/25 v1.4} +% \item +% \hologo{ConTeXt} with variants added. +% \item +% Option \xoption{discretionarybreak} added as refinement for +% option \xoption{break}. +% \end{Version} +% \begin{Version}{2011/04/21 v1.5} +% \item +% Wrong TDS directory for test files fixed. +% \end{Version} +% \begin{Version}{2011/10/01 v1.6} +% \item +% Support for package \xpackage{tex4ht} added. +% \item +% Support for \cs{csname} added if \cs{ifincsname} is available. +% \item +% New logos: +% \hologo{(La)TeX}, +% \hologo{biber}, +% \hologo{BibTeX} (\xoption{sc}, \xoption{sf}), +% \hologo{emTeX}, +% \hologo{ExTeX}, +% \hologo{KOMAScript}, +% \hologo{La}, +% \hologo{LyX}, +% \hologo{MiKTeX}, +% \hologo{NTS}, +% \hologo{OzMF}, +% \hologo{OzMP}, +% \hologo{OzTeX}, +% \hologo{OzTtH}, +% \hologo{PCTeX}, +% \hologo{PiC}, +% \hologo{PiCTeX}, +% \hologo{METAFONT}, +% \hologo{MetaFun}, +% \hologo{METAPOST}, +% \hologo{MetaPost}, +% \hologo{SLiTeX} (\xoption{lift}, \xoption{narrow}, \xoption{simple}), +% \hologo{SliTeX} (\xoption{narrow}, \xoption{simple}, \xoption{lift}), +% \hologo{teTeX}. +% \item +% Fixes: +% \hologo{iniTeX}, +% \hologo{pdfLaTeX}, +% \hologo{pdfTeX}, +% \hologo{virTeX}. +% \item +% \cs{hologoFontSetup} and \cs{hologoLogoFontSetup} added. +% \item +% \cs{hologoVariant} and \cs{HologoVariant} added. +% \end{Version} +% \begin{Version}{2011/11/22 v1.7} +% \item +% New logos: +% \hologo{BibTeX8}, +% \hologo{LaTeXML}, +% \hologo{SageTeX}, +% \hologo{TeX4ht}, +% \hologo{TTH}. +% \item +% \hologo{Xe} and friends: Driver stuff fixed. +% \item +% \hologo{Xe} and friends: Support for italic added. +% \item +% \hologo{Xe} and friends: Package support for \xpackage{pgf} +% and \xpackage{pstricks} added. +% \end{Version} +% \begin{Version}{2011/11/29 v1.8} +% \item +% New logos: +% \hologo{HanTheThanh}. +% \end{Version} +% \begin{Version}{2011/12/21 v1.9} +% \item +% Patch for package \xpackage{ifxetex} added for the case that +% \cs{newif} is undefined in \hologo{iniTeX}. +% \item +% Some fixes for \hologo{iniTeX}. +% \end{Version} +% \begin{Version}{2012/04/26 v1.10} +% \item +% Fix in bookmark version of logo ``\hologo{HanTheThanh}''. +% \end{Version} +% \begin{Version}{2016/05/12 v1.11} +% \item +% Update HOLOGO@IfCharExists (previously in texlive) +% \item define pdfliteral in current luatex. +% \end{Version} +% \begin{Version}{2016/05/16 v1.12} +% \item +% Documentation updates. +% \end{Version} +% \begin{Version}{2017/05/01 v1.13} +% \item +% Removing spurious comments in bibliography. (github PR from yudai-nkt) +% \end{Version} +% \begin{Version}{2019/12/05 v1.14} +% \item +% Documentation updates. +% \end{Version} +% \end{History} +% +% \PrintIndex +% +% \Finale +\endinput diff --git a/macros/latex/contrib/hologo/hologo.pdf b/macros/latex/contrib/hologo/hologo.pdf new file mode 100644 index 0000000000..a5f4b321a4 Binary files /dev/null and b/macros/latex/contrib/hologo/hologo.pdf differ diff --git a/macros/latex/contrib/mathcommand/README.md b/macros/latex/contrib/mathcommand/README.md index fe154ad579..ee2f7779ca 100644 --- a/macros/latex/contrib/mathcommand/README.md +++ b/macros/latex/contrib/mathcommand/README.md @@ -3,8 +3,8 @@ This directory contains the package name: mathcommand license: LaTeX Project Public License version 1.2 or above - version: v1.02 - date: 2019/07/03 + version: v1.03 + date: 2019/12/06 author: Thomas Colcombet mail: thomas.colcombet@irif.fr web: - diff --git a/macros/latex/contrib/mathcommand/mathcommand.dtx b/macros/latex/contrib/mathcommand/mathcommand.dtx index ca621c869d..e269646e1f 100644 --- a/macros/latex/contrib/mathcommand/mathcommand.dtx +++ b/macros/latex/contrib/mathcommand/mathcommand.dtx @@ -23,7 +23,7 @@ % % \iffalse %\usepackage{expl3} -%\ProvidesExplPackage{mathcommand}{2019/07/03}{1.02}{} +%\ProvidesExplPackage{mathcommand}{2019/12/06}{1.03}{} %<*driver> \documentclass{ltxdoc} \usepackage[utf8]{inputenc} @@ -33,12 +33,13 @@ \usepackage{expl3} \usepackage{mathcommand} \usepackage[hidelinks]{hyperref} -\usepackage[quotation,scope,electronic]{knowledge} +\usepackage[quotation,scope,notion,electronic]{knowledge} \usepackage{enumitem} \CheckSum{0} \changes{1.01}{2019/05/12}{Initial version} % \changes{1.02}{2019/07/03}{Bug correction} % +\changes{1.03}{2019/12/06}{added disabling commands} % \GetFileInfo{mathcommand.sty} % \DoNotIndex{} \edef\mathcommandversiondate{\fileversion--\filedate} @@ -166,6 +167,17 @@ \knowledge{PIE}[PIEs]{doc notion} \knowledge{PIE command}[PIE commands]{doc notion} +\knowledge{notion} + | Disabling + | deactivated + | Deactivating + +\knowledge{notion} + | disabled=warning +\knowledge{notion} + | disabled=error +\knowledge{notion} + | disabled=silent \begin{document} \title{The \texttt{mathcommand} package for \LaTeX\\ @@ -177,8 +189,9 @@ \noindent The "mathcommand" package provides functionalities for defining macros \begin{compactenum} \item that have different behaviors depending on whether in math or text mode, - \item that absorb Primes, Indices and Exponents (PIE) as extra parameters usable in the code, and - \item offers some iteration facilities for defining macros with similar code. + \item that absorb Primes, Indices and Exponents (PIE) as extra parameters usable in the code, + \item offers some iteration facilities for defining macros with similar code, + \item and deactivating macros. \end{compactenum} The primary objective of this package is to be used together with the "knowledge" package for a proper handling of mathematical notations. @@ -190,6 +203,7 @@ \item[2019-05-12] First version of the package. V1.01 on CTAN, \item[2019-05-14] New macros \cs\IfEmptyTF, \cs\GetExponent, and \cs\GetIndex. \item[2019-07-03] Corrects bug of functions declaring PIE's issuing an error when already existing. Version 1.02 on CTAN. +\item[2019-12-06] Added disabling commands, and package options. Version 1.03 on CTAN. \end{compactdesc} @@ -333,9 +347,9 @@ For instance: \knowledge{name 7}{doc notion} \knowledge{code}{doc notion} The "mathcommand" package offer also some capabilities for automatically defining multiple - similar macros. This is done using only one command: + similar macros. This is done using only one command:\AP \begin{center} - \AP\csintro{\LoopCommands}\{"list on which to iterate"\}["name 1"]["name 2"]\dots["name 7"]\{"code@@LoopCommands"\} + \csintro{\LoopCommands}\{"list on which to iterate"\}["name 1"]["name 2"]\dots["name 7"]\{"code@@LoopCommands"\} \end{center} \AP The ""list on which to iterate"" is a list of letters or braced sequences of letters. \AP the ""name 1"", ""name 2"" up to ""name 7"" optional parameters are expandable @@ -410,6 +424,56 @@ defined with as main body \texttt{\cs\overline\{u\#2\}\#1\#3} be displayed in blue (with the "xcolor" package loaded). Note in the last case the use of the third parameter used for accessing the macros \cs\LaTeXalpha,\dots\ that are automatically generated by the \cs\renewmathcommand\ macro. + +\section{Disabling command} + +The package "mathcommand" has some facilities for deactivating commands, and suggesting replacements. +This can be useful when working with coauthors and help them using the same macros. +"Disabling" a command is achieved using \AP +\begin{center} + \csintro{\disablecommand}\{sequence of control sequences\} + \end{center} + +The result of this command is that the control sequences appearing in the sequence are "deactivated". \AP ""Deactivating"" a macro~\cs\macro\ means that: +\begin{itemize} +\item The original macro is stored as \cs\LaTeXmacro, and thus can still be used. +\item Using \cs\macro\ now displays an error message explaining that it has been disabled, that~\cs\LaTeXmacro\ can be used instead, and also provides a list suggestions of replacement that are defined by the command \cs\suggestcommand. +\end{itemize} +However, be careful: disabling a command which is used in the system or in the the style will yield an error. +Hence, it is possible to disable all math symbols but macros like \cs\dagger\ would yield problem if used in footnotes or for the affiliation of the authors. +\AP The syntax of~\cs\suggestcommand\ is as follows: + \begin{center} + \csintro{\suggestcommand}\cs\macro\{suggestion to be displayed when~\cs\macro\ is used\} + \end{center} + For instance: + \begin{code}%[10cm] + \cs\disablecommand\{\cs\leq\cs\geq\}\\ + \cs\suggestcommand\{\cs\leq\}\{Use the better looking \cs\leqslant.\}\\ + \cs\suggestcommand\{\cs\geq\}\{Use the better looking \cs\geqslant.\} + \end{code} +Now, executing \cs\leq\ yields: +\begin{verbatim} +./filename.tex:linenumber: Package mathcommand Error: +(mathcommand) The command \geq is disabled. Instead: +(mathcommand) Use \LaTeXgeq for the original macro. +(mathcommand) Use the better looking \geqslant . +\end{verbatim} + + +\section{Options} + +\AP Options can either be triggered either when the package is loaded, or using: +\begin{center} + \csintro\mathcommandconfigure\{option list\} +\end{center} +The available options are: +\begin{itemize} +\item ""disabled=error"" makes "disabled" commands produce errors, +\item ""disabled=warning"" makes "disabled" commands produce warnings, +\item ""disabled=silent"" makes "disabled" commands work as before being disabled + (useful when including code that cannot be modified). +\end{itemize} + \newpage \DocInput{mathcommand.dtx} @@ -432,8 +496,8 @@ This directory contains the package name: mathcommand license: LaTeX Project Public License version 1.2 or above - version: v1.02 - date: 2019/07/03 + version: v1.03 + date: 2019/12/06 author: Thomas Colcombet mail: thomas.colcombet@irif.fr web: - @@ -469,7 +533,7 @@ Content of the file mathcommand-ctan.zip: %<*package> % \begin{macrocode} \NeedsTeXFormat{LaTeX2e}[1994/06/01] -\RequirePackage{expl3} +\RequirePackage{expl3,l3keys2e} \RequirePackage{etoolbox} \RequirePackage{xparse} @@ -917,7 +981,7 @@ Content of the file mathcommand-ctan.zip: \__xparse_check_definable:nNT {#2} \storecommand { \cs_if_exist:NTF#2{ - \cs_set_eq:cN{\__mathcommand_prefix_store_tl\cs_to_str:N#2}#2 + \cs_set_eq:cN{#1\cs_to_str:N#2}#2 } { \PackageError{mathcommand} @@ -1152,6 +1216,102 @@ Content of the file mathcommand-ctan.zip: } % \end{macrocode} % +% \subsection{Deactivating macros} +% +% \begin{macrocode} +\bool_new:N\__mathcommand_disabled_error_bool +\bool_set_true:N\__mathcommand_disabled_error_bool +\bool_new:N\__mathcommand_disabled_suggest_original_bool +\bool_set_true:N\__mathcommand_disabled_suggest_original_bool +\bool_new:N\__mathcommand_force_enabled_bool +\bool_set_false:N\__mathcommand_force_enabled_bool +% \end{macrocode} +% \begin{macrocode} +\cs_new:Nn\__mathcommand_to_disabled_help_tl:N + {mathcommand_disabled_help_\cs_to_str:N#1_tl} +% \end{macrocode} +% \begin{macrocode} +\cs_new:Nn\__mathcommand_error:nn +{ \msg_new:nnn{mathcommand}{#1}{#2} + \msg_error:nn{mathcommand}{#1} +} +\cs_new:Nn\__mathcommand_dc_error:n +{ \msg_new:nnn{mathcommand}{disabled~command}{#1} + \msg_error:nn{mathcommand}{disabled~command} +} +\cs_new:Nn\__mathcommand_dc_warning:n +{ \msg_set:nnn{mathcommand}{disabled~command}{#1} + \msg_warning:nn{mathcommand}{disabled~command} +} +\cs_new:Nn\mathcommand_disabled_error:N +{ \bool_if:NTF\__mathcommand_disabled_error_bool + {\exp_args:Nx\__mathcommand_dc_error:n} + {\exp_args:Nx\__mathcommand_dc_warning:n} + {\exp_not:n{\\The~command~\string#1~is~disabled.~Instead:\\ } + \bool_if:NT\__mathcommand_disabled_suggest_original_bool + {Use~\exp_not:c{\__mathcommand_to_storetl:N#1} for~the~original~macro.} + \exp_not:v{\__mathcommand_to_disabled_help_tl:N#1}} +} +% \end{macrocode} +% \begin{macrocode} +\msg_new:nnn{mathcommand}{unknown~command} + {\\The~control~sequence~#1 is~not~defined \\Origin~macro:~#2} +% \end{macrocode} +% \begin{macrocode} +\NewDocumentCommand\disablecommand{m}{ + \tl_map_function:nN{#1}\mathcommand_disablecommand:N +} + + +\cs_new:Nn\mathcommand_disablecommand:N + { \cs_if_exist:NTF#1{ + \__xparse_check_definable:nNT#1\disablecommand + {\tl_if_exist:cTF{\__mathcommand_to_disabled_help_tl:N#1} + {} + {\storecommand#1 + \tl_new:c{\__mathcommand_to_disabled_help_tl:N#1} + \renewcommand#1 + {\bool_if:NF + \__mathcommand_force_enabled_bool + {\mathcommand_disabled_error:N#1} + \use:c{\__mathcommand_to_storetl:N#1}}} + } + }{ + \msg_error:nnnn{mathcommand}{unknown~command}{#1}{\disablecommand} + } +} +% \end{macrocode} +% \begin{macrocode} +\NewDocumentCommand\suggestcommand{mm} + { \cs_if_exist:NTF#1{ + \cs_if_exist:cTF{\__mathcommand_to_disabled_help_tl:N#1}{ + \tl_put_right:cx{\__mathcommand_to_disabled_help_tl:N#1}{\exp_not:N\\\tl_to_str:n{#2}} + }{ + \__mathcommand_error:nn{command~not~disabled} + {\\\string\suggestcommand :~Command~#1~has~not~been~disabled.} + } + } + { \__mathcommand_error:nn{unknown~command} + {\\\string\suggestcommand :~Unknown~command~#1.} + } +} +% \end{macrocode} +% +% \subsection{Options} +% +% \begin{macrocode} +\keys_define:nn { mathcommand }{ + disabled .multichoice:, + disabled / silent .code:n = {\bool_set_true:N\__mathcommand_force_enabled_bool }, + disabled / error .code:n = {\bool_set_false:N\__mathcommand_force_enabled_bool + \bool_set_true:N\__mathcommand_disabled_error_bool}, + disabled / warning .code:n = {\bool_set_false:N\__mathcommand_force_enabled_bool + \bool_set_false:N\__mathcommand_disabled_error_bool}, +} +\ProcessKeysOptions { mathcommand } % Parses the option list +\NewDocumentCommand\mathcommandconfigure{ m } + {\keys_set:nn{ mathcommand}{ #1} } +% \end{macrocode} % \begin{macrocode} \ExplSyntaxOff % \end{macrocode} diff --git a/macros/latex/contrib/mathcommand/mathcommand.pdf b/macros/latex/contrib/mathcommand/mathcommand.pdf index 1924fc0b59..8e836ed0e4 100644 Binary files a/macros/latex/contrib/mathcommand/mathcommand.pdf and b/macros/latex/contrib/mathcommand/mathcommand.pdf differ diff --git a/macros/latex/contrib/oberdiek/README.txt b/macros/latex/contrib/oberdiek/README.txt index 238e572c18..9abb0caf69 100644 --- a/macros/latex/contrib/oberdiek/README.txt +++ b/macros/latex/contrib/oberdiek/README.txt @@ -1,4 +1,4 @@ -README 2019/12/03 +README 2019/12/05 This file describes the directory CTAN:macros/latex/contrib/oberdiek/ diff --git a/macros/latex/contrib/oberdiek/aliascnt.dtx b/macros/latex/contrib/oberdiek/aliascnt.dtx index 60289eaeaf..47bfec1ee2 100644 --- a/macros/latex/contrib/oberdiek/aliascnt.dtx +++ b/macros/latex/contrib/oberdiek/aliascnt.dtx @@ -530,7 +530,7 @@ and the derived files % \bibitem{remreset} % David Carlisle: \textit{The \xpackage{remreset} package}; % 1997/09/28; -% \CTAN{macros/latex/contrib/carlisle/remreset.sty}. +% \CTANpkg{remreset}. % % \bibitem{hyperref} % Sebastian Rahtz, Heiko Oberdiek: diff --git a/macros/latex/contrib/oberdiek/aliascnt.pdf b/macros/latex/contrib/oberdiek/aliascnt.pdf index 5fc66906c5..81d6089175 100644 Binary files a/macros/latex/contrib/oberdiek/aliascnt.pdf and b/macros/latex/contrib/oberdiek/aliascnt.pdf differ diff --git a/macros/latex/contrib/oberdiek/alphalph.pdf b/macros/latex/contrib/oberdiek/alphalph.pdf index 5f7559119b..91dc509bc1 100644 Binary files a/macros/latex/contrib/oberdiek/alphalph.pdf and b/macros/latex/contrib/oberdiek/alphalph.pdf differ diff --git a/macros/latex/contrib/oberdiek/askinclude.dtx b/macros/latex/contrib/oberdiek/askinclude.dtx index aa249c79fd..0fcab173eb 100644 --- a/macros/latex/contrib/oberdiek/askinclude.dtx +++ b/macros/latex/contrib/oberdiek/askinclude.dtx @@ -232,14 +232,14 @@ and the derived files title={makematch.sty: Pattern matching with wildcards}, date={2007-02-23}, version={1.7925}, - url={\CTANpkg{makematch}}, + url={https://ctan.org/pkg/qstest}, urldate={2011-12-02}, } @manual{excludeonly, author={Luecking, Daniel H. and Arseneau, Donald}, title={The excludeonly package}, date={2003-03-14}, - url={\CTANpkg{excludeonly}}, + url={https://ctan.org/pkg/excludeonly}, urldate={2011-12-02}, } % diff --git a/macros/latex/contrib/oberdiek/askinclude.pdf b/macros/latex/contrib/oberdiek/askinclude.pdf index fac4008a47..166088b282 100644 Binary files a/macros/latex/contrib/oberdiek/askinclude.pdf and b/macros/latex/contrib/oberdiek/askinclude.pdf differ diff --git a/macros/latex/contrib/oberdiek/atenddvi.dtx b/macros/latex/contrib/oberdiek/atenddvi.dtx deleted file mode 100644 index b1b15af7ab..0000000000 --- a/macros/latex/contrib/oberdiek/atenddvi.dtx +++ /dev/null @@ -1,550 +0,0 @@ -% \iffalse meta-comment -% -% File: atenddvi.dtx -% Version: 2016/05/16 v1.2 -% Info: At end DVI hook -% -% Copyright (C) -% 2007 Heiko Oberdiek -% 2016-2019 Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either -% version 1.3c of this license or (at your option) any later -% version. This version of this license is in -% https://www.latex-project.org/lppl/lppl-1-3c.txt -% and the latest version of this license is in -% https://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". -% -% The Current Maintainers of this work are -% Heiko Oberdiek and the Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues -% -% This work consists of the main source file atenddvi.dtx -% and the derived files -% atenddvi.sty, atenddvi.pdf, atenddvi.ins, atenddvi.drv. -% -% Distribution: -% CTAN:macros/latex/contrib/oberdiek/atenddvi.dtx -% CTAN:macros/latex/contrib/oberdiek/atenddvi.pdf -% -% Unpacking: -% (a) If atenddvi.ins is present: -% tex atenddvi.ins -% (b) Without atenddvi.ins: -% tex atenddvi.dtx -% (c) If you insist on using LaTeX -% latex \let\install=y\input{atenddvi.dtx} -% (quote the arguments according to the demands of your shell) -% -% Documentation: -% (a) If atenddvi.drv is present: -% latex atenddvi.drv -% (b) Without atenddvi.drv: -% latex atenddvi.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 atenddvi.dtx -% makeindex -s gind.ist atenddvi.idx -% pdflatex atenddvi.dtx -% makeindex -s gind.ist atenddvi.idx -% pdflatex atenddvi.dtx -% -% Installation: -% TDS:tex/latex/oberdiek/atenddvi.sty -% TDS:doc/latex/oberdiek/atenddvi.pdf -% TDS:source/latex/oberdiek/atenddvi.dtx -% -%<*ignore> -\begingroup - \catcode123=1 % - \catcode125=2 % - \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: atenddvi 2016/05/16 v1.2 At end DVI hook (HO)} -\Msg{************************************************************************} - -\keepsilent -\askforoverwritefalse - -\let\MetaPrefix\relax -\preamble - -This is a generated file. - -Project: atenddvi -Version: 2016/05/16 v1.2 - -Copyright (C) - 2007 Heiko Oberdiek - 2016-2019 Oberdiek Package Support Group - -This work may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either -version 1.3c of this license or (at your option) any later -version. This version of this license is in - https://www.latex-project.org/lppl/lppl-1-3c.txt -and the latest version of this license is in - https://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". - -The Current Maintainers of this work are -Heiko Oberdiek and the Oberdiek Package Support Group -https://github.com/ho-tex/oberdiek/issues - - -This work consists of the main source file atenddvi.dtx -and the derived files - atenddvi.sty, atenddvi.pdf, atenddvi.ins, atenddvi.drv. - -\endpreamble -\let\MetaPrefix\DoubleperCent - -\generate{% - \file{atenddvi.ins}{\from{atenddvi.dtx}{install}}% - \file{atenddvi.drv}{\from{atenddvi.dtx}{driver}}% - \usedir{tex/latex/oberdiek}% - \file{atenddvi.sty}{\from{atenddvi.dtx}{package}}% -} - -\catcode32=13\relax% active space -\let =\space% -\Msg{************************************************************************} -\Msg{*} -\Msg{* To finish the installation you have to move the following} -\Msg{* file into a directory searched by TeX:} -\Msg{*} -\Msg{* atenddvi.sty} -\Msg{*} -\Msg{* To produce the documentation run the file `atenddvi.drv'} -\Msg{* through LaTeX.} -\Msg{*} -\Msg{* Happy TeXing!} -\Msg{*} -\Msg{************************************************************************} - -\endbatchfile -% -%<*ignore> -\fi -% -%<*driver> -\NeedsTeXFormat{LaTeX2e} -\ProvidesFile{atenddvi.drv}% - [2016/05/16 v1.2 At end DVI hook (HO)]% -\documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/11/22] -\begin{document} - \DocInput{atenddvi.dtx}% -\end{document} -% -% \fi -% -% -% -% \GetFileInfo{atenddvi.drv} -% -% \title{The \xpackage{atenddvi} package} -% \date{2016/05/16 v1.2} -% \author{Heiko Oberdiek\thanks -% {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}} -% -% \maketitle -% -% \begin{abstract} -% \LaTeX\ offers \cs{AtBeginDvi}. This package \xpackage{atenddvi} -% provides the counterpart \cs{AtEndDvi}. The execution of its -% argument is delayed to the end of the document at the end of the -% last page. Thus \cs{special} and \cs{write} remain effective, because -% they are put into the last page. This is the main difference -% to \cs{AtEndDocument}. -% \end{abstract} -% -% \tableofcontents -% -% \section{Documentation} -% -% \begin{declcs}{AtEndDvi} \M{code} -% \end{declcs} -% Macro \cs{AtEndDvi} provides a hook mechanism to put \meta{code} -% at the end of the last output page. It is the logical counterpart -% to \cs{AtBeginDvi}. Despite the name the output type DVI, PDF or whatever -% does not matter. -% -% Unlike \cs{AtBeginDvi} the \meta{code} is not put in a box and -% therefore executed immediately. The hook for \cs{AtEndDvi} is based on -% a macro similar to \cs{AtBeginDocument} or \cs{AtEndDocument}. The -% execution of \meta{code} is delayed until the hook is executed on -% the last page. -% -% Commands such as \cs{special} or \cs{write} (not the \cs{immediate} -% variant) must go as nodes into the contents of a page to have the -% desired effect. -% When the hook for \cs{AtEndDocument} is executed, the last intended -% page may already be shipped out. Therefore \cs{special} or \cs{write} -% cannot be used in a reliable way without generating new page. -% -% This gap is closed by \cs{AtEndDvi} of this package \xpackage{atenddvi}. -% If the document is compiled the first time, the package remembers -% the last page in a reference. In the sceond run, it puts the hook -% on the page that has been detected in the previous run as last page. -% The package detectes if the number of pages has changed, and then -% generates a warning to rerun \LaTeX. -% -% \StopEventually{ -% } -% -% \section{Implementation} -% -% \begin{macrocode} -%<*package> -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{atenddvi}% - [2016/05/16 v1.2 At end DVI hook (HO)]% -% \end{macrocode} -% -% Load the required packages -% \begin{macrocode} -\RequirePackage{zref-abspage,zref-lastpage}[2007/03/19] -\RequirePackage{atbegshi} -% \end{macrocode} -% -% \begin{macro}{\AtEndDvi@Hook} -% Macro \cs{AtEndDvi@Hook} is the data storage macro -% for the code that is executed later at end of the last page. -% \begin{macrocode} -\let\AtEndDvi@Hook\@empty -% \end{macrocode} -% \end{macro} -% \begin{macro}{\AtEndDvi} -% Macro \cs{AtEndDvi} is called in the same way as -% \cs{AtBeginDocument}. The argument is added to the hook macro. -% \begin{macrocode} -\newcommand*{\AtEndDvi}{% - \g@addto@macro\AtEndDvi@Hook -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\AtEndDvi@AtBeginShipout} -% \begin{macrocode} -\def\AtEndDvi@AtBeginShipout{% - \begingroup -% \end{macrocode} -% The reference `LastPage' is marked used. If the reference -% is not yet defined, then the user gets the warning because of -% the undefined reference and the rerun warning at the end of -% the compile run. However, we do not need a warning each page, -% the first page is enough. -% \begin{macrocode} - \ifnum\value{abspage}=1 % - \zref@refused{LastPage}% - \fi -% \end{macrocode} -% The current absolute page number is compared with the -% absolute page number of the reference `LastPage'. -% \begin{macrocode} - \ifnum\zref@extractdefault{LastPage}{abspage}{0}=\value{abspage}% -% \end{macrocode} -% \begin{macro}{\AtEndDvi@LastPage} -% We found the right page and remember it in a macro. -% \begin{macrocode} - \xdef\AtEndDvi@LastPage{\number\value{abspage}}% -% \end{macrocode} -% \end{macro} -% The hook of \cs{AtEndDvi} is now put on the last page -% after the contents of the page. -% \begin{macrocode} - \global\setbox\AtBeginShipoutBox=\vbox{% - \hbox{% - \box\AtBeginShipoutBox - \setbox\AtBeginShipoutBox=\hbox{% - \begingroup - \AtEndDvi@Hook - \endgroup - }% - \wd\AtBeginShipoutBox=\z@ - \ht\AtBeginShipoutBox=\z@ - \dp\AtBeginShipoutBox=\z@ - \box\AtBeginShipoutBox - }% - }% -% \end{macrocode} -% We do not need the every page hook. -% \begin{macrocode} - \global\let\AtEndDvi@AtBeginShipout\@empty -% \end{macrocode} -% The hook is consumed, \cs{AtEndDvi} does not have an effect. -% \begin{macrocode} - \global\let\AtEndDvi\@gobble -% \end{macrocode} -% Make a protocol entry, which page is used by this package -% as last page. -% \begin{macrocode} - \let\on@line\@empty - \PackageInfo{atenddvi}{Last page = \AtEndDvi@LastPage}% - \fi - \endgroup -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\AtEndDvi@AtBeginDocument} -% In order to get as late as possible in the chain of the -% every shipout hook, the call of \cs{AtBeginShipout} is delayed. -% \begin{macrocode} -\def\AtEndDvi@AtBeginDocument{% - \AtBeginShipout{\AtEndDvi@AtBeginShipout}% -% \end{macrocode} -% \begin{macro}{\AtEndDvi@Check} -% After \cs{AtEndDocument} \LaTeX\ reads its \xfile{.aux} files -% again. Code in \cs{AtEndDocument} could generate additional -% pages. This is unlikely by code in the \xfile{.aux} file, -% thus we use the \xfile{.aux} file to run macro -% \cs{AtEndDvi@Check} for checking the last page. -% -% During the first reading of the \xfile{.aux} file, -% \cs{AtEndDvi@Check} is disabled, its real meaning -% is assigned afterwards. -% \begin{macrocode} - \if@filesw - \immediate\write\@mainaux{% - \string\providecommand\string\AtEndDvi@Check{}% - }% - \immediate\write\@mainaux{% - \string\AtEndDvi@Check - }% - \fi - \let\AtEndDvi@Check\AtEndDvi@CheckImpl -} -% \end{macrocode} -% \end{macro} -% \begin{macrocode} -\AtBeginDocument{\AtEndDvi@AtBeginDocument} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\AtEndDvi@CheckImpl} -% First check is whether a last page was found at all. -% Secondly the found last page is compared with the real last page. -% \begin{macrocode} -\def\AtEndDvi@CheckImpl{% - \@ifundefined{AtEndDvi@LastPage}{% - \PackageWarningNoLine{atenddvi}{% - Rerun LaTeX, last page not yet found% - }% - }{% - \ifnum\AtEndDvi@LastPage=\value{abspage}% - \else - \PackageWarningNoLine{atenddvi}{% - Rerun LaTeX, last page has changed% - }% - \fi - }% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macrocode} -% -% \end{macrocode} -% -% \section{Installation} -% -% \subsection{Download} -% -% \paragraph{Package.} This package is available on -% CTAN\footnote{\CTANpkg{atenddvi}}: -% \begin{description} -% \item[\CTAN{macros/latex/contrib/oberdiek/atenddvi.dtx}] The source file. -% \item[\CTAN{macros/latex/contrib/oberdiek/atenddvi.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[\CTANinstall{install/macros/latex/contrib/oberdiek.tds.zip}] -% \end{description} -% \emph{TDS} refers to the standard ``A Directory Structure -% for \TeX\ Files'' (\CTANpkg{tds}). 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} -% -% \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 atenddvi.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@{}} -% atenddvi.sty & tex/latex/oberdiek/atenddvi.sty\\ -% atenddvi.pdf & doc/latex/oberdiek/atenddvi.pdf\\ -% atenddvi.dtx & source/latex/oberdiek/atenddvi.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 -% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh -% these. For example, \TeX\,Live\ users run \verb|texhash| or -% \verb|mktexlsr|. -% -% \subsection{Some details for the interested} -% -% \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{atenddvi.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 atenddvi.dtx -%makeindex -s gind.ist atenddvi.idx -%pdflatex atenddvi.dtx -%makeindex -s gind.ist atenddvi.idx -%pdflatex atenddvi.dtx -%\end{verbatim} -% \end{quote} -% -% \begin{History} -% \begin{Version}{2007/03/20 v1.0} -% \item -% First version. -% \end{Version} -% \begin{Version}{2007/04/17 v1.1} -% \item -% Package \xpackage{atbegshi} replaces package \xpackage{everyshi}. -% \end{Version} -% \begin{Version}{2016/05/16 v1.2} -% \item -% Documentation updates. -% \end{Version} -% \end{History} -% -% \PrintIndex -% -% \Finale -\endinput diff --git a/macros/latex/contrib/oberdiek/atenddvi.pdf b/macros/latex/contrib/oberdiek/atenddvi.pdf deleted file mode 100644 index 24fbfaed17..0000000000 Binary files a/macros/latex/contrib/oberdiek/atenddvi.pdf and /dev/null differ diff --git a/macros/latex/contrib/oberdiek/auxhook.pdf b/macros/latex/contrib/oberdiek/auxhook.pdf index 03097c28c7..c40cf1c4b9 100644 Binary files a/macros/latex/contrib/oberdiek/auxhook.pdf and b/macros/latex/contrib/oberdiek/auxhook.pdf differ diff --git a/macros/latex/contrib/oberdiek/bigintcalc.pdf b/macros/latex/contrib/oberdiek/bigintcalc.pdf index 35efdbd674..fbcbd5f2f7 100644 Binary files a/macros/latex/contrib/oberdiek/bigintcalc.pdf and b/macros/latex/contrib/oberdiek/bigintcalc.pdf differ diff --git a/macros/latex/contrib/oberdiek/bitset.pdf b/macros/latex/contrib/oberdiek/bitset.pdf index 63ca003658..297aada2e4 100644 Binary files a/macros/latex/contrib/oberdiek/bitset.pdf and b/macros/latex/contrib/oberdiek/bitset.pdf differ diff --git a/macros/latex/contrib/oberdiek/bmpsize.pdf b/macros/latex/contrib/oberdiek/bmpsize.pdf index bd0bbf6032..d80f1cb3b8 100644 Binary files a/macros/latex/contrib/oberdiek/bmpsize.pdf and b/macros/latex/contrib/oberdiek/bmpsize.pdf differ diff --git a/macros/latex/contrib/oberdiek/catchfile.pdf b/macros/latex/contrib/oberdiek/catchfile.pdf index 79c8e5ec02..1b11040757 100644 Binary files a/macros/latex/contrib/oberdiek/catchfile.pdf and b/macros/latex/contrib/oberdiek/catchfile.pdf differ diff --git a/macros/latex/contrib/oberdiek/centernot.pdf b/macros/latex/contrib/oberdiek/centernot.pdf index c2bf34846a..abf3e1e0fd 100644 Binary files a/macros/latex/contrib/oberdiek/centernot.pdf and b/macros/latex/contrib/oberdiek/centernot.pdf differ diff --git a/macros/latex/contrib/oberdiek/chemarr.pdf b/macros/latex/contrib/oberdiek/chemarr.pdf index a6494f979f..01afbeb6f0 100644 Binary files a/macros/latex/contrib/oberdiek/chemarr.pdf and b/macros/latex/contrib/oberdiek/chemarr.pdf differ diff --git a/macros/latex/contrib/oberdiek/classlist.pdf b/macros/latex/contrib/oberdiek/classlist.pdf index 7aeefafc1f..00d23ad196 100644 Binary files a/macros/latex/contrib/oberdiek/classlist.pdf and b/macros/latex/contrib/oberdiek/classlist.pdf differ diff --git a/macros/latex/contrib/oberdiek/colonequals.pdf b/macros/latex/contrib/oberdiek/colonequals.pdf index 827f29fa40..261d0c1251 100644 Binary files a/macros/latex/contrib/oberdiek/colonequals.pdf and b/macros/latex/contrib/oberdiek/colonequals.pdf differ diff --git a/macros/latex/contrib/oberdiek/dvipscol.pdf b/macros/latex/contrib/oberdiek/dvipscol.pdf index 9b9773d2d4..b0299a1019 100644 Binary files a/macros/latex/contrib/oberdiek/dvipscol.pdf and b/macros/latex/contrib/oberdiek/dvipscol.pdf differ diff --git a/macros/latex/contrib/oberdiek/engord.pdf b/macros/latex/contrib/oberdiek/engord.pdf index 212962f233..a62c06bbfb 100644 Binary files a/macros/latex/contrib/oberdiek/engord.pdf and b/macros/latex/contrib/oberdiek/engord.pdf differ diff --git a/macros/latex/contrib/oberdiek/enparen.pdf b/macros/latex/contrib/oberdiek/enparen.pdf index dfd4019199..1982d8e4d4 100644 Binary files a/macros/latex/contrib/oberdiek/enparen.pdf and b/macros/latex/contrib/oberdiek/enparen.pdf differ diff --git a/macros/latex/contrib/oberdiek/eolgrab.pdf b/macros/latex/contrib/oberdiek/eolgrab.pdf index 9040b72738..aa92822406 100644 Binary files a/macros/latex/contrib/oberdiek/eolgrab.pdf and b/macros/latex/contrib/oberdiek/eolgrab.pdf differ diff --git a/macros/latex/contrib/oberdiek/etexcmds.pdf b/macros/latex/contrib/oberdiek/etexcmds.pdf index 4015fb4ca4..ec6137b3f2 100644 Binary files a/macros/latex/contrib/oberdiek/etexcmds.pdf and b/macros/latex/contrib/oberdiek/etexcmds.pdf differ diff --git a/macros/latex/contrib/oberdiek/fibnum.pdf b/macros/latex/contrib/oberdiek/fibnum.pdf index a4c0823fe5..d264ee2676 100644 Binary files a/macros/latex/contrib/oberdiek/fibnum.pdf and b/macros/latex/contrib/oberdiek/fibnum.pdf differ diff --git a/macros/latex/contrib/oberdiek/flags.pdf b/macros/latex/contrib/oberdiek/flags.pdf index 86af3a2b8a..f565eb626e 100644 Binary files a/macros/latex/contrib/oberdiek/flags.pdf and b/macros/latex/contrib/oberdiek/flags.pdf differ diff --git a/macros/latex/contrib/oberdiek/gettitlestring.pdf b/macros/latex/contrib/oberdiek/gettitlestring.pdf index 96c4bc13ae..2e26d964f3 100644 Binary files a/macros/latex/contrib/oberdiek/gettitlestring.pdf and b/macros/latex/contrib/oberdiek/gettitlestring.pdf differ diff --git a/macros/latex/contrib/oberdiek/hologo.dtx b/macros/latex/contrib/oberdiek/hologo.dtx deleted file mode 100644 index 0985ff21d9..0000000000 --- a/macros/latex/contrib/oberdiek/hologo.dtx +++ /dev/null @@ -1,4786 +0,0 @@ -% \iffalse meta-comment -% -% File: hologo.dtx -% Version: 2017/05/01 v1.13 -% Info: A logo collection with bookmark support -% -% Copyright (C) -% 2010-2012 Heiko Oberdiek -% 2016-2019 Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either -% version 1.3c of this license or (at your option) any later -% version. This version of this license is in -% https://www.latex-project.org/lppl/lppl-1-3c.txt -% and the latest version of this license is in -% https://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". -% -% The Current Maintainers of this work are -% Heiko Oberdiek and the Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues -% -% The Base Interpreter refers to any `TeX-Format', -% because some files are installed in TDS:tex/generic//. -% -% This work consists of the main source file hologo.dtx -% and the derived files -% hologo.sty, hologo.pdf, hologo.ins, hologo.drv, hologo-example.tex, -% hologo-test1.tex, hologo-test-spacefactor.tex, -% hologo-test-list.tex. -% -% Distribution: -% CTAN:macros/latex/contrib/oberdiek/hologo.dtx -% CTAN:macros/latex/contrib/oberdiek/hologo.pdf -% -% Unpacking: -% (a) If hologo.ins is present: -% tex hologo.ins -% (b) Without hologo.ins: -% tex hologo.dtx -% (c) If you insist on using LaTeX -% latex \let\install=y\input{hologo.dtx} -% (quote the arguments according to the demands of your shell) -% -% Documentation: -% (a) If hologo.drv is present: -% latex hologo.drv -% (b) Without hologo.drv: -% latex hologo.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 hologo.dtx -% makeindex -s gind.ist hologo.idx -% pdflatex hologo.dtx -% makeindex -s gind.ist hologo.idx -% pdflatex hologo.dtx -% -% Installation: -% TDS:tex/generic/oberdiek/hologo.sty -% TDS:doc/latex/oberdiek/hologo.pdf -% TDS:doc/latex/oberdiek/example/hologo-example.tex -% TDS:source/latex/oberdiek/hologo.dtx -% -%<*ignore> -\begingroup - \catcode123=1 % - \catcode125=2 % - \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: hologo 2017/05/01 v1.13 A logo collection with bookmark support (HO)} -\Msg{************************************************************************} - -\keepsilent -\askforoverwritefalse - -\let\MetaPrefix\relax -\preamble - -This is a generated file. - -Project: hologo -Version: 2017/05/01 v1.13 - -Copyright (C) - 2010-2012 Heiko Oberdiek - 2016-2019 Oberdiek Package Support Group - -This work may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either -version 1.3c of this license or (at your option) any later -version. This version of this license is in - https://www.latex-project.org/lppl/lppl-1-3c.txt -and the latest version of this license is in - https://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". - -The Current Maintainers of this work are -Heiko Oberdiek and the Oberdiek Package Support Group -https://github.com/ho-tex/oberdiek/issues - - -The Base Interpreter refers to any `TeX-Format', -because some files are installed in TDS:tex/generic//. - -This work consists of the main source file hologo.dtx -and the derived files - hologo.sty, hologo.pdf, hologo.ins, hologo.drv, hologo-example.tex, - hologo-test1.tex, hologo-test-spacefactor.tex, - hologo-test-list.tex. - -\endpreamble -\let\MetaPrefix\DoubleperCent - -\generate{% - \file{hologo.ins}{\from{hologo.dtx}{install}}% - \file{hologo.drv}{\from{hologo.dtx}{driver}}% - \usedir{tex/generic/oberdiek}% - \file{hologo.sty}{\from{hologo.dtx}{package}}% - \usedir{doc/latex/oberdiek/example}% - \file{hologo-example.tex}{\from{hologo.dtx}{example}}% -% \usedir{doc/latex/oberdiek/test}% -% \file{hologo-test1.tex}{\from{hologo.dtx}{test1}}% -% \file{hologo-test-spacefactor.tex}{\from{hologo.dtx}{test-spacefactor}}% -% \file{hologo-test-list.tex}{\from{hologo.dtx}{test-list}}% -} - -\catcode32=13\relax% active space -\let =\space% -\Msg{************************************************************************} -\Msg{*} -\Msg{* To finish the installation you have to move the following} -\Msg{* file into a directory searched by TeX:} -\Msg{*} -\Msg{* hologo.sty} -\Msg{*} -\Msg{* To produce the documentation run the file `hologo.drv'} -\Msg{* through LaTeX.} -\Msg{*} -\Msg{* Happy TeXing!} -\Msg{*} -\Msg{************************************************************************} - -\endbatchfile -% -%<*ignore> -\fi -% -%<*driver> -\NeedsTeXFormat{LaTeX2e} -\ProvidesFile{hologo.drv}% - [2017/05/01 v1.13 A logo collection with bookmark support (HO)]% -\documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/11/22] -\usepackage{hologo}[2017/05/01] -\usepackage{longtable} -\usepackage{array} -\usepackage{paralist} -%\usepackage[T1]{fontenc} -%\usepackage{lmodern} -\begin{document} - \DocInput{hologo.dtx}% -\end{document} -% -% \fi -% -% -% -% \GetFileInfo{hologo.drv} -% -% \title{The \xpackage{hologo} package} -% \date{2017/05/01 v1.13} -% \author{Heiko Oberdiek\thanks -% {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}} -% -% \maketitle -% -% \begin{abstract} -% This package starts a collection of logos with support for bookmarks -% strings. -% \end{abstract} -% -% \tableofcontents -% -% \section{Documentation} -% -% \subsection{Logo macros} -% -% \begin{declcs}{hologo} \M{name} -% \end{declcs} -% Macro \cs{hologo} sets the logo with name \meta{name}. -% The following table shows the supported names. -% -% \begingroup -% \def\hologoEntry#1#2#3{^^A -% #1&\hologoLogoSetup{#1}{variant=#2}\hologo{#1}\tabularnewline -% } -% \begin{longtable}{>{\ttfamily}l>{\ttfamily}lll} -% \rmfamily\bfseries{name} & \rmfamily\bfseries variant -% & \bfseries logo & \bfseries since\\ -% \hline -% \endhead -% \hologoList -% \end{longtable} -% \endgroup -% -% \begin{declcs}{Hologo} \M{name} -% \end{declcs} -% Macro \cs{Hologo} starts the logo \meta{name} with an uppercase -% letter. As an exception small greek letters are not converted -% to uppercase. Examples, see \hologo{eTeX} and \hologo{ExTeX}. -% -% \subsection{Setup macros} -% -% The package does not support package options, but the following -% setup macros can be used to set options. -% -% \begin{declcs}{hologoSetup} \M{key value list} -% \end{declcs} -% Macro \cs{hologoSetup} sets global options. -% -% \begin{declcs}{hologoLogoSetup} \M{logo} \M{key value list} -% \end{declcs} -% Some options can also be used to configure a logo. -% These settings take precedence over global option settings. -% -% \subsection{Options}\label{sec:options} -% -% There are boolean and string options: -% \begin{description} -% \item[Boolean option:] -% It takes |true| or |false| -% as value. If the value is omitted, then |true| is used. -% \item[String option:] -% A value must be given as string. (But the string might be empty.) -% \end{description} -% The following options can be used both in \cs{hologoSetup} -% and \cs{hologoLogoSetup}: -% \begin{description} -% \def\entry#1{\item[\xoption{#1}:]} -% \entry{break} -% enables or disables line breaks inside the logo. This setting is -% refined by options \xoption{hyphenbreak}, \xoption{spacebreak} -% or \xoption{discretionarybreak}. -% Default is |false|. -% \entry{hyphenbreak} -% enables or disables the line break right after the hyphen character. -% \entry{spacebreak} -% enables or disables line breaks at space characters. -% \entry{discretionarybreak} -% enables or disables line breaks at hyphenation points -% (inserted by \cs{-}). -% \end{description} -% Macro \cs{hologoLogoSetup} also knows: -% \begin{description} -% \item[\xoption{variant}:] -% This is a string option. It specifies a variant of a logo that -% must exist. An empty string selects the package default variant. -% \end{description} -% Example: -% \begin{quote} -% |\hologoSetup{break=false}|\\ -% |\hologoLogoSetup{plainTeX}{variant=hyphen,hyphenbreak}|\\ -% Then ``plain-\TeX'' contains one break point after the hyphen. -% \end{quote} -% -% \subsection{Driver options} -% -% Sometimes graphical operations are needed to construct some -% glyphs (e.g.\ \hologo{XeTeX}). If package \xpackage{graphics} -% or package \xpackage{pgf} are found, then the macros are taken -% from there. Otherwise the packge defines its own operations -% and therefore needs the driver information. Many drivers are -% detected automatically (\hologo{pdfTeX}/\hologo{LuaTeX} -% in PDF mode, \hologo{XeTeX}, \hologo{VTeX}). These have precedence -% over a driver option. The driver can be given as package option -% or using \cs{hologoDriverSetup}. -% The following list contains the recognized driver options: -% \begin{itemize} -% \item \xoption{pdftex}, \xoption{luatex} -% \item \xoption{dvipdfm}, \xoption{dvipdfmx} -% \item \xoption{dvips}, \xoption{dvipsone}, \xoption{xdvi} -% \item \xoption{xetex} -% \item \xoption{vtex} -% \end{itemize} -% The left driver of a line is the driver name that is used internally. -% The following names are aliases for drivers that use the -% same method. Therefore the entry in the \xext{log} file for -% the used driver prints the internally used driver name. -% \begin{description} -% \item[\xoption{driverfallback}:] -% This option expects a driver that is used, -% if the driver could not be detected automatically. -% \end{description} -% -% \begin{declcs}{hologoDriverSetup} \M{driver option} -% \end{declcs} -% The driver can also be configured after package loading -% using \cs{hologoDriverSetup}, also the way for \hologo{plainTeX} -% to setup the driver. -% -% \subsection{Font setup} -% -% Some logos require a special font, but should also be usable by -% \hologo{plainTeX}. Therefore the package provides some ways -% to influence the font settings. The options below -% take font settings as values. Both font commands -% such as \cs{sffamily} and macros that take one argument -% like \cs{textsf} can be used. -% -% \begin{declcs}{hologoFontSetup} \M{key value list} -% \end{declcs} -% Macro \cs{hologoFontSetup} sets the fonts for all logos. -% Supported keys: -% \begin{description} -% \def\entry#1{\item[\xoption{#1}:]} -% \entry{general} -% This font is used for all logos. The default is empty. -% That means no special font is used. -% \entry{bibsf} -% This font is used for -% {\hologoLogoSetup{BibTeX}{variant=sf}\hologo{BibTeX}} -% with variant \xoption{sf}. -% \entry{rm} -% This font is a serif font. It is used for \hologo{ExTeX}. -% \entry{sc} -% This font specifies a small caps font. It is used for -% {\hologoLogoSetup{BibTeX}{variant=sc}\hologo{BibTeX}} -% with variant \xoption{sc}. -% \entry{sf} -% This font specifies a sans serif font. The default -% is \cs{sffamily}, then \cs{sf} is tried. Otherwise -% a warning is given. It is used by \hologo{KOMAScript}. -% \entry{sy} -% This is the font for math symbols (e.g. cmsy). -% It is used by \hologo{AmS}, \hologo{NTS}, \hologo{ExTeX}. -% \entry{logo} -% \hologo{METAFONT} and \hologo{METAPOST} are using that font. -% In \hologo{LaTeX} \cs{logofamily} is used and -% the definitions of package \xpackage{mflogo} are used -% if the package is not loaded. -% Otherwise the \cs{tenlogo} is used and defined -% if it does not already exists. -% \end{description} -% -% \begin{declcs}{hologoLogoFontSetup} \M{logo} \M{key value list} -% \end{declcs} -% Fonts can also be set for a logo or logo component separately, -% see the following list. -% The keys are the same as for \cs{hologoFontSetup}. -% -% \begin{longtable}{>{\ttfamily}l>{\sffamily}ll} -% \meta{logo} & keys & result\\ -% \hline -% \endhead -% BibTeX & bibsf & {\hologoLogoSetup{BibTeX}{variant=sf}\hologo{BibTeX}}\\[.5ex] -% BibTeX & sc & {\hologoLogoSetup{BibTeX}{variant=sc}\hologo{BibTeX}}\\[.5ex] -% ExTeX & rm & \hologo{ExTeX}\\ -% SliTeX & rm & \hologo{SliTeX}\\[.5ex] -% AmS & sy & \hologo{AmS}\\ -% ExTeX & sy & \hologo{ExTeX}\\ -% NTS & sy & \hologo{NTS}\\[.5ex] -% KOMAScript & sf & \hologo{KOMAScript}\\[.5ex] -% METAFONT & logo & \hologo{METAFONT}\\ -% METAPOST & logo & \hologo{METAPOST}\\[.5ex] -% SliTeX & sc \hologo{SliTeX} -% \end{longtable} -% -% \subsubsection{Font order} -% -% For all logos the font \xoption{general} is applied first. -% Example: -%\begin{quote} -%|\hologoFontSetup{general=\color{red}}| -%\end{quote} -% will print red logos. -% Then if the font uses a special font \xoption{sf}, for example, -% the font is applied that is setup by \cs{hologoLogoFontSetup}. -% If this font is not setup, then the common font setup -% by \cs{hologoFontSetup} is used. Otherwise a warning is given, -% that there is no font configured. -% -% \subsection{Additional user macros} -% -% Usually a variant of a logo is configured by using -% \cs{hologoLogoSetup}, because it is bad style to mix -% different variants of the same logo in the same text. -% There the following macros are a convenience for testing. -% -% \begin{declcs}{hologoVariant} \M{name} \M{variant}\\ -% \cs{HologoVariant} \M{name} \M{variant} -% \end{declcs} -% Logo \meta{name} is set using \meta{variant} that specifies -% explicitely which variant of the macro is used. If the argument -% is empty, then the default form of the logo is used -% (configurable by \cs{hologoLogoSetup}). -% -% \cs{HologoVariant} is used if the logo is set in a context -% that needs an uppercase first letter (beginning of a sentence, \dots). -% -% \begin{declcs}{hologoList}\\ -% \cs{hologoEntry} \M{logo} \M{variant} \M{since} -% \end{declcs} -% Macro \cs{hologoList} contains all logos that are provided -% by the package including variants. The list consists of calls -% of \cs{hologoEntry} with three arguments starting with the -% logo name \meta{logo} and its variant \meta{variant}. An empty -% variant means the current default. Argument \meta{since} specifies -% with version of the package \xpackage{hologo} is needed to get -% the logo. If the logo is fixed, then the date gets updated. -% Therefore the date \meta{since} is not exactly the date of -% the first introduction, but rather the date of the latest fix. -% -% Before \cs{hologoList} can be used, macro \cs{hologoEntry} needs -% a definition. The example file in section \ref{sec:example} -% shows applications of \cs{hologoList}. -% -% \subsection{Supported contexts} -% -% Macros \cs{hologo} and friends support special contexts: -% \begin{itemize} -% \item \hologo{LaTeX}'s protection mechanism. -% \item Bookmarks of package \xpackage{hyperref}. -% \item Package \xpackage{tex4ht}. -% \item The macros can be used inside \cs{csname} constructs, -% if \cs{ifincsname} is available (\hologo{pdfTeX}, \hologo{XeTeX}, -% \hologo{LuaTeX}). -% \end{itemize} -% -% \subsection{Example} -% \label{sec:example} -% -% The following example prints the logos in different fonts. -% \begin{macrocode} -%<*example> -%<{\bfseries}ll} - \textbf{font} & \textbf{Font name}\\ - \hline - lmr & Latin Modern Roman\\ - lmss & Latin Modern Sans\\ - qtm & \TeX\ Gyre Termes\\ - qhv & \TeX\ Gyre Heros\\ - qpl & \TeX\ Gyre Pagella\\ - \end{longtable} - - % Logo list with logos in different fonts - - \begingroup - \newcommand*{\SetVariant}[2]{% - \ifx\\#2\\% - \else - \hologoLogoSetup{#1}{variant=#2}% - \fi - }% - \newcommand*{\hologoEntry}[3]{% - \SetVariant{#1}{#2}% - \raisebox{1em}[0pt][0pt]{\hypertarget{#1@#2}{}}% - \bookmark[% - dest={#1@#2},% - ]{% - #1\ifx\\#2\\\else\space(#2)\fi: \Hologo{#1}, \hologo{#1} % - [Unicode]% - }% - \hypersetup{unicode=false}% - \bookmark[% - dest={#1@#2},% - ]{% - #1\ifx\\#2\\\else\space(#2)\fi: \Hologo{#1}, \hologo{#1} % - [PDFDocEncoding]% - }% - \texttt{#1}% - &% - \texttt{#2}% - &% - \Hologo{#1}% - &% - \SetVariant{#1}{#2}% - \hologo{#1}% - &% - \SetVariant{#1}{#2}% - \fontfamily{qtm}\selectfont - \hologo{#1}% - &% - \SetVariant{#1}{#2}% - \fontfamily{qpl}\selectfont - \hologo{#1}% - &% - \SetVariant{#1}{#2}% - \textsf{\hologo{#1}}% - &% - \SetVariant{#1}{#2}% - \fontfamily{qhv}\selectfont - \hologo{#1}% - \tabularnewline - }% - \begin{longtable}{llllllll}% - \textbf{\textit{logo}} & \textbf{\textit{variant}} & - \texttt{\string\Hologo} & - \textbf{lmr} & \textbf{qtm} & \textbf{qpl} & - \textbf{lmss} & \textbf{qhv} - \tabularnewline - \hline - \endhead - \hologoList - \end{longtable}% - \endgroup - -\end{landscape} -\end{document} -%verbatim -% -% \end{macrocode} -% -% \StopEventually{ -% } -% -% \section{Implementation} -% \begin{macrocode} -%<*package> -% \end{macrocode} -% Reload check, especially if the package is not used with \LaTeX. -% \begin{macrocode} -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode35=6 % # - \catcode39=12 % ' - \catcode44=12 % , - \catcode45=12 % - - \catcode46=12 % . - \catcode58=12 % : - \catcode64=11 % @ - \catcode123=1 % { - \catcode125=2 % } - \expandafter\let\expandafter\x\csname ver@hologo.sty\endcsname - \ifx\x\relax % plain-TeX, first loading - \else - \def\empty{}% - \ifx\x\empty % LaTeX, first loading, - % variable is initialized, but \ProvidesPackage not yet seen - \else - \expandafter\ifx\csname PackageInfo\endcsname\relax - \def\x#1#2{% - \immediate\write-1{Package #1 Info: #2.}% - }% - \else - \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% - \fi - \x{hologo}{The package is already loaded}% - \aftergroup\endinput - \fi - \fi -\endgroup% -% \end{macrocode} -% Package identification: -% \begin{macrocode} -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode35=6 % # - \catcode39=12 % ' - \catcode40=12 % ( - \catcode41=12 % ) - \catcode44=12 % , - \catcode45=12 % - - \catcode46=12 % . - \catcode47=12 % / - \catcode58=12 % : - \catcode64=11 % @ - \catcode91=12 % [ - \catcode93=12 % ] - \catcode123=1 % { - \catcode125=2 % } - \expandafter\ifx\csname ProvidesPackage\endcsname\relax - \def\x#1#2#3[#4]{\endgroup - \immediate\write-1{Package: #3 #4}% - \xdef#1{#4}% - }% - \else - \def\x#1#2[#3]{\endgroup - #2[{#3}]% - \ifx#1\@undefined - \xdef#1{#3}% - \fi - \ifx#1\relax - \xdef#1{#3}% - \fi - }% - \fi -\expandafter\x\csname ver@hologo.sty\endcsname -\ProvidesPackage{hologo}% - [2017/05/01 v1.13 A logo collection with bookmark support (HO)]% -% \end{macrocode} -% -% \begin{macrocode} -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode123=1 % { - \catcode125=2 % } - \catcode64=11 % @ - \def\x{\endgroup - \expandafter\edef\csname HOLOGO@AtEnd\endcsname{% - \endlinechar=\the\endlinechar\relax - \catcode13=\the\catcode13\relax - \catcode32=\the\catcode32\relax - \catcode35=\the\catcode35\relax - \catcode61=\the\catcode61\relax - \catcode64=\the\catcode64\relax - \catcode123=\the\catcode123\relax - \catcode125=\the\catcode125\relax - }% - }% -\x\catcode61\catcode48\catcode32=10\relax% -\catcode13=5 % ^^M -\endlinechar=13 % -\catcode35=6 % # -\catcode64=11 % @ -\catcode123=1 % { -\catcode125=2 % } -\def\TMP@EnsureCode#1#2{% - \edef\HOLOGO@AtEnd{% - \HOLOGO@AtEnd - \catcode#1=\the\catcode#1\relax - }% - \catcode#1=#2\relax -} -\TMP@EnsureCode{10}{12}% ^^J -\TMP@EnsureCode{33}{12}% ! -\TMP@EnsureCode{34}{12}% " -\TMP@EnsureCode{36}{3}% $ -\TMP@EnsureCode{38}{4}% & -\TMP@EnsureCode{39}{12}% ' -\TMP@EnsureCode{40}{12}% ( -\TMP@EnsureCode{41}{12}% ) -\TMP@EnsureCode{42}{12}% * -\TMP@EnsureCode{43}{12}% + -\TMP@EnsureCode{44}{12}% , -\TMP@EnsureCode{45}{12}% - -\TMP@EnsureCode{46}{12}% . -\TMP@EnsureCode{47}{12}% / -\TMP@EnsureCode{58}{12}% : -\TMP@EnsureCode{59}{12}% ; -\TMP@EnsureCode{60}{12}% < -\TMP@EnsureCode{62}{12}% > -\TMP@EnsureCode{63}{12}% ? -\TMP@EnsureCode{91}{12}% [ -\TMP@EnsureCode{93}{12}% ] -\TMP@EnsureCode{94}{7}% ^ (superscript) -\TMP@EnsureCode{95}{8}% _ (subscript) -\TMP@EnsureCode{96}{12}% ` -\TMP@EnsureCode{124}{12}% | -\edef\HOLOGO@AtEnd{% - \HOLOGO@AtEnd - \escapechar\the\escapechar\relax - \noexpand\endinput -} -\escapechar=92 % -% \end{macrocode} -% -% \subsection{Logo list} -% -% \begin{macro}{\hologoList} -% \begin{macrocode} -\def\hologoList{% - \hologoEntry{(La)TeX}{}{2011/10/01}% - \hologoEntry{AmSLaTeX}{}{2010/04/16}% - \hologoEntry{AmSTeX}{}{2010/04/16}% - \hologoEntry{biber}{}{2011/10/01}% - \hologoEntry{BibTeX}{}{2011/10/01}% - \hologoEntry{BibTeX}{sf}{2011/10/01}% - \hologoEntry{BibTeX}{sc}{2011/10/01}% - \hologoEntry{BibTeX8}{}{2011/11/22}% - \hologoEntry{ConTeXt}{}{2011/03/25}% - \hologoEntry{ConTeXt}{narrow}{2011/03/25}% - \hologoEntry{ConTeXt}{simple}{2011/03/25}% - \hologoEntry{emTeX}{}{2010/04/26}% - \hologoEntry{eTeX}{}{2010/04/08}% - \hologoEntry{ExTeX}{}{2011/10/01}% - \hologoEntry{HanTheThanh}{}{2011/11/29}% - \hologoEntry{iniTeX}{}{2011/10/01}% - \hologoEntry{KOMAScript}{}{2011/10/01}% - \hologoEntry{La}{}{2010/05/08}% - \hologoEntry{LaTeX}{}{2010/04/08}% - \hologoEntry{LaTeX2e}{}{2010/04/08}% - \hologoEntry{LaTeX3}{}{2010/04/24}% - \hologoEntry{LaTeXe}{}{2010/04/08}% - \hologoEntry{LaTeXML}{}{2011/11/22}% - \hologoEntry{LaTeXTeX}{}{2011/10/01}% - \hologoEntry{LuaLaTeX}{}{2010/04/08}% - \hologoEntry{LuaTeX}{}{2010/04/08}% - \hologoEntry{LyX}{}{2011/10/01}% - \hologoEntry{METAFONT}{}{2011/10/01}% - \hologoEntry{MetaFun}{}{2011/10/01}% - \hologoEntry{METAPOST}{}{2011/10/01}% - \hologoEntry{MetaPost}{}{2011/10/01}% - \hologoEntry{MiKTeX}{}{2011/10/01}% - \hologoEntry{NTS}{}{2011/10/01}% - \hologoEntry{OzMF}{}{2011/10/01}% - \hologoEntry{OzMP}{}{2011/10/01}% - \hologoEntry{OzTeX}{}{2011/10/01}% - \hologoEntry{OzTtH}{}{2011/10/01}% - \hologoEntry{PCTeX}{}{2011/10/01}% - \hologoEntry{pdfTeX}{}{2011/10/01}% - \hologoEntry{pdfLaTeX}{}{2011/10/01}% - \hologoEntry{PiC}{}{2011/10/01}% - \hologoEntry{PiCTeX}{}{2011/10/01}% - \hologoEntry{plainTeX}{}{2010/04/08}% - \hologoEntry{plainTeX}{space}{2010/04/16}% - \hologoEntry{plainTeX}{hyphen}{2010/04/16}% - \hologoEntry{plainTeX}{runtogether}{2010/04/16}% - \hologoEntry{SageTeX}{}{2011/11/22}% - \hologoEntry{SLiTeX}{}{2011/10/01}% - \hologoEntry{SLiTeX}{lift}{2011/10/01}% - \hologoEntry{SLiTeX}{narrow}{2011/10/01}% - \hologoEntry{SLiTeX}{simple}{2011/10/01}% - \hologoEntry{SliTeX}{}{2011/10/01}% - \hologoEntry{SliTeX}{narrow}{2011/10/01}% - \hologoEntry{SliTeX}{simple}{2011/10/01}% - \hologoEntry{SliTeX}{lift}{2011/10/01}% - \hologoEntry{teTeX}{}{2011/10/01}% - \hologoEntry{TeX}{}{2010/04/08}% - \hologoEntry{TeX4ht}{}{2011/11/22}% - \hologoEntry{TTH}{}{2011/11/22}% - \hologoEntry{virTeX}{}{2011/10/01}% - \hologoEntry{VTeX}{}{2010/04/24}% - \hologoEntry{Xe}{}{2010/04/08}% - \hologoEntry{XeLaTeX}{}{2010/04/08}% - \hologoEntry{XeTeX}{}{2010/04/08}% -} -% \end{macrocode} -% \end{macro} -% -% \subsection{Load resources} -% -% \begin{macrocode} -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname RequirePackage\endcsname\relax - \def\TMP@RequirePackage#1[#2]{% - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname ver@#1.sty\endcsname\relax - \input #1.sty\relax - \fi - }% - \TMP@RequirePackage{ltxcmds}[2011/02/04]% - \TMP@RequirePackage{infwarerr}[2010/04/08]% - \TMP@RequirePackage{kvsetkeys}[2010/03/01]% - \TMP@RequirePackage{kvdefinekeys}[2010/03/01]% - \TMP@RequirePackage{pdftexcmds}[2010/04/01]% - \TMP@RequirePackage{ifpdf}[2010/01/28]% - \TMP@RequirePackage{ifluatex}[2010/03/01]% - \ltx@IfUndefined{newif}{% - \expandafter\let\csname newif\endcsname\ltx@newif - }{}% - \TMP@RequirePackage{ifxetex}[2009/01/23]% - \TMP@RequirePackage{ifvtex}[2010/03/01]% -\else - \RequirePackage{ltxcmds}[2011/02/04]% - \RequirePackage{infwarerr}[2010/04/08]% - \RequirePackage{kvsetkeys}[2010/03/01]% - \RequirePackage{kvdefinekeys}[2010/03/01]% - \RequirePackage{pdftexcmds}[2010/04/01]% - \RequirePackage{ifpdf}[2010/01/28]% - \RequirePackage{ifluatex}[2010/03/01]% - \RequirePackage{ifxetex}[2009/01/23]% - \RequirePackage{ifvtex}[2010/03/01]% -\fi -% \end{macrocode} -% -% \begin{macro}{\HOLOGO@IfDefined} -% \begin{macrocode} -\def\HOLOGO@IfExists#1{% - \ifx\@undefined#1% - \expandafter\ltx@secondoftwo - \else - \ifx\relax#1% - \expandafter\ltx@secondoftwo - \else - \expandafter\expandafter\expandafter\ltx@firstoftwo - \fi - \fi -} -% \end{macrocode} -% \end{macro} -% -% \subsection{Setup macros} -% -% \begin{macro}{\hologoSetup} -% \begin{macrocode} -\def\hologoSetup{% - \let\HOLOGO@name\relax - \HOLOGO@Setup -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\hologoLogoSetup} -% \begin{macrocode} -\def\hologoLogoSetup#1{% - \edef\HOLOGO@name{#1}% - \ltx@IfUndefined{HoLogo@\HOLOGO@name}{% - \@PackageError{hologo}{% - Unknown logo `\HOLOGO@name'% - }\@ehc - \ltx@gobble - }{% - \HOLOGO@Setup - }% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@Setup} -% \begin{macrocode} -\def\HOLOGO@Setup{% - \kvsetkeys{HoLogo}% -} -% \end{macrocode} -% \end{macro} -% -% \subsection{Options} -% -% \begin{macro}{\HOLOGO@DeclareBoolOption} -% \begin{macrocode} -\def\HOLOGO@DeclareBoolOption#1{% - \expandafter\chardef\csname HOLOGOOPT@#1\endcsname\ltx@zero - \kv@define@key{HoLogo}{#1}[true]{% - \def\HOLOGO@temp{##1}% - \ifx\HOLOGO@temp\HOLOGO@true - \ifx\HOLOGO@name\relax - \expandafter\chardef\csname HOLOGOOPT@#1\endcsname=\ltx@one - \else - \expandafter\chardef\csname - HoLogoOpt@#1@\HOLOGO@name\endcsname\ltx@one - \fi - \HOLOGO@SetBreakAll{#1}% - \else - \ifx\HOLOGO@temp\HOLOGO@false - \ifx\HOLOGO@name\relax - \expandafter\chardef\csname HOLOGOOPT@#1\endcsname=\ltx@zero - \else - \expandafter\chardef\csname - HoLogoOpt@#1@\HOLOGO@name\endcsname=\ltx@zero - \fi - \HOLOGO@SetBreakAll{#1}% - \else - \@PackageError{hologo}{% - Unknown value `##1' for boolean option `#1'.\MessageBreak - Known values are `true' and `false'% - }\@ehc - \fi - \fi - }% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@SetBreakAll} -% \begin{macrocode} -\def\HOLOGO@SetBreakAll#1{% - \def\HOLOGO@temp{#1}% - \ifx\HOLOGO@temp\HOLOGO@break - \ifx\HOLOGO@name\relax - \chardef\HOLOGOOPT@hyphenbreak=\HOLOGOOPT@break - \chardef\HOLOGOOPT@spacebreak=\HOLOGOOPT@break - \chardef\HOLOGOOPT@discretionarybreak=\HOLOGOOPT@break - \else - \expandafter\chardef - \csname HoLogoOpt@hyphenbreak@\HOLOGO@name\endcsname=% - \csname HoLogoOpt@break@\HOLOGO@name\endcsname - \expandafter\chardef - \csname HoLogoOpt@spacebreak@\HOLOGO@name\endcsname=% - \csname HoLogoOpt@break@\HOLOGO@name\endcsname - \expandafter\chardef - \csname HoLogoOpt@discretionarybreak@\HOLOGO@name - \endcsname=% - \csname HoLogoOpt@break@\HOLOGO@name\endcsname - \fi - \fi -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@true} -% \begin{macrocode} -\def\HOLOGO@true{true} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HOLOGO@false} -% \begin{macrocode} -\def\HOLOGO@false{false} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HOLOGO@break} -% \begin{macrocode} -\def\HOLOGO@break{break} -% \end{macrocode} -% \end{macro} -% -% \begin{macrocode} -\HOLOGO@DeclareBoolOption{break} -\HOLOGO@DeclareBoolOption{hyphenbreak} -\HOLOGO@DeclareBoolOption{spacebreak} -\HOLOGO@DeclareBoolOption{discretionarybreak} -% \end{macrocode} -% -% \begin{macrocode} -\kv@define@key{HoLogo}{variant}{% - \ifx\HOLOGO@name\relax - \@PackageError{hologo}{% - Option `variant' is not available in \string\hologoSetup,% - \MessageBreak - Use \string\hologoLogoSetup\space instead% - }\@ehc - \else - \edef\HOLOGO@temp{#1}% - \ifx\HOLOGO@temp\ltx@empty - \expandafter - \let\csname HoLogoOpt@variant@\HOLOGO@name\endcsname\@undefined - \else - \ltx@IfUndefined{HoLogo@\HOLOGO@name @\HOLOGO@temp}{% - \@PackageError{hologo}{% - Unknown variant `\HOLOGO@temp' of logo `\HOLOGO@name'% - }\@ehc - }{% - \expandafter - \let\csname HoLogoOpt@variant@\HOLOGO@name\endcsname - \HOLOGO@temp - }% - \fi - \fi -} -% \end{macrocode} -% -% \begin{macro}{\HOLOGO@Variant} -% \begin{macrocode} -\def\HOLOGO@Variant#1{% - #1% - \ltx@ifundefined{HoLogoOpt@variant@#1}{% - }{% - @\csname HoLogoOpt@variant@#1\endcsname - }% -} -% \end{macrocode} -% \end{macro} -% -% \subsection{Break/no-break support} -% -% \begin{macro}{\HOLOGO@space} -% \begin{macrocode} -\def\HOLOGO@space{% - \ltx@ifundefined{HoLogoOpt@spacebreak@\HOLOGO@name}{% - \ltx@ifundefined{HoLogoOpt@break@\HOLOGO@name}{% - \chardef\HOLOGO@temp=\HOLOGOOPT@spacebreak - }{% - \chardef\HOLOGO@temp=% - \csname HoLogoOpt@break@\HOLOGO@name\endcsname - }% - }{% - \chardef\HOLOGO@temp=% - \csname HoLogoOpt@spacebreak@\HOLOGO@name\endcsname - }% - \ifcase\HOLOGO@temp - \penalty10000 % - \fi - \ltx@space -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@hyphen} -% \begin{macrocode} -\def\HOLOGO@hyphen{% - \ltx@ifundefined{HoLogoOpt@hyphenbreak@\HOLOGO@name}{% - \ltx@ifundefined{HoLogoOpt@break@\HOLOGO@name}{% - \chardef\HOLOGO@temp=\HOLOGOOPT@hyphenbreak - }{% - \chardef\HOLOGO@temp=% - \csname HoLogoOpt@break@\HOLOGO@name\endcsname - }% - }{% - \chardef\HOLOGO@temp=% - \csname HoLogoOpt@hyphenbreak@\HOLOGO@name\endcsname - }% - \ifcase\HOLOGO@temp - \ltx@mbox{-}% - \else - -% - \fi -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@discretionary} -% \begin{macrocode} -\def\HOLOGO@discretionary{% - \ltx@ifundefined{HoLogoOpt@discretionarybreak@\HOLOGO@name}{% - \ltx@ifundefined{HoLogoOpt@break@\HOLOGO@name}{% - \chardef\HOLOGO@temp=\HOLOGOOPT@discretionarybreak - }{% - \chardef\HOLOGO@temp=% - \csname HoLogoOpt@break@\HOLOGO@name\endcsname - }% - }{% - \chardef\HOLOGO@temp=% - \csname HoLogoOpt@discretionarybreak@\HOLOGO@name\endcsname - }% - \ifcase\HOLOGO@temp - \else - \-% - \fi -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@mbox} -% \begin{macrocode} -\def\HOLOGO@mbox#1{% - \ltx@ifundefined{HoLogoOpt@break@\HOLOGO@name}{% - \chardef\HOLOGO@temp=\HOLOGOOPT@hyphenbreak - }{% - \chardef\HOLOGO@temp=% - \csname HoLogoOpt@break@\HOLOGO@name\endcsname - }% - \ifcase\HOLOGO@temp - \ltx@mbox{#1}% - \else - #1% - \fi -} -% \end{macrocode} -% \end{macro} -% -% \subsection{Font support} -% -% \begin{macro}{\HoLogoFont@font} -% \begin{tabular}{@{}ll@{}} -% |#1|:& logo name\\ -% |#2|:& font short name\\ -% |#3|:& text -% \end{tabular} -% \begin{macrocode} -\def\HoLogoFont@font#1#2#3{% - \begingroup - \ltx@IfUndefined{HoLogoFont@logo@#1.#2}{% - \ltx@IfUndefined{HoLogoFont@font@#2}{% - \@PackageWarning{hologo}{% - Missing font `#2' for logo `#1'% - }% - #3% - }{% - \csname HoLogoFont@font@#2\endcsname{#3}% - }% - }{% - \csname HoLogoFont@logo@#1.#2\endcsname{#3}% - }% - \endgroup -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogoFont@Def} -% \begin{macrocode} -\def\HoLogoFont@Def#1{% - \expandafter\def\csname HoLogoFont@font@#1\endcsname -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoFont@LogoDef} -% \begin{macrocode} -\def\HoLogoFont@LogoDef#1#2{% - \expandafter\def\csname HoLogoFont@logo@#1.#2\endcsname -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{Font defaults} -% -% \begin{macro}{\HoLogoFont@font@general} -% \begin{macrocode} -\HoLogoFont@Def{general}{}% -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogoFont@font@rm} -% \begin{macrocode} -\ltx@IfUndefined{rmfamily}{% - \ltx@IfUndefined{rm}{% - }{% - \HoLogoFont@Def{rm}{\rm}% - }% -}{% - \HoLogoFont@Def{rm}{\rmfamily}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogoFont@font@sf} -% \begin{macrocode} -\ltx@IfUndefined{sffamily}{% - \ltx@IfUndefined{sf}{% - }{% - \HoLogoFont@Def{sf}{\sf}% - }% -}{% - \HoLogoFont@Def{sf}{\sffamily}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogoFont@font@bibsf} -% In case of \hologo{plainTeX} the original small caps -% variant is used as default. In \hologo{LaTeX} -% the definition of package \xpackage{dtklogos} \cite{dtklogos} -% is used. -%\begin{quote} -%\begin{verbatim} -%\DeclareRobustCommand{\BibTeX}{% -% B% -% \kern-.05em% -% \hbox{% -% $\m@th$% %% force math size calculations -% \csname S@\f@size\endcsname -% \fontsize\sf@size\z@ -% \math@fontsfalse -% \selectfont -% I% -% \kern-.025em% -% B -% }% -% \kern-.08em% -% \-% -% \TeX -%} -%\end{verbatim} -%\end{quote} -% \begin{macrocode} -\ltx@IfUndefined{selectfont}{% - \ltx@IfUndefined{tensc}{% - \font\tensc=cmcsc10\relax - }{}% - \HoLogoFont@Def{bibsf}{\tensc}% -}{% - \HoLogoFont@Def{bibsf}{% - $\mathsurround=0pt$% - \csname S@\f@size\endcsname - \fontsize\sf@size{0pt}% - \math@fontsfalse - \selectfont - }% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogoFont@font@sc} -% \begin{macrocode} -\ltx@IfUndefined{scshape}{% - \ltx@IfUndefined{tensc}{% - \font\tensc=cmcsc10\relax - }{}% - \HoLogoFont@Def{sc}{\tensc}% -}{% - \HoLogoFont@Def{sc}{\scshape}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogoFont@font@sy} -% \begin{macrocode} -\ltx@IfUndefined{usefont}{% - \ltx@IfUndefined{tensy}{% - }{% - \HoLogoFont@Def{sy}{\tensy}% - }% -}{% - \HoLogoFont@Def{sy}{% - \usefont{OMS}{cmsy}{m}{n}% - }% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogoFont@font@logo} -% \begin{macrocode} -\begingroup - \def\x{LaTeX2e}% -\expandafter\endgroup -\ifx\fmtname\x - \ltx@IfUndefined{logofamily}{% - \DeclareRobustCommand\logofamily{% - \not@math@alphabet\logofamily\relax - \fontencoding{U}% - \fontfamily{logo}% - \selectfont - }% - }{}% - \ltx@IfUndefined{logofamily}{% - }{% - \HoLogoFont@Def{logo}{\logofamily}% - }% -\else - \ltx@IfUndefined{tenlogo}{% - \font\tenlogo=logo10\relax - }{}% - \HoLogoFont@Def{logo}{\tenlogo}% -\fi -% \end{macrocode} -% \end{macro} -% -% \subsubsection{Font setup} -% -% \begin{macro}{\hologoFontSetup} -% \begin{macrocode} -\def\hologoFontSetup{% - \let\HOLOGO@name\relax - \HOLOGO@FontSetup -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\hologoLogoFontSetup} -% \begin{macrocode} -\def\hologoLogoFontSetup#1{% - \edef\HOLOGO@name{#1}% - \ltx@IfUndefined{HoLogo@\HOLOGO@name}{% - \@PackageError{hologo}{% - Unknown logo `\HOLOGO@name'% - }\@ehc - \ltx@gobble - }{% - \HOLOGO@FontSetup - }% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@FontSetup} -% \begin{macrocode} -\def\HOLOGO@FontSetup{% - \kvsetkeys{HoLogoFont}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macrocode} -\def\HOLOGO@temp#1{% - \kv@define@key{HoLogoFont}{#1}{% - \ifx\HOLOGO@name\relax - \HoLogoFont@Def{#1}{##1}% - \else - \HoLogoFont@LogoDef\HOLOGO@name{#1}{##1}% - \fi - }% -} -\HOLOGO@temp{general} -\HOLOGO@temp{sf} -% \end{macrocode} -% -% \subsection{Generic logo commands} -% -% \begin{macrocode} -\HOLOGO@IfExists\hologo{% - \@PackageError{hologo}{% - \string\hologo\ltx@space is already defined.\MessageBreak - Package loading is aborted% - }\@ehc - \HOLOGO@AtEnd -}% -\HOLOGO@IfExists\hologoRobust{% - \@PackageError{hologo}{% - \string\hologoRobust\ltx@space is already defined.\MessageBreak - Package loading is aborted% - }\@ehc - \HOLOGO@AtEnd -}% -% \end{macrocode} -% -% \subsubsection{\cs{hologo} and friends} -% -% \begin{macrocode} -\ifluatex - \expandafter\ltx@firstofone -\else - \expandafter\ltx@gobble -\fi -{% - \ltx@IfUndefined{ifincsname}{% - \ifnum\luatexversion<36 % - \expandafter\ltx@gobble - \else - \expandafter\ltx@firstofone - \fi - {% - \begingroup - \ifcase0% - \directlua{% - if tex.enableprimitives then % - tex.enableprimitives('HOLOGO@', {'ifincsname'})% - else % - tex.print('1')% - end% - }% - \ifx\HOLOGO@ifincsname\@undefined 1\fi% - \relax - \expandafter\ltx@firstofone - \else - \endgroup - \expandafter\ltx@gobble - \fi - {% - \global\let\ifincsname\HOLOGO@ifincsname - }% - \HOLOGO@temp - }% - }{}% -} -% \end{macrocode} -% \begin{macrocode} -\ltx@IfUndefined{ifincsname}{% - \catcode`$=14 % -}{% - \catcode`$=9 % -} -% \end{macrocode} -% -% \begin{macro}{\hologo} -% \begin{macrocode} -\def\hologo#1{% -$ \ifincsname -$ \ltx@ifundefined{HoLogoCs@\HOLOGO@Variant{#1}}{% -$ #1% -$ }{% -$ \csname HoLogoCs@\HOLOGO@Variant{#1}\endcsname\ltx@firstoftwo -$ }% -$ \else - \HOLOGO@IfExists\texorpdfstring\texorpdfstring\ltx@firstoftwo - {% - \hologoRobust{#1}% - }{% - \ltx@ifundefined{HoLogoBkm@\HOLOGO@Variant{#1}}{% - \ltx@ifundefined{HoLogo@#1}{?#1?}{#1}% - }{% - \csname HoLogoBkm@\HOLOGO@Variant{#1}\endcsname - \ltx@firstoftwo - }% - }% -$ \fi -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\Hologo} -% \begin{macrocode} -\def\Hologo#1{% -$ \ifincsname -$ \ltx@ifundefined{HoLogoCs@\HOLOGO@Variant{#1}}{% -$ #1% -$ }{% -$ \csname HoLogoCs@\HOLOGO@Variant{#1}\endcsname\ltx@secondoftwo -$ }% -$ \else - \HOLOGO@IfExists\texorpdfstring\texorpdfstring\ltx@firstoftwo - {% - \HologoRobust{#1}% - }{% - \ltx@ifundefined{HoLogoBkm@\HOLOGO@Variant{#1}}{% - \ltx@ifundefined{HoLogo@#1}{?#1?}{#1}% - }{% - \csname HoLogoBkm@\HOLOGO@Variant{#1}\endcsname - \ltx@secondoftwo - }% - }% -$ \fi -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\hologoVariant} -% \begin{macrocode} -\def\hologoVariant#1#2{% - \ifx\relax#2\relax - \hologo{#1}% - \else -$ \ifincsname -$ \ltx@ifundefined{HoLogoCs@#1@#2}{% -$ #1% -$ }{% -$ \csname HoLogoCs@#1@#2\endcsname\ltx@firstoftwo -$ }% -$ \else - \HOLOGO@IfExists\texorpdfstring\texorpdfstring\ltx@firstoftwo - {% - \hologoVariantRobust{#1}{#2}% - }{% - \ltx@ifundefined{HoLogoBkm@#1@#2}{% - \ltx@ifundefined{HoLogo@#1}{?#1?}{#1}% - }{% - \csname HoLogoBkm@#1@#2\endcsname - \ltx@firstoftwo - }% - }% -$ \fi - \fi -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HologoVariant} -% \begin{macrocode} -\def\HologoVariant#1#2{% - \ifx\relax#2\relax - \Hologo{#1}% - \else -$ \ifincsname -$ \ltx@ifundefined{HoLogoCs@#1@#2}{% -$ #1% -$ }{% -$ \csname HoLogoCs@#1@#2\endcsname\ltx@secondoftwo -$ }% -$ \else - \HOLOGO@IfExists\texorpdfstring\texorpdfstring\ltx@firstoftwo - {% - \HologoVariantRobust{#1}{#2}% - }{% - \ltx@ifundefined{HoLogoBkm@#1@#2}{% - \ltx@ifundefined{HoLogo@#1}{?#1?}{#1}% - }{% - \csname HoLogoBkm@#1@#2\endcsname - \ltx@secondoftwo - }% - }% -$ \fi - \fi -} -% \end{macrocode} -% \end{macro} -% -% \begin{macrocode} -\catcode`\$=3 % -% \end{macrocode} -% -% \subsubsection{\cs{hologoRobust} and friends} -% -% \begin{macro}{\hologoRobust} -% \begin{macrocode} -\ltx@IfUndefined{protected}{% - \ltx@IfUndefined{DeclareRobustCommand}{% - \def\hologoRobust#1% - }{% - \DeclareRobustCommand*\hologoRobust[1]% - }% -}{% - \protected\def\hologoRobust#1% -}% -{% - \edef\HOLOGO@name{#1}% - \ltx@IfUndefined{HoLogo@\HOLOGO@Variant\HOLOGO@name}{% - \@PackageError{hologo}{% - Unknown logo `\HOLOGO@name'% - }\@ehc - ?\HOLOGO@name?% - }{% - \ltx@IfUndefined{ver@tex4ht.sty}{% - \HoLogoFont@font\HOLOGO@name{general}{% - \csname HoLogo@\HOLOGO@Variant\HOLOGO@name\endcsname - \ltx@firstoftwo - }% - }{% - \ltx@IfUndefined{HoLogoHtml@\HOLOGO@Variant\HOLOGO@name}{% - \HOLOGO@name - }{% - \csname HoLogoHtml@\HOLOGO@Variant\HOLOGO@name\endcsname - \ltx@firstoftwo - }% - }% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HologoRobust} -% \begin{macrocode} -\ltx@IfUndefined{protected}{% - \ltx@IfUndefined{DeclareRobustCommand}{% - \def\HologoRobust#1% - }{% - \DeclareRobustCommand*\HologoRobust[1]% - }% -}{% - \protected\def\HologoRobust#1% -}% -{% - \edef\HOLOGO@name{#1}% - \ltx@IfUndefined{HoLogo@\HOLOGO@Variant\HOLOGO@name}{% - \@PackageError{hologo}{% - Unknown logo `\HOLOGO@name'% - }\@ehc - ?\HOLOGO@name?% - }{% - \ltx@IfUndefined{ver@tex4ht.sty}{% - \HoLogoFont@font\HOLOGO@name{general}{% - \csname HoLogo@\HOLOGO@Variant\HOLOGO@name\endcsname - \ltx@secondoftwo - }% - }{% - \ltx@IfUndefined{HoLogoHtml@\HOLOGO@Variant\HOLOGO@name}{% - \expandafter\HOLOGO@Uppercase\HOLOGO@name - }{% - \csname HoLogoHtml@\HOLOGO@Variant\HOLOGO@name\endcsname - \ltx@secondoftwo - }% - }% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\hologoVariantRobust} -% \begin{macrocode} -\ltx@IfUndefined{protected}{% - \ltx@IfUndefined{DeclareRobustCommand}{% - \def\hologoVariantRobust#1#2% - }{% - \DeclareRobustCommand*\hologoVariantRobust[2]% - }% -}{% - \protected\def\hologoVariantRobust#1#2% -}% -{% - \begingroup - \hologoLogoSetup{#1}{variant={#2}}% - \hologoRobust{#1}% - \endgroup -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HologoVariantRobust} -% \begin{macrocode} -\ltx@IfUndefined{protected}{% - \ltx@IfUndefined{DeclareRobustCommand}{% - \def\HologoVariantRobust#1#2% - }{% - \DeclareRobustCommand*\HologoVariantRobust[2]% - }% -}{% - \protected\def\HologoVariantRobust#1#2% -}% -{% - \begingroup - \hologoLogoSetup{#1}{variant={#2}}% - \HologoRobust{#1}% - \endgroup -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\hologorobust} -% Macro \cs{hologorobust} is only defined for compatibility. -% Its use is deprecated. -% \begin{macrocode} -\def\hologorobust{\hologoRobust} -% \end{macrocode} -% \end{macro} -% -% \subsection{Helpers} -% -% \begin{macro}{\HOLOGO@Uppercase} -% Macro \cs{HOLOGO@Uppercase} is restricted to \cs{uppercase}, -% because \hologo{plainTeX} or \hologo{iniTeX} do not provide -% \cs{MakeUppercase}. -% \begin{macrocode} -\def\HOLOGO@Uppercase#1{\uppercase{#1}} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@PdfdocUnicode} -% \begin{macrocode} -\def\HOLOGO@PdfdocUnicode{% - \ifx\ifHy@unicode\iftrue - \expandafter\ltx@secondoftwo - \else - \expandafter\ltx@firstoftwo - \fi -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@Math} -% \begin{macrocode} -\def\HOLOGO@MathSetup{% - \mathsurround0pt\relax - \HOLOGO@IfExists\f@series{% - \if b\expandafter\ltx@car\f@series x\@nil - \csname boldmath\endcsname - \fi - }{}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@TempDimen} -% \begin{macrocode} -\dimendef\HOLOGO@TempDimen=\ltx@zero -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HOLOGO@NegativeKerning} -% \begin{macrocode} -\def\HOLOGO@NegativeKerning#1{% - \begingroup - \HOLOGO@TempDimen=0pt\relax - \comma@parse@normalized{#1}{% - \ifdim\HOLOGO@TempDimen=0pt % - \expandafter\HOLOGO@@NegativeKerning\comma@entry - \fi - \ltx@gobble - }% - \ifdim\HOLOGO@TempDimen<0pt % - \kern\HOLOGO@TempDimen - \fi - \endgroup -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HOLOGO@@NegativeKerning} -% \begin{macrocode} -\def\HOLOGO@@NegativeKerning#1#2{% - \setbox\ltx@zero\hbox{#1#2}% - \HOLOGO@TempDimen=\wd\ltx@zero - \setbox\ltx@zero\hbox{#1\kern0pt#2}% - \advance\HOLOGO@TempDimen by -\wd\ltx@zero -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@SpaceFactor} -% \begin{macrocode} -\def\HOLOGO@SpaceFactor{% - \spacefactor1000 % -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@Span} -% \begin{macrocode} -\def\HOLOGO@Span#1#2{% - \HCode{}% - #2% - \HCode{}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{Text subscript} -% -% \begin{macro}{\HOLOGO@SubScript}% -% \begin{macrocode} -\def\HOLOGO@SubScript#1{% - \ltx@IfUndefined{textsubscript}{% - \ltx@IfUndefined{text}{% - \ltx@mbox{% - \mathsurround=0pt\relax - $% - _{% - \ltx@IfUndefined{sf@size}{% - \mathrm{#1}% - }{% - \mbox{% - \fontsize\sf@size{0pt}\selectfont - #1% - }% - }% - }% - $% - }% - }{% - \ltx@mbox{% - \mathsurround=0pt\relax - $_{\text{#1}}$% - }% - }% - }{% - \textsubscript{#1}% - }% -} -% \end{macrocode} -% \end{macro} -% -% \subsection{\hologo{TeX} and friends} -% -% \subsubsection{\hologo{TeX}} -% -% \begin{macro}{\HoLogo@TeX} -% Source: \hologo{LaTeX} kernel. -% \begin{macrocode} -\def\HoLogo@TeX#1{% - T\kern-.1667em\lower.5ex\hbox{E}\kern-.125emX\HOLOGO@SpaceFactor -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@TeX} -% \begin{macrocode} -\def\HoLogoHtml@TeX#1{% - \HoLogoCss@TeX - \HOLOGO@Span{TeX}{% - T% - \HOLOGO@Span{e}{% - E% - }% - X% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@TeX} -% \begin{macrocode} -\def\HoLogoCss@TeX{% - \Css{% - span.HoLogo-TeX span.HoLogo-e{% - position:relative;% - top:.5ex;% - margin-left:-.1667em;% - margin-right:-.125em;% - }% - }% - \Css{% - a span.HoLogo-TeX span.HoLogo-e{% - text-decoration:none;% - }% - }% - \global\let\HoLogoCss@TeX\relax -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{plainTeX}} -% -% \begin{macro}{\HoLogo@plainTeX@space} -% Source: ``The \hologo{TeX}book'' -% \begin{macrocode} -\def\HoLogo@plainTeX@space#1{% - \HOLOGO@mbox{#1{p}{P}lain}\HOLOGO@space\hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCs@plainTeX@space} -% \begin{macrocode} -\def\HoLogoCs@plainTeX@space#1{#1{p}{P}lain TeX}% -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@plainTeX@space} -% \begin{macrocode} -\def\HoLogoBkm@plainTeX@space#1{% - #1{p}{P}lain \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@plainTeX@space} -% \begin{macrocode} -\def\HoLogoHtml@plainTeX@space#1{% - #1{p}{P}lain \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@plainTeX@hyphen} -% \begin{macrocode} -\def\HoLogo@plainTeX@hyphen#1{% - \HOLOGO@mbox{#1{p}{P}lain}\HOLOGO@hyphen\hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCs@plainTeX@hyphen} -% \begin{macrocode} -\def\HoLogoCs@plainTeX@hyphen#1{#1{p}{P}lain-TeX} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@plainTeX@hyphen} -% \begin{macrocode} -\def\HoLogoBkm@plainTeX@hyphen#1{% - #1{p}{P}lain-\hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@plainTeX@hyphen} -% \begin{macrocode} -\def\HoLogoHtml@plainTeX@hyphen#1{% - #1{p}{P}lain-\hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@plainTeX@runtogether} -% \begin{macrocode} -\def\HoLogo@plainTeX@runtogether#1{% - \HOLOGO@mbox{#1{p}{P}lain\hologo{TeX}}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCs@plainTeX@runtogether} -% \begin{macrocode} -\def\HoLogoCs@plainTeX@runtogether#1{#1{p}{P}lainTeX} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@plainTeX@runtogether} -% \begin{macrocode} -\def\HoLogoBkm@plainTeX@runtogether#1{% - #1{p}{P}lain\hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@plainTeX@runtogether} -% \begin{macrocode} -\def\HoLogoHtml@plainTeX@runtogether#1{% - #1{p}{P}lain\hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@plainTeX} -% \begin{macrocode} -\def\HoLogo@plainTeX{\HoLogo@plainTeX@space} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCs@plainTeX} -% \begin{macrocode} -\def\HoLogoCs@plainTeX{\HoLogoCs@plainTeX@space} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@plainTeX} -% \begin{macrocode} -\def\HoLogoBkm@plainTeX{\HoLogoBkm@plainTeX@space} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@plainTeX} -% \begin{macrocode} -\def\HoLogoHtml@plainTeX{\HoLogoHtml@plainTeX@space} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{LaTeX}} -% -% Source: \hologo{LaTeX} kernel. -%\begin{quote} -%\begin{verbatim} -%\DeclareRobustCommand{\LaTeX}{% -% L% -% \kern-.36em% -% {% -% \sbox\z@ T% -% \vbox to\ht\z@{% -% \hbox{% -% \check@mathfonts -% \fontsize\sf@size\z@ -% \math@fontsfalse -% \selectfont -% A% -% }% -% \vss -% }% -% }% -% \kern-.15em% -% \TeX -%} -%\end{verbatim} -%\end{quote} -% -% \begin{macro}{\HoLogo@La} -% \begin{macrocode} -\def\HoLogo@La#1{% - L% - \kern-.36em% - \begingroup - \setbox\ltx@zero\hbox{T}% - \vbox to\ht\ltx@zero{% - \hbox{% - \ltx@ifundefined{check@mathfonts}{% - \csname sevenrm\endcsname - }{% - \check@mathfonts - \fontsize\sf@size{0pt}% - \math@fontsfalse\selectfont - }% - A% - }% - \vss - }% - \endgroup -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@LaTeX} -% Source: \hologo{LaTeX} kernel. -% \begin{macrocode} -\def\HoLogo@LaTeX#1{% - \hologo{La}% - \kern-.15em% - \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@LaTeX} -% \begin{macrocode} -\def\HoLogoHtml@LaTeX#1{% - \HoLogoCss@LaTeX - \HOLOGO@Span{LaTeX}{% - L% - \HOLOGO@Span{a}{% - A% - }% - \hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@LaTeX} -% \begin{macrocode} -\def\HoLogoCss@LaTeX{% - \Css{% - span.HoLogo-LaTeX span.HoLogo-a{% - position:relative;% - top:-.5ex;% - margin-left:-.36em;% - margin-right:-.15em;% - font-size:85\%;% - }% - }% - \global\let\HoLogoCss@LaTeX\relax -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{(La)TeX}} -% -% \begin{macro}{\HoLogo@LaTeXTeX} -% The kerning around the parentheses is taken -% from package \xpackage{dtklogos} \cite{dtklogos}. -%\begin{quote} -%\begin{verbatim} -%\DeclareRobustCommand{\LaTeXTeX}{% -% (% -% \kern-.15em% -% L% -% \kern-.36em% -% {% -% \sbox\z@ T% -% \vbox to\ht0{% -% \hbox{% -% $\m@th$% -% \csname S@\f@size\endcsname -% \fontsize\sf@size\z@ -% \math@fontsfalse -% \selectfont -% A% -% }% -% \vss -% }% -% }% -% \kern-.2em% -% )% -% \kern-.15em% -% \TeX -%} -%\end{verbatim} -%\end{quote} -% \begin{macrocode} -\def\HoLogo@LaTeXTeX#1{% - (% - \kern-.15em% - \hologo{La}% - \kern-.2em% - )% - \kern-.15em% - \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@LaTeXTeX} -% \begin{macrocode} -\def\HoLogoBkm@LaTeXTeX#1{(La)TeX} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@(La)TeX} -% \begin{macrocode} -\expandafter -\let\csname HoLogo@(La)TeX\endcsname\HoLogo@LaTeXTeX -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@(La)TeX} -% \begin{macrocode} -\expandafter -\let\csname HoLogoBkm@(La)TeX\endcsname\HoLogoBkm@LaTeXTeX -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@LaTeXTeX} -% \begin{macrocode} -\def\HoLogoHtml@LaTeXTeX#1{% - \HoLogoCss@LaTeXTeX - \HOLOGO@Span{LaTeXTeX}{% - (% - \HOLOGO@Span{L}{L}% - \HOLOGO@Span{a}{A}% - \HOLOGO@Span{ParenRight}{)}% - \hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@(La)TeX} -% Kerning after opening parentheses and before closing parentheses -% is $-0.1$\,em. The original values $-0.15$\,em -% looked too ugly for a serif font. -% \begin{macrocode} -\expandafter -\let\csname HoLogoHtml@(La)TeX\endcsname\HoLogoHtml@LaTeXTeX -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@LaTeXTeX} -% \begin{macrocode} -\def\HoLogoCss@LaTeXTeX{% - \Css{% - span.HoLogo-LaTeXTeX span.HoLogo-L{% - margin-left:-.1em;% - }% - }% - \Css{% - span.HoLogo-LaTeXTeX span.HoLogo-a{% - position:relative;% - top:-.5ex;% - margin-left:-.36em;% - margin-right:-.1em;% - font-size:85\%;% - }% - }% - \Css{% - span.HoLogo-LaTeXTeX span.HoLogo-ParenRight{% - margin-right:-.15em;% - }% - }% - \global\let\HoLogoCss@LaTeXTeX\relax -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{LaTeXe}} -% -% \begin{macro}{\HoLogo@LaTeXe} -% Source: \hologo{LaTeX} kernel -% \begin{macrocode} -\def\HoLogo@LaTeXe#1{% - \hologo{LaTeX}% - \kern.15em% - \hbox{% - \HOLOGO@MathSetup - 2% - $_{\textstyle\varepsilon}$% - }% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogoCs@LaTeXe} -% \begin{macrocode} -\ifnum64=`\^^^^0040\relax % test for big chars of LuaTeX/XeTeX - \catcode`\$=9 % - \catcode`\&=14 % -\else - \catcode`\$=14 % - \catcode`\&=9 % -\fi -\def\HoLogoCs@LaTeXe#1{% - LaTeX2% -$ \string ^^^^0395% -& e% -}% -\catcode`\$=3 % -\catcode`\&=4 % -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogoBkm@LaTeXe} -% \begin{macrocode} -\def\HoLogoBkm@LaTeXe#1{% - \hologo{LaTeX}% - 2% - \HOLOGO@PdfdocUnicode{e}{\textepsilon}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogoHtml@LaTeXe} -% \begin{macrocode} -\def\HoLogoHtml@LaTeXe#1{% - \HoLogoCss@LaTeXe - \HOLOGO@Span{LaTeX2e}{% - \hologo{LaTeX}% - \HOLOGO@Span{2}{2}% - \HOLOGO@Span{e}{% - \HOLOGO@MathSetup - \ensuremath{\textstyle\varepsilon}% - }% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@LaTeXe} -% \begin{macrocode} -\def\HoLogoCss@LaTeXe{% - \Css{% - span.HoLogo-LaTeX2e span.HoLogo-2{% - padding-left:.15em;% - }% - }% - \Css{% - span.HoLogo-LaTeX2e span.HoLogo-e{% - position:relative;% - top:.35ex;% - text-decoration:none;% - }% - }% - \global\let\HoLogoCss@LaTeXe\relax -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@LaTeX2e} -% \begin{macrocode} -\expandafter -\let\csname HoLogo@LaTeX2e\endcsname\HoLogo@LaTeXe -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCs@LaTeX2e} -% \begin{macrocode} -\expandafter -\let\csname HoLogoCs@LaTeX2e\endcsname\HoLogoCs@LaTeXe -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@LaTeX2e} -% \begin{macrocode} -\expandafter -\let\csname HoLogoBkm@LaTeX2e\endcsname\HoLogoBkm@LaTeXe -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@LaTeX2e} -% \begin{macrocode} -\expandafter -\let\csname HoLogoHtml@LaTeX2e\endcsname\HoLogoHtml@LaTeXe -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{LaTeX3}} -% -% \begin{macro}{\HoLogo@LaTeX3} -% Source: \hologo{LaTeX} kernel -% \begin{macrocode} -\expandafter\def\csname HoLogo@LaTeX3\endcsname#1{% - \hologo{LaTeX}% - 3% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogoBkm@LaTeX3} -% \begin{macrocode} -\expandafter\def\csname HoLogoBkm@LaTeX3\endcsname#1{% - \hologo{LaTeX}% - 3% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@LaTeX3} -% \begin{macrocode} -\expandafter -\let\csname HoLogoHtml@LaTeX3\expandafter\endcsname -\csname HoLogo@LaTeX3\endcsname -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{LaTeXML}} -% -% \begin{macro}{\HoLogo@LaTeXML} -% \begin{macrocode} -\def\HoLogo@LaTeXML#1{% - \HOLOGO@mbox{% - \hologo{La}% - \kern-.15em% - T% - \kern-.1667em% - \lower.5ex\hbox{E}% - \kern-.125em% - \HoLogoFont@font{LaTeXML}{sc}{xml}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@pdfLaTeX} -% \begin{macrocode} -\def\HoLogoHtml@LaTeXML#1{% - \HOLOGO@Span{LaTeXML}{% - \HoLogoCss@LaTeX - \HoLogoCss@TeX - \HOLOGO@Span{LaTeX}{% - L% - \HOLOGO@Span{a}{% - A% - }% - }% - \HOLOGO@Span{TeX}{% - T% - \HOLOGO@Span{e}{% - E% - }% - }% - \HCode{}% - xml% - \HCode{}% - }% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{eTeX}} -% -% \begin{macro}{\HoLogo@eTeX} -% Source: package \xpackage{etex} -% \begin{macrocode} -\def\HoLogo@eTeX#1{% - \ltx@mbox{% - \HOLOGO@MathSetup - $\varepsilon$% - -% - \HOLOGO@NegativeKerning{-T,T-,To}% - \hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCs@eTeX} -% \begin{macrocode} -\ifnum64=`\^^^^0040\relax % test for big chars of LuaTeX/XeTeX - \catcode`\$=9 % - \catcode`\&=14 % -\else - \catcode`\$=14 % - \catcode`\&=9 % -\fi -\def\HoLogoCs@eTeX#1{% -$ #1{\string ^^^^0395}{\string ^^^^03b5}% -& #1{e}{E}% - TeX% -}% -\catcode`\$=3 % -\catcode`\&=4 % -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@eTeX} -% \begin{macrocode} -\def\HoLogoBkm@eTeX#1{% - \HOLOGO@PdfdocUnicode{#1{e}{E}}{\textepsilon}% - -% - \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@eTeX} -% \begin{macrocode} -\def\HoLogoHtml@eTeX#1{% - \ltx@mbox{% - \HOLOGO@MathSetup - $\varepsilon$% - -% - \hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{iniTeX}} -% -% \begin{macro}{\HoLogo@iniTeX} -% \begin{macrocode} -\def\HoLogo@iniTeX#1{% - \HOLOGO@mbox{% - #1{i}{I}ni\hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCs@iniTeX} -% \begin{macrocode} -\def\HoLogoCs@iniTeX#1{#1{i}{I}niTeX} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@iniTeX} -% \begin{macrocode} -\def\HoLogoBkm@iniTeX#1{% - #1{i}{I}ni\hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@iniTeX} -% \begin{macrocode} -\let\HoLogoHtml@iniTeX\HoLogo@iniTeX -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{virTeX}} -% -% \begin{macro}{\HoLogo@virTeX} -% \begin{macrocode} -\def\HoLogo@virTeX#1{% - \HOLOGO@mbox{% - #1{v}{V}ir\hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCs@virTeX} -% \begin{macrocode} -\def\HoLogoCs@virTeX#1{#1{v}{V}irTeX} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@virTeX} -% \begin{macrocode} -\def\HoLogoBkm@virTeX#1{% - #1{v}{V}ir\hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@virTeX} -% \begin{macrocode} -\let\HoLogoHtml@virTeX\HoLogo@virTeX -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{SliTeX}} -% -% \paragraph{Definitions of the three variants.} -% -% \begin{macro}{\HoLogo@SLiTeX@lift} -% \begin{macrocode} -\def\HoLogo@SLiTeX@lift#1{% - \HoLogoFont@font{SliTeX}{rm}{% - S% - \kern-.06em% - L% - \kern-.18em% - \raise.32ex\hbox{\HoLogoFont@font{SliTeX}{sc}{i}}% - \HOLOGO@discretionary - \kern-.06em% - \hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@SLiTeX@lift} -% \begin{macrocode} -\def\HoLogoBkm@SLiTeX@lift#1{SLiTeX} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@SLiTeX@lift} -% \begin{macrocode} -\def\HoLogoHtml@SLiTeX@lift#1{% - \HoLogoCss@SLiTeX@lift - \HOLOGO@Span{SLiTeX-lift}{% - \HoLogoFont@font{SliTeX}{rm}{% - S% - \HOLOGO@Span{L}{L}% - \HOLOGO@Span{i}{i}% - \hologo{TeX}% - }% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@SLiTeX@lift} -% \begin{macrocode} -\def\HoLogoCss@SLiTeX@lift{% - \Css{% - span.HoLogo-SLiTeX-lift span.HoLogo-L{% - margin-left:-.06em;% - margin-right:-.18em;% - }% - }% - \Css{% - span.HoLogo-SLiTeX-lift span.HoLogo-i{% - position:relative;% - top:-.32ex;% - margin-right:-.06em;% - font-variant:small-caps;% - }% - }% - \global\let\HoLogoCss@SLiTeX@lift\relax -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@SliTeX@simple} -% \begin{macrocode} -\def\HoLogo@SliTeX@simple#1{% - \HoLogoFont@font{SliTeX}{rm}{% - \ltx@mbox{% - \HoLogoFont@font{SliTeX}{sc}{Sli}% - }% - \HOLOGO@discretionary - \hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@SliTeX@simple} -% \begin{macrocode} -\def\HoLogoBkm@SliTeX@simple#1{SliTeX} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@SliTeX@simple} -% \begin{macrocode} -\let\HoLogoHtml@SliTeX@simple\HoLogo@SliTeX@simple -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@SliTeX@narrow} -% \begin{macrocode} -\def\HoLogo@SliTeX@narrow#1{% - \HoLogoFont@font{SliTeX}{rm}{% - \ltx@mbox{% - S% - \kern-.06em% - \HoLogoFont@font{SliTeX}{sc}{% - l% - \kern-.035em% - i% - }% - }% - \HOLOGO@discretionary - \kern-.06em% - \hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@SliTeX@narrow} -% \begin{macrocode} -\def\HoLogoBkm@SliTeX@narrow#1{SliTeX} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@SliTeX@narrow} -% \begin{macrocode} -\def\HoLogoHtml@SliTeX@narrow#1{% - \HoLogoCss@SliTeX@narrow - \HOLOGO@Span{SliTeX-narrow}{% - \HoLogoFont@font{SliTeX}{rm}{% - S% - \HOLOGO@Span{l}{l}% - \HOLOGO@Span{i}{i}% - \hologo{TeX}% - }% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@SliTeX@narrow} -% \begin{macrocode} -\def\HoLogoCss@SliTeX@narrow{% - \Css{% - span.HoLogo-SliTeX-narrow span.HoLogo-l{% - margin-left:-.06em;% - margin-right:-.035em;% - font-variant:small-caps;% - }% - }% - \Css{% - span.HoLogo-SliTeX-narrow span.HoLogo-i{% - margin-right:-.06em;% - font-variant:small-caps;% - }% - }% - \global\let\HoLogoCss@SliTeX@narrow\relax -} -% \end{macrocode} -% \end{macro} -% -% \paragraph{Macro set completion.} -% -% \begin{macro}{\HoLogo@SLiTeX@simple} -% \begin{macrocode} -\def\HoLogo@SLiTeX@simple{\HoLogo@SliTeX@simple} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@SLiTeX@simple} -% \begin{macrocode} -\def\HoLogoBkm@SLiTeX@simple{\HoLogoBkm@SliTeX@simple} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@SLiTeX@simple} -% \begin{macrocode} -\def\HoLogoHtml@SLiTeX@simple{\HoLogoHtml@SliTeX@simple} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@SLiTeX@narrow} -% \begin{macrocode} -\def\HoLogo@SLiTeX@narrow{\HoLogo@SliTeX@narrow} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@SLiTeX@narrow} -% \begin{macrocode} -\def\HoLogoBkm@SLiTeX@narrow{\HoLogoBkm@SliTeX@narrow} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@SLiTeX@narrow} -% \begin{macrocode} -\def\HoLogoHtml@SLiTeX@narrow{\HoLogoHtml@SliTeX@narrow} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@SliTeX@lift} -% \begin{macrocode} -\def\HoLogo@SliTeX@lift{\HoLogo@SLiTeX@lift} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@SliTeX@lift} -% \begin{macrocode} -\def\HoLogoBkm@SliTeX@lift{\HoLogoBkm@SLiTeX@lift} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@SliTeX@lift} -% \begin{macrocode} -\def\HoLogoHtml@SliTeX@lift{\HoLogoHtml@SLiTeX@lift} -% \end{macrocode} -% \end{macro} -% -% \paragraph{Defaults.} -% -% \begin{macro}{\HoLogo@SLiTeX} -% \begin{macrocode} -\def\HoLogo@SLiTeX{\HoLogo@SLiTeX@lift} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@SLiTeX} -% \begin{macrocode} -\def\HoLogoBkm@SLiTeX{\HoLogoBkm@SLiTeX@lift} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@SLiTeX} -% \begin{macrocode} -\def\HoLogoHtml@SLiTeX{\HoLogoHtml@SLiTeX@lift} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@SliTeX} -% \begin{macrocode} -\def\HoLogo@SliTeX{\HoLogo@SliTeX@narrow} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@SliTeX} -% \begin{macrocode} -\def\HoLogoBkm@SliTeX{\HoLogoBkm@SliTeX@narrow} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@SliTeX} -% \begin{macrocode} -\def\HoLogoHtml@SliTeX{\HoLogoHtml@SliTeX@narrow} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{LuaTeX}} -% -% \begin{macro}{\HoLogo@LuaTeX} -% The kerning is an idea of Hans Hagen, see mailing list -% `luatex at tug dot org' in March 2010. -% \begin{macrocode} -\def\HoLogo@LuaTeX#1{% - \HOLOGO@mbox{% - Lua% - \HOLOGO@NegativeKerning{aT,oT,To}% - \hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@LuaTeX} -% \begin{macrocode} -\let\HoLogoHtml@LuaTeX\HoLogo@LuaTeX -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{LuaLaTeX}} -% -% \begin{macro}{\HoLogo@LuaLaTeX} -% \begin{macrocode} -\def\HoLogo@LuaLaTeX#1{% - \HOLOGO@mbox{% - Lua% - \hologo{LaTeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@LuaLaTeX} -% \begin{macrocode} -\let\HoLogoHtml@LuaLaTeX\HoLogo@LuaLaTeX -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{XeTeX}, \hologo{XeLaTeX}} -% -% \begin{macro}{\HOLOGO@IfCharExists} -% \begin{macrocode} -\ifluatex - \ifnum\luatexversion<36 % - \else - \def\HOLOGO@IfCharExists#1{% - \ifnum - \directlua{% - if luaotfload and luaotfload.aux then - if luaotfload.aux.font_has_glyph(% - font.current(), \number#1) then % - tex.print("1") % - end % - elseif font and font.fonts and font.current then % - local f = font.fonts[font.current()]% - if f.characters and f.characters[\number#1] then % - tex.print("1")% - end % - end% - }0=\ltx@zero - \expandafter\ltx@secondoftwo - \else - \expandafter\ltx@firstoftwo - \fi - }% - \fi -\fi -\ltx@IfUndefined{HOLOGO@IfCharExists}{% - \def\HOLOGO@@IfCharExists#1{% - \begingroup - \tracinglostchars=\ltx@zero - \setbox\ltx@zero=\hbox{% - \kern7sp\char#1\relax - \ifnum\lastkern>\ltx@zero - \expandafter\aftergroup\csname iffalse\endcsname - \else - \expandafter\aftergroup\csname iftrue\endcsname - \fi - }% - % \if{true|false} from \aftergroup - \endgroup - \expandafter\ltx@firstoftwo - \else - \endgroup - \expandafter\ltx@secondoftwo - \fi - }% - \ifxetex - \ltx@IfUndefined{XeTeXfonttype}{}{% - \ltx@IfUndefined{XeTeXcharglyph}{}{% - \def\HOLOGO@IfCharExists#1{% - \ifnum\XeTeXfonttype\font>\ltx@zero - \expandafter\ltx@firstofthree - \else - \expandafter\ltx@gobble - \fi - {% - \ifnum\XeTeXcharglyph#1>\ltx@zero - \expandafter\ltx@firstoftwo - \else - \expandafter\ltx@secondoftwo - \fi - }% - \HOLOGO@@IfCharExists{#1}% - }% - }% - }% - \fi -}{} -\ltx@ifundefined{HOLOGO@IfCharExists}{% - \ifnum64=`\^^^^0040\relax % test for big chars of LuaTeX/XeTeX - \let\HOLOGO@IfCharExists\HOLOGO@@IfCharExists - \else - \def\HOLOGO@IfCharExists#1{% - \ifnum#1>255 % - \expandafter\ltx@fourthoffour - \fi - \HOLOGO@@IfCharExists{#1}% - }% - \fi -}{} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@Xe} -% Source: package \xpackage{dtklogos} -% \begin{macrocode} -\def\HoLogo@Xe#1{% - X% - \kern-.1em\relax - \HOLOGO@IfCharExists{"018E}{% - \lower.5ex\hbox{\char"018E}% - }{% - \chardef\HOLOGO@choice=\ltx@zero - \ifdim\fontdimen\ltx@one\font>0pt % - \ltx@IfUndefined{rotatebox}{% - \ltx@IfUndefined{pgftext}{% - \ltx@IfUndefined{psscalebox}{% - \ltx@IfUndefined{HOLOGO@ScaleBox@\hologoDriver}{% - }{% - \chardef\HOLOGO@choice=4 % - }% - }{% - \chardef\HOLOGO@choice=3 % - }% - }{% - \chardef\HOLOGO@choice=2 % - }% - }{% - \chardef\HOLOGO@choice=1 % - }% - \ifcase\HOLOGO@choice - \HOLOGO@WarningUnsupportedDriver{Xe}% - e% - \or % 1: \rotatebox - \begingroup - \setbox\ltx@zero\hbox{\rotatebox{180}{E}}% - \ltx@LocDimenA=\dp\ltx@zero - \advance\ltx@LocDimenA by -.5ex\relax - \raise\ltx@LocDimenA\box\ltx@zero - \endgroup - \or % 2: \pgftext - \lower.5ex\hbox{% - \pgfpicture - \pgftext[rotate=180]{E}% - \endpgfpicture - }% - \or % 3: \psscalebox - \begingroup - \setbox\ltx@zero\hbox{\psscalebox{-1 -1}{E}}% - \ltx@LocDimenA=\dp\ltx@zero - \advance\ltx@LocDimenA by -.5ex\relax - \raise\ltx@LocDimenA\box\ltx@zero - \endgroup - \or % 4: \HOLOGO@PointReflectBox - \lower.5ex\hbox{\HOLOGO@PointReflectBox{E}}% - \else - \@PackageError{hologo}{Internal error (choice/it}\@ehc - \fi - \else - \ltx@IfUndefined{reflectbox}{% - \ltx@IfUndefined{pgftext}{% - \ltx@IfUndefined{psscalebox}{% - \ltx@IfUndefined{HOLOGO@ScaleBox@\hologoDriver}{% - }{% - \chardef\HOLOGO@choice=4 % - }% - }{% - \chardef\HOLOGO@choice=3 % - }% - }{% - \chardef\HOLOGO@choice=2 % - }% - }{% - \chardef\HOLOGO@choice=1 % - }% - \ifcase\HOLOGO@choice - \HOLOGO@WarningUnsupportedDriver{Xe}% - e% - \or % 1: reflectbox - \lower.5ex\hbox{% - \reflectbox{E}% - }% - \or % 2: \pgftext - \lower.5ex\hbox{% - \pgfpicture - \pgftransformxscale{-1}% - \pgftext{E}% - \endpgfpicture - }% - \or % 3: \psscalebox - \lower.5ex\hbox{% - \psscalebox{-1 1}{E}% - }% - \or % 4: \HOLOGO@Reflectbox - \lower.5ex\hbox{% - \HOLOGO@ReflectBox{E}% - }% - \else - \@PackageError{hologo}{Internal error (choice/up)}\@ehc - \fi - \fi - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@Xe} -% \begin{macrocode} -\def\HoLogoHtml@Xe#1{% - \HoLogoCss@Xe - \HOLOGO@Span{Xe}{% - X% - \HOLOGO@Span{e}{% - \HCode{&\ltx@hashchar x018e;}% - }% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@Xe} -% \begin{macrocode} -\def\HoLogoCss@Xe{% - \Css{% - span.HoLogo-Xe span.HoLogo-e{% - position:relative;% - top:.5ex;% - left-margin:-.1em;% - }% - }% - \global\let\HoLogoCss@Xe\relax -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@XeTeX} -% \begin{macrocode} -\def\HoLogo@XeTeX#1{% - \hologo{Xe}% - \kern-.15em\relax - \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogoHtml@XeTeX} -% \begin{macrocode} -\def\HoLogoHtml@XeTeX#1{% - \HoLogoCss@XeTeX - \HOLOGO@Span{XeTeX}{% - \hologo{Xe}% - \hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@XeTeX} -% \begin{macrocode} -\def\HoLogoCss@XeTeX{% - \Css{% - span.HoLogo-XeTeX span.HoLogo-TeX{% - margin-left:-.15em;% - }% - }% - \global\let\HoLogoCss@XeTeX\relax -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@XeLaTeX} -% \begin{macrocode} -\def\HoLogo@XeLaTeX#1{% - \hologo{Xe}% - \kern-.13em% - \hologo{LaTeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@XeLaTeX} -% \begin{macrocode} -\def\HoLogoHtml@XeLaTeX#1{% - \HoLogoCss@XeLaTeX - \HOLOGO@Span{XeLaTeX}{% - \hologo{Xe}% - \hologo{LaTeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@XeLaTeX} -% \begin{macrocode} -\def\HoLogoCss@XeLaTeX{% - \Css{% - span.HoLogo-XeLaTeX span.HoLogo-Xe{% - margin-right:-.13em;% - }% - }% - \global\let\HoLogoCss@XeLaTeX\relax -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{pdfTeX}, \hologo{pdfLaTeX}} -% -% \begin{macro}{\HoLogo@pdfTeX} -% \begin{macrocode} -\def\HoLogo@pdfTeX#1{% - \HOLOGO@mbox{% - #1{p}{P}df\hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCs@pdfTeX} -% \begin{macrocode} -\def\HoLogoCs@pdfTeX#1{#1{p}{P}dfTeX} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@pdfTeX} -% \begin{macrocode} -\def\HoLogoBkm@pdfTeX#1{% - #1{p}{P}df\hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@pdfTeX} -% \begin{macrocode} -\let\HoLogoHtml@pdfTeX\HoLogo@pdfTeX -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@pdfLaTeX} -% \begin{macrocode} -\def\HoLogo@pdfLaTeX#1{% - \HOLOGO@mbox{% - #1{p}{P}df\hologo{LaTeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCs@pdfLaTeX} -% \begin{macrocode} -\def\HoLogoCs@pdfLaTeX#1{#1{p}{P}dfLaTeX} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@pdfLaTeX} -% \begin{macrocode} -\def\HoLogoBkm@pdfLaTeX#1{% - #1{p}{P}df\hologo{LaTeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@pdfLaTeX} -% \begin{macrocode} -\let\HoLogoHtml@pdfLaTeX\HoLogo@pdfLaTeX -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{VTeX}} -% -% \begin{macro}{\HoLogo@VTeX} -% \begin{macrocode} -\def\HoLogo@VTeX#1{% - \HOLOGO@mbox{% - V\hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@VTeX} -% \begin{macrocode} -\let\HoLogoHtml@VTeX\HoLogo@VTeX -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{AmS}, \dots} -% -% Source: class \xclass{amsdtx} -% -% \begin{macro}{\HoLogo@AmS} -% \begin{macrocode} -\def\HoLogo@AmS#1{% - \HoLogoFont@font{AmS}{sy}{% - A% - \kern-.1667em% - \lower.5ex\hbox{M}% - \kern-.125em% - S% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@AmS} -% \begin{macrocode} -\def\HoLogoBkm@AmS#1{AmS} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@AmS} -% \begin{macrocode} -\def\HoLogoHtml@AmS#1{% - \HoLogoCss@AmS -% \HoLogoFont@font{AmS}{sy}{% - \HOLOGO@Span{AmS}{% - A% - \HOLOGO@Span{M}{M}% - S% - }% -% }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@AmS} -% \begin{macrocode} -\def\HoLogoCss@AmS{% - \Css{% - span.HoLogo-AmS span.HoLogo-M{% - position:relative;% - top:.5ex;% - margin-left:-.1667em;% - margin-right:-.125em;% - text-decoration:none;% - }% - }% - \global\let\HoLogoCss@AmS\relax -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@AmSTeX} -% \begin{macrocode} -\def\HoLogo@AmSTeX#1{% - \hologo{AmS}% - \HOLOGO@hyphen - \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@AmSTeX} -% \begin{macrocode} -\def\HoLogoBkm@AmSTeX#1{AmS-TeX}% -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@AmSTeX} -% \begin{macrocode} -\let\HoLogoHtml@AmSTeX\HoLogo@AmSTeX -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@AmSLaTeX} -% \begin{macrocode} -\def\HoLogo@AmSLaTeX#1{% - \hologo{AmS}% - \HOLOGO@hyphen - \hologo{LaTeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@AmSLaTeX} -% \begin{macrocode} -\def\HoLogoBkm@AmSLaTeX#1{AmS-LaTeX}% -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@AmSLaTeX} -% \begin{macrocode} -\let\HoLogoHtml@AmSLaTeX\HoLogo@AmSLaTeX -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{BibTeX}} -% -% \begin{macro}{\HoLogo@BibTeX@sc} -% A definition of \hologo{BibTeX} is provided in -% the documentation source for the manual of \hologo{BibTeX} -% \cite{btxdoc}. -%\begin{quote} -%\begin{verbatim} -%\def\BibTeX{% -% {% -% \rm -% B% -% \kern-.05em% -% {% -% \sc -% i% -% \kern-.025em % -% b% -% }% -% \kern-.08em -% T% -% \kern-.1667em% -% \lower.7ex\hbox{E}% -% \kern-.125em% -% X% -% }% -%} -%\end{verbatim} -%\end{quote} -% \begin{macrocode} -\def\HoLogo@BibTeX@sc#1{% - B% - \kern-.05em% - \HoLogoFont@font{BibTeX}{sc}{% - i% - \kern-.025em% - b% - }% - \HOLOGO@discretionary - \kern-.08em% - \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@BibTeX@sc} -% \begin{macrocode} -\def\HoLogoHtml@BibTeX@sc#1{% - \HoLogoCss@BibTeX@sc - \HOLOGO@Span{BibTeX-sc}{% - B% - \HOLOGO@Span{i}{i}% - \HOLOGO@Span{b}{b}% - \hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@BibTeX@sc} -% \begin{macrocode} -\def\HoLogoCss@BibTeX@sc{% - \Css{% - span.HoLogo-BibTeX-sc span.HoLogo-i{% - margin-left:-.05em;% - margin-right:-.025em;% - font-variant:small-caps;% - }% - }% - \Css{% - span.HoLogo-BibTeX-sc span.HoLogo-b{% - margin-right:-.08em;% - font-variant:small-caps;% - }% - }% - \global\let\HoLogoCss@BibTeX@sc\relax -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@BibTeX@sf} -% Variant \xoption{sf} avoids trouble with unavailable -% small caps fonts (e.g., bold versions of Computer Modern or -% Latin Modern). The definition is taken from -% package \xpackage{dtklogos} \cite{dtklogos}. -%\begin{quote} -%\begin{verbatim} -%\DeclareRobustCommand{\BibTeX}{% -% B% -% \kern-.05em% -% \hbox{% -% $\m@th$% %% force math size calculations -% \csname S@\f@size\endcsname -% \fontsize\sf@size\z@ -% \math@fontsfalse -% \selectfont -% I% -% \kern-.025em% -% B -% }% -% \kern-.08em% -% \-% -% \TeX -%} -%\end{verbatim} -%\end{quote} -% \begin{macrocode} -\def\HoLogo@BibTeX@sf#1{% - B% - \kern-.05em% - \HoLogoFont@font{BibTeX}{bibsf}{% - I% - \kern-.025em% - B% - }% - \HOLOGO@discretionary - \kern-.08em% - \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@BibTeX@sf} -% \begin{macrocode} -\def\HoLogoHtml@BibTeX@sf#1{% - \HoLogoCss@BibTeX@sf - \HOLOGO@Span{BibTeX-sf}{% - B% - \HoLogoFont@font{BibTeX}{bibsf}{% - \HOLOGO@Span{i}{I}% - B% - }% - \hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@BibTeX@sf} -% \begin{macrocode} -\def\HoLogoCss@BibTeX@sf{% - \Css{% - span.HoLogo-BibTeX-sf span.HoLogo-i{% - margin-left:-.05em;% - margin-right:-.025em;% - }% - }% - \Css{% - span.HoLogo-BibTeX-sf span.HoLogo-TeX{% - margin-left:-.08em;% - }% - }% - \global\let\HoLogoCss@BibTeX@sf\relax -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@BibTeX} -% \begin{macrocode} -\def\HoLogo@BibTeX{\HoLogo@BibTeX@sf} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@BibTeX} -% \begin{macrocode} -\def\HoLogoHtml@BibTeX{\HoLogoHtml@BibTeX@sf} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{BibTeX8}} -% -% \begin{macro}{\HoLogo@BibTeX8} -% \begin{macrocode} -\expandafter\def\csname HoLogo@BibTeX8\endcsname#1{% - \hologo{BibTeX}% - 8% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogoBkm@BibTeX8} -% \begin{macrocode} -\expandafter\def\csname HoLogoBkm@BibTeX8\endcsname#1{% - \hologo{BibTeX}% - 8% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@BibTeX8} -% \begin{macrocode} -\expandafter -\let\csname HoLogoHtml@BibTeX8\expandafter\endcsname -\csname HoLogo@BibTeX8\endcsname -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{ConTeXt}} -% -% \begin{macro}{\HoLogo@ConTeXt@simple} -% \begin{macrocode} -\def\HoLogo@ConTeXt@simple#1{% - \HOLOGO@mbox{Con}% - \HOLOGO@discretionary - \HOLOGO@mbox{\hologo{TeX}t}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@ConTeXt@simple} -% \begin{macrocode} -\let\HoLogoHtml@ConTeXt@simple\HoLogo@ConTeXt@simple -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@ConTeXt@narrow} -% This definition of logo \hologo{ConTeXt} with variant \xoption{narrow} -% comes from TUGboat's class \xclass{ltugboat} (version 2010/11/15 v2.8). -% \begin{macrocode} -\def\HoLogo@ConTeXt@narrow#1{% - \HOLOGO@mbox{C\kern-.0333emon}% - \HOLOGO@discretionary - \kern-.0667em% - \HOLOGO@mbox{\hologo{TeX}\kern-.0333emt}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@ConTeXt@narrow} -% \begin{macrocode} -\def\HoLogoHtml@ConTeXt@narrow#1{% - \HoLogoCss@ConTeXt@narrow - \HOLOGO@Span{ConTeXt-narrow}{% - \HOLOGO@Span{C}{C}% - on% - \hologo{TeX}% - t% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@ConTeXt@narrow} -% \begin{macrocode} -\def\HoLogoCss@ConTeXt@narrow{% - \Css{% - span.HoLogo-ConTeXt-narrow span.HoLogo-C{% - margin-left:-.0333em;% - }% - }% - \Css{% - span.HoLogo-ConTeXt-narrow span.HoLogo-TeX{% - margin-left:-.0667em;% - margin-right:-.0333em;% - }% - }% - \global\let\HoLogoCss@ConTeXt@narrow\relax -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@ConTeXt} -% \begin{macrocode} -\def\HoLogo@ConTeXt{\HoLogo@ConTeXt@narrow} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@ConTeXt} -% \begin{macrocode} -\def\HoLogoHtml@ConTeXt{\HoLogoHtml@ConTeXt@narrow} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{emTeX}} -% -% \begin{macro}{\HoLogo@emTeX} -% \begin{macrocode} -\def\HoLogo@emTeX#1{% - \HOLOGO@mbox{#1{e}{E}m}% - \HOLOGO@discretionary - \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCs@emTeX} -% \begin{macrocode} -\def\HoLogoCs@emTeX#1{#1{e}{E}mTeX}% -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@emTeX} -% \begin{macrocode} -\def\HoLogoBkm@emTeX#1{% - #1{e}{E}m\hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@emTeX} -% \begin{macrocode} -\let\HoLogoHtml@emTeX\HoLogo@emTeX -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{ExTeX}} -% -% \begin{macro}{\HoLogo@ExTeX} -% The definition is taken from the FAQ of the -% project \hologo{ExTeX} -% \cite{ExTeX-FAQ}. -%\begin{quote} -%\begin{verbatim} -%\def\ExTeX{% -% \textrm{% Logo always with serifs -% \ensuremath{% -% \textstyle -% \varepsilon_{% -% \kern-0.15em% -% \mathcal{X}% -% }% -% }% -% \kern-.15em% -% \TeX -% }% -%} -%\end{verbatim} -%\end{quote} -% \begin{macrocode} -\def\HoLogo@ExTeX#1{% - \HoLogoFont@font{ExTeX}{rm}{% - \ltx@mbox{% - \HOLOGO@MathSetup - $% - \textstyle - \varepsilon_{% - \kern-0.15em% - \HoLogoFont@font{ExTeX}{sy}{X}% - }% - $% - }% - \HOLOGO@discretionary - \kern-.15em% - \hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@ExTeX} -% \begin{macrocode} -\def\HoLogoHtml@ExTeX#1{% - \HoLogoCss@ExTeX - \HoLogoFont@font{ExTeX}{rm}{% - \HOLOGO@Span{ExTeX}{% - \ltx@mbox{% - \HOLOGO@MathSetup - $\textstyle\varepsilon$% - \HOLOGO@Span{X}{$\textstyle\chi$}% - \hologo{TeX}% - }% - }% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@ExTeX} -% \begin{macrocode} -\def\HoLogoBkm@ExTeX#1{% - \HOLOGO@PdfdocUnicode{#1{e}{E}x}{\textepsilon\textchi}% - \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@ExTeX} -% \begin{macrocode} -\def\HoLogoCss@ExTeX{% - \Css{% - span.HoLogo-ExTeX{% - font-family:serif;% - }% - }% - \Css{% - span.HoLogo-ExTeX span.HoLogo-TeX{% - margin-left:-.15em;% - }% - }% - \global\let\HoLogoCss@ExTeX\relax -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{MiKTeX}} -% -% \begin{macro}{\HoLogo@MiKTeX} -% \begin{macrocode} -\def\HoLogo@MiKTeX#1{% - \HOLOGO@mbox{MiK}% - \HOLOGO@discretionary - \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@MiKTeX} -% \begin{macrocode} -\let\HoLogoHtml@MiKTeX\HoLogo@MiKTeX -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{OzTeX} and friends} -% -% Source: \hologo{OzTeX} FAQ \cite{OzTeX}: -% \begin{quote} -% |\def\OzTeX{O\kern-.03em z\kern-.15em\TeX}|\\ -% (There is no kerning in OzMF, OzMP and OzTtH.) -% \end{quote} -% -% \begin{macro}{\HoLogo@OzTeX} -% \begin{macrocode} -\def\HoLogo@OzTeX#1{% - O% - \kern-.03em % - z% - \kern-.15em % - \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@OzTeX} -% \begin{macrocode} -\def\HoLogoHtml@OzTeX#1{% - \HoLogoCss@OzTeX - \HOLOGO@Span{OzTeX}{% - O% - \HOLOGO@Span{z}{z}% - \hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@OzTeX} -% \begin{macrocode} -\def\HoLogoCss@OzTeX{% - \Css{% - span.HoLogo-OzTeX span.HoLogo-z{% - margin-left:-.03em;% - margin-right:-.15em;% - }% - }% - \global\let\HoLogoCss@OzTeX\relax -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@OzMF} -% \begin{macrocode} -\def\HoLogo@OzMF#1{% - \HOLOGO@mbox{OzMF}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogo@OzMP} -% \begin{macrocode} -\def\HoLogo@OzMP#1{% - \HOLOGO@mbox{OzMP}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogo@OzTtH} -% \begin{macrocode} -\def\HoLogo@OzTtH#1{% - \HOLOGO@mbox{OzTtH}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{PCTeX}} -% -% \begin{macro}{\HoLogo@PCTeX} -% \begin{macrocode} -\def\HoLogo@PCTeX#1{% - \HOLOGO@mbox{PC}% - \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@PCTeX} -% \begin{macrocode} -\let\HoLogoHtml@PCTeX\HoLogo@PCTeX -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{PiCTeX}} -% -% The original definitions from \xfile{pictex.tex} \cite{PiCTeX}: -%\begin{quote} -%\begin{verbatim} -%\def\PiC{% -% P% -% \kern-.12em% -% \lower.5ex\hbox{I}% -% \kern-.075em% -% C% -%} -%\def\PiCTeX{% -% \PiC -% \kern-.11em% -% \TeX -%} -%\end{verbatim} -%\end{quote} -% -% \begin{macro}{\HoLogo@PiC} -% \begin{macrocode} -\def\HoLogo@PiC#1{% - P% - \kern-.12em% - \lower.5ex\hbox{I}% - \kern-.075em% - C% - \HOLOGO@SpaceFactor -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@PiC} -% \begin{macrocode} -\def\HoLogoHtml@PiC#1{% - \HoLogoCss@PiC - \HOLOGO@Span{PiC}{% - P% - \HOLOGO@Span{i}{I}% - C% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@PiC} -% \begin{macrocode} -\def\HoLogoCss@PiC{% - \Css{% - span.HoLogo-PiC span.HoLogo-i{% - position:relative;% - top:.5ex;% - margin-left:-.12em;% - margin-right:-.075em;% - text-decoration:none;% - }% - }% - \global\let\HoLogoCss@PiC\relax -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@PiCTeX} -% \begin{macrocode} -\def\HoLogo@PiCTeX#1{% - \hologo{PiC}% - \HOLOGO@discretionary - \kern-.11em% - \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@PiCTeX} -% \begin{macrocode} -\def\HoLogoHtml@PiCTeX#1{% - \HoLogoCss@PiCTeX - \HOLOGO@Span{PiCTeX}{% - \hologo{PiC}% - \hologo{TeX}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@PiCTeX} -% \begin{macrocode} -\def\HoLogoCss@PiCTeX{% - \Css{% - span.HoLogo-PiCTeX span.HoLogo-PiC{% - margin-right:-.11em;% - }% - }% - \global\let\HoLogoCss@PiCTeX\relax -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{teTeX}} -% -% \begin{macro}{\HoLogo@teTeX} -% \begin{macrocode} -\def\HoLogo@teTeX#1{% - \HOLOGO@mbox{#1{t}{T}e}% - \HOLOGO@discretionary - \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCs@teTeX} -% \begin{macrocode} -\def\HoLogoCs@teTeX#1{#1{t}{T}dfTeX} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@teTeX} -% \begin{macrocode} -\def\HoLogoBkm@teTeX#1{% - #1{t}{T}e\hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@teTeX} -% \begin{macrocode} -\let\HoLogoHtml@teTeX\HoLogo@teTeX -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{TeX4ht}} -% -% \begin{macro}{\HoLogo@TeX4ht} -% \begin{macrocode} -\expandafter\def\csname HoLogo@TeX4ht\endcsname#1{% - \HOLOGO@mbox{\hologo{TeX}4ht}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@TeX4ht} -% \begin{macrocode} -\expandafter -\let\csname HoLogoHtml@TeX4ht\expandafter\endcsname -\csname HoLogo@TeX4ht\endcsname -% \end{macrocode} -% \end{macro} -% -% -% \subsubsection{\hologo{SageTeX}} -% -% \begin{macro}{\HoLogo@SageTeX} -% \begin{macrocode} -\def\HoLogo@SageTeX#1{% - \HOLOGO@mbox{Sage}% - \HOLOGO@discretionary - \HOLOGO@NegativeKerning{eT,oT,To}% - \hologo{TeX}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@SageTeX} -% \begin{macrocode} -\let\HoLogoHtml@SageTeX\HoLogo@SageTeX -% \end{macrocode} -% \end{macro} -% -% \subsection{\hologo{METAFONT} and friends} -% -% \begin{macro}{\HoLogo@METAFONT} -% \begin{macrocode} -\def\HoLogo@METAFONT#1{% - \HoLogoFont@font{METAFONT}{logo}{% - \HOLOGO@mbox{META}% - \HOLOGO@discretionary - \HOLOGO@mbox{FONT}% - }% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@METAPOST} -% \begin{macrocode} -\def\HoLogo@METAPOST#1{% - \HoLogoFont@font{METAPOST}{logo}{% - \HOLOGO@mbox{META}% - \HOLOGO@discretionary - \HOLOGO@mbox{POST}% - }% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@MetaFun} -% \begin{macrocode} -\def\HoLogo@MetaFun#1{% - \HOLOGO@mbox{Meta}% - \HOLOGO@discretionary - \HOLOGO@mbox{Fun}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogo@MetaPost} -% \begin{macrocode} -\def\HoLogo@MetaPost#1{% - \HOLOGO@mbox{Meta}% - \HOLOGO@discretionary - \HOLOGO@mbox{Post}% -} -% \end{macrocode} -% \end{macro} -% -% \subsection{Others} -% -% \subsubsection{\hologo{biber}} -% -% \begin{macro}{\HoLogo@biber} -% \begin{macrocode} -\def\HoLogo@biber#1{% - \HOLOGO@mbox{#1{b}{B}i}% - \HOLOGO@discretionary - \HOLOGO@mbox{ber}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCs@biber} -% \begin{macrocode} -\def\HoLogoCs@biber#1{#1{b}{B}iber} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@biber} -% \begin{macrocode} -\def\HoLogoBkm@biber#1{% - #1{b}{B}iber% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@biber} -% \begin{macrocode} -\let\HoLogoHtml@biber\HoLogo@biber -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{KOMAScript}} -% -% \begin{macro}{\HoLogo@KOMAScript} -% The definition for \hologo{KOMAScript} is taken -% from \hologo{KOMAScript} (\xfile{scrlogo.dtx}, reformatted) \cite{scrlogo}: -%\begin{quote} -%\begin{verbatim} -%\@ifundefined{KOMAScript}{% -% \DeclareRobustCommand{\KOMAScript}{% -% \textsf{% -% K\kern.05em O\kern.05emM\kern.05em A% -% \kern.1em-\kern.1em % -% Script% -% }% -% }% -%}{} -%\end{verbatim} -%\end{quote} -% \begin{macrocode} -\def\HoLogo@KOMAScript#1{% - \HoLogoFont@font{KOMAScript}{sf}{% - \HOLOGO@mbox{% - K\kern.05em% - O\kern.05em% - M\kern.05em% - A% - }% - \kern.1em% - \HOLOGO@hyphen - \kern.1em% - \HOLOGO@mbox{Script}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@KOMAScript} -% \begin{macrocode} -\def\HoLogoBkm@KOMAScript#1{% - KOMA-Script% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@KOMAScript} -% \begin{macrocode} -\def\HoLogoHtml@KOMAScript#1{% - \HoLogoCss@KOMAScript - \HoLogoFont@font{KOMAScript}{sf}{% - \HOLOGO@Span{KOMAScript}{% - K% - \HOLOGO@Span{O}{O}% - M% - \HOLOGO@Span{A}{A}% - \HOLOGO@Span{hyphen}{-}% - Script% - }% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@KOMAScript} -% \begin{macrocode} -\def\HoLogoCss@KOMAScript{% - \Css{% - span.HoLogo-KOMAScript{% - font-family:sans-serif;% - }% - }% - \Css{% - span.HoLogo-KOMAScript span.HoLogo-O{% - padding-left:.05em;% - padding-right:.05em;% - }% - }% - \Css{% - span.HoLogo-KOMAScript span.HoLogo-A{% - padding-left:.05em;% - }% - }% - \Css{% - span.HoLogo-KOMAScript span.HoLogo-hyphen{% - padding-left:.1em;% - padding-right:.1em;% - }% - }% - \global\let\HoLogoCss@KOMAScript\relax -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{LyX}} -% -% \begin{macro}{\HoLogo@LyX} -% The definition is taken from the documentation source files -% of \hologo{LyX}, \xfile{Intro.lyx} \cite{LyX}: -%\begin{quote} -%\begin{verbatim} -%\def\LyX{% -% \texorpdfstring{% -% L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@% -% }{% -% LyX% -% }% -%} -%\end{verbatim} -%\end{quote} -% \begin{macrocode} -\def\HoLogo@LyX#1{% - L% - \kern-.1667em% - \lower.25em\hbox{Y}% - \kern-.125em% - X% - \HOLOGO@SpaceFactor -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@LyX} -% \begin{macrocode} -\def\HoLogoHtml@LyX#1{% - \HoLogoCss@LyX - \HOLOGO@Span{LyX}{% - L% - \HOLOGO@Span{y}{Y}% - X% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoCss@LyX} -% \begin{macrocode} -\def\HoLogoCss@LyX{% - \Css{% - span.HoLogo-LyX span.HoLogo-y{% - position:relative;% - top:.25em;% - margin-left:-.1667em;% - margin-right:-.125em;% - text-decoration:none;% - }% - }% - \global\let\HoLogoCss@LyX\relax -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\hologo{NTS}} -% -% \begin{macro}{\HoLogo@NTS} -% Definition for \hologo{NTS} can be found in -% package \xpackage{etex\textunderscore man} for the \hologo{eTeX} manual \cite{etexman} -% and in package \xpackage{dtklogos} \cite{dtklogos}: -%\begin{quote} -%\begin{verbatim} -%\def\NTS{% -% \leavevmode -% \hbox{% -% $% -% \cal N% -% \kern-0.35em% -% \lower0.5ex\hbox{$\cal T$}% -% \kern-0.2em% -% S% -% $% -% }% -%} -%\end{verbatim} -%\end{quote} -% \begin{macrocode} -\def\HoLogo@NTS#1{% - \HoLogoFont@font{NTS}{sy}{% - N\/% - \kern-.35em% - \lower.5ex\hbox{T\/}% - \kern-.2em% - S\/% - }% - \HOLOGO@SpaceFactor -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\Hologo{TTH} (\hologo{TeX} to HTML translator)} -% -% Source: \url{http://hutchinson.belmont.ma.us/tth/} -% In the HTML source the second `T' is printed as subscript. -%\begin{quote} -%\begin{verbatim} -%TTH -%\end{verbatim} -%\end{quote} -% \begin{macro}{\HoLogo@TTH} -% \begin{macrocode} -\def\HoLogo@TTH#1{% - \ltx@mbox{% - T\HOLOGO@SubScript{T}H% - }% - \HOLOGO@SpaceFactor -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HoLogoHtml@TTH} -% \begin{macrocode} -\def\HoLogoHtml@TTH#1{% - T\HCode{}T\HCode{}H% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{\Hologo{HanTheThanh}} -% -% Partial source: Package \xpackage{dtklogos}. -% The double accent is U+1EBF (latin small letter e with circumflex -% and acute). -% \begin{macro}{\HoLogo@HanTheThanh} -% \begin{macrocode} -\def\HoLogo@HanTheThanh#1{% - \ltx@mbox{H\`an}% - \HOLOGO@space - \ltx@mbox{% - Th% - \HOLOGO@IfCharExists{"1EBF}{% - \char"1EBF\relax - }{% - \^e\hbox to 0pt{\hss\raise .5ex\hbox{\'{}}}% - }% - }% - \HOLOGO@space - \ltx@mbox{Th\`anh}% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoBkm@HanTheThanh} -% \begin{macrocode} -\def\HoLogoBkm@HanTheThanh#1{% - H\`an % - Th\HOLOGO@PdfdocUnicode{\^e}{\9036\277} % - Th\`anh% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HoLogoHtml@HanTheThanh} -% \begin{macrocode} -\def\HoLogoHtml@HanTheThanh#1{% - H\`an % - Th\HCode{&\ltx@hashchar x1ebf;} % - Th\`anh% -} -% \end{macrocode} -% \end{macro} -% -% \subsection{Driver detection} -% -% \begin{macrocode} -\HOLOGO@IfExists\InputIfFileExists{% - \InputIfFileExists{hologo.cfg}{}{}% -}{% - \ltx@IfUndefined{pdf@filesize}{% - \def\HOLOGO@InputIfExists{% - \openin\HOLOGO@temp=hologo.cfg\relax - \ifeof\HOLOGO@temp - \closein\HOLOGO@temp - \else - \closein\HOLOGO@temp - \begingroup - \def\x{LaTeX2e}% - \expandafter\endgroup - \ifx\fmtname\x - \input{hologo.cfg}% - \else - \input hologo.cfg\relax - \fi - \fi - }% - \ltx@IfUndefined{newread}{% - \chardef\HOLOGO@temp=15 % - \def\HOLOGO@CheckRead{% - \ifeof\HOLOGO@temp - \HOLOGO@InputIfExists - \else - \ifcase\HOLOGO@temp - \@PackageWarningNoLine{hologo}{% - Configuration file ignored, because\MessageBreak - a free read register could not be found% - }% - \else - \begingroup - \count\ltx@cclv=\HOLOGO@temp - \advance\ltx@cclv by \ltx@minusone - \edef\x{\endgroup - \chardef\noexpand\HOLOGO@temp=\the\count\ltx@cclv - \relax - }% - \x - \fi - \fi - }% - }{% - \csname newread\endcsname\HOLOGO@temp - \HOLOGO@InputIfExists - }% - }{% - \edef\HOLOGO@temp{\pdf@filesize{hologo.cfg}}% - \ifx\HOLOGO@temp\ltx@empty - \else - \ifnum\HOLOGO@temp>0 % - \begingroup - \def\x{LaTeX2e}% - \expandafter\endgroup - \ifx\fmtname\x - \input{hologo.cfg}% - \else - \input hologo.cfg\relax - \fi - \else - \@PackageInfoNoLine{hologo}{% - Empty configuration file `hologo.cfg' ignored% - }% - \fi - \fi - }% -} -% \end{macrocode} -% -% \begin{macrocode} -\def\HOLOGO@temp#1#2{% - \kv@define@key{HoLogoDriver}{#1}[]{% - \begingroup - \def\HOLOGO@temp{##1}% - \ltx@onelevel@sanitize\HOLOGO@temp - \ifx\HOLOGO@temp\ltx@empty - \else - \@PackageError{hologo}{% - Value (\HOLOGO@temp) not permitted for option `#1'% - }% - \@ehc - \fi - \endgroup - \def\hologoDriver{#2}% - }% -}% -\def\HOLOGO@@temp#1#2{% - \ifx\kv@value\relax - \HOLOGO@temp{#1}{#1}% - \else - \HOLOGO@temp{#1}{#2}% - \fi -}% -\kv@parse@normalized{% - pdftex,% - luatex=pdftex,% - dvipdfm,% - dvipdfmx=dvipdfm,% - dvips,% - dvipsone=dvips,% - xdvi=dvips,% - xetex,% - vtex,% -}\HOLOGO@@temp -% \end{macrocode} -% -% \begin{macrocode} -\kv@define@key{HoLogoDriver}{driverfallback}{% - \def\HOLOGO@DriverFallback{#1}% -} -% \end{macrocode} -% -% \begin{macro}{\HOLOGO@DriverFallback} -% \begin{macrocode} -\def\HOLOGO@DriverFallback{dvips} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\hologoDriverSetup} -% \begin{macrocode} -\def\hologoDriverSetup{% - \let\hologoDriver\ltx@undefined - \HOLOGO@DriverSetup -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@DriverSetup} -% \begin{macrocode} -\def\HOLOGO@DriverSetup#1{% - \kvsetkeys{HoLogoDriver}{#1}% - \HOLOGO@CheckDriver - \ltx@ifundefined{hologoDriver}{% - \begingroup - \edef\x{\endgroup - \noexpand\kvsetkeys{HoLogoDriver}{\HOLOGO@DriverFallback}% - }\x - }{}% - \@PackageInfoNoLine{hologo}{Using driver `\hologoDriver'}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@CheckDriver} -% \begin{macrocode} -\def\HOLOGO@CheckDriver{% - \ifpdf - \def\hologoDriver{pdftex}% - \let\HOLOGO@pdfliteral\pdfliteral - \ifluatex - \ifx\pdfextension\@undefined\else - \protected\def\pdfliteral{\pdfextension literal}% - \let\HOLOGO@pdfliteral\pdfliteral - \fi - \ltx@IfUndefined{HOLOGO@pdfliteral}{% - \ifnum\luatexversion<36 % - \else - \begingroup - \let\HOLOGO@temp\endgroup - \ifcase0% - \directlua{% - if tex.enableprimitives then % - tex.enableprimitives('HOLOGO@', {'pdfliteral'})% - else % - tex.print('1')% - end% - }% - \ifx\HOLOGO@pdfliteral\@undefined 1\fi% - \relax% - \endgroup - \let\HOLOGO@temp\relax - \global\let\HOLOGO@pdfliteral\HOLOGO@pdfliteral - \fi% - \HOLOGO@temp - \fi - }{}% - \fi - \ltx@IfUndefined{HOLOGO@pdfliteral}{% - \@PackageWarningNoLine{hologo}{% - Cannot find \string\pdfliteral - }% - }{}% - \else - \ifxetex - \def\hologoDriver{xetex}% - \else - \ifvtex - \def\hologoDriver{vtex}% - \fi - \fi - \fi -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@WarningUnsupportedDriver} -% \begin{macrocode} -\def\HOLOGO@WarningUnsupportedDriver#1{% - \@PackageWarningNoLine{hologo}{% - Logo `#1' needs driver specific macros,\MessageBreak - but driver `\hologoDriver' is not supported.\MessageBreak - Use a different driver or\MessageBreak - load package `graphics' or `pgf'% - }% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{Reflect box macros} -% -% Skip driver part if not needed. -% \begin{macrocode} -\ltx@IfUndefined{reflectbox}{}{% - \ltx@IfUndefined{rotatebox}{}{% - \HOLOGO@AtEnd - }% -} -\ltx@IfUndefined{pgftext}{}{% - \HOLOGO@AtEnd -} -\ltx@IfUndefined{psscalebox}{}{% - \HOLOGO@AtEnd -} -% \end{macrocode} -% -% \begin{macrocode} -\def\HOLOGO@temp{LaTeX2e} -\ifx\fmtname\HOLOGO@temp - \RequirePackage{kvoptions}[2011/06/30]% - \ProcessKeyvalOptions{HoLogoDriver}% -\fi -\HOLOGO@DriverSetup{} -% \end{macrocode} -% -% \begin{macro}{\HOLOGO@ReflectBox} -% \begin{macrocode} -\def\HOLOGO@ReflectBox#1{% - \begingroup - \setbox\ltx@zero\hbox{\begingroup#1\endgroup}% - \setbox\ltx@two\hbox{% - \kern\wd\ltx@zero - \csname HOLOGO@ScaleBox@\hologoDriver\endcsname{-1}{1}{% - \hbox to 0pt{\copy\ltx@zero\hss}% - }% - }% - \wd\ltx@two=\wd\ltx@zero - \box\ltx@two - \endgroup -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\HOLOGO@PointReflectBox} -% \begin{macrocode} -\def\HOLOGO@PointReflectBox#1{% - \begingroup - \setbox\ltx@zero\hbox{\begingroup#1\endgroup}% - \setbox\ltx@two\hbox{% - \kern\wd\ltx@zero - \raise\ht\ltx@zero\hbox{% - \csname HOLOGO@ScaleBox@\hologoDriver\endcsname{-1}{-1}{% - \hbox to 0pt{\copy\ltx@zero\hss}% - }% - }% - }% - \wd\ltx@two=\wd\ltx@zero - \box\ltx@two - \endgroup -} -% \end{macrocode} -% \end{macro} -% -% We must define all variants because of dynamic driver setup. -% \begin{macrocode} -\def\HOLOGO@temp#1#2{#2} -% \end{macrocode} -% -% \begin{macro}{\HOLOGO@ScaleBox@pdftex} -% \begin{macrocode} -\HOLOGO@temp{pdftex}{% - \def\HOLOGO@ScaleBox@pdftex#1#2#3{% - \HOLOGO@pdfliteral{% - q #1 0 0 #2 0 0 cm% - }% - #3% - \HOLOGO@pdfliteral{% - Q% - }% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HOLOGO@ScaleBox@dvips} -% \begin{macrocode} -\HOLOGO@temp{dvips}{% - \def\HOLOGO@ScaleBox@dvips#1#2#3{% - \special{ps:% - gsave % - currentpoint % - currentpoint translate % - #1 #2 scale % - neg exch neg exch translate% - }% - #3% - \special{ps:% - currentpoint % - grestore % - moveto% - }% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HOLOGO@ScaleBox@dvipdfm} -% \begin{macrocode} -\HOLOGO@temp{dvipdfm}{% - \let\HOLOGO@ScaleBox@dvipdfm\HOLOGO@ScaleBox@dvips -} -% \end{macrocode} -% \end{macro} -% Since \hologo{XeTeX} v0.6. -% \begin{macro}{\HOLOGO@ScaleBox@xetex} -% \begin{macrocode} -\HOLOGO@temp{xetex}{% - \def\HOLOGO@ScaleBox@xetex#1#2#3{% - \special{x:gsave}% - \special{x:scale #1 #2}% - #3% - \special{x:grestore}% - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\HOLOGO@ScaleBox@vtex} -% \begin{macrocode} -\HOLOGO@temp{vtex}{% - \def\HOLOGO@ScaleBox@vtex#1#2#3{% - \special{r(#1,0,0,#2,0,0}% - #3% - \special{r)}% - }% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macrocode} -\HOLOGO@AtEnd% -% -% \end{macrocode} -%% \section{Installation} -% -% \subsection{Download} -% -% \paragraph{Package.} This package is available on -% CTAN\footnote{\CTANpkg{hologo}}: -% \begin{description} -% \item[\CTAN{macros/latex/contrib/oberdiek/hologo.dtx}] The source file. -% \item[\CTAN{macros/latex/contrib/oberdiek/hologo.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[\CTANinstall{install/macros/latex/contrib/oberdiek.tds.zip}] -% \end{description} -% \emph{TDS} refers to the standard ``A Directory Structure -% for \TeX\ Files'' (\CTANpkg{tds}). 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} -% -% \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 hologo.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@{}} -% hologo.sty & tex/generic/oberdiek/hologo.sty\\ -% hologo.pdf & doc/latex/oberdiek/hologo.pdf\\ -% example/hologo-example.tex & doc/latex/oberdiek/example/hologo-example.tex\\ -% hologo.dtx & source/latex/oberdiek/hologo.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 -% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh -% these. For example, \TeX\,Live\ users run \verb|texhash| or -% \verb|mktexlsr|. -% -% \subsection{Some details for the interested} -% -% \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{hologo.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 hologo.dtx -%makeindex -s gind.ist hologo.idx -%pdflatex hologo.dtx -%makeindex -s gind.ist hologo.idx -%pdflatex hologo.dtx -%\end{verbatim} -% \end{quote} -% -% \begin{thebibliography}{9} -% \raggedright -% -% \bibitem{btxdoc} -% Oren Patashnik, -% \textit{\hologo{BibTeX}ing}, -% 1988-02-08.\\ -% \CTANpkg{base} -% -% \bibitem{dtklogos} -% Gerd Neugebauer, DANTE, -% \textit{Package \xpackage{dtklogos}}, -% 2011-04-25.\\ -% \url{http://mirrors.ctan.org/usergrps/dante/dtk/dtk-logos.sty} -% -% \bibitem{etexman} -% The \hologo{NTS} Team, -% \textit{The \hologo{eTeX} manual}, -% 1998-02.\\ -% \CTANpkg{doc} -% -% \bibitem{ExTeX-FAQ} -% The \hologo{ExTeX} group, -% \textit{\hologo{ExTeX}: FAQ -- How is \hologo{ExTeX} typeset?}, -% 2007-04-14.\\ -% \url{http://www.extex.org/documentation/faq.html} -% -% \bibitem{LyX} -% ^^A@MISC{ LyX, -% ^^A title = {{LyX 2.0.0 -- The Document Processor [Computer software and manual]}}, -% ^^A author = {{The LyX Team}}, -% ^^A howpublished = {Internet: http://www.lyx.org}, -% ^^A year = {2011-05-08}, -% ^^A note = {Retrieved May 10, 2011, from http://www.lyx.org}, -% ^^A url = {http://www.lyx.org/} -% ^^A} -% The \hologo{LyX} Team, -% \textit{\hologo{LyX} -- The Document Processor}, -% 2011-05-08.\\ -% \url{http://www.lyx.org/} -% -% \bibitem{OzTeX} -% Andrew Trevorrow, -% \hologo{OzTeX} FAQ: What is the correct way to typeset ``\hologo{OzTeX}''?, -% 2011-09-15 (visited). -% \url{http://www.trevorrow.com/oztex/ozfaq.html#oztex-logo} -% -% \bibitem{PiCTeX} -% Michael Wichura, -% \textit{The \hologo{PiCTeX} macro package}, -% 1987-09-21. -% \CTANpkg{pictex} -% -% \bibitem{scrlogo} -% Markus Kohm, -% \textit{\hologo{KOMAScript} Datei \xfile{scrlogo.dtx}}, -% 2009-01-30.\\ -% \CTANinstall{install/macros/latex/contrib/koma-script.tds.zip} -% -% \end{thebibliography} -% -% \begin{History} -% \begin{Version}{2010/04/08 v1.0} -% \item -% The first version. -% \end{Version} -% \begin{Version}{2010/04/16 v1.1} -% \item -% \cs{Hologo} added for support of logos at start of a sentence. -% \item -% \cs{hologoSetup} and \cs{hologoLogoSetup} added. -% \item -% Options \xoption{break}, \xoption{hyphenbreak}, \xoption{spacebreak} -% added. -% \item -% Variant support added by option \xoption{variant}. -% \end{Version} -% \begin{Version}{2010/04/24 v1.2} -% \item -% \hologo{LaTeX3} added. -% \item -% \hologo{VTeX} added. -% \end{Version} -% \begin{Version}{2010/11/21 v1.3} -% \item -% \hologo{iniTeX}, \hologo{virTeX} added. -% \end{Version} -% \begin{Version}{2011/03/25 v1.4} -% \item -% \hologo{ConTeXt} with variants added. -% \item -% Option \xoption{discretionarybreak} added as refinement for -% option \xoption{break}. -% \end{Version} -% \begin{Version}{2011/04/21 v1.5} -% \item -% Wrong TDS directory for test files fixed. -% \end{Version} -% \begin{Version}{2011/10/01 v1.6} -% \item -% Support for package \xpackage{tex4ht} added. -% \item -% Support for \cs{csname} added if \cs{ifincsname} is available. -% \item -% New logos: -% \hologo{(La)TeX}, -% \hologo{biber}, -% \hologo{BibTeX} (\xoption{sc}, \xoption{sf}), -% \hologo{emTeX}, -% \hologo{ExTeX}, -% \hologo{KOMAScript}, -% \hologo{La}, -% \hologo{LyX}, -% \hologo{MiKTeX}, -% \hologo{NTS}, -% \hologo{OzMF}, -% \hologo{OzMP}, -% \hologo{OzTeX}, -% \hologo{OzTtH}, -% \hologo{PCTeX}, -% \hologo{PiC}, -% \hologo{PiCTeX}, -% \hologo{METAFONT}, -% \hologo{MetaFun}, -% \hologo{METAPOST}, -% \hologo{MetaPost}, -% \hologo{SLiTeX} (\xoption{lift}, \xoption{narrow}, \xoption{simple}), -% \hologo{SliTeX} (\xoption{narrow}, \xoption{simple}, \xoption{lift}), -% \hologo{teTeX}. -% \item -% Fixes: -% \hologo{iniTeX}, -% \hologo{pdfLaTeX}, -% \hologo{pdfTeX}, -% \hologo{virTeX}. -% \item -% \cs{hologoFontSetup} and \cs{hologoLogoFontSetup} added. -% \item -% \cs{hologoVariant} and \cs{HologoVariant} added. -% \end{Version} -% \begin{Version}{2011/11/22 v1.7} -% \item -% New logos: -% \hologo{BibTeX8}, -% \hologo{LaTeXML}, -% \hologo{SageTeX}, -% \hologo{TeX4ht}, -% \hologo{TTH}. -% \item -% \hologo{Xe} and friends: Driver stuff fixed. -% \item -% \hologo{Xe} and friends: Support for italic added. -% \item -% \hologo{Xe} and friends: Package support for \xpackage{pgf} -% and \xpackage{pstricks} added. -% \end{Version} -% \begin{Version}{2011/11/29 v1.8} -% \item -% New logos: -% \hologo{HanTheThanh}. -% \end{Version} -% \begin{Version}{2011/12/21 v1.9} -% \item -% Patch for package \xpackage{ifxetex} added for the case that -% \cs{newif} is undefined in \hologo{iniTeX}. -% \item -% Some fixes for \hologo{iniTeX}. -% \end{Version} -% \begin{Version}{2012/04/26 v1.10} -% \item -% Fix in bookmark version of logo ``\hologo{HanTheThanh}''. -% \end{Version} -% \begin{Version}{2016/05/12 v1.11} -% \item -% Update HOLOGO@IfCharExists (previously in texlive) -% \item define pdfliteral in current luatex. -% \end{Version} -% \begin{Version}{2016/05/16 v1.12} -% \item -% Documentation updates. -% \end{Version} -% \begin{Version}{2017/05/01 v1.13} -% \item -% Removing spurious comments in bibliography. (github PR from yudai-nkt) -% \end{Version} -% \end{History} -% -% \PrintIndex -% -% \Finale -\endinput diff --git a/macros/latex/contrib/oberdiek/hologo.pdf b/macros/latex/contrib/oberdiek/hologo.pdf deleted file mode 100644 index 2a5dbfc9b7..0000000000 Binary files a/macros/latex/contrib/oberdiek/hologo.pdf and /dev/null differ diff --git a/macros/latex/contrib/oberdiek/holtxdoc.pdf b/macros/latex/contrib/oberdiek/holtxdoc.pdf index f59f98fc88..42b2ff13a0 100644 Binary files a/macros/latex/contrib/oberdiek/holtxdoc.pdf and b/macros/latex/contrib/oberdiek/holtxdoc.pdf differ diff --git a/macros/latex/contrib/oberdiek/hopatch.pdf b/macros/latex/contrib/oberdiek/hopatch.pdf index 73d35e1b27..cca48d5b2f 100644 Binary files a/macros/latex/contrib/oberdiek/hopatch.pdf and b/macros/latex/contrib/oberdiek/hopatch.pdf differ diff --git a/macros/latex/contrib/oberdiek/hycolor.pdf b/macros/latex/contrib/oberdiek/hycolor.pdf index 4dd03d9857..06d00f571b 100644 Binary files a/macros/latex/contrib/oberdiek/hycolor.pdf and b/macros/latex/contrib/oberdiek/hycolor.pdf differ diff --git a/macros/latex/contrib/oberdiek/hypbmsec.pdf b/macros/latex/contrib/oberdiek/hypbmsec.pdf index fa74435f4d..edbb170567 100644 Binary files a/macros/latex/contrib/oberdiek/hypbmsec.pdf and b/macros/latex/contrib/oberdiek/hypbmsec.pdf differ diff --git a/macros/latex/contrib/oberdiek/hypcap.pdf b/macros/latex/contrib/oberdiek/hypcap.pdf index 66f5284fa7..a8b46c2c1d 100644 Binary files a/macros/latex/contrib/oberdiek/hypcap.pdf and b/macros/latex/contrib/oberdiek/hypcap.pdf differ diff --git a/macros/latex/contrib/oberdiek/hypdestopt.pdf b/macros/latex/contrib/oberdiek/hypdestopt.pdf index 7d23392768..9d5bb19945 100644 Binary files a/macros/latex/contrib/oberdiek/hypdestopt.pdf and b/macros/latex/contrib/oberdiek/hypdestopt.pdf differ diff --git a/macros/latex/contrib/oberdiek/hypdoc.pdf b/macros/latex/contrib/oberdiek/hypdoc.pdf index 27d22afb5e..3186a4365a 100644 Binary files a/macros/latex/contrib/oberdiek/hypdoc.pdf and b/macros/latex/contrib/oberdiek/hypdoc.pdf differ diff --git a/macros/latex/contrib/oberdiek/hypgotoe.pdf b/macros/latex/contrib/oberdiek/hypgotoe.pdf index a6f500ff66..abbdfcda07 100644 Binary files a/macros/latex/contrib/oberdiek/hypgotoe.pdf and b/macros/latex/contrib/oberdiek/hypgotoe.pdf differ diff --git a/macros/latex/contrib/oberdiek/hyphsubst.pdf b/macros/latex/contrib/oberdiek/hyphsubst.pdf index b050f45e1f..b237a1f4d3 100644 Binary files a/macros/latex/contrib/oberdiek/hyphsubst.pdf and b/macros/latex/contrib/oberdiek/hyphsubst.pdf differ diff --git a/macros/latex/contrib/oberdiek/ifdraft.pdf b/macros/latex/contrib/oberdiek/ifdraft.pdf index 9d71e862eb..bdc21344bb 100644 Binary files a/macros/latex/contrib/oberdiek/ifdraft.pdf and b/macros/latex/contrib/oberdiek/ifdraft.pdf differ diff --git a/macros/latex/contrib/oberdiek/iflang.pdf b/macros/latex/contrib/oberdiek/iflang.pdf index e755675d02..3315aec095 100644 Binary files a/macros/latex/contrib/oberdiek/iflang.pdf and b/macros/latex/contrib/oberdiek/iflang.pdf differ diff --git a/macros/latex/contrib/oberdiek/intcalc.pdf b/macros/latex/contrib/oberdiek/intcalc.pdf index be33245d32..3173e157c4 100644 Binary files a/macros/latex/contrib/oberdiek/intcalc.pdf and b/macros/latex/contrib/oberdiek/intcalc.pdf differ diff --git a/macros/latex/contrib/oberdiek/kvdefinekeys.pdf b/macros/latex/contrib/oberdiek/kvdefinekeys.pdf index 04e7111c2d..23422cb58e 100644 Binary files a/macros/latex/contrib/oberdiek/kvdefinekeys.pdf and b/macros/latex/contrib/oberdiek/kvdefinekeys.pdf differ diff --git a/macros/latex/contrib/oberdiek/kvsetkeys.pdf b/macros/latex/contrib/oberdiek/kvsetkeys.pdf index c5afe2fbb5..06fcef8bc7 100644 Binary files a/macros/latex/contrib/oberdiek/kvsetkeys.pdf and b/macros/latex/contrib/oberdiek/kvsetkeys.pdf differ diff --git a/macros/latex/contrib/oberdiek/listingsutf8.dtx b/macros/latex/contrib/oberdiek/listingsutf8.dtx index 1cf8b78795..4912923a88 100644 --- a/macros/latex/contrib/oberdiek/listingsutf8.dtx +++ b/macros/latex/contrib/oberdiek/listingsutf8.dtx @@ -633,7 +633,7 @@ and the derived files % \bibitem{inputenc} % Alan Jeffrey, Frank Mittelbach, % \textit{inputenc.sty}, 2006/05/05 v1.1b. -% \CTANpkg{iputenc} +% \CTANpkg{inputenc} % % \bibitem{listings} % Carsten Heinz, Brooks Moses: diff --git a/macros/latex/contrib/oberdiek/listingsutf8.pdf b/macros/latex/contrib/oberdiek/listingsutf8.pdf index 3644e9b320..3adbbf83f3 100644 Binary files a/macros/latex/contrib/oberdiek/listingsutf8.pdf and b/macros/latex/contrib/oberdiek/listingsutf8.pdf differ diff --git a/macros/latex/contrib/oberdiek/ltxcmds.pdf b/macros/latex/contrib/oberdiek/ltxcmds.pdf index 5ad2de5379..a6f5e44662 100644 Binary files a/macros/latex/contrib/oberdiek/ltxcmds.pdf and b/macros/latex/contrib/oberdiek/ltxcmds.pdf differ diff --git a/macros/latex/contrib/oberdiek/oberdiek-bundle.bib b/macros/latex/contrib/oberdiek/oberdiek-bundle.bib index 8699846e18..447fce6508 100644 --- a/macros/latex/contrib/oberdiek/oberdiek-bundle.bib +++ b/macros/latex/contrib/oberdiek/oberdiek-bundle.bib @@ -1,10 +1,3 @@ -@manual{oberdiek:accsupp, - title={The accsupp package}, - author={Heiko Oberdiek}, - date={2018-03-28}, - version={0.5}, - url={https://ctan.org/pkg/accsupp}, -} @manual{oberdiek:aliascnt, title={The aliascnt package}, author={Heiko Oberdiek}, @@ -26,27 +19,6 @@ version={2.4}, url={https://ctan.org/pkg/askinclude}, } -@manual{oberdiek:atbegshi, - title={The atbegshi package}, - author={Heiko Oberdiek}, - date={2016-06-09}, - version={1.18}, - url={https://ctan.org/pkg/atbegshi}, -} -@manual{oberdiek:atenddvi, - title={The atenddvi package}, - author={Heiko Oberdiek}, - date={2016-05-16}, - version={1.2}, - url={https://ctan.org/pkg/atenddvi}, -} -@manual{oberdiek:atveryend, - title={The atveryend package}, - author={Heiko Oberdiek}, - date={2016-05-16}, - version={1.9}, - url={https://ctan.org/pkg/atveryend}, -} @manual{oberdiek:auxhook, title={The auxhook package}, author={Heiko Oberdiek}, @@ -166,13 +138,6 @@ version={1.5}, url={https://ctan.org/pkg/gettitlestring}, } -@manual{oberdiek:hologo, - title={The hologo package}, - author={Heiko Oberdiek}, - date={2017-05-01}, - version={1.13}, - url={https://ctan.org/pkg/hologo}, -} @manual{oberdiek:holtxdoc, title={The holtxdoc package}, author={Heiko Oberdiek}, @@ -341,13 +306,6 @@ version={1.14}, url={https://ctan.org/pkg/pdfescape}, } -@manual{oberdiek:pdflscape, - title={The pdflscape package}, - author={Heiko Oberdiek}, - date={2016-05-16}, - version={0.11}, - url={https://ctan.org/pkg/pdflscape}, -} @manual{oberdiek:pdfrender, title={The pdfrender package}, author={Heiko Oberdiek}, @@ -362,13 +320,6 @@ version={1.4}, url={https://ctan.org/pkg/picture}, } -@manual{oberdiek:pmboxdraw, - title={The pmboxdraw package}, - author={Heiko Oberdiek}, - date={2019-02-28}, - version={1.3}, - url={https://ctan.org/pkg/pmboxdraw}, -} @manual{oberdiek:protecteddef, title={The protecteddef package}, author={Heiko Oberdiek}, @@ -383,13 +334,6 @@ version={3.5}, url={https://ctan.org/pkg/refcount}, } -@manual{oberdiek:rerunfilecheck, - title={The rerunfilecheck package}, - author={Heiko Oberdiek}, - date={2016-05-16}, - version={1.8}, - url={https://ctan.org/pkg/rerunfilecheck}, -} @manual{oberdiek:resizegather, title={The resizegather package}, author={Heiko Oberdiek}, diff --git a/macros/latex/contrib/oberdiek/oberdiek.ins b/macros/latex/contrib/oberdiek/oberdiek.ins index d977aee442..304bd89a99 100644 --- a/macros/latex/contrib/oberdiek/oberdiek.ins +++ b/macros/latex/contrib/oberdiek/oberdiek.ins @@ -1,5 +1,5 @@ % oberdiek.ins -% 2019/12/03 +% 2019/12/05 % % Copyright (C) % 1999, 2001, 2006 Heiko Oberdiek @@ -26,13 +26,9 @@ % \input docstrip -\batchinput{accsupp.dtx} \batchinput{aliascnt.dtx} \batchinput{alphalph.dtx} \batchinput{askinclude.dtx} -\batchinput{atbegshi.dtx} -\batchinput{atenddvi.dtx} -\batchinput{atveryend.dtx} \batchinput{auxhook.dtx} \batchinput{bigintcalc.dtx} \batchinput{bitset.dtx} @@ -50,7 +46,6 @@ \batchinput{fibnum.dtx} \batchinput{flags.dtx} \batchinput{gettitlestring.dtx} -\batchinput{hologo.dtx} \batchinput{holtxdoc.dtx} \batchinput{hopatch.dtx} \batchinput{hycolor.dtx} @@ -75,13 +70,10 @@ \batchinput{pdfcolparcolumns.dtx} \batchinput{pdfcrypt.dtx} \batchinput{pdfescape.dtx} -\batchinput{pdflscape.dtx} \batchinput{pdfrender.dtx} \batchinput{picture.dtx} -\batchinput{pmboxdraw.dtx} \batchinput{protecteddef.dtx} \batchinput{refcount.dtx} -\batchinput{rerunfilecheck.dtx} \batchinput{resizegather.dtx} \batchinput{rotchiffre.dtx} \batchinput{scrindex.dtx} diff --git a/macros/latex/contrib/oberdiek/oberdiek.pdf b/macros/latex/contrib/oberdiek/oberdiek.pdf index c1b1fcd067..d497116d51 100644 Binary files a/macros/latex/contrib/oberdiek/oberdiek.pdf and b/macros/latex/contrib/oberdiek/oberdiek.pdf differ diff --git a/macros/latex/contrib/oberdiek/oberdiek.tex b/macros/latex/contrib/oberdiek/oberdiek.tex index 4de3c5bbee..2597af8c6f 100644 --- a/macros/latex/contrib/oberdiek/oberdiek.tex +++ b/macros/latex/contrib/oberdiek/oberdiek.tex @@ -10,7 +10,7 @@ \newcommand*{\Author}{Heiko Oberdiek} \newcommand*{\Email}{ho-tex at tug.org} -\newcommand*{\Date}{2019/12/15} +\newcommand*{\Date}{2019/12/05} % Copyright (C) 2006-2016 by % Heiko Oberdiek @@ -174,18 +174,12 @@ \section{Overview} \begin{overview} -\entry{accsupp}{Accessibility support by marked content}% -[\entrysep] \entry{aliascnt}{Alias counters}% [\entrysep] \entry{alphalph}{Convert numbers to letters}% [\entrysep] \entry{askinclude}{Interactive asking of included files}% [\entrysep] -\entry{atbegshi}{At begin shipout hook}% -[\entrysep] -\entry{atenddvi}{At end DVI hook}% -[\entrysep] \entry{atveryend}{Hooks at the very end of document}% [\entrysep] \entry{auxhook}{Hooks for auxiliary files}% @@ -222,8 +216,6 @@ [\entrysep] \entry{gettitlestring}{Cleanup title references}% [\entrysep] -\entry{hologo}{A logo collection with bookmark support}% -[\entrysep] \entry{holtxdoc}{Private additional ltxdoc support}% [\entrysep] \entry{hopatch}{Wrapper for package hooks}% @@ -272,20 +264,14 @@ [\entrysep] \entry{pdfescape}{Implements \hologo{pdfTeX}'s escape features}% [\entrysep] -\entry{pdflscape}{Display of landscape pages in PDF}% -[\entrysep] \entry{pdfrender}{Access to some PDF graphics parameters}% [\entrysep] \entry{picture}{Dimens for picture macros}% [\entrysep] -\entry{pmboxdraw}{Poor man's box drawing characters}% -[\entrysep] \entry{protecteddef}{Define protected commands}% [\entrysep] \entry{refcount}{Data extraction from label references}% [\entrysep] -\entry{rerunfilecheck}{Rerun checks for auxiliary files}% -[\entrysep] \entry{resizegather}{Resize overly large equations}% [\entrysep] \entry{rotchiffre}{Perform simple rotation ciphers}% @@ -320,18 +306,6 @@ \section{Packages} \hypersetup{bookmarksnumbered=false} -\subsection{\pkgsectformat{accsupp}} -\label{accsupp} -\begin{abstract} -Since PDF 1.5 portions of a page can be marked for better -accessibility support. -For example, replacement texts or expansions of abbreviations can be -provided. Package \xpackage{accsupp} starts with providing a minimal -low-level interface for programmers. Status is experimental. -\end{abstract} -\tocinclude{accsupp} - -\newpage \subsection{\pkgsectformat{aliascnt}} \label{aliascnt} \begin{abstract} @@ -358,42 +332,6 @@ interface. \end{abstract} \tocinclude{askinclude} -\newpage -\subsection{\pkgsectformat{atbegshi}} -\label{atbegshi} -\begin{abstract} -This package is a modern reimplementation of package \xpackage{everyshi} -without the burden of compatibility. It makes use of \eTeX's if available. -Both \LaTeX\ and \plainTeX\ are supported. -\end{abstract} -\tocinclude{atbegshi} - -\newpage -\subsection{\pkgsectformat{atenddvi}} -\label{atenddvi} -\begin{abstract} -\LaTeX\ offers \cs{AtBeginDvi}. This package \xpackage{atenddvi} -provides the counterpart \cs{AtEndDvi}. The execution of its -argument is delayed to the end of the document at the end of the -last page. Thus \cs{special} and \cs{write} remain effective, because -they are put into the last page. This is the main difference -to \cs{AtEndDocument}. -\end{abstract} -\tocinclude{atenddvi} - -\newpage -\subsection{\pkgsectformat{atveryend}} -\label{atveryend} -\begin{abstract} -This \LaTeX\ package provides two hooks for \verb|\end{document}| -that are executed after the hook of \cs{AtEndDocument}. -\cs{AfterLastShipout} can be used for code that is to be executed -right after the last \cs{clearpage} before the \xext{aux} file -is closed. \cs{AtVeryEndDocument} is used for code after closing -and final reading of the \xext{aux} file. -\end{abstract} -\tocinclude{atveryend} - \newpage \subsection{\pkgsectformat{auxhook}} \label{auxhook} @@ -565,15 +503,6 @@ commands from title strings. \end{abstract} \tocinclude{gettitlestring} -\newpage -\subsection{\pkgsectformat{hologo}} -\label{hologo} -\begin{abstract} -This package starts a collection of logos with support for bookmarks -strings. -\end{abstract} -\tocinclude{hologo} - \newpage \subsection{\pkgsectformat{holtxdoc}} \label{holtxdoc} @@ -819,16 +748,6 @@ This package implements \pdfTeX's escape features \end{abstract} \tocinclude{pdfescape} -\newpage -\subsection{\pkgsectformat{pdflscape}} -\label{pdflscape} -\begin{abstract} -Package \xpackage{pdflscape} adds PDF support to the -environment \texttt{landscape} of package \xpackage{lscape} -by setting the PDF page attribute \texttt{/Rotate}. -\end{abstract} -\tocinclude{pdflscape} - \newpage \subsection{\pkgsectformat{pdfrender}} \label{pdfrender} @@ -851,15 +770,6 @@ dimens with calculation support can be added for these arguments. \end{abstract} \tocinclude{picture} -\newpage -\subsection{\pkgsectformat{pmboxdraw}} -\label{pmboxdraw} -\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} -\tocinclude{pmboxdraw} - \newpage \subsection{\pkgsectformat{protecteddef}} \label{protecteddef} @@ -886,16 +796,6 @@ from references. Packages \xpackage{hyperref}, \xpackage{nameref}, \end{abstract} \tocinclude{refcount} -\newpage -\subsection{\pkgsectformat{rerunfilecheck}} -\label{rerunfilecheck} -\begin{abstract} -The package provides additional rerun warnings if some -auxiliary files have changed. It is based on MD5 checksum, -provided by \pdfTeX. -\end{abstract} -\tocinclude{rerunfilecheck} - \newpage \subsection{\pkgsectformat{resizegather}} \label{resizegather} diff --git a/macros/latex/contrib/oberdiek/pagegrid.pdf b/macros/latex/contrib/oberdiek/pagegrid.pdf index c39dc8c8fe..df8217c5f5 100644 Binary files a/macros/latex/contrib/oberdiek/pagegrid.pdf and b/macros/latex/contrib/oberdiek/pagegrid.pdf differ diff --git a/macros/latex/contrib/oberdiek/pagesel.pdf b/macros/latex/contrib/oberdiek/pagesel.pdf index 8d67402b44..f1b6ff3f2b 100644 Binary files a/macros/latex/contrib/oberdiek/pagesel.pdf and b/macros/latex/contrib/oberdiek/pagesel.pdf differ diff --git a/macros/latex/contrib/oberdiek/pdfcol.pdf b/macros/latex/contrib/oberdiek/pdfcol.pdf index 09162628ac..b06d916ed8 100644 Binary files a/macros/latex/contrib/oberdiek/pdfcol.pdf and b/macros/latex/contrib/oberdiek/pdfcol.pdf differ diff --git a/macros/latex/contrib/oberdiek/pdfcolfoot.pdf b/macros/latex/contrib/oberdiek/pdfcolfoot.pdf index df94353acb..d436446f13 100644 Binary files a/macros/latex/contrib/oberdiek/pdfcolfoot.pdf and b/macros/latex/contrib/oberdiek/pdfcolfoot.pdf differ diff --git a/macros/latex/contrib/oberdiek/pdfcolparallel.pdf b/macros/latex/contrib/oberdiek/pdfcolparallel.pdf index 60a21023c0..f009b264e1 100644 Binary files a/macros/latex/contrib/oberdiek/pdfcolparallel.pdf and b/macros/latex/contrib/oberdiek/pdfcolparallel.pdf differ diff --git a/macros/latex/contrib/oberdiek/pdfcolparcolumns.pdf b/macros/latex/contrib/oberdiek/pdfcolparcolumns.pdf index c5515f1ea3..d011accb92 100644 Binary files a/macros/latex/contrib/oberdiek/pdfcolparcolumns.pdf and b/macros/latex/contrib/oberdiek/pdfcolparcolumns.pdf differ diff --git a/macros/latex/contrib/oberdiek/pdfcrypt.pdf b/macros/latex/contrib/oberdiek/pdfcrypt.pdf index 621d52f08c..f1a7bda7d7 100644 Binary files a/macros/latex/contrib/oberdiek/pdfcrypt.pdf and b/macros/latex/contrib/oberdiek/pdfcrypt.pdf differ diff --git a/macros/latex/contrib/oberdiek/pdfescape.pdf b/macros/latex/contrib/oberdiek/pdfescape.pdf index 4100374575..b722009b2f 100644 Binary files a/macros/latex/contrib/oberdiek/pdfescape.pdf and b/macros/latex/contrib/oberdiek/pdfescape.pdf differ diff --git a/macros/latex/contrib/oberdiek/pdflscape.dtx b/macros/latex/contrib/oberdiek/pdflscape.dtx deleted file mode 100644 index e808b973e3..0000000000 --- a/macros/latex/contrib/oberdiek/pdflscape.dtx +++ /dev/null @@ -1,825 +0,0 @@ -% \iffalse meta-comment -% -% File: pdflscape.dtx -% Version: 2016/05/14 v0.11 -% Info: Display of landscape pages in PDF -% -% Copyright (C) -% 2001, 2004, 2006-2008 Heiko Oberdiek -% 2016-2019 Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either -% version 1.3c of this license or (at your option) any later -% version. This version of this license is in -% https://www.latex-project.org/lppl/lppl-1-3c.txt -% and the latest version of this license is in -% https://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". -% -% The Current Maintainers of this work are -% Heiko Oberdiek and the Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues -% -% This work consists of the main source file pdflscape.dtx -% and the derived files -% pdflscape.sty, pdflscape.pdf, pdflscape.ins, pdflscape.drv, -% pdflscape-test1.tex, pdflscape-test2.tex, -% pdflscape-test3.tex, pdflscape-test4.tex, -% pdflscape-test5.tex, pdflscape-test6.tex, -% pdflscape-test6.txt, ExtractRotate.java. -% -% Distribution: -% CTAN:macros/latex/contrib/oberdiek/pdflscape.dtx -% CTAN:macros/latex/contrib/oberdiek/pdflscape.pdf -% -% Unpacking: -% (a) If pdflscape.ins is present: -% tex pdflscape.ins -% (b) Without pdflscape.ins: -% tex pdflscape.dtx -% (c) If you insist on using LaTeX -% latex \let\install=y\input{pdflscape.dtx} -% (quote the arguments according to the demands of your shell) -% -% Documentation: -% (a) If pdflscape.drv is present: -% latex pdflscape.drv -% (b) Without pdflscape.drv: -% latex pdflscape.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 pdflscape.dtx -% makeindex -s gind.ist pdflscape.idx -% pdflatex pdflscape.dtx -% makeindex -s gind.ist pdflscape.idx -% pdflatex pdflscape.dtx -% -% Installation: -% TDS:tex/latex/oberdiek/pdflscape.sty -% TDS:doc/latex/oberdiek/pdflscape.pdf -% TDS:source/latex/oberdiek/pdflscape.dtx -% -%<*ignore> -\begingroup - \catcode123=1 % - \catcode125=2 % - \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: pdflscape 2016/05/14 v0.11 Display of landscape pages in PDF (HO)} -\Msg{************************************************************************} - -\keepsilent -\askforoverwritefalse - -\let\MetaPrefix\relax -\preamble - -This is a generated file. - -Project: pdflscape -Version: 2016/05/14 v0.11 - -Copyright (C) - 2001, 2004, 2006-2008 Heiko Oberdiek - 2016-2019 Oberdiek Package Support Group - -This work may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either -version 1.3c of this license or (at your option) any later -version. This version of this license is in - https://www.latex-project.org/lppl/lppl-1-3c.txt -and the latest version of this license is in - https://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". - -The Current Maintainers of this work are -Heiko Oberdiek and the Oberdiek Package Support Group -https://github.com/ho-tex/oberdiek/issues - - -This work consists of the main source file pdflscape.dtx -and the derived files - pdflscape.sty, pdflscape.pdf, pdflscape.ins, pdflscape.drv, - pdflscape-test1.tex, pdflscape-test2.tex, - pdflscape-test3.tex, pdflscape-test4.tex, - pdflscape-test5.tex, pdflscape-test6.tex, - pdflscape-test6.txt, ExtractRotate.java. - -\endpreamble -\let\MetaPrefix\DoubleperCent - -\generate{% - \file{pdflscape.ins}{\from{pdflscape.dtx}{install}}% - \file{pdflscape.drv}{\from{pdflscape.dtx}{driver}}% - \usedir{tex/latex/oberdiek}% - \file{pdflscape.sty}{\from{pdflscape.dtx}{package}}% -% \usedir{doc/latex/oberdiek/test}% -% \file{pdflscape-test1.tex}{\from{pdflscape.dtx}{test0,test1}}% -% \file{pdflscape-test2.tex}{\from{pdflscape.dtx}{test0,test2}}% -% \file{pdflscape-test3.tex}{\from{pdflscape.dtx}{test0,test3}}% -% \file{pdflscape-test4.tex}{\from{pdflscape.dtx}{test0,test4}}% -% \file{pdflscape-test5.tex}{\from{pdflscape.dtx}{test5}}% -% \file{pdflscape-test6.tex}{\from{pdflscape.dtx}{test6}}% - \nopreamble - \nopostamble -% \file{pdflscape-test6.txt}{\from{pdflscape.dtx}{result6}}% -% \file{ExtractRotate.java}{\from{pdflscape.dtx}{ExtractRotate}}% -% \usedir{source/latex/oberdiek/catalogue}% -% \file{pdflscape.xml}{\from{pdflscape.dtx}{catalogue}}% -} - -\catcode32=13\relax% active space -\let =\space% -\Msg{************************************************************************} -\Msg{*} -\Msg{* To finish the installation you have to move the following} -\Msg{* file into a directory searched by TeX:} -\Msg{*} -\Msg{* pdflscape.sty} -\Msg{*} -\Msg{* To produce the documentation run the file `pdflscape.drv'} -\Msg{* through LaTeX.} -\Msg{*} -\Msg{* Happy TeXing!} -\Msg{*} -\Msg{************************************************************************} - -\endbatchfile -% -%<*ignore> -\fi -% -%<*driver> -\NeedsTeXFormat{LaTeX2e} -\ProvidesFile{pdflscape.drv}% - [2016/05/14 v0.11 Display of landscape pages in PDF (HO)]% -\documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/11/22] -\usepackage{graphics} -\begin{document} - \DocInput{pdflscape.dtx}% -\end{document} -% -% \fi -% -% -% -% \GetFileInfo{pdflscape.drv} -% -% \title{The \xpackage{pdflscape} package} -% \date{2016/05/14 v0.11} -% \author{Heiko Oberdiek\thanks -% {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}} -% -% \maketitle -% -% \begin{abstract} -% Package \xpackage{pdflscape} adds PDF support to the -% environment \texttt{landscape} of package \xpackage{lscape} -% by setting the PDF page attribute \texttt{/Rotate}. -% \end{abstract} -% -% \tableofcontents -% -% \section{Documentation} -% -% \subsection{Supported drivers} -% -% \begin{itemize} -% \item \xoption{pdftex},\xoption{luatex} -% \item \xoption{dvips}, \xoption{dvipsone}, -% \xoption{pctex32}, \xoption{pctexps} -% (and other drivers that provide a non-empty \cs{Gin@PS@raw}) -% \item \xoption{dvipdfm} -% \end{itemize} -% -% \subsection{Caveat} -% -% Depending on the configuration Ghostscript -% adds a guessed rotation entry by its own. -% This can lead to two |/Rotate| entries per page. -% To prevent this behaviour set the parameter -% |AutoRotatePages| to |/None|, eg: -% \begin{quote} -% |ps2pdf -dAutoRotatePages=/None| -% \end{quote} -% -% \subsection{Requirements} -% -% \begin{itemize} -% \item The package \xpackage{lscape}. -% \item The package \xpackage{atbegshi} for all drivers -% except \xoption{pdftex},\xoption{luatex}. -% \end{itemize} -% -% \subsection{Usage} -% -% Load this package instead of or after package \xpackage{lscape}: -% \begin{quote} -% |\usepackage{pdflscape}|\\ -% |\begin{landscape}|\dots|\end{landscape}| -% \end{quote} -% -% \StopEventually{ -% } -% -% \section{Implementation} -% -% \subsection{Package identification} -% -% \begin{macrocode} -%<*package> -% \end{macrocode} -% Package identification. -% \begin{macrocode} -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{pdflscape}% - [2016/05/14 v0.11 Display of landscape pages in PDF (HO)] -% \end{macrocode} -% -% \subsection{Driver options} -% -% \begin{macrocode} -\let\PLS@option\@empty -\let\PLS@driver\@empty -\def\PLS@temp#1#2{% - \DeclareOption{#1}{% - \let\PLS@option\CurrentOption - \def\PLS@driver{#2}% - }% -} -\PLS@temp{pdftex}{pdftex} -\PLS@temp{luatex}{pdftex} -\PLS@temp{dvips}{dvips} -\PLS@temp{dvipsone}{dvips} -\PLS@temp{pctexps}{dvips} -\PLS@temp{dvipdfm}{dvipdfm} -\PLS@temp{dvipdfmx}{dvipdfm} -\PLS@temp{xetex}{dvipdfm} -\let\PLS@temp\@empty -\DeclareOption*{% - \ifx\PLS@temp\@empty - \let\PLS@temp\CurrentOption - \else - \edef\PLS@temp{\PLS@temp,\CurrentOption}% - \fi -} -\ProcessOptions* -\ifx\PLS@option\@empty -\else - \expandafter\PassOptionsToPackage\expandafter{\PLS@option}{lscape}% -\fi -\ifx\PLS@temp\@empty -\else - \expandafter\PassOptionsToPackage\expandafter{\PLS@temp}{lscape}% -\fi -\RequirePackage{lscape} -% \end{macrocode} -% -% \subsection{Autodetection of driver} -% -% \subsubsection{Driver \xoption{pdftex}} -% -% \begin{macrocode} -\RequirePackage{ifpdf}[2006/02/20] -\def\PLS@temp{pdftex} -\ifpdf - \ifx\PLS@driver\@empty - \let\PLS@driver\PLS@temp - \PackageInfo{pdflscape}{Auto-detected driver: \PLS@temp}% - \fi - \ifx\PLS@driver\PLS@temp - \else - \PackageError{pdflscape}{% - The driver option `\PLS@option' is not compatible\MessageBreak - with pdfTeX in PDF mode, using driver `pdftex' instead% - }\@ehc - \let\PLS@driver\PLS@temp - \fi -\fi -% \end{macrocode} -% -% \subsubsection{Driver \xoption{xetex}} -% -% \begin{macrocode} -\RequirePackage{ifxetex}% -\def\PLS@temp{dvipdfm} -\ifxetex - \ifx\PLS@driver\@empty - \let\PLS@driver\PLS@temp - \PackageInfo{pdflscape}{% - Auto-detected driver: \PLS@temp\space(xetex)% - }% - \fi - \ifx\PLS@driver\PLS@temp - \else - \PackageError{pdflscape}{% - The driver option `\PLS@option' is not compatible\MessageBreak - with XeTeX, using driver for XeTeX (dvipdfm) instead% - }\@ehc - \let\PLS@driver\PLS@temp - \fi -\fi -% \end{macrocode} -% -% \subsubsection{Detect driver based on \cs{Gin@driver}} -% -% \begin{macrocode} -\def\PLS@temp#1#2{% - \ifx\PLS@driver\@empty - \begingroup - \def\PLS@temp{#1.def}% - \expandafter\endgroup - \ifx\PLS@temp\Gin@driver - \def\PLS@driver{#2}% - \PackageInfo{pdflscape}{% - Auto-detected driver: \PLS@driver\space(#1)% - }% - \fi - \fi -} -\PLS@temp{dvipdfm}{dvipdfm} -\PLS@temp{dvipdfmx}{dvipdfm} -\PLS@temp{dvips}{dvips} -\PLS@temp{dvipsone}{dvips} -\PLS@temp{pctexps}{dvips} -% \end{macrocode} -% -% \subsubsection{Driver \xoption{dvips}} -% -% \begin{macrocode} -\ifx\PLS@driver\@empty - \def\PLS@temp{dvips}% - \ifnum 1=0\ifx\Gin@PS@raw\@undefined - \else - \ifx\Gin@PS@raw\relax - \else - \ifx\Gin@PS@raw\@empty - \else - 1% - \fi - \fi - \fi - \space - \let\PLS@driver\PLS@temp - \PackageInfo{pdflscape}{% - Auto-detected driver: \PLS@temp\space(PostScript)% - }% - \fi -\fi -% \end{macrocode} -% -% \begin{macrocode} -\ifx\PLS@driver\@empty - \PackageError{pdflscape}{% - Neither pdfTeX, PostScript, nor dvipdfm driver found% - }\@ehc -\fi -% \end{macrocode} -% -% \subsection{Driver implementation} -% -% \begin{itemize} -% \item |\PLS@AddRotate #1|\\ -% it expects the correct rotation number in |#1| -% and implements the adding of the /Rotation entry -% in the |/Page| object of the current page. -% \item |\PLS@RemoveRotate|\\ -% it removes a previous |/Rotate| entry, if necessary. -% \end{itemize} -% -% \subsubsection{\pdfTeX} -% -% Not too nice is the global setting of \cs{pdfpageattr}. -% Perhaps this can be changed in future versions. -% -% luatex compat. -% \begin{macrocode} -\ifx\pdfpageattr\@undefined - \ifx\pdfvariable\@undefined\else - \protected\edef\pdfpageattr{\pdfvariable pageattr} - \fi -\fi -% \end{macrocode} -% \begin{macrocode} -\def\PLS@temp{pdftex} -\ifx\PLS@temp\PLS@driver - \def\PLS@AddRotate#1{% - \ifnum#1=0 % -% \end{macrocode} -% Already the default. -% \begin{macrocode} - \else - \global\pdfpageattr\expandafter{% - \the\pdfpageattr - /Rotate #1% - }% - \fi - }% -% \end{macrocode} -% Removes a |/Rotate| entry. -% \begin{macrocode} - \def\PLS@RemoveRotate{% - \begingroup - \global\pdfpageattr\expandafter{\expandafter}% - \expandafter\PLS@@RemoveRotate - \the\pdfpageattr /Rotate\@nil - \endgroup - }% - \def\PLS@@RemoveRotate#1/Rotate#2\@nil{% -% \end{macrocode} -% Append |/Rotate| free stuff to \cs{pdfpageattr}. -% \begin{macrocode} - \global\pdfpageattr\expandafter{\the\pdfpageattr#1}% - \ifx\\#2\\% -% \end{macrocode} -% Ready, because the detected |/Rotate| is part of -% the end marker: |/Rotate\@nil| -% \begin{macrocode} - \else -% \end{macrocode} -% First read in the argument of |/Rotate|, -% then continue parsing. -% \begin{macrocode} - \afterassignment\PLS@@RemoveRotate - \count0=#2\@nil - \fi - }% -\fi -% \end{macrocode} -% -% \subsubsection{PostScript driver} -% -% \begin{macrocode} -\def\PLS@temp{dvips} -\ifx\PLS@temp\PLS@driver - \RequirePackage{atbegshi}% - \AtBeginShipout{\PLS@AtBeginShipout}% - \let\PLS@AtBeginShipout\@empty - \def\PLS@AddRotate#1{% - \ifnum#1=0 % - \else - \def\PLS@AtBeginShipout{% - \global\setbox\AtBeginShipoutBox\vbox{% - \Gin@PS@raw{% - [{ThisPage}\string<\string\string>% - /PUT pdfmark% - }% - \box\AtBeginShipoutBox - }% - }% - \fi - }% - \def\PLS@RemoveRotate{\let\PLS@AtBeginShipout\@empty}% -\fi -% \end{macrocode} -% -% \subsubsection{Driver dvipdfm} -% -% \begin{macrocode} -\def\PLS@temp{dvipdfm} -\ifx\PLS@temp\PLS@driver - \RequirePackage{atbegshi}% - \AtBeginShipout{\PLS@AtBeginShipout}% - \let\PLS@AtBeginShipout\@empty - \def\PLS@AddRotate#1{% - \ifnum#1=0 % - \else - \def\PLS@AtBeginShipout{% - \global\setbox\AtBeginShipoutBox\vbox{% - \special{pdf: put @thispage <>}% - \box\AtBeginShipoutBox - }% - }% - \fi - }% - \def\PLS@RemoveRotate{\let\PLS@AtBeginShipout\@empty}% -\fi -% \end{macrocode} -% -% \subsection{Driver independent stuff} -% -% The landscape environment is extended by -% adding the correct |/Rotate| entries. -% \begin{macrocode} -\g@addto@macro{\landscape}{\PLS@Rotate{90}} -\g@addto@macro{\endlandscape}{\PLS@Rotate{0}} -% \end{macrocode} -% -% \begin{macro}{\PLS@Rotate} -% Main macro, that sets the |/Rotate| entry.\\ -% Argument: any TeX number or nothing, that means zero.\\ -% Driver independent. -% \begin{macrocode} -\def\PLS@Rotate#1{% - \begingroup -% \end{macrocode} -% 1. Check and validate the argument. -% \begin{macrocode} - \PLS@CheckAngle{#1}% - \expandafter\endgroup -% \end{macrocode} -% 2. Remove previous |\Rotate| entry. -% \begin{macrocode} - \expandafter\PLS@RemoveRotate -% \end{macrocode} -% 3. Add |/Rotate| entry. -% \begin{macrocode} - \expandafter\PLS@AddRotate\expandafter{\the\count@}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\PLS@CheckAngle} -% Validates the rotation angle.\\ -% The result is stored in the count register |\count@|.\\ -% Driver independent. -% \begin{macrocode} -\def\PLS@CheckAngle#1{% -% \end{macrocode} -% Nothing means zero: -% \begin{macrocode} - \ifx\\#1\\% - \count@=0 % - \else - \count@=#1\relax - \fi -% \end{macrocode} -% Normalize to interval -360 $<$ |\count@| $<$ 360. -% \begin{macrocode} - \@whilenum\count@>359\do{\advance\count@ -360 }% - \@whilenum\count@<-359\do{\advance\count@ 360 }% -% \end{macrocode} -% Check values: 0, +/-90, +/-180, +/-270 -% \begin{macrocode} - \ifnum 1=0\ifnum\count@=0 \else - \ifnum\count@=90 \else - \ifnum\count@=-90 \else - \ifnum\count@=180 \else - \ifnum\count@=-180 \else - \ifnum\count@=270 \else - \ifnum\count@=-270 \else - 1\fi\fi\fi\fi\fi\fi\fi\relax - \PackageError{pdflscape}{% - Invalid value \the\count@\space for /Rotate% - }\@ehc - \count@=0 % - \fi -} -% \end{macrocode} -% \end{macro} -% -% \begin{macrocode} -% -% \end{macrocode} -% -% \section{Installation} -% -% \subsection{Download} -% -% \paragraph{Package.} This package is available on -% CTAN\footnote{\CTANpkg{pdflscape}}: -% \begin{description} -% \item[\CTAN{macros/latex/contrib/oberdiek/pdflscape.dtx}] The source file. -% \item[\CTAN{macros/latex/contrib/oberdiek/pdflscape.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[\CTANinstall{install/macros/latex/contrib/oberdiek.tds.zip}] -% \end{description} -% \emph{TDS} refers to the standard ``A Directory Structure -% for \TeX\ Files'' (\CTANpkg{tds}). 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} -% -% \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 pdflscape.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@{}} -% pdflscape.sty & tex/latex/oberdiek/pdflscape.sty\\ -% pdflscape.pdf & doc/latex/oberdiek/pdflscape.pdf\\ -% test/pdflscape-test6.txt & doc/latex/oberdiek/test/pdflscape-test6.txt\\ -% test/ExtractRotate.java & doc/latex/oberdiek/test/ExtractRotate.java\\ -% pdflscape.dtx & source/latex/oberdiek/pdflscape.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 -% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh -% these. For example, \TeX\,Live\ users run \verb|texhash| or -% \verb|mktexlsr|. -% -% \subsection{Some details for the interested} -% -% \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{pdflscape.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 pdflscape.dtx -%makeindex -s gind.ist pdflscape.idx -%pdflatex pdflscape.dtx -%makeindex -s gind.ist pdflscape.idx -%pdflatex pdflscape.dtx -%\end{verbatim} -% \end{quote} -% -% \begin{History} -% \begin{Version}{2001/01/15 v0.1} -% \item -% First public version, -% published in \xnewsgroup{de.comp.text.tex}:\\ -% \URL{``\link{Re: Querformat, pdfLaTex und thumbpdf}''}^^A -% {https://groups.google.com/group/de.comp.text.tex/msg/e054c5795e52d2b8} -% \end{Version} -% \begin{Version}{2001/02/04 v0.2} -% \item -% Minor documentation update. -% \item -% CTAN. -% \end{Version} -% \begin{Version}{2004/05/11 v0.3} -% \item -% Support for dvipdfm added. -% \end{Version} -% \begin{Version}{2004/05/12 v0.4} -% \item -% Bug fix: support for multipage landscape environment -% for all drivers except for \xoption{pdftex}. -% \end{Version} -% \begin{Version}{2006/02/20 v0.5} -% \item -% DTX framework. -% \item -% LPPL 1.3 -% \item -% Code is not changed. -% \end{Version} -% \begin{Version}{2006/04/24 v0.6} -% \item -% Bug fix: \cs{PLS@RemoveRotate} reinserted for \cs{PLS@Rotate}. -% \item -% Fix for \cs{PLS@RemoveRotate} (dvips/dvipdfm): \cs{PLS@EverhShi} -% hook is cleared. -% \end{Version} -% \begin{Version}{2007/04/11 v0.7} -% \item -% Line ends sanitized. -% \end{Version} -% \begin{Version}{2007/04/17 v0.8} -% \item -% Package \xpackage{atbegshi} replaces \xpackage{everyshi}. -% \end{Version} -% \begin{Version}{2007/10/21 v0.9} -% \item -% Driver detection for \XeTeX\ added. -% \item -% Fix for rotation angles $\le$~-360 or $\ge$~360. -% \end{Version} -% \begin{Version}{2008/08/11 v0.10} -% \item -% Code is not changed. -% \item -% URLs updated. -% \end{Version} -% \begin{Version}{2016/05/14 v0.11} -% \item -% LuaTeX Compatibility -% \end{Version} -% \end{History} -% -% \PrintIndex -% -% \Finale -\endinput diff --git a/macros/latex/contrib/oberdiek/pdflscape.pdf b/macros/latex/contrib/oberdiek/pdflscape.pdf deleted file mode 100644 index 39e9c4ff80..0000000000 Binary files a/macros/latex/contrib/oberdiek/pdflscape.pdf and /dev/null differ diff --git a/macros/latex/contrib/oberdiek/pdfrender.pdf b/macros/latex/contrib/oberdiek/pdfrender.pdf index 5379dd894b..7dbd6c2540 100644 Binary files a/macros/latex/contrib/oberdiek/pdfrender.pdf and b/macros/latex/contrib/oberdiek/pdfrender.pdf differ diff --git a/macros/latex/contrib/oberdiek/picture.pdf b/macros/latex/contrib/oberdiek/picture.pdf index 8d58447aa0..f2a3565297 100644 Binary files a/macros/latex/contrib/oberdiek/picture.pdf and b/macros/latex/contrib/oberdiek/picture.pdf differ diff --git a/macros/latex/contrib/oberdiek/pmboxdraw.dtx b/macros/latex/contrib/oberdiek/pmboxdraw.dtx deleted file mode 100644 index 480eac755d..0000000000 --- a/macros/latex/contrib/oberdiek/pmboxdraw.dtx +++ /dev/null @@ -1,5459 +0,0 @@ -% \iffalse meta-comment -% -% File: pmboxdraw.dtx -% Version: 2019/02/28 v1.3 -% Info: Poor man's box drawing characters -% -% Copyright (C) -% 2006, 2011 Heiko Oberdiek -% 2016-2019 Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either -% version 1.3c of this license or (at your option) any later -% version. This version of this license is in -% https://www.latex-project.org/lppl/lppl-1-3c.txt -% and the latest version of this license is in -% https://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". -% -% The Current Maintainers of this work are -% Heiko Oberdiek and the Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues -% -% This work consists of the main source file pmboxdraw.dtx -% and the derived files -% pmboxdraw.sty, pmboxdraw.pdf, pmboxdraw.ins, pmboxdraw.drv, -% pmboxdrawenc.dfu, pmboxdraw-test1.tex. -% -% 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 - \catcode123=1 % - \catcode125=2 % - \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 2019/02/28 v1.3 Poor man's box drawing characters (HO)} -\Msg{************************************************************************} - -\keepsilent -\askforoverwritefalse - -\let\MetaPrefix\relax -\preamble - -This is a generated file. - -Project: pmboxdraw -Version: 2019/02/28 v1.3 - -Copyright (C) - 2006, 2011 Heiko Oberdiek - 2016-2019 Oberdiek Package Support Group - -This work may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either -version 1.3c of this license or (at your option) any later -version. This version of this license is in - https://www.latex-project.org/lppl/lppl-1-3c.txt -and the latest version of this license is in - https://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". - -The Current Maintainers of this work are -Heiko Oberdiek and the Oberdiek Package Support Group -https://github.com/ho-tex/oberdiek/issues - - -This work consists of the main source file pmboxdraw.dtx -and the derived files - pmboxdraw.sty, pmboxdraw.pdf, pmboxdraw.ins, pmboxdraw.drv, - pmboxdrawenc.dfu, pmboxdraw-test1.tex. - -\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}}% -% \usedir{doc/latex/oberdiek/test}% -% \file{pmboxdraw-test1.tex}{\from{pmboxdraw.dtx}{test1}}% -} - -\catcode32=13\relax% active space -\let =\space% -\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{* 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}% - [2019/02/28 v1.3 Poor man's box drawing characters (HO)]% -\documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/11/22] -\usepackage{color} -\let\orgdimexpr\dimexpr -%\let\dimexpr\relax -\usepackage{pmboxdraw} -\let\dimexpr\orgdimexpr -\usepackage{longtable} -\setcounter{tocdepth}{2} -\hypersetup{bookmarksdepth=3} -\begin{document} - \DocInput{pmboxdraw.dtx}% -\end{document} -% -% \fi -% -% -% -% \GetFileInfo{pmboxdraw.drv} -% -% \title{The \xpackage{pmboxdraw} package} -% \date{2019/02/28 v1.3} -% \author{Heiko Oberdiek\thanks -% {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}} -% -% \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\fontfamily{lmtt}\selectfont -% \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~2019/02/28 \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{% -% \textcolor{blue}{^^A -% \fbox{\color{black}\texttt{\csname text#3\endcsname}}^^A -% } -% & \texttt{U+25#1} -% & \texttt{#2} -% & \texttt{\textbackslash text#3} -% \\*[-\fboxsep] -% & -% \multicolumn{3}{l}{\lowercase{#4}}\\^^A -% } -% \def\entryU#1#2{% -% \textcolor{blue}{^^A -% \fbox{\color{black}\texttt{\pmboxdrawuni{25#1}}}^^A -% } -% & \texttt{U+25#1} -% & \texttt{uni25#1} -% & \texttt{\textbackslash pmboxdrawuni\{25#1\}} -% \\*[-\fboxsep] -% & -% \multicolumn{3}{l}{\lowercase{#2}}\\^^A -% } -% \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} -% \entryU{01}{BOX DRAWINGS HEAVY HORIZONTAL} -% \entry{02}{11}{BOX DRAWINGS LIGHT VERTICAL} -% \entryU{03}{BOX DRAWINGS HEAVY VERTICAL} -% \entry{0C}{01}{BOX DRAWINGS LIGHT DOWN AND RIGHT} -% \entryU{0D}{BOX DRAWINGS DOWN LIGHT AND RIGHT HEAVY} -% \entryU{0E}{BOX DRAWINGS DOWN HEAVY AND RIGHT LIGHT} -% \entryU{0F}{BOX DRAWINGS HEAVY DOWN AND RIGHT} -% \entry{10}{03}{BOX DRAWINGS LIGHT DOWN AND LEFT} -% \entryU{11}{BOX DRAWINGS DOWN LIGHT AND LEFT HEAVY} -% \entryU{12}{BOX DRAWINGS DOWN HEAVY AND LEFT LIGHT} -% \entryU{13}{BOX DRAWINGS HEAVY DOWN AND LEFT} -% \entry{14}{02}{BOX DRAWINGS LIGHT UP AND RIGHT} -% \entryU{15}{BOX DRAWINGS UP LIGHT AND RIGHT HEAVY} -% \entryU{16}{BOX DRAWINGS UP HEAVY AND RIGHT LIGHT} -% \entryU{17}{BOX DRAWINGS HEAVY UP AND RIGHT} -% \entry{18}{04}{BOX DRAWINGS LIGHT UP AND LEFT} -% \entryU{19}{BOX DRAWINGS UP LIGHT AND LEFT HEAVY} -% \entryU{1A}{BOX DRAWINGS UP HEAVY AND LEFT LIGHT} -% \entryU{1B}{BOX DRAWINGS HEAVY UP AND LEFT} -% \entry{1C}{08}{BOX DRAWINGS LIGHT VERTICAL AND RIGHT} -% \entryU{1D}{BOX DRAWINGS VERTICAL LIGHT AND RIGHT HEAVY} -% \entryU{1E}{BOX DRAWINGS UP HEAVY AND RIGHT DOWN LIGHT} -% \entryU{1F}{BOX DRAWINGS DOWN HEAVY AND RIGHT UP LIGHT} -% \entryU{20}{BOX DRAWINGS VERTICAL HEAVY AND RIGHT LIGHT} -% \entryU{21}{BOX DRAWINGS DOWN LIGHT AND RIGHT UP HEAVY} -% \entryU{22}{BOX DRAWINGS UP LIGHT AND RIGHT DOWN HEAVY} -% \entryU{23}{BOX DRAWINGS HEAVY VERTICAL AND RIGHT} -% \entry{24}{09}{BOX DRAWINGS LIGHT VERTICAL AND LEFT} -% \entryU{25}{BOX DRAWINGS VERTICAL LIGHT AND LEFT HEAVY} -% \entryU{26}{BOX DRAWINGS UP HEAVY AND LEFT DOWN LIGHT} -% \entryU{27}{BOX DRAWINGS DOWN HEAVY AND LEFT UP LIGHT} -% \entryU{28}{BOX DRAWINGS VERTICAL HEAVY AND LEFT LIGHT} -% \entryU{29}{BOX DRAWINGS DOWN LIGHT AND LEFT UP HEAVY} -% \entryU{2A}{BOX DRAWINGS UP LIGHT AND LEFT DOWN HEAVY} -% \entryU{2B}{BOX DRAWINGS HEAVY VERTICAL AND LEFT} -% \entry{2C}{06}{BOX DRAWINGS LIGHT DOWN AND HORIZONTAL} -% \entryU{2D}{BOX DRAWINGS LEFT HEAVY AND RIGHT DOWN LIGHT} -% \entryU{2E}{BOX DRAWINGS RIGHT HEAVY AND LEFT DOWN LIGHT} -% \entryU{2F}{BOX DRAWINGS DOWN LIGHT AND HORIZONTAL HEAVY} -% \entryU{30}{BOX DRAWINGS DOWN HEAVY AND HORIZONTAL LIGHT} -% \entryU{31}{BOX DRAWINGS RIGHT LIGHT AND LEFT DOWN HEAVY} -% \entryU{32}{BOX DRAWINGS LEFT LIGHT AND RIGHT DOWN HEAVY} -% \entryU{33}{BOX DRAWINGS HEAVY DOWN AND HORIZONTAL} -% \entry{34}{07}{BOX DRAWINGS LIGHT UP AND HORIZONTAL} -% \entryU{35}{BOX DRAWINGS LEFT HEAVY AND RIGHT UP LIGHT} -% \entryU{36}{BOX DRAWINGS RIGHT HEAVY AND LEFT UP LIGHT} -% \entryU{37}{BOX DRAWINGS UP LIGHT AND HORIZONTAL HEAVY} -% \entryU{38}{BOX DRAWINGS UP HEAVY AND HORIZONTAL LIGHT} -% \entryU{39}{BOX DRAWINGS RIGHT LIGHT AND LEFT UP HEAVY} -% \entryU{3A}{BOX DRAWINGS LEFT LIGHT AND RIGHT UP HEAVY} -% \entryU{3B}{BOX DRAWINGS HEAVY UP AND HORIZONTAL} -% \entry{3C}{05}{BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL} -% \entryU{3D}{BOX DRAWINGS LEFT HEAVY AND RIGHT VERTICAL LIGHT} -% \entryU{3E}{BOX DRAWINGS RIGHT HEAVY AND LEFT VERTICAL LIGHT} -% \entryU{3F}{BOX DRAWINGS VERTICAL LIGHT AND HORIZONTAL HEAVY} -% \entryU{40}{BOX DRAWINGS UP HEAVY AND DOWN HORIZONTAL LIGHT} -% \entryU{41}{BOX DRAWINGS DOWN HEAVY AND UP HORIZONTAL LIGHT} -% \entryU{42}{BOX DRAWINGS VERTICAL HEAVY AND HORIZONTAL LIGHT} -% \entryU{43}{BOX DRAWINGS LEFT UP HEAVY AND RIGHT DOWN LIGHT} -% \entryU{44}{BOX DRAWINGS RIGHT UP HEAVY AND LEFT DOWN LIGHT} -% \entryU{45}{BOX DRAWINGS LEFT DOWN HEAVY AND RIGHT UP LIGHT} -% \entryU{46}{BOX DRAWINGS RIGHT DOWN HEAVY AND LEFT UP LIGHT} -% \entryU{47}{BOX DRAWINGS DOWN LIGHT AND UP HORIZONTAL HEAVY} -% \entryU{48}{BOX DRAWINGS UP LIGHT AND DOWN HORIZONTAL HEAVY} -% \entryU{49}{BOX DRAWINGS RIGHT LIGHT AND LEFT VERTICAL HEAVY} -% \entryU{4A}{BOX DRAWINGS LEFT LIGHT AND RIGHT VERTICAL HEAVY} -% \entryU{4B}{BOX DRAWINGS HEAVY 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} -% \entryU{74}{BOX DRAWINGS LIGHT LEFT} -% \entryU{75}{BOX DRAWINGS LIGHT UP} -% \entryU{76}{BOX DRAWINGS LIGHT RIGHT} -% \entryU{77}{BOX DRAWINGS LIGHT DOWN} -% \entryU{78}{BOX DRAWINGS HEAVY LEFT} -% \entryU{79}{BOX DRAWINGS HEAVY UP} -% \entryU{7A}{BOX DRAWINGS HEAVY RIGHT} -% \entryU{7B}{BOX DRAWINGS HEAVY DOWN} -% \entryU{7C}{BOX DRAWINGS LIGHT LEFT AND HEAVY RIGHT} -% \entryU{7D}{BOX DRAWINGS LIGHT UP AND HEAVY DOWN} -% \entryU{7E}{BOX DRAWINGS HEAVY LEFT AND LIGHT RIGHT} -% \entryU{7F}{BOX DRAWINGS HEAVY UP AND LIGHT DOWN} -% \entryB{80}{upblock}{UPPER HALF BLOCK} -% \entryU{81}{LOWER ONE EIGHTH BLOCK} -% \entryU{82}{LOWER ONE QUARTER BLOCK} -% \entryU{83}{LOWER THREE EIGHTHS BLOCK} -% \entryB{84}{dnblock}{LOWER HALF BLOCK} -% \entryU{85}{LOWER FIVE EIGHTHS BLOCK} -% \entryU{86}{LOWER THREE QUARTERS BLOCK} -% \entryU{87}{LOWER SEVEN EIGHTHS BLOCK} -% \entryB{88}{block}{FULL BLOCK} -% \entryU{89}{LEFT SEVEN EIGHTHS BLOCK} -% \entryU{8A}{LEFT THREE QUARTERS BLOCK} -% \entryU{8B}{LEFT FIVE EIGHTHS BLOCK} -% \entryB{8C}{lfblock}{LEFT HALF BLOCK} -% \entryU{8D}{LEFT THREE EIGHTHS BLOCK} -% \entryU{8E}{LEFT ONE QUARTER BLOCK} -% \entryU{8F}{LEFT ONE EIGHTH BLOCK} -% \entryB{90}{rtblock}{RIGHT HALF BLOCK} -% \entryB{91}{ltshade}{LIGHT SHADE} -% \entryB{92}{shade}{MEDIUM SHADE} -% \entryB{93}{dkshade}{DARK SHADE} -% \entryU{94}{UPPER ONE EIGHTH BLOCK} -% \entryU{95}{RIGHT ONE EIGHTH BLOCK} -% \entryU{96}{QUADRANT LOWER LEFT} -% \entryU{97}{QUADRANT LOWER RIGHT} -% \entryU{98}{QUADRANT UPPER LEFT} -% \entryU{99}{QUADRANT UPPER LEFT AND LOWER LEFT AND LOWER RIGHT} -% \entryU{9A}{QUADRANT UPPER LEFT AND LOWER RIGHT} -% \entryU{9B}{QUADRANT UPPER LEFT AND UPPER RIGHT AND LOWER LEFT} -% \entryU{9C}{QUADRANT UPPER LEFT AND UPPER RIGHT AND LOWER RIGHT} -% \entryU{9D}{QUADRANT UPPER RIGHT} -% \entryU{9E}{QUADRANT UPPER RIGHT AND LOWER LEFT} -% \entryU{9F}{QUADRANT UPPER RIGHT AND LOWER LEFT AND LOWER RIGHT} -% \end{longtable} -% \endgroup -% -% \StopEventually{ -% } -% -% \section{Implementation} -% -% \subsection{Initial stuff} -% -% \begin{macrocode} -%<*package> -% \end{macrocode} -% Reload check, especially if the package is not used with \LaTeX. -% \begin{macrocode} -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode35=6 % # - \catcode39=12 % ' - \catcode44=12 % , - \catcode45=12 % - - \catcode46=12 % . - \catcode58=12 % : - \catcode64=11 % @ - \catcode123=1 % { - \catcode125=2 % } - \expandafter\let\expandafter\x\csname ver@pmboxdraw.sty\endcsname - \ifx\x\relax % plain-TeX, first loading - \else - \def\empty{}% - \ifx\x\empty % LaTeX, first loading, - % variable is initialized, but \ProvidesPackage not yet seen - \else - \expandafter\ifx\csname PackageInfo\endcsname\relax - \def\x#1#2{% - \immediate\write-1{Package #1 Info: #2.}% - }% - \else - \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% - \fi - \x{pmboxdraw}{The package is already loaded}% - \aftergroup\endinput - \fi - \fi -\endgroup% -% \end{macrocode} -% Package identification: -% \begin{macrocode} -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode35=6 % # - \catcode39=12 % ' - \catcode40=12 % ( - \catcode41=12 % ) - \catcode44=12 % , - \catcode45=12 % - - \catcode46=12 % . - \catcode47=12 % / - \catcode58=12 % : - \catcode64=11 % @ - \catcode91=12 % [ - \catcode93=12 % ] - \catcode123=1 % { - \catcode125=2 % } - \expandafter\ifx\csname ProvidesPackage\endcsname\relax - \def\x#1#2#3[#4]{\endgroup - \immediate\write-1{Package: #3 #4}% - \xdef#1{#4}% - }% - \else - \def\x#1#2[#3]{\endgroup - #2[{#3}]% - \ifx#1\@undefined - \xdef#1{#3}% - \fi - \ifx#1\relax - \xdef#1{#3}% - \fi - }% - \fi -\expandafter\x\csname ver@pmboxdraw.sty\endcsname -\ProvidesPackage{pmboxdraw}% - [2019/02/28 v1.3 Poor man's box drawing characters (HO)]% -% \end{macrocode} -% -% \begin{macrocode} -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode123=1 % { - \catcode125=2 % } - \catcode64=11 % @ - \def\x{\endgroup - \expandafter\edef\csname pmbd@AtEnd\endcsname{% - \endlinechar=\the\endlinechar\relax - \catcode13=\the\catcode13\relax - \catcode32=\the\catcode32\relax - \catcode35=\the\catcode35\relax - \catcode61=\the\catcode61\relax - \catcode64=\the\catcode64\relax - \catcode123=\the\catcode123\relax - \catcode125=\the\catcode125\relax - }% - }% -\x\catcode61\catcode48\catcode32=10\relax% -\catcode13=5 % ^^M -\endlinechar=13 % -\catcode35=6 % # -\catcode64=11 % @ -\catcode123=1 % { -\catcode125=2 % } -\def\TMP@EnsureCode#1#2{% - \edef\pmbd@AtEnd{% - \pmbd@AtEnd - \catcode#1=\the\catcode#1\relax - }% - \catcode#1=#2\relax -} -\TMP@EnsureCode{34}{12}% " -\TMP@EnsureCode{36}{3}% $ -\TMP@EnsureCode{38}{4}% & -\TMP@EnsureCode{39}{12}% ' -\TMP@EnsureCode{42}{12}% * -\TMP@EnsureCode{43}{12}% + -\TMP@EnsureCode{44}{12}% , -\TMP@EnsureCode{45}{12}% - -\TMP@EnsureCode{46}{12}% . -\TMP@EnsureCode{47}{12}% / -\TMP@EnsureCode{60}{12}% < -\TMP@EnsureCode{62}{12}% > -\TMP@EnsureCode{91}{12}% [ -\TMP@EnsureCode{93}{12}% ] -\TMP@EnsureCode{96}{12}% ` -\edef\pmbd@AtEnd{\pmbd@AtEnd\noexpand\endinput} -% \end{macrocode} -% -% \subsection{Resources} -% -% \begin{macrocode} -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname RequirePackage\endcsname\relax - \def\TMP@RequirePackage#1[#2]{% - \begingroup\expandafter\expandafter\expandafter\endgroup - \expandafter\ifx\csname ver@#1.sty\endcsname\relax - \input #1.sty\relax - \fi - }% -\else - \let\TMP@RequirePackage\RequirePackage -\fi -\TMP@RequirePackage{ltxcmds}[2010/12/12]% -\TMP@RequirePackage{kvsetkeys}[2011/01/30]% -\TMP@RequirePackage{kvdefinekeys}[2011/01/30]% -\TMP@RequirePackage{infwarerr}[2010/04/08]% -% \end{macrocode} -% \begin{macro}{\ifpmbd@latex} -% \begin{macrocode} -\ltx@newif\ifpmbd@latex -\ltx@IfUndefined{fmtname}{}{% - \def\pmbd@tmp{LaTeX2e}% - \ifx\pmbd@tmp\fmtname - \pmbd@latextrue - \fi -} -% \end{macrocode} -% \end{macro} -% -% \subsection{Dummy font encoding} -% -% Using a dummy font encoding because of -% \begin{quote} -% |\usepackage[utf8]{inputenc}| -% \end{quote} -% \begin{macrocode} -\ifpmbd@latex - \DeclareFontEncoding{pmboxdraw}{}{}% - \DeclareFontFamily{pmboxdraw}{pmboxdraw}{}% - \DeclareFontShape{pmboxdraw}{pmboxdraw}{m}{n}{ <-> cmr10 }{}% - \DeclareFontSubstitution{pmboxdraw}{pmboxdraw}{m}{n}% -% \end{macrocode} -% -% \subsection{Setup} -% -% \subsubsection{Options} -% -% \begin{macrocode} - \RequirePackage{kvoptions}[2010/02/22]% - \SetupKeyvalOptions{% - family=PMBD,% - prefix=pmbd@% - }% -\fi -% \end{macrocode} -% \begin{macrocode} -\ltx@IfUndefined{dimexpr}{% - \catcode36=9 % - \catcode38=14 % -}{% - \catcode36=14 % - \catcode38=9 % -} -% \end{macrocode} -% \begin{macro}{\pmbd@ProtectedDef} -% \begin{macrocode} -\ltx@IfUndefined{protected}{% - \def\pmbd@ProtectedDef#1{% - \let\pmbd@temp\ltx@gobble - \@ifdefinable#1{% - \def\pmbd@temp{\DeclareRobustCommand*#1}% - }% - \pmbd@temp - }% - \def\pmbd@ProtectedDefOne#1{% - \let\pmbd@temp\ltx@gobble - \@ifdefinable#1{% - \def\pmbd@temp{\DeclareRobustCommand*#1[1]}% - }% - \pmbd@temp - }% -}{% - \def\pmbd@ProtectedDef#1{% - \let\pmbd@temp\ltx@gobble - \@ifdefinable#1{% - \def\pmbd@temp{\protected\def#1}% - }% - \pmbd@temp - }% - \def\pmbd@ProtectedDefOne#1{% - \let\pmbd@temp\ltx@gobblethree - \@ifdefinable#1{% - \def\pmbd@temp{\protected\def#1}% - }% - \pmbd@temp##1% - }% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pmboxdrawsetup} -% \begin{macrocode} -\pmbd@ProtectedDef\pmboxdrawsetup{% - \kvsetkeys{PMBD}% -} -% \end{macrocode} -% \end{macro} -% \begin{macrocode} -\catcode47=11 % -\def\pmbd@temp#1#2{% - \DeclareStringOption[\width]{#1/width}% - \DeclareStringOption[\height]{#1/height}% - \DeclareStringOption[\depth]{#1/depth}% - \DeclareStringOption[{#2}]{#1/box/default}% - \expandafter\DeclareStringOption\expandafter[% - \csname pmbd@#1/box/default\endcsname - ]{#1/box}% -} -\pmbd@temp{BoxDrawing}{\strut0}% -\pmbd@temp{Block}{% - \begingroup - \sbox\z@{\strut}% - \dimen@=\ht\z@ - \advance\dimen@\dp\z@ - \wd\z@=\dimen@ - \box\z@ - \endgroup -}% -\pmbd@temp{Shade}{% - \begingroup - \sbox\z@{\strut}% - \dimen@=\ht\z@ - \advance\dimen@\dp\z@ - \wd\z@=\dimen@ - \box\z@ - \endgroup -}% -\pmbd@temp{TerminalGraphic}{% - \begingroup - \sbox\z@{\"A}% - \wd\z@=\ht\z@ - \dp\z@=\z@ - \box\z@ - \endgroup -}% -\DeclareStringOption[.1\width]{BoxDrawing/thinlinewidth} -\DeclareStringOption[.25\width]{BoxDrawing/thicklinewidth} -\DeclareStringOption[.25\width]{BoxDrawing/doublelinesep} -% -\DeclareStringOption[\strut0]{box} %% -\DeclareStringOption[.1\width]{rulewidth} -\DeclareStringOption[.25\width]{doublerulesep} -% \end{macrocode} -% -% \begin{macro}{\pmboxdrawUniRobust} -% \begin{macrocode} -\pmbd@ProtectedDefOne\pmboxdrawUniRobust{% - \comma@parse{#1}{% - \ltx@IfUndefined{pmbd@U+\comma@entry}{% - \begingroup\expandafter\endgroup - \expandafter - \TextSymbolUnavailable\csname U+\comma@entry\endcsname - }{% - \csname pmbd@U+\comma@entry\endcsname - }% - \@gobble - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmboxdrawuni} -% \begin{macrocode} -\newcommand*{\pmboxdrawuni}[1]{% - \ifx\texorpdfstring\ltx@undefined - \expandafter\ltx@firstoftwo - \else - \ifx\texorpdfstring\relax - \expandafter\expandafter\expandafter\ltx@firstoftwo - \else - \expandafter\expandafter\expandafter\texorpdfstring - \fi - \fi - {% - \pmboxdrawUniRobust{#1}% - }{% - \expandafter\ifx\csname ifHy@unicode\expandafter\endcsname - \csname iftrue\endcsname - \expandafter\unichar\expandafter{\number"#1}% - \fi - }% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{Setup commands of version 1.0} -% -% \begin{macro}{\pmboxdrawbox} -% \begin{macrocode} -\pmbd@ProtectedDefOne\pmboxdrawbox{% - \def\pmbd@box{#1}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pmboxdrawrulewidth} -% \begin{macrocode} -\pmbd@ProtectedDefOne\pmboxdrawrulewidth{% - \def\pmbd@rulewidth{#1}% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pmboxdrawdoublerulesep} -% \begin{macrocode} -\pmbd@ProtectedDefOne\pmboxdrawdoublerulesep{% - \def\pmbd@doublerulesep{#1}% -} -% \end{macrocode} -% \end{macro} -% -% \subsection{Utils} -% -% \begin{macro}{\pmbd@UniDef} -% \begin{macrocode} -\def\pmbd@UniDef#1#2{% - \expandafter\pmbd@ProtectedDef\expandafter#1\expandafter{% - \csname pmbd@U+#2\endcsname - }% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pmbd@SetLength} -% \begin{macrocode} -\ltx@ifpackageloaded{calc}{% - \def\pmbd@SetLength{% - \setlength - }% -}{% - \ltx@IfUndefined{dimexpr}{% - \def\pmbd@SetDim#1#2{% - #1=#2\relax - }% - }{% - \def\pmbd@SetDim#1#2{% - #1=\dimexpr#2\relax - }% - }% - \def\pmbd@SetLength{% - \ltx@ifpackageloaded{calc}{% - \setlength - }{% - \pmbd@SetDim - }% - }% - \AtBeginDocument{% - \ltx@ifpackageloaded{calc}{% - \def\pmbd@SetLength{\setlength}% - }{% - \let\pmbd@SetLength\pmbd@SetDim - }% - }% -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pmbd@W} -% \begin{macrocode} -\newdimen\pmbd@W -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@H} -% \begin{macrocode} -\newdimen\pmbd@H -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@L} -% \begin{macrocode} -\newdimen\pmbd@L -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@Thin} -% \begin{macrocode} -\newdimen\pmbd@Thin -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@Thick} -% \begin{macrocode} -\newdimen\pmbd@Thick -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@Sep} -% \begin{macrocode} -\newdimen\pmbd@Sep -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@A} -% \begin{macrocode} -\dimendef\pmbd@A=2 % -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@B} -% \begin{macrocode} -\dimendef\pmbd@B=4 % -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@C} -% \begin{macrocode} -\dimendef\pmbd@C=6 % -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@D} -% \begin{macrocode} -\dimendef\pmbd@D=8 % -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pmbd@BeginBox} -% \begin{macrocode} -\def\pmbd@BeginBox#1{% - \ltx@leavevmode - \@begin@tempboxa\hbox{% - \csname pmbd@#1/box\endcsname - }% - \pmbd@SetLength\pmbd@W{% - \csname pmbd@#1/width\endcsname - }% - \pmbd@SetLength\pmbd@H{% - \csname pmbd@#1/height\endcsname - }% - \pmbd@SetLength\pmbd@L{% - \csname pmbd@#1/depth\endcsname - }% - \advance\pmbd@H\pmbd@L - \setbox\ltx@zero\hbox to \pmbd@W\bgroup -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@EndBox} -% \begin{macrocode} -\def\pmbd@EndBox{% - \hss - \egroup - \ht\ltx@zero=\pmbd@H - \dp\ltx@zero=\z@ - \ifdim\pmbd@L=\z@ - \else - \lower\pmbd@L - \fi - \box\ltx@zero - \@end@tempboxa -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pmbd@Rule} -% \begin{macrocode} -\def\pmbd@Rule#1#2#3{% - \vrule\@width#1\@height#2\@depth#3\relax -} -% \end{macrocode} -% \end{macro} -% -% -% \subsection{Block elements} -% -% \begin{macrocode} -\def\pmbd@begin{% - \begingroup - \sbox\z@{\pmbd@box}% - \ltx@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} -% -% \begin{macro}{\pmbd@LowerBlock} -% \begin{macrocode} -\def\pmbd@LowerBlock#1{% - \pmbd@BeginBox{Block}% - \pmbd@Rule\pmbd@W{#1\pmbd@H}\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \begin{macro}{\pmbd@LeftBlock} -% \begin{macrocode} -\def\pmbd@LeftBlock#1{% - \pmbd@BeginBox{Block}% - \pmbd@Rule{#1\pmbd@W}\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2580} UPPER HALF BLOCK -% \begin{macro}{\textupblock} -% \begin{macrocode} -\pmbd@UniDef\textupblock{2580} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2580} -% \begin{macrocode} -\@namedef{pmbd@U+2580}{% - \pmbd@BeginBox{Block}% - \pmbd@Rule\pmbd@W\pmbd@H{-.5\pmbd@H}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2581} LOWER ONE EIGHTH BLOCK -% \begin{macro}{\pmbd@U+2581} -% \begin{macrocode} -\@namedef{pmbd@U+2581}{% - \pmbd@LowerBlock{.125}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2582} LOWER ONE QUARTER BLOCK -% \begin{macro}{\pmbd@U+2582} -% \begin{macrocode} -\@namedef{pmbd@U+2582}{% - \pmbd@LowerBlock{.25}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2583} LOWER THREE EIGHTHS BLOCK -% \begin{macro}{pmbd@U+2583} -% \begin{macrocode} -\@namedef{pmbd@U+2583}{% - \pmbd@LowerBlock{.375}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2584} LOWER HALF BLOCK -% \begin{macro}{\textdnblock} -% \begin{macrocode} -\pmbd@UniDef\textdnblock{2584} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2584} -% \begin{macrocode} -\@namedef{pmbd@U+2584}{% - \pmbd@LowerBlock{.5}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2585} LOWER FIVE EIGHTHS BLOCK -% \begin{macro}{pmbd@U+2585} -% \begin{macrocode} -\@namedef{pmbd@U+2585}{% - \pmbd@LowerBlock{.625}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2586} LOWER THREE QUARTERS BLOCK -% \begin{macro}{pmbd@U+2586} -% \begin{macrocode} -\@namedef{pmbd@U+2586}{% - \pmbd@LowerBlock{.75}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2587} LOWER SEVEN EIGHTHS BLOCK -% \begin{macro}{pmbd@U+2587} -% \begin{macrocode} -\@namedef{pmbd@U+2587}{% - \pmbd@LowerBlock{.875}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2588} FULL BLOCK -% \begin{macro}{\textblock} -% \begin{macrocode} -\pmbd@UniDef\textblock{2588} -% \end{macrocode} -% \end{macro} -% \begin{macro}{pmbd@U+2588} -% \begin{macrocode} -\@namedef{pmbd@U+2588}{% - \pmbd@LowerBlock{}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2589} LEFT SEVEN EIGHTHS BLOCK -% \begin{macro}{\pmbd@U+2589} -% \begin{macrocode} -\@namedef{pmbd@U+2589}{% - \pmbd@LeftBlock{.875}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+258A} LEFT THREE QUARTERS BLOCK -% \begin{macro}{\pmbd@U+258A} -% \begin{macrocode} -\@namedef{pmbd@U+258A}{% - \pmbd@LeftBlock{.75}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+258B} LEFT FIVE EIGHTHS BLOCK -% \begin{macro}{\pmbd@U+258B} -% \begin{macrocode} -\@namedef{pmbd@U+258B}{% - \pmbd@LeftBlock{.625}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+258C} LEFT HALF BLOCK -% \begin{macro}{\textlfblock} -% \begin{macrocode} -\pmbd@UniDef\textlfblock{258C} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+258C} -% \begin{macrocode} -\@namedef{pmbd@U+258C}{% - \pmbd@LeftBlock{.5}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+258D} LEFT THREE EIGHTHS BLOCK -% \begin{macro}{\pmbd@U+258D} -% \begin{macrocode} -\@namedef{pmbd@U+258D}{% - \pmbd@LeftBlock{.375}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+258E} LEFT ONE QUARTER BLOCK -% \begin{macro}{\pmbd@U+258E} -% \begin{macrocode} -\@namedef{pmbd@U+258E}{% - \pmbd@LeftBlock{.25}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+258F} LEFT ONE EIGHTH BLOCK -% \begin{macro}{\pmbd@U+258F} -% \begin{macrocode} -\@namedef{pmbd@U+258F}{% - \pmbd@LeftBlock{.125}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2590} RIGHT HALF BLOCK -% \begin{macro}{\textrtblock} -% \begin{macrocode} -\pmbd@UniDef\textrtblock{2590} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2590} -% \begin{macrocode} -\@namedef{pmbd@U+2590}{% - \pmbd@BeginBox{Block}% - \kern.5\pmbd@W - \pmbd@Rule{.5\pmbd@W}\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2594} UPPER ONE EIGHTH BLOCK -% \begin{macro}{\pmbd@U+2594} -% \begin{macrocode} -\@namedef{pmbd@U+2594}{% - \pmbd@BeginBox{Block}% - \pmbd@Rule\pmbd@W\pmbd@H{-.875\pmbd@H}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2595} RIGHT ONE EIGHTH BLOCK -% \begin{macro}{\pmbd@U+2595} -% \begin{macrocode} -\@namedef{pmbd@U+2595}{% - \pmbd@BeginBox{Block}% - \kern.875\pmbd@W - \pmbd@Rule{.125\pmbd@W}\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsection{Shade characters} -% -% \begin{macro}{\pmbd@BeginShade} -% \begin{macrocode} -\def\pmbd@Shade#1#2{% - \pmbd@BeginBox{Shade}% - \ltx@ifundefined{textcolor}{% - \pmbd@colorwarning{#1}% - }{% - \textcolor[gray]{\csname pmbd@Shade/#2\endcsname}% - }{% - \pmbd@Rule\pmbd@W\pmbd@H\z@ - }% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2591} LIGHT SHADE -% \begin{macrocode} -\DeclareStringOption[.75]{Shade/light} -% \end{macrocode} -% \begin{macro}{\textltshade} -% \begin{macrocode} -\pmbd@UniDef\textltshade{2591} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2591} -% \begin{macrocode} -\@namedef{pmbd@U+2591}{% - \pmbd@Shade{2591}{light}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2592} MEDIUM SHADE -% \begin{macrocode} -\DeclareStringOption[.5]{Shade/medium} -% \end{macrocode} -% \begin{macro}{\textshade} -% \begin{macrocode} -\pmbd@UniDef\textshade{2592} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2592} -% \begin{macrocode} -\@namedef{pmbd@U+2592}{% - \pmbd@Shade{2592}{medium}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2593} DARK SHADE -% \begin{macrocode} -\DeclareStringOption[.25]{Shade/dark} -% \end{macrocode} -% \begin{macro}{\textdkshade} -% \begin{macrocode} -\pmbd@UniDef\textdkshade{2593} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2593} -% \begin{macrocode} -\@namedef{pmbd@U+2593}{% - \pmbd@Shade{2593}{dark}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{Color warning} -% -% \begin{macro}{\pmbd@colorwarning} -% \begin{macrocode} -\def\pmbd@colorwarning#1{% - \PackageWarning{pmboxdraw}{% - U+#1 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{Terminal graphics characters} -% -% \begin{macro}{\pmbd@BeginTerminal} -% \begin{macrocode} -\def\pmbd@BeginTerminal{% - \pmbd@BeginBox{TerminalGraphic}% -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2596} QUADRANT LOWER LEFT -% \begin{macro}{\pmbd@U+2596} -% \begin{macrocode} -\@namedef{pmbd@U+2596}{% - \pmbd@BeginTerminal - \pmbd@Rule{.5\pmbd@W}{.5\pmbd@H}\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2597} QUADRANT LOWER RIGHT -% \begin{macro}{\pmbd@U+2597} -% \begin{macrocode} -\@namedef{pmbd@U+2597}{% - \pmbd@BeginTerminal - \kern.5\pmbd@W - \pmbd@Rule{.5\pmbd@W}{.5\pmbd@H}\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2598} QUADRANT UPPER LEFT -% \begin{macro}{\pmbd@U+2598} -% \begin{macrocode} -\@namedef{pmbd@U+2598}{% - \pmbd@BeginTerminal - \pmbd@Rule{.5\pmbd@W}{\pmbd@H}{-.5\pmbd@H}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2599} QUADRANT UPPER LEFT AND LOWER LEFT AND LOWER RIGHT -% \begin{macro}{\pmbd@U+2599} -% \begin{macrocode} -\@namedef{pmbd@U+2599}{% - \pmbd@BeginTerminal - \pmbd@Rule{.5\pmbd@W}{\pmbd@H}\z@ - \pmbd@Rule{.5\pmbd@W}{.5\pmbd@H}\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+259A} QUADRANT UPPER LEFT AND LOWER RIGHT -% \begin{macro}{\pmbd@U+259A} -% \begin{macrocode} -\@namedef{pmbd@U+259A}{% - \pmbd@BeginTerminal - \pmbd@Rule{.5\pmbd@W}{\pmbd@H}{-.5\pmbd@H}% - \pmbd@Rule{.5\pmbd@W}{.5\pmbd@H}\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+259B} QUADRANT UPPER LEFT AND UPPER RIGHT AND LOWER LEFT -% \begin{macro}{\pmbd@U+259B} -% \begin{macrocode} -\@namedef{pmbd@U+259B}{% - \pmbd@BeginTerminal - \pmbd@Rule{.5\pmbd@W}{\pmbd@H}\z@ - \pmbd@Rule{.5\pmbd@W}{\pmbd@H}{-.5\pmbd@H}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+259C} QUADRANT UPPER LEFT AND UPPER RIGHT AND LOWER RIGHT -% \begin{macro}{\pmbd@U+259C} -% \begin{macrocode} -\@namedef{pmbd@U+259C}{% - \pmbd@BeginTerminal - \pmbd@Rule{.5\pmbd@W}{\pmbd@H}{-.5\pmbd@H}% - \pmbd@Rule{.5\pmbd@W}{\pmbd@H}\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+259D} QUADRANT UPPER RIGHT -% \begin{macro}{\pmbd@U+259D} -% \begin{macrocode} -\@namedef{pmbd@U+259D}{% - \pmbd@BeginTerminal - \kern.5\pmbd@W - \pmbd@Rule{.5\pmbd@W}{\pmbd@H}{-.5\pmbd@H}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+259E} QUADRANT UPPER RIGHT AND LOWER LEFT -% \begin{macro}{\pmbd@U+259E} -% \begin{macrocode} -\@namedef{pmbd@U+259E}{% - \pmbd@BeginTerminal - \pmbd@Rule{.5\pmbd@W}{.5\pmbd@H}\z@ - \pmbd@Rule{.5\pmbd@W}{\pmbd@H}{-.5\pmbd@H}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+259F} QUADRANT UPPER RIGHT AND LOWER LEFT AND LOWER RIGHT -% \begin{macro}{\pmbd@U+259F} -% \begin{macrocode} -\@namedef{pmbd@U+259F}{% - \pmbd@BeginTerminal - \pmbd@Rule{.5\pmbd@W}{.5\pmbd@H}\z@ - \pmbd@Rule{.5\pmbd@W}{\pmbd@H}\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% -% \subsection{Box drawing} -% -% \begin{macro}{\pmbd@BeginDraw} -% \begin{macrocode} -\def\pmbd@BeginDraw#1#2{% - \pmbd@BeginBox{BoxDrawing}% - \ifx#1X% - \pmbd@SetLength\pmbd@Thin\pmbd@BoxDrawing/thinlinewidth% - \fi - \ifx#2X% - \pmbd@SetLength\pmbd@Thick\pmbd@BoxDrawing/thicklinewidth% - \fi -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2500} BOX DRAWINGS LIGHT HORIZONTAL -% \begin{macro}{\textSFx} -% \begin{macrocode} -\pmbd@UniDef\textSFx{2500} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2500} -% \begin{macrocode} -\@namedef{pmbd@U+2500}{% - \pmbd@BeginDraw X-% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \dimen@=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule\pmbd@W\dimen@{-\dimexpr\dimen@-\pmbd@Thin\relax} - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2501} BOX DRAWINGS HEAVY HORIZONTAL -% \begin{macro}{\pmbd@U+2501} -% \begin{macrocode} -\@namedef{pmbd@U+2501}{% - \pmbd@BeginDraw -X% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule\pmbd@W\pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2502} BOX DRAWINGS LIGHT VERTICAL -% \begin{macro}{\textSFxi} -% \begin{macrocode} -\pmbd@UniDef\textSFxi{2502} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2502} -% \begin{macrocode} -\@namedef{pmbd@U+2502}{% - \pmbd@BeginDraw X-% -$ \pmbd@A=\pmbd@W -$ \advance\pmbd@A-\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \kern\pmbd@A -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax - \pmbd@Rule\pmbd@Thin\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2503} BOX DRAWINGS HEAVY VERTICAL -% \begin{macro}{\pmbd@U+2503} -% \begin{macrocode} -\@namedef{pmbd@U+2503}{% - \pmbd@BeginDraw -X% -$ \pmbd@A=\pmbd@W -$ \advance\pmbd@A-\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \kern\pmbd@A -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax - \pmbd@Rule\pmbd@Thick\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+250C} BOX DRAWINGS LIGHT DOWN AND RIGHT -% \begin{macro}{\textSFi} -% \begin{macrocode} -\pmbd@UniDef\textSFi{250C} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+250C} -% \begin{macrocode} -\@namedef{pmbd@U+250C}{% - \pmbd@BeginDraw X-% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -& \kern-\pmbd@Thin -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% -& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thin\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+250D} BOX DRAWINGS DOWN LIGHT AND RIGHT HEAVY -% \begin{macro}{\pmbd@U+250D} -% \begin{macrocode} -\@namedef{pmbd@U+250D}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -& \kern-\pmbd@Thin -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% -& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+250E} BOX DRAWINGS DOWN HEAVY AND RIGHT LIGHT -% \begin{macro}{\pmbd@U+250E} -% \begin{macrocode} -\@namedef{pmbd@U+250E}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -& \kern-\pmbd@Thick -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% -& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thin\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+250F} BOX DRAWINGS HEAVY DOWN AND RIGHT -% \begin{macro}{\pmbd@U+250F} -% \begin{macrocode} -\@namedef{pmbd@U+250F}{% - \pmbd@BeginDraw -X% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -& \kern-\pmbd@Thick -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% -& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2510} BOX DRAWINGS LIGHT DOWN AND LEFT -% \begin{macro}{\textSFiii} -% \begin{macrocode} -\pmbd@UniDef\textSFiii{2510} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2510} -% \begin{macrocode} -\@namedef{pmbd@U+2510}{% - \pmbd@BeginDraw X-% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% -& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thin\relax}% -& \kern-\pmbd@Thin -& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2511} BOX DRAWINGS DOWN LIGHT AND LEFT HEAVY -% \begin{macro}{\pmbd@U+2511} -% \begin{macrocode} -\@namedef{pmbd@U+2511}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% -& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% -& \kern-\pmbd@Thin -& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2512} BOX DRAWINGS DOWN HEAVY AND LEFT LIGHT -% \begin{macro}{\pmbd@U+2512} -% \begin{macrocode} -\@namedef{pmbd@U+2512}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% -& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thin\relax}% -& \kern-\pmbd@Thick -& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2513} BOX DRAWINGS HEAVY DOWN AND LEFT -% \begin{macro}{\pmbd@U+2513} -% \begin{macrocode} -\@namedef{pmbd@U+2513}{% - \pmbd@BeginDraw -X% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% -& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% -& \kern-\pmbd@Thick -& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2514} BOX DRAWINGS LIGHT UP AND RIGHT -% \begin{macro}{\textSFii} -% \begin{macrocode} -\pmbd@UniDef\textSFii{2514} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2514} -% \begin{macrocode} -\@namedef{pmbd@U+2514}{% - \pmbd@BeginDraw X-% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B -& \kern-\pmbd@Thin -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2515} BOX DRAWINGS UP LIGHT AND RIGHT HEAVY -% \begin{macro}{\pmbd@U+2515} -% \begin{macrocode} -\@namedef{pmbd@U+2515}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B -& \kern-\pmbd@Thin -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2516} BOX DRAWINGS UP HEAVY AND RIGHT LIGHT -% \begin{macro}{\pmbd@U+2516} -% \begin{macrocode} -\@namedef{pmbd@U+2516}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -& \kern-\pmbd@Thin -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2517} BOX DRAWINGS HEAVY UP AND RIGHT -% \begin{macro}{\pmbd@U+2517} -% \begin{macrocode} -\@namedef{pmbd@U+2517}{% - \pmbd@BeginDraw -X% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -& \kern-\pmbd@Thick -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2518} BOX DRAWINGS LIGHT UP AND LEFT -% \begin{macro}{\textSFiv} -% \begin{macrocode} -\pmbd@UniDef\textSFiv{2518} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2518} -% \begin{macrocode} -\@namedef{pmbd@U+2518}{% - \pmbd@BeginDraw X-% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% -& \pmbd@A\pmbd@B -& \kern-\pmbd@Thin -& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2519} BOX DRAWINGS UP LIGHT AND LEFT HEAVY -% \begin{macro}{\pmbd@U+2519} -% \begin{macrocode} -\@namedef{pmbd@U+2519}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% -& \pmbd@A\pmbd@B -& \kern-\pmbd@Thin -& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+251A} BOX DRAWINGS UP HEAVY AND LEFT LIGHT -% \begin{macro}{\pmbd@U+251A} -% \begin{macrocode} -\@namedef{pmbd@U+251A}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% -& \pmbd@A\pmbd@B -& \kern-\pmbd@Thick -& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+251B} BOX DRAWINGS HEAVY UP AND LEFT -% \begin{macro}{\pmbd@U+251B} -% \begin{macrocode} -\@namedef{pmbd@U+251B}{% - \pmbd@BeginDraw -X% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% -& \pmbd@A\pmbd@B -& \kern-\pmbd@Thick -& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+251C} BOX DRAWINGS LIGHT VERTICAL AND RIGHT -% \begin{macro}{\textSFviii} -% \begin{macrocode} -\pmbd@UniDef\textSFviii{251C} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+251C} -% \begin{macrocode} -\@namedef{pmbd@U+251C}{% - \pmbd@BeginDraw X-% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -& \kern-\pmbd@Thin -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A -& {-\dimexpr\pmbd@A-\pmbd@Thin\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+251D} BOX DRAWINGS VERTICAL LIGHT AND RIGHT HEAVY -% \begin{macro}{\pmbd@U+251D} -% \begin{macrocode} -\@namedef{pmbd@U+251D}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -& \kern-\pmbd@Thin -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A -& {-\dimexpr\pmbd@A-\pmbd@Thick\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+251E} BOX DRAWINGS UP HEAVY AND RIGHT DOWN LIGHT -% \begin{macro}{\pmbd@U+251E} -% \begin{macrocode} -\@namedef{pmbd@U+251E}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \rlap{% -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -$ }% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \rlap{% -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -& \kern-\pmbd@Thin -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B -& }% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+251F} BOX DRAWINGS DOWN HEAVY AND RIGHT UP LIGHT -% \begin{macro}{\pmbd@U+251F} -% \begin{macrocode} -\@namedef{pmbd@U+251F}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \rlap{% -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -$ }% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \rlap{% -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -& \kern-\pmbd@Thin -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B -& }% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2520} BOX DRAWINGS VERTICAL HEAVY AND RIGHT LIGHT -% \begin{macro}{\pmbd@U+2520} -% \begin{macrocode} -\@namedef{pmbd@U+2520}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@H\z@ -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thick\pmbd@H\z@ -& \kern-\pmbd@Thick -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A -& {-\dimexpr\pmbd@A-\pmbd@Thin\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2521} BOX DRAWINGS DOWN LIGHT AND RIGHT UP HEAVY -% \begin{macro}{\pmbd@U+2521} -% \begin{macrocode} -\@namedef{pmbd@U+2521}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \rlap{% -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -$ }% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \rlap{% -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -& \kern-\pmbd@Thin -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B -& }% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2522} BOX DRAWINGS UP LIGHT AND RIGHT DOWN HEAVY -% \begin{macro}{\pmbd@U+2522} -% \begin{macrocode} -\@namedef{pmbd@U+2522}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \rlap{% -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -$ }% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \rlap{% -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -& \kern-\pmbd@Thin -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B -& }% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2523} BOX DRAWINGS HEAVY VERTICAL AND RIGHT -% \begin{macro}{\pmbd@U+2523} -% \begin{macrocode} -\@namedef{pmbd@U+2523}{% - \pmbd@BeginDraw -X% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@H\z@ -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thick\pmbd@H\z@ -& \kern-\pmbd@Thick -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A -& {-\dimexpr\pmbd@A-\pmbd@Thick\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2524} BOX DRAWINGS LIGHT VERTICAL AND LEFT -% \begin{macro}{\textSFix} -% \begin{macrocode} -\pmbd@UniDef\textSFix{2524} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2524} -% \begin{macrocode} -\@namedef{pmbd@U+2524}{% - \pmbd@BeginDraw X-% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thin -$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% -& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thin\relax}% -& \kern-\pmbd@Thin -& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2525} BOX DRAWINGS VERTICAL LIGHT AND LEFT HEAVY -% \begin{macro}{\pmbd@U+2525} -% \begin{macrocode} -\@namedef{pmbd@U+2525}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thin -$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% -& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thick\relax}% -& \kern-\pmbd@Thin -& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2526} BOX DRAWINGS UP HEAVY AND LEFT DOWN LIGHT -% \begin{macro}{\pmbd@U+2526} -% \begin{macrocode} -\@namedef{pmbd@U+2526}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thin -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@Thick -$ \rlap{% -$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -$ }% -$ \kern.5\pmbd@D -$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax -& \rlap{% -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% -& \pmbd@A\pmbd@B -& \kern-\pmbd@Thin -& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -& }% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2527} BOX DRAWINGS DOWN HEAVY AND LEFT UP LIGHT -% \begin{macro}{\pmbd@U+2527} -% \begin{macrocode} -\@namedef{pmbd@U+2527}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thin -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@Thick -$ \rlap{% -$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -$ }% -$ \kern.5\pmbd@D -$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \rlap{% -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% -& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thin\relax}% -& \kern-\pmbd@Thin -& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -& }% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2528} BOX DRAWINGS VERTICAL HEAVY AND LEFT LIGHT -% \begin{macro}{\pmbd@U+2528} -% \begin{macrocode} -\@namedef{pmbd@U+2528}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thick -$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@Thick\pmbd@H\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% -& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thin\relax}% -& \kern-\pmbd@Thick -& \pmbd@Rule\pmbd@Thick\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2529} BOX DRAWINGS DOWN LIGHT AND LEFT UP HEAVY -% \begin{macro}{\pmbd@U+2529} -% \begin{macrocode} -\@namedef{pmbd@U+2529}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \rlap{% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -$ }% -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax -& \rlap{% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -& }% -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% -& \pmbd@A\pmbd@B -& \kern-\pmbd@Thick -& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+252A} BOX DRAWINGS UP LIGHT AND LEFT DOWN HEAVY -% \begin{macro}{\pmbd@U+252A} -% \begin{macrocode} -\@namedef{pmbd@U+252A}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \rlap{% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -$ }% -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \rlap{% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -& }% -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% -& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% -& \kern-\pmbd@Thick -& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+252B} BOX DRAWINGS HEAVY VERTICAL AND LEFT -% \begin{macro}{\pmbd@U+252B} -% \begin{macrocode} -\@namedef{pmbd@U+252B}{% - \pmbd@BeginDraw -X% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thick -$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@Thick\pmbd@H\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% -& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thick\relax}% -& \kern-\pmbd@Thick -& \pmbd@Rule\pmbd@Thick\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+252C} BOX DRAWINGS LIGHT DOWN AND HORIZONTAL -% \begin{macro}{\textSFvi} -% \begin{macrocode} -\pmbd@UniDef\textSFvi{252C} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+252C} -% \begin{macrocode} -\@namedef{pmbd@U+252C}{% - \pmbd@BeginDraw X-% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \rlap{% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -$ }% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \rlap{% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -& }% -& \pmbd@Rule\pmbd@W\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+252D} BOX DRAWINGS LEFT HEAVY AND RIGHT DOWN LIGHT -% \begin{macro}{\pmbd@U+252D} -% \begin{macrocode} -\@namedef{pmbd@U+252D}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \rlap{% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thin -$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B -$ }% -$ \rlap{% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -$ }% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \rlap{% -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% -& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thick\relax}% -& }% -& \rlap{% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -& }% -& \pmbd@Rule\pmbd@W\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+252E} BOX DRAWINGS RIGHT HEAVY AND LEFT DOWN LIGHT -% \begin{macro}{\pmbd@U+252E} -% \begin{macrocode} -\@namedef{pmbd@U+252E}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \rlap{% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \kern\pmbd@C -$ \advance\pmbd@C-\pmbd@W -$ \pmbd@Rule{-\pmbd@C}\pmbd@A\pmbd@B -$ }% -$ \rlap{% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -$ }% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \rlap{% -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \kern\pmbd@C -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% -& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thick\relax}% -& }% -& \rlap{% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -& }% -& \pmbd@Rule\pmbd@W\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+252F} BOX DRAWINGS DOWN LIGHT AND HORIZONTAL HEAVY -% \begin{macro}{\pmbd@U+252F} -% \begin{macrocode} -\@namedef{pmbd@U+252F}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \rlap{% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -$ }% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \rlap{% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -& }% -& \pmbd@Rule\pmbd@W\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2530} BOX DRAWINGS DOWN HEAVY AND HORIZONTAL LIGHT -% \begin{macro}{\pmbd@U+2530} -% \begin{macrocode} -\@namedef{pmbd@U+2530}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \rlap{% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -$ }% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \rlap{% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -& }% -& \pmbd@Rule\pmbd@W\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2531} BOX DRAWINGS RIGHT LIGHT AND LEFT DOWN HEAVY -% \begin{macro}{\pmbd@U+2531} -% \begin{macrocode} -\@namedef{pmbd@U+2531}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \rlap{% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -$ }% -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \rlap{% -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule\pmbd@W\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% -& }% -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% -& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% -& \kern-\pmbd@Thick -& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2532} BOX DRAWINGS LEFT LIGHT AND RIGHT DOWN HEAVY -% \begin{macro}{\pmbd@U+2532} -% \begin{macrocode} -\@namedef{pmbd@U+2532}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \rlap{% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -$ }% -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \rlap{% -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule\pmbd@W\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% -& }% -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -& \kern-\pmbd@Thick -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% -& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2533} BOX DRAWINGS HEAVY DOWN AND HORIZONTAL -% \begin{macro}{\pmbd@U+2533} -% \begin{macrocode} -\@namedef{pmbd@U+2533}{% - \pmbd@BeginDraw -X% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \rlap{% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -$ }% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \rlap{% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -& }% -& \pmbd@Rule\pmbd@W\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2534} BOX DRAWINGS LIGHT UP AND HORIZONTAL -% \begin{macro}{\textSFvii} -% \begin{macrocode} -\pmbd@UniDef\textSFvii{2534} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2534} -% \begin{macrocode} -\@namedef{pmbd@U+2534}{% - \pmbd@BeginDraw X-% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \rlap{% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -$ }% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax -& \rlap{% -& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& }% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2535} BOX DRAWINGS LEFT HEAVY AND RIGHT UP LIGHL -% \begin{macro}{\pmbd@U+2535} -% \begin{macrocode} -\@namedef{pmbd@U+2535}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \rlap{% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -$ }% -$ \rlap{% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thin -$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B -$ }% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax -& \rlap{% -& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& }% -& \rlap{% -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% -& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thick\relax}% -& }% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2536} BOX DRAWINGS RIGHT HEAVY AND LEFT UP LIGHT -% \begin{macro}{\pmbd@U+2536} -% \begin{macrocode} -\@namedef{pmbd@U+2536}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \rlap{% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -$ }% -$ \rlap{% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \kern\pmbd@C -$ \advance\pmbd@C-\pmbd@W -$ \pmbd@Rule{-\pmbd@C}\pmbd@A\pmbd@B -$ }% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax -& \rlap{% -& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& }% -& \rlap{% -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \kern\pmbd@C -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% -& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thick\relax}% -& }% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2537} BOX DRAWINGS UP LIGHT AND HORIZONTAL HEAVY -% \begin{macro}{\pmbd@U+2537} -% \begin{macrocode} -\@namedef{pmbd@U+2537}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \rlap{% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -$ }% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax -& \rlap{% -& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& }% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2538} BOX DRAWINGS UP HEAVY AND HORIZONTAL LIGHT -% \begin{macro}{\pmbd@U+2538} -% \begin{macrocode} -\@namedef{pmbd@U+2538}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \rlap{% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -$ }% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax -& \rlap{% -& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& }% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2539} BOX DRAWINGS RIGHT LIGHT AND LEFT UP HEAVY -% \begin{macro}{\pmbd@U+2539} -% \begin{macrocode} -\@namedef{pmbd@U+2539}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \rlap{% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -$ }% -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax -& \rlap{% -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule\pmbd@W\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% -& }% -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% -& \pmbd@A\pmbd@B -& \kern-\pmbd@Thick -& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+253A} BOX DRAWINGS LEFT LIGHT AND RIGHT UP HEAVY -% \begin{macro}{\pmbd@U+253A} -% \begin{macrocode} -\@namedef{pmbd@U+253A}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \rlap{% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -$ }% -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \rlap{% -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule\pmbd@W\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% -& }% -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -& \kern-\pmbd@Thin -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+253B} BOX DRAWINGS HEAVY UP AND HORIZONTAL -% \begin{macro}{\pmbd@U+253B} -% \begin{macrocode} -\@namedef{pmbd@U+253B}{% - \pmbd@BeginDraw -X% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \rlap{% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -$ }% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax -& \rlap{% -& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& }% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+253C} BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL -% \begin{macro}{\textSFv} -% \begin{macrocode} -\pmbd@UniDef\textSFv{253C} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+253C} -% \begin{macrocode} -\@namedef{pmbd@U+253C}{% - \pmbd@BeginDraw X-% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \dimen@=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule\pmbd@W\dimen@{-\dimexpr\dimen@-\pmbd@Thin\relax}% - \kern-\pmbd@W -$ \pmbd@A=\pmbd@W -$ \advance\pmbd@A-\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \kern\pmbd@A -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax - \pmbd@Rule\pmbd@Thin\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+253D} BOX DRAWINGS LEFT HEAVY AND RIGHT VERTICAL LIGHT -% \begin{macro}{\pmbd@U+253D} -% \begin{macrocode} -\@namedef{pmbd@U+253D}{% - \pmbd@BeginDraw XX% - \rlap{% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule{.5\pmbd@W}\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% - }% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -& \kern-\pmbd@Thin -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A -& {-\dimexpr\pmbd@A-\pmbd@Thin\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+253E} BOX DRAWINGS RIGHT HEAVY AND LEFT VERTICAL LIGHT -% \begin{macro}{\pmbd@U+253E} -% \begin{macrocode} -\@namedef{pmbd@U+253E}{% - \pmbd@BeginDraw XX% - \rlap{% - \kern.5\pmbd@W -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule{.5\pmbd@W}\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% - }% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thin -$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% -& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thin\relax}% -& \kern-\pmbd@Thin -& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+253F} BOX DRAWINGS RIGHT HEAVY AND LEFT VERTICAL LIGHT -% \begin{macro}{\pmbd@U+253F} -% \begin{macrocode} -\@namedef{pmbd@U+253F}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \dimen@=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule\pmbd@W\dimen@{-\dimexpr\dimen@-\pmbd@Thick\relax}% - \kern-\pmbd@W -$ \pmbd@A=\pmbd@W -$ \advance\pmbd@A-\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \kern\pmbd@A -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax - \pmbd@Rule\pmbd@Thin\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2540} BOX DRAWINGS UP HEAVY AND DOWN HORIZONTAL LIGHT -% \begin{macro}{\pmbd@U+2540} -% \begin{macrocode} -\@namedef{pmbd@U+2540}{% - \pmbd@BeginDraw XX% - \rlap{% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \kern.5\pmbd@C -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax - \pmbd@Rule\pmbd@Thick\pmbd@H{-.5\pmbd@H}% - }% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \rlap{% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -$ }% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \rlap{% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -& }% -& \pmbd@Rule\pmbd@W\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2541} BOX DRAWINGS DOWN HEAVY AND UP HORIZONTAL LIGHT -% \begin{macro}{\pmbd@U+2541} -% \begin{macrocode} -\@namedef{pmbd@U+2541}{% - \pmbd@BeginDraw XX% - \rlap{% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \kern.5\pmbd@C -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax - \pmbd@Rule\pmbd@Thick{.5\pmbd@H}\z@ - }% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \rlap{% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -$ }% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax -& \rlap{% -& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& }% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% \subsubsection{U+2542} BOX DRAWINGS VERTICAL HEAVY AND HORIZONTAL LIGHT -% \begin{macro}{\pmbd@U+2542} -% \begin{macrocode} -\@namedef{pmbd@U+2542}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \dimen@=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule\pmbd@W\dimen@{-\dimexpr\dimen@-\pmbd@Thin\relax}% - \kern-\pmbd@W -$ \pmbd@A=\pmbd@W -$ \advance\pmbd@A-\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax - \pmbd@Rule\pmbd@Thick\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2543} BOX DRAWINGS LEFT UP HEAVY AND RIGHT DOWN LIGHT -% \begin{macro}{\pmbd@U+2543} -% \begin{macrocode} -\@namedef{pmbd@U+2543}{% - \pmbd@BeginDraw XX% - \rlap{% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -& \kern-\pmbd@Thin -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% -& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thin\relax}% - }% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% -& \pmbd@A\pmbd@B -& \kern-\pmbd@Thick -& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2544} BOX DRAWINGS RIGHT UP HEAVY AND LEFT DOWN LIGHT -% \begin{macro}{\pmbd@U+2544} -% \begin{macrocode} -\@namedef{pmbd@U+2544}{% - \pmbd@BeginDraw XX% - \rlap{% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% -& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thin\relax}% -& \kern-\pmbd@Thin -& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ - }% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -& \kern-\pmbd@Thick -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2545} BOX DRAWINGS LEFT DOWN HEAVY AND RIGHT UP LIGHT -% \begin{macro}{\pmbd@U+2545} -% \begin{macrocode} -\@namedef{pmbd@U+2545}{% - \pmbd@BeginDraw XX% - \rlap{% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B -& \kern-\pmbd@Thin -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B - }% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% -& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% -& \kern-\pmbd@Thick -& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2546} BOX DRAWINGS RIGHT DOWN HEAVY AND LEFT UP LIGHT -% \begin{macro}{\pmbd@U+2546} -% \begin{macrocode} -\@namedef{pmbd@U+2546}{% - \pmbd@BeginDraw XX% - \rlap{% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thin -$ \pmbd@C=.5\pmbd@C -$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B -$ \kern-\pmbd@Thin -$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% -& \pmbd@A\pmbd@B -& \kern-\pmbd@Thin -& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B - }% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -& \kern-\pmbd@Thick -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% -& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2547} BOX DRAWINGS DOWN LIGHT AND UP HORIZONTAL HEAVY -% \begin{macro}{\pmbd@U+2547} -% \begin{macrocode} -\@namedef{pmbd@U+2547}{% - \pmbd@BeginDraw XX% - \rlap{% -$ \pmbd@A=\pmbd@W -$ \advance\pmbd@A-\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \kern\pmbd@A -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax - \pmbd@Rule\pmbd@Thin\pmbd@H\z@ - }% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \rlap{% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -$ }% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax -& \rlap{% -& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& }% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2548} BOX DRAWINGS UP LIGHT AND DOWN HORIZONTAL HEAVY -% \begin{macro}{\pmbd@U+2548} -% \begin{macrocode} -\@namedef{pmbd@U+2548}{% - \pmbd@BeginDraw XX% - \rlap{% -$ \pmbd@A=\pmbd@W -$ \advance\pmbd@A-\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \kern\pmbd@A -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax - \pmbd@Rule\pmbd@Thin\pmbd@H\z@ - }% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \rlap{% -$ \kern.5\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -$ }% -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \rlap{% -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ -& }% -& \pmbd@Rule\pmbd@W\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2549} BOX DRAWINGS RIGHT LIGHT AND LEFT VERTICAL HEAVY -% \begin{macro}{\pmbd@U+2549} -% \begin{macrocode} -\@namedef{pmbd@U+2549}{% - \pmbd@BeginDraw XX% - \rlap{% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \dimen@=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule\pmbd@W\dimen@{-\dimexpr\dimen@-\pmbd@Thin\relax} - }% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C\pmbd@Thick -$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@Thick\pmbd@H\z@ -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% -& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thick\relax}% -& \kern-\pmbd@Thick -& \pmbd@Rule\pmbd@Thick\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+254A} BOX DRAWINGS LEFT LIGHT AND RIGHT VERTICAL HEAVY -% \begin{macro}{\pmbd@U+254A} -% \begin{macrocode} -\@namedef{pmbd@U+254A}{% - \pmbd@BeginDraw XX% - \rlap{% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \dimen@=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule\pmbd@W\dimen@{-\dimexpr\dimen@-\pmbd@Thin\relax} - }% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \pmbd@C=.5\pmbd@C -$ \pmbd@D=\pmbd@W -$ \advance\pmbd@D-\pmbd@C -$ \kern\pmbd@C -$ \pmbd@Rule\pmbd@Thick\pmbd@H\z@ -$ \kern-\pmbd@Thick -$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax -& \kern\pmbd@C -& \pmbd@Rule\pmbd@Thick\pmbd@H\z@ -& \kern-\pmbd@Thick -& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A -& {-\dimexpr\pmbd@A-\pmbd@Thick\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+254B} BOX DRAWINGS HEAVY VERTICAL AND HORIZONTAL -% \begin{macro}{\pmbd@U+254B} -% \begin{macrocode} -\@namedef{pmbd@U+254B}{% - \pmbd@BeginDraw -X% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \dimen@=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule\pmbd@W\dimen@{-\dimexpr\dimen@-\pmbd@Thick\relax}% - \kern-\pmbd@W -$ \pmbd@A=\pmbd@W -$ \advance\pmbd@A-\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \kern\pmbd@A -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax - \pmbd@Rule\pmbd@Thick\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsection{Box drawing, double lines} -% -% \begin{macro}{\pmbd@BeginDouble} -% \begin{macrocode} -\def\pmbd@BeginDouble{% - \pmbd@BeginDraw X-% - \pmbd@SetLength\pmbd@Sep\pmbd@BoxDrawing/doublelinesep% -} -% \end{macrocode} -% \end{macro} -% -% \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{macro}{\textSFxliii} -% \begin{macrocode} -\pmbd@UniDef\textSFxliii{2550} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2550} -% \begin{macrocode} -\@namedef{pmbd@U+2550}{% - \pmbd@BeginDouble -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A-\pmbd@Sep -$ \pmbd@A=.5\pmbd@A -& \pmbd@A=.5\dimexpr\pmbd@H-\pmbd@Sep\relax -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \pmbd@Rule\pmbd@W\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% - \kern-\pmbd@W -$ \advance\pmbd@A\pmbd@Sep -$ \advance\pmbd@A\pmbd@Thin -$ \advance\pmbd@B-\pmbd@Sep -$ \advance\pmbd@B-\pmbd@Thin -& \pmbd@A=\dimexpr\pmbd@A+\pmbd@Sep+\pmbd@Thin\relax -$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B -& \pmbd@Rule\pmbd@W\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2551} BOX DRAWINGS DOUBLE VERTICAL -% \begin{macro}{\textSFxxiv} -% \begin{macrocode} -\pmbd@UniDef\textSFxxiv{2551} -% \end{macrocode} -% \end{macro} -% \begin{macro}{pmbd@U+2551} -% \begin{macrocode} -\@namedef{pmbd@U+2551}{% - \pmbd@BeginDouble -$ \pmbd@A=\pmbd@W -$ \advance\pmbd@A-\pmbd@Sep -$ \pmbd@A=.5\pmbd@A -$ \advance\pmbd@A-.5\pmbd@Thin -$ \kern\pmbd@A -& \kern\dimexpr.5\dimexpr\pmbd@W-\pmbd@Sep\relax-\pmbd@Thin\relax - \pmbd@Rule\pmbd@Thin\pmbd@H\z@ - \kern\pmbd@Sep - \pmbd@Rule\pmbd@Thin\pmbd@H\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2552} BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE -% \begin{macro}{\textSFli} -% \begin{macrocode} -\pmbd@UniDef\textSFli{2552} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2552} -% \begin{macrocode} -\@namedef{pmbd@U+2552}{% - \pmbd@BeginDouble - \pmbd@C=\pmbd@W - \advance\pmbd@C-\pmbd@Thin - \pmbd@C=.5\pmbd@C - \kern\pmbd@C - \pmbd@A=\pmbd@H - \advance\pmbd@A\pmbd@Sep - \pmbd@A=.5\pmbd@A - \advance\pmbd@A\pmbd@Thin - \pmbd@Rule\pmbd@Thin\pmbd@A\z@ - \kern-\pmbd@Thin - \pmbd@D=\pmbd@W - \advance\pmbd@D-\pmbd@C - \pmbd@B=-\pmbd@A - \advance\pmbd@B\pmbd@Thin - \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B - \kern-\pmbd@D - \advance\pmbd@A-\pmbd@Sep - \advance\pmbd@A-\pmbd@Thin - \advance\pmbd@B\pmbd@Sep - \advance\pmbd@B\pmbd@Thin - \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2553} BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE -% \begin{macro}{\textSFlii} -% \begin{macrocode} -\pmbd@UniDef\textSFlii{2553} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2553} -% \begin{macrocode} -\@namedef{pmbd@U+2553}{% - \pmbd@BeginDouble - \pmbd@C=\pmbd@W - \advance\pmbd@C-\pmbd@Sep - \pmbd@C=.5\pmbd@C - \advance\pmbd@C-\pmbd@Thin - \kern\pmbd@C - \pmbd@D=\pmbd@W - \advance\pmbd@D-\pmbd@C - \pmbd@A=\pmbd@H - \advance\pmbd@A\pmbd@Thin - \pmbd@A=.5\pmbd@A - \pmbd@B=-\pmbd@A - \advance\pmbd@B\pmbd@Thin - \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B - \kern-\pmbd@D - \pmbd@Rule\pmbd@Thin\pmbd@A\z@ - \kern\pmbd@Sep - \pmbd@Rule\pmbd@Thin\pmbd@A\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% \subsubsection{U+2554} BOX DRAWINGS DOUBLE DOWN AND RIGHT -% \begin{macro}{\textSFxxxix} -% \begin{macrocode} -\pmbd@UniDef\textSFxxxix{2554} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2554} -% \begin{macrocode} -\@namedef{pmbd@U+2554}{% - \pmbd@BeginDouble - \pmbd@C=\pmbd@W - \advance\pmbd@C-\pmbd@Sep - \pmbd@C=.5\pmbd@C - \advance\pmbd@C-\pmbd@Thin - \kern\pmbd@C - \pmbd@A=\pmbd@H - \advance\pmbd@A\pmbd@Sep - \pmbd@A=.5\pmbd@A - \advance\pmbd@A\pmbd@Thin - \pmbd@B=-\pmbd@A - \advance\pmbd@B\pmbd@Thin - \pmbd@D=\pmbd@W - \advance\pmbd@D-\pmbd@C - \pmbd@Rule\pmbd@Thin\pmbd@A\z@ - \kern-\pmbd@Thin - \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B - \advance\pmbd@D-\pmbd@Sep - \advance\pmbd@D-\pmbd@Thin - \kern-\pmbd@D - \advance\pmbd@A-\pmbd@Sep - \advance\pmbd@A-\pmbd@Thin - \advance\pmbd@B\pmbd@Sep - \advance\pmbd@B\pmbd@Thin - \pmbd@Rule\pmbd@Thin\pmbd@A\z@ - \kern-\pmbd@Thin - \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2555} BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE -% \begin{macro}{\textSFxxii} -% \begin{macrocode} -\pmbd@UniDef\textSFxxii{2555} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2555} -% \begin{macrocode} -\@namedef{pmbd@U+2555}{% - \pmbd@BeginDouble - \pmbd@A=\pmbd@H - \advance\pmbd@A-\pmbd@Sep - \pmbd@A=.5\pmbd@A - \pmbd@B=-\pmbd@A - \advance\pmbd@B\pmbd@Thin - \pmbd@C=\pmbd@W - \advance\pmbd@C\pmbd@Thin - \pmbd@C=.5\pmbd@C - \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B - \kern-\pmbd@C - \advance\pmbd@A\pmbd@Sep - \advance\pmbd@A\pmbd@Thin - \advance\pmbd@B-\pmbd@Sep - \advance\pmbd@B-\pmbd@Thin - \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B - \kern-\pmbd@Thin - \pmbd@Rule\pmbd@Thin\pmbd@A\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2556} BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE -% \begin{macro}{\textSFxxi} -% \begin{macrocode} -\pmbd@UniDef\textSFxxi{2556} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2556} -% \begin{macrocode} -\@namedef{pmbd@U+2556}{% - \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} -% \end{macro} -% -% \subsubsection{U+2557} BOX DRAWINGS DOUBLE DOWN AND LEFT -% \begin{macro}{\textSFxxv} -% \begin{macrocode} -\pmbd@UniDef\textSFxxv{2557} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2557} -% \begin{macrocode} -\@namedef{pmbd@U+2557}{% - \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} -% \end{macro} -% -% \subsubsection{U+2558} BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE -% \begin{macro}{\textSFl} -% \begin{macrocode} -\pmbd@UniDef\textSFl{2558} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2558} -% \begin{macrocode} -\@namedef{pmbd@U+2558}{% - \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} -% \end{macro} -% -% \subsubsection{U+2559} BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE -% \begin{macro}{\textSFxlix} -% \begin{macrocode} -\pmbd@UniDef\textSFxlix{2559} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2559} -% \begin{macrocode} -\@namedef{pmbd@U+2559}{% - \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} -% \end{macro} -% -% \subsubsection{U+255A} BOX DRAWINGS DOUBLE UP AND RIGHT -% \begin{macro}{\textSFxxxviii} -% \begin{macrocode} -\pmbd@UniDef\textSFxxxviii{255A} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+255A} -% \begin{macrocode} -\@namedef{pmbd@U+255A}{% - \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} -% \end{macro} -% -% \subsubsection{U+255B} BOX DRAWINGS UP SINGLE AND LEFT DOUBLE -% \begin{macro}{\textSFxxviii} -% \begin{macrocode} -\pmbd@UniDef\textSFxxviii{255B} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+255B} -% \begin{macrocode} -\@namedef{pmbd@U+255B}{% - \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} -% \end{macro} -% -% \subsubsection{U+255C} BOX DRAWINGS UP DOUBLE AND LEFT SINGLE -% \begin{macro}{\textSFxxvii} -% \begin{macrocode} -\pmbd@UniDef\textSFxxvii{255C} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+255C} -% \begin{macrocode} -\@namedef{pmbd@U+255C}{% - \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} -% \end{macro} -% -% \subsubsection{U+255D} BOX DRAWINGS DOUBLE UP AND LEFT -% \begin{macro}{\textSFxxvi} -% \begin{macrocode} -\pmbd@UniDef\textSFxxvi{255D} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+255D} -% \begin{macrocode} -\@namedef{pmbd@U+255D}{% - \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} -% \end{macro} -% -% \subsubsection{U+255E} BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE -% \begin{macro}{\textSFxxxvi} -% \begin{macrocode} -\pmbd@UniDef\textSFxxxvi{255E} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+255E} -% \begin{macrocode} -\@namedef{pmbd@U+255E}{% - \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} -% \end{macro} -% -% \subsubsection{U+255F} BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE -% \begin{macro}{\textSFxxxvii} -% \begin{macrocode} -\pmbd@UniDef\textSFxxxvii{255F} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+255F} -% \begin{macrocode} -\@namedef{pmbd@U+255F}{% - \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} -% \end{macro} -% -% \subsubsection{U+2560} BOX DRAWINGS DOUBLE VERTICAL AND RIGHT -% \begin{macro}{\textSFxlii} -% \begin{macrocode} -\pmbd@UniDef\textSFxlii{2560} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2560} -% \begin{macrocode} -\@namedef{pmbd@U+2560}{% - \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} -% \end{macro} -% -% \subsubsection{U+2561} BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE -% \begin{macro}{\textSFxix} -% \begin{macrocode} -\pmbd@UniDef\textSFxix{2561} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2561} -% \begin{macrocode} -\@namedef{pmbd@U+2561}{% - \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} -% \end{macro} -% -% \subsubsection{U+2562} BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE -% \begin{macro}{\textSFxx} -% \begin{macrocode} -\pmbd@UniDef\textSFxx{2562} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2562} -% \begin{macrocode} -\@namedef{pmbd@U+2562}{% - \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} -% \end{macro} -% -% \subsubsection{U+2563} BOX DRAWINGS DOUBLE VERTICAL AND LEFT -% \begin{macro}{\textSFxxiii} -% \begin{macrocode} -\pmbd@UniDef\textSFxxiii{2563} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2563} -% \begin{macrocode} -\@namedef{pmbd@U+2563}{% - \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} -% \end{macro} -% -% \subsubsection{U+2564} BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE -% \begin{macro}{\textSFxlvii} -% \begin{macrocode} -\pmbd@UniDef\textSFxlvii{2564} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2564} -% \begin{macrocode} -\@namedef{pmbd@U+2564}{% - \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} -% \end{macro} -% -% \subsubsection{U+2565} BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE -% \begin{macro}{\textSFxlviii} -% \begin{macrocode} -\pmbd@UniDef\textSFxlviii{2565} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2565} -% \begin{macrocode} -\@namedef{pmbd@U+2565}{% - \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} -% \end{macro} -% -% \subsubsection{U+2566} BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL -% \begin{macro}{\textSFxli} -% \begin{macrocode} -\pmbd@UniDef\textSFxli{2566} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2566} -% \begin{macrocode} -\@namedef{pmbd@U+2566}{% - \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} -% \end{macro} -% -% \subsubsection{U+2567} BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE -% \begin{macro}{\textSFxlv} -% \begin{macrocode} -\pmbd@UniDef\textSFxlv{2567} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2567} -% \begin{macrocode} -\@namedef{pmbd@U+2567}{% - \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} -% \end{macro} -% -% \subsubsection{U+2568} BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE -% \begin{macro}{\textSFxlvi} -% \begin{macrocode} -\pmbd@UniDef\textSFxlvi{2568} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2568} -% \begin{macrocode} -\@namedef{pmbd@U+2568}{% - \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} -% \end{macro} -% -% \subsubsection{U+2569} BOX DRAWINGS DOUBLE UP AND HORIZONTAL -% \begin{macro}{\textSFxl} -% \begin{macrocode} -\pmbd@UniDef\textSFxl{2569} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+2569} -% \begin{macrocode} -\@namedef{pmbd@U+2569}{% - \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} -% \end{macro} -% -% \subsubsection{U+256A} BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE -% \begin{macro}{\textSFliv} -% \begin{macrocode} -\pmbd@UniDef\textSFliv{256A} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+256A} -% \begin{macrocode} -\@namedef{pmbd@U+256A}{% - \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} -% \end{macro} -% -% \subsubsection{U+256B} BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE -% \begin{macro}{\textSFliii} -% \begin{macrocode} -\pmbd@UniDef\textSFliii{256B} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+256B} -% \begin{macrocode} -\@namedef{pmbd@U+256B}{% - \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} -% \end{macro} -% -% \subsubsection{U+256C} BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL -% \begin{macro}{\textSFxliv} -% \begin{macrocode} -\pmbd@UniDef\textSFxliv{256C} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\pmbd@U+256C} -% \begin{macrocode} -\@namedef{pmbd@U+256C}{% - \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} -% \end{macro} -% -% \subsubsection{U+2574} BOX DRAWINGS LIGHT LEFT -% \begin{macro}{\pmbd@U+2574} -% \begin{macrocode} -\@namedef{pmbd@U+2574}{% - \pmbd@BeginDraw X-% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule{.5\pmbd@W}\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2575} BOX DRAWINGS LIGHT UP -% \begin{macro}{\pmbd@U+2575} -% \begin{macrocode} -\@namedef{pmbd@U+2575}{% - \pmbd@BeginDraw X-% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \kern.5\pmbd@C -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax - \pmbd@Rule\pmbd@Thin\pmbd@H{-.5\pmbd@H}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2576} BOX DRAWINGS LIGHT RIGHT -% \begin{macro}{\pmbd@U+2576} -% \begin{macrocode} -\@namedef{pmbd@U+2576}{% - \pmbd@BeginDraw X-% - \kern.5\pmbd@W -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule{.5\pmbd@W}\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2577} BOX DRAWINGS LIGHT DOWN -% \begin{macro}{\pmbd@U+2577} -% \begin{macrocode} -\@namedef{pmbd@U+2577}{% - \pmbd@BeginDraw X-% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \kern.5\pmbd@C -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax - \pmbd@Rule\pmbd@Thin{.5\pmbd@H}\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2578} BOX DRAWINGS HEAVY LEFT -% \begin{macro}{\pmbd@U+2578} -% \begin{macrocode} -\@namedef{pmbd@U+2578}{% - \pmbd@BeginDraw -X% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule{.5\pmbd@W}\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+2579} BOX DRAWINGS HEAVY UP -% \begin{macro}{\pmbd@U+2579} -% \begin{macrocode} -\@namedef{pmbd@U+2579}{% - \pmbd@BeginDraw -X% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \kern.5\pmbd@C -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax - \pmbd@Rule\pmbd@Thick\pmbd@H{-.5\pmbd@H}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+257A} BOX DRAWINGS HEAVY RIGHT -% \begin{macro}{\pmbd@U+257A} -% \begin{macrocode} -\@namedef{pmbd@U+257A}{% - \pmbd@BeginDraw -X% - \kern.5\pmbd@W -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule{.5\pmbd@W}\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+257B} BOX DRAWINGS HEAVY DOWN -% \begin{macro}{\pmbd@U+257B} -% \begin{macrocode} -\@namedef{pmbd@U+257B}{% - \pmbd@BeginDraw -X% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \kern.5\pmbd@C -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax - \pmbd@Rule\pmbd@Thick{.5\pmbd@H}\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+257C} BOX DRAWINGS LIGHT LEFT AND HEAVY RIGHT -% \begin{macro}{\pmbd@U+257C} -% \begin{macrocode} -\@namedef{pmbd@U+257C}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule{.5\pmbd@W}\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule{.5\pmbd@W}\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+257D} BOX DRAWINGS LIGHT UP AND HEAVY DOWN -% \begin{macro}{\pmbd@U+257D} -% \begin{macrocode} -\@namedef{pmbd@U+257D}{% - \pmbd@BeginDraw XX% - \rlap{% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \kern.5\pmbd@C -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax - \pmbd@Rule\pmbd@Thin\pmbd@H{-.5\pmbd@H}% - }% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \kern.5\pmbd@C -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax - \pmbd@Rule\pmbd@Thick{.5\pmbd@H}\z@ - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+257E} BOX DRAWINGS HEAVY LEFT AND LIGHT RIGHT -% \begin{macro}{\pmbd@U+257E} -% \begin{macrocode} -\@namedef{pmbd@U+257E}{% - \pmbd@BeginDraw XX% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thick -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thick -$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax -& \pmbd@Rule{.5\pmbd@W}\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% -$ \pmbd@A=\pmbd@H -$ \advance\pmbd@A\pmbd@Thin -$ \pmbd@A=.5\pmbd@A -$ \pmbd@B=-\pmbd@A -$ \advance\pmbd@B\pmbd@Thin -$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B -& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax -& \pmbd@Rule{.5\pmbd@W}\pmbd@A -& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% - \pmbd@EndBox -} -% \end{macrocode} -% \end{macro} -% -% \subsubsection{U+257F} BOX DRAWINGS HEAVY UP AND LIGHT DOWN -% \begin{macro}{\pmbd@U+257F} -% \begin{macrocode} -\@namedef{pmbd@U+257F}{% - \pmbd@BeginDraw XX% - \rlap{% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thick -$ \kern.5\pmbd@C -& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax - \pmbd@Rule\pmbd@Thick\pmbd@H{-.5\pmbd@H}% - }% -$ \pmbd@C=\pmbd@W -$ \advance\pmbd@C-\pmbd@Thin -$ \kern.5\pmbd@C -& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax - \pmbd@Rule\pmbd@Thin{.5\pmbd@H}\z@ - \pmbd@EndBox -} -% \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} -% -% -% \begin{macrocode} -\pmbd@AtEnd% -% -% \end{macrocode} -% -% \subsection{Unicode support file} -% -% \begin{macrocode} -%<*utf8> -\ProvidesFile{pmboxdrawenc.dfu}% - [2019/02/28 v1.3 UTF-8 support for box drawing characters]% -% \end{macrocode} -% -% \begin{macrocode} -\DeclareUnicodeCharacter{2500}{\textSFx} -\DeclareUnicodeCharacter{2501}{\pmboxdrawuni{2501}} -\DeclareUnicodeCharacter{2502}{\textSFxi} -\DeclareUnicodeCharacter{2503}{\pmboxdrawuni{2503}} -\DeclareUnicodeCharacter{250C}{\textSFi} -\DeclareUnicodeCharacter{250D}{\pmboxdrawuni{250D}} -\DeclareUnicodeCharacter{250E}{\pmboxdrawuni{250E}} -\DeclareUnicodeCharacter{250F}{\pmboxdrawuni{250F}} -\DeclareUnicodeCharacter{2510}{\textSFiii} -\DeclareUnicodeCharacter{2511}{\pmboxdrawuni{2511}} -\DeclareUnicodeCharacter{2512}{\pmboxdrawuni{2512}} -\DeclareUnicodeCharacter{2513}{\pmboxdrawuni{2513}} -\DeclareUnicodeCharacter{2514}{\textSFii} -\DeclareUnicodeCharacter{2515}{\pmboxdrawuni{2515}} -\DeclareUnicodeCharacter{2516}{\pmboxdrawuni{2516}} -\DeclareUnicodeCharacter{2517}{\pmboxdrawuni{2517}} -\DeclareUnicodeCharacter{2518}{\textSFiv} -\DeclareUnicodeCharacter{2519}{\pmboxdrawuni{2519}} -\DeclareUnicodeCharacter{251A}{\pmboxdrawuni{251A}} -\DeclareUnicodeCharacter{251B}{\pmboxdrawuni{251B}} -\DeclareUnicodeCharacter{251C}{\textSFviii} -\DeclareUnicodeCharacter{251D}{\pmboxdrawuni{251D}} -\DeclareUnicodeCharacter{251E}{\pmboxdrawuni{251E}} -\DeclareUnicodeCharacter{251F}{\pmboxdrawuni{251F}} -\DeclareUnicodeCharacter{2520}{\pmboxdrawuni{2520}} -\DeclareUnicodeCharacter{2521}{\pmboxdrawuni{2521}} -\DeclareUnicodeCharacter{2522}{\pmboxdrawuni{2522}} -\DeclareUnicodeCharacter{2523}{\pmboxdrawuni{2523}} -\DeclareUnicodeCharacter{2524}{\textSFix} -\DeclareUnicodeCharacter{252C}{\textSFvi} -\DeclareUnicodeCharacter{252D}{\pmboxdrawuni{252D}} -\DeclareUnicodeCharacter{252E}{\pmboxdrawuni{252E}} -\DeclareUnicodeCharacter{252F}{\pmboxdrawuni{252F}} -\DeclareUnicodeCharacter{2530}{\pmboxdrawuni{2530}} -\DeclareUnicodeCharacter{2531}{\pmboxdrawuni{2531}} -\DeclareUnicodeCharacter{2532}{\pmboxdrawuni{2532}} -\DeclareUnicodeCharacter{2533}{\pmboxdrawuni{2533}} -\DeclareUnicodeCharacter{2534}{\textSFvii} -\DeclareUnicodeCharacter{2535}{\pmboxdrawuni{2535}} -\DeclareUnicodeCharacter{2536}{\pmboxdrawuni{2536}} -\DeclareUnicodeCharacter{2537}{\pmboxdrawuni{2537}} -\DeclareUnicodeCharacter{2538}{\pmboxdrawuni{2538}} -\DeclareUnicodeCharacter{2539}{\pmboxdrawuni{2539}} -\DeclareUnicodeCharacter{253A}{\pmboxdrawuni{253A}} -\DeclareUnicodeCharacter{253B}{\pmboxdrawuni{253B}} -\DeclareUnicodeCharacter{253C}{\textSFv} -\DeclareUnicodeCharacter{253D}{\pmboxdrawuni{253D}} -\DeclareUnicodeCharacter{253E}{\pmboxdrawuni{253E}} -\DeclareUnicodeCharacter{253F}{\pmboxdrawuni{253F}} -\DeclareUnicodeCharacter{2540}{\pmboxdrawuni{2540}} -\DeclareUnicodeCharacter{2541}{\pmboxdrawuni{2541}} -\DeclareUnicodeCharacter{2542}{\pmboxdrawuni{2542}} -\DeclareUnicodeCharacter{2543}{\pmboxdrawuni{2543}} -\DeclareUnicodeCharacter{2544}{\pmboxdrawuni{2544}} -\DeclareUnicodeCharacter{2545}{\pmboxdrawuni{2545}} -\DeclareUnicodeCharacter{2546}{\pmboxdrawuni{2546}} -\DeclareUnicodeCharacter{2547}{\pmboxdrawuni{2547}} -\DeclareUnicodeCharacter{2548}{\pmboxdrawuni{2548}} -\DeclareUnicodeCharacter{2549}{\pmboxdrawuni{2549}} -\DeclareUnicodeCharacter{254A}{\pmboxdrawuni{254A}} -\DeclareUnicodeCharacter{254B}{\pmboxdrawuni{254B}} -\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{2574}{\pmboxdrawuni{2574}} -\DeclareUnicodeCharacter{2575}{\pmboxdrawuni{2575}} -\DeclareUnicodeCharacter{2576}{\pmboxdrawuni{2576}} -\DeclareUnicodeCharacter{2577}{\pmboxdrawuni{2577}} -\DeclareUnicodeCharacter{2578}{\pmboxdrawuni{2578}} -\DeclareUnicodeCharacter{2579}{\pmboxdrawuni{2579}} -\DeclareUnicodeCharacter{257A}{\pmboxdrawuni{257A}} -\DeclareUnicodeCharacter{257B}{\pmboxdrawuni{257B}} -\DeclareUnicodeCharacter{257C}{\pmboxdrawuni{257C}} -\DeclareUnicodeCharacter{257D}{\pmboxdrawuni{257D}} -\DeclareUnicodeCharacter{257E}{\pmboxdrawuni{257E}} -\DeclareUnicodeCharacter{257F}{\pmboxdrawuni{257F}} -\DeclareUnicodeCharacter{2580}{\textupblock} -\DeclareUnicodeCharacter{2581}{\pmboxdrawuni{2581}} -\DeclareUnicodeCharacter{2582}{\pmboxdrawuni{2582}} -\DeclareUnicodeCharacter{2583}{\pmboxdrawuni{2583}} -\DeclareUnicodeCharacter{2584}{\textdnblock} -\DeclareUnicodeCharacter{2585}{\pmboxdrawuni{2585}} -\DeclareUnicodeCharacter{2586}{\pmboxdrawuni{2586}} -\DeclareUnicodeCharacter{2587}{\pmboxdrawuni{2587}} -\DeclareUnicodeCharacter{2588}{\textblock} -\DeclareUnicodeCharacter{2589}{\pmboxdrawuni{2589}} -\DeclareUnicodeCharacter{258A}{\pmboxdrawuni{258A}} -\DeclareUnicodeCharacter{258B}{\pmboxdrawuni{258B}} -\DeclareUnicodeCharacter{258C}{\textlfblock} -\DeclareUnicodeCharacter{258D}{\pmboxdrawuni{258D}} -\DeclareUnicodeCharacter{258E}{\pmboxdrawuni{258E}} -\DeclareUnicodeCharacter{258F}{\pmboxdrawuni{258F}} -\DeclareUnicodeCharacter{2590}{\textrtblock} -\DeclareUnicodeCharacter{2591}{\textltshade} -\DeclareUnicodeCharacter{2592}{\textshade} -\DeclareUnicodeCharacter{2593}{\textdkshade} -\DeclareUnicodeCharacter{2594}{\pmboxdrawuni{2594}} -\DeclareUnicodeCharacter{2595}{\pmboxdrawuni{2595}} -\DeclareUnicodeCharacter{2596}{\pmboxdrawuni{2596}} -\DeclareUnicodeCharacter{2597}{\pmboxdrawuni{2597}} -\DeclareUnicodeCharacter{2598}{\pmboxdrawuni{2598}} -\DeclareUnicodeCharacter{2599}{\pmboxdrawuni{2599}} -\DeclareUnicodeCharacter{259A}{\pmboxdrawuni{259A}} -\DeclareUnicodeCharacter{259B}{\pmboxdrawuni{259B}} -\DeclareUnicodeCharacter{259C}{\pmboxdrawuni{259C}} -\DeclareUnicodeCharacter{259D}{\pmboxdrawuni{259D}} -\DeclareUnicodeCharacter{259E}{\pmboxdrawuni{259E}} -\DeclareUnicodeCharacter{259F}{\pmboxdrawuni{259F}} -% \end{macrocode} -% -% \begin{macrocode} -% -% \end{macrocode} -%% \section{Installation} -% -% \subsection{Download} -% -% \paragraph{Package.} This package is available on -% CTAN\footnote{\CTANpkg{pmboxdraw}}: -% \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[\CTANinstall{install/macros/latex/contrib/oberdiek.tds.zip}] -% \end{description} -% \emph{TDS} refers to the standard ``A Directory Structure -% for \TeX\ Files'' (\CTANpkg{tds}). 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} -% -% \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 -% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh -% these. For example, \TeX\,Live\ users run \verb|texhash| or -% \verb|mktexlsr|. -% -% \subsection{Some details for the interested} -% -% \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, -% \CTANpkg{inputenx}. -% -% \bibitem{aglfn} -% Adobe Systems Incorporated, -% Adobe Glyph List for New Fonts (AGLFN), version 1.5, 2005/09/18, -% \url{https://github.com/adobe-type-tools/agl-aglfn/blob/master/aglfn.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} -% \begin{Version}{2011/03/24 v1.1} -% \item -% Support of more characters. -% \item -% Catcode section added. -% \end{Version} -% \begin{Version}{2016/05/16 v1.2} -% \item -% Documentation updates. -% \end{Version} -% \begin{Version}{2019/02/28 v1.3} -% \item -% Fix character U+257F (gh issue 59) -% \end{Version} -% \end{History} -% -% \PrintIndex -% -% \Finale -\endinput diff --git a/macros/latex/contrib/oberdiek/pmboxdraw.pdf b/macros/latex/contrib/oberdiek/pmboxdraw.pdf deleted file mode 100644 index 26299b48cd..0000000000 Binary files a/macros/latex/contrib/oberdiek/pmboxdraw.pdf and /dev/null differ diff --git a/macros/latex/contrib/oberdiek/protecteddef.pdf b/macros/latex/contrib/oberdiek/protecteddef.pdf index 09203fa0d1..a595477f2c 100644 Binary files a/macros/latex/contrib/oberdiek/protecteddef.pdf and b/macros/latex/contrib/oberdiek/protecteddef.pdf differ diff --git a/macros/latex/contrib/oberdiek/refcount.pdf b/macros/latex/contrib/oberdiek/refcount.pdf index a50de50a98..3f8b3f4aae 100644 Binary files a/macros/latex/contrib/oberdiek/refcount.pdf and b/macros/latex/contrib/oberdiek/refcount.pdf differ diff --git a/macros/latex/contrib/oberdiek/rerunfilecheck.dtx b/macros/latex/contrib/oberdiek/rerunfilecheck.dtx deleted file mode 100644 index 173044c8c0..0000000000 --- a/macros/latex/contrib/oberdiek/rerunfilecheck.dtx +++ /dev/null @@ -1,921 +0,0 @@ -% \iffalse meta-comment -% -% File: rerunfilecheck.dtx -% Version: 2016/05/16 v1.8 -% Info: Rerun checks for auxiliary files -% -% Copyright (C) -% 2009-2011 Heiko Oberdiek -% 2016-2019 Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues -% -% This work may be distributed and/or modified under the -% conditions of the LaTeX Project Public License, either -% version 1.3c of this license or (at your option) any later -% version. This version of this license is in -% https://www.latex-project.org/lppl/lppl-1-3c.txt -% and the latest version of this license is in -% https://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". -% -% The Current Maintainers of this work are -% Heiko Oberdiek and the Oberdiek Package Support Group -% https://github.com/ho-tex/oberdiek/issues -% -% This work consists of the main source file rerunfilecheck.dtx -% and the derived files -% rerunfilecheck.sty, rerunfilecheck.pdf, rerunfilecheck.ins, -% rerunfilecheck.drv, rerunfilecheck-example.cfg, -% rerunfilecheck-test1.tex. -% -% Distribution: -% CTAN:macros/latex/contrib/oberdiek/rerunfilecheck.dtx -% CTAN:macros/latex/contrib/oberdiek/rerunfilecheck.pdf -% -% Unpacking: -% (a) If rerunfilecheck.ins is present: -% tex rerunfilecheck.ins -% (b) Without rerunfilecheck.ins: -% tex rerunfilecheck.dtx -% (c) If you insist on using LaTeX -% latex \let\install=y\input{rerunfilecheck.dtx} -% (quote the arguments according to the demands of your shell) -% -% Documentation: -% (a) If rerunfilecheck.drv is present: -% latex rerunfilecheck.drv -% (b) Without rerunfilecheck.drv: -% latex rerunfilecheck.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 rerunfilecheck.dtx -% makeindex -s gind.ist rerunfilecheck.idx -% pdflatex rerunfilecheck.dtx -% makeindex -s gind.ist rerunfilecheck.idx -% pdflatex rerunfilecheck.dtx -% -% Installation: -% TDS:tex/latex/oberdiek/rerunfilecheck.sty -% TDS:doc/latex/oberdiek/rerunfilecheck.pdf -% TDS:doc/latex/oberdiek/rerunfilecheck-example.cfg -% TDS:source/latex/oberdiek/rerunfilecheck.dtx -% -%<*ignore> -\begingroup - \catcode123=1 % - \catcode125=2 % - \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: rerunfilecheck 2016/05/16 v1.8 Rerun checks for auxiliary files (HO)} -\Msg{************************************************************************} - -\keepsilent -\askforoverwritefalse - -\let\MetaPrefix\relax -\preamble - -This is a generated file. - -Project: rerunfilecheck -Version: 2016/05/16 v1.8 - -Copyright (C) - 2009-2011 Heiko Oberdiek - 2016-2019 Oberdiek Package Support Group - -This work may be distributed and/or modified under the -conditions of the LaTeX Project Public License, either -version 1.3c of this license or (at your option) any later -version. This version of this license is in - https://www.latex-project.org/lppl/lppl-1-3c.txt -and the latest version of this license is in - https://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". - -The Current Maintainers of this work are -Heiko Oberdiek and the Oberdiek Package Support Group -https://github.com/ho-tex/oberdiek/issues - - -This work consists of the main source file rerunfilecheck.dtx -and the derived files - rerunfilecheck.sty, rerunfilecheck.pdf, rerunfilecheck.ins, - rerunfilecheck.drv, rerunfilecheck-example.cfg, - rerunfilecheck-test1.tex. - -\endpreamble -\let\MetaPrefix\DoubleperCent - -\generate{% - \file{rerunfilecheck.ins}{\from{rerunfilecheck.dtx}{install}}% - \file{rerunfilecheck.drv}{\from{rerunfilecheck.dtx}{driver}}% - \usedir{tex/latex/oberdiek}% - \file{rerunfilecheck.sty}{\from{rerunfilecheck.dtx}{package}}% -% \usedir{doc/latex/oberdiek/test}% -% \file{rerunfilecheck-test1.tex}{\from{rerunfilecheck.dtx}{test1}}% - \nopreamble - \nopostamble - \usedir{doc/latex/oberdiek}% - \file{rerunfilecheck-example.cfg}{\from{rerunfilecheck.dtx}{cfg}}% -% \usedir{source/latex/oberdiek/catalogue}% -% \file{rerunfilecheck.xml}{\from{rerunfilecheck.dtx}{catalogue}}% -} - -\catcode32=13\relax% active space -\let =\space% -\Msg{************************************************************************} -\Msg{*} -\Msg{* To finish the installation you have to move the following} -\Msg{* file into a directory searched by TeX:} -\Msg{*} -\Msg{* rerunfilecheck.sty} -\Msg{*} -\Msg{* To produce the documentation run the file `rerunfilecheck.drv'} -\Msg{* through LaTeX.} -\Msg{*} -\Msg{* Happy TeXing!} -\Msg{*} -\Msg{************************************************************************} - -\endbatchfile -% -%<*ignore> -\fi -% -%<*driver> -\NeedsTeXFormat{LaTeX2e} -\ProvidesFile{rerunfilecheck.drv}% - [2016/05/16 v1.8 Rerun checks for auxiliary files (HO)]% -\documentclass{ltxdoc} -\usepackage{holtxdoc}[2011/11/22] -\begin{document} - \DocInput{rerunfilecheck.dtx}% -\end{document} -% -% \fi -% -% -% -% \GetFileInfo{rerunfilecheck.drv} -% -% \title{The \xpackage{rerunfilecheck} package} -% \date{2016/05/16 v1.8} -% \author{Heiko Oberdiek\thanks -% {Please report any issues at \url{https://github.com/ho-tex/oberdiek/issues}}} -% -% \maketitle -% -% \begin{abstract} -% The package provides additional rerun warnings if some -% auxiliary files have changed. It is based on MD5 checksum, -% provided by \pdfTeX. -% \end{abstract} -% -% \tableofcontents -% -% \section{Documentation} -% -% \LaTeX\ informs the user, when to run \LaTeX\ again, if the -% references have changed. It has the old references from the -% first reading of the \xext{aux} files already in memory, thus -% it compares them with the new version of the \xext{aux} file -% at the end of the document. However this rerun warnings are -% not given for the table of contents and other data stored -% in the \xext{aux} files or other auxiliary files. -% Usually many of these data as the table of contents is not keep -% in memory. If someone wants to detect changes, he has either -% to keep the data in memory. This does not scale well with huge -% documents. Or he copies the file before they are changed. Slow -% I/O operations cost time. -% -% Since version 1.30.0 \pdfTeX\ provides \cs{pdfmdfivesum} -% and \cs{pdffilesize}. -% These features are also available in \LuaTeX, provided by package -% \xpackage{pdftexcmds}. -% Thus this package \xpackage{rerunfilecheck} uses these features to -% detect file changes. This saves the packages from keeping -% the whole files in memory or in file copies. -% The drawback are different files with the same size and the -% same MD5 checksum (seldom, hopefully). -% -% \subsection{Options} -% -% All options are key value options of boolean type. -% No option or |true| turns an option on, |false| disables -% an option. -% \begin{description} -% \item[\xoption{mainaux}:] -% Check the main \xext{aux} file. -% \item[\xoption{partaux}:] -% Check the \xext{aux} files from \cs{include} files. -% \item[\xoption{starttoc}:] -% Add the rerun checks in \cs{@starttoc} that is called by -% \cs{tableofcontents}, \cs{listoffigures}, \dots -% \item[\xoption{index}, \xoption{glossary}:] -% \LaTeX's original \cs{makeindex} and \cs{makeglossary} are -% redefined to add the rerun checks. The options do not have -% an effect, if \cs{makeindex}/\cs{makeglossary} are already -% called or if a package or class had redefined or will -% redefine them. -% \item[\xoption{aux}:] -% This option turns all previous options on or off. -% ``aux'' means auxiliary file. -% \end{description} -% The default for the options is |false|, because -% some internals must be redefined to insert the -% rerun checks. -% The options can be set in \cs{usepackage} or -% the configuration file \xfile{rerunfilecheck.cfg}. -% Global options are ignored (since 1.4). -% -% \begin{declcs}{RerunFileCheckSetup} \M{key value list} -% \end{declcs} -% Options can also be set using \cs{RerunFileCheckSetup}. -% Currently all options are disabled after the package -% is loaded. Thus \cs{RerunFileCheckSetup} makes sense in -% the configuration file only. -% -% Example for the configuration file: -% \begin{macrocode} -%<*cfg> -\ProvidesFile{rerunfilecheck.cfg}[2016/05/16 Default configuration]% -\RerunFileCheckSetup{aux} -% -% \end{macrocode} -% -% \subsection{Interface for class/package authors} -% -% \begin{declcs}{RerunFileCheck} \M{file} \M{file closing action} \M{rerun warning} -% \end{declcs} -% If you want to add a rerun check, call \cs{RerunFileCheck} right before -% an output file is opened for writing. The macro first remembers -% the current checksum of \meta{file}. -% The file is checked again right before the end of the job. -% Macro \cs{AtVeryEndDocument} of package \xpackage{atveryend} -% is used to place the check after the main aux file is closed -% in |\end{document}|. Before reading the file again, it must be -% closed. Provide the code for closing in argument \meta{file closing action}. -% Do not forget \cs{immediate} before \cs{openout}. Otherwise the -% closing action would be delayed to the next shipout that never happens -% (the last page is already shipped out). -% If the file has changed, \cs{RerunFileCheck} informs the user with -% a warning that the file has changed and says the magic word ``Rerun''. -% If the last argument \meta{rerun warning} is not empty, then -% the rerun sentence is replaced by it. Usually the phrase -% ``to get something right'' is added. -% As example the relevant part of the redefined \cs{makeindex} -% is shown, see package code: -%\begin{quote} -%\begin{verbatim} -%\newwrite\@indexfile -%\RerunFileCheck{\jobname.idx}{% -% \immediate\closeout\@indexfile -%}{% -% Rerun LaTeX/makeindex to get index right% -%}% -%\immediate\openout\@indexfile=\jobname.idx % -%\end{verbatim} -%\end{quote} -% -% \StopEventually{ -% } -% -% \section{Implementation} -% \begin{macrocode} -%<*package> -% \end{macrocode} -% -% \begin{macrocode} -\begingroup\catcode61\catcode48\catcode32=10\relax% - \catcode13=5 % ^^M - \endlinechar=13 % - \catcode123=1 % { - \catcode125=2 % } - \catcode64=11 % @ - \def\x{\endgroup - \expandafter\edef\csname ReFiCh@AtEnd\endcsname{% - \endlinechar=\the\endlinechar\relax - \catcode13=\the\catcode13\relax - \catcode32=\the\catcode32\relax - \catcode35=\the\catcode35\relax - \catcode61=\the\catcode61\relax - \catcode64=\the\catcode64\relax - \catcode123=\the\catcode123\relax - \catcode125=\the\catcode125\relax - }% - }% -\x\catcode61\catcode48\catcode32=10\relax% -\catcode13=5 % ^^M -\endlinechar=13 % -\catcode35=6 % # -\catcode64=11 % @ -\catcode123=1 % { -\catcode125=2 % } -\def\TMP@EnsureCode#1#2{% - \edef\ReFiCh@AtEnd{% - \ReFiCh@AtEnd - \catcode#1=\the\catcode#1\relax - }% - \catcode#1=#2\relax -} -\TMP@EnsureCode{39}{12}% ' -\TMP@EnsureCode{40}{12}% ( -\TMP@EnsureCode{41}{12}% ) -\TMP@EnsureCode{42}{12}% * -\TMP@EnsureCode{44}{12}% , -\TMP@EnsureCode{46}{12}% . -\TMP@EnsureCode{47}{12}% / -\TMP@EnsureCode{58}{12}% : -\TMP@EnsureCode{59}{12}% ; -\TMP@EnsureCode{60}{12}% < -\TMP@EnsureCode{62}{12}% > -\TMP@EnsureCode{91}{12}% [ -\TMP@EnsureCode{93}{12}% ] -\TMP@EnsureCode{96}{12}% ` -\edef\ReFiCh@AtEnd{\ReFiCh@AtEnd\noexpand\endinput} -% \end{macrocode} -% -% Package identification. -% \begin{macrocode} -\NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{rerunfilecheck}% - [2016/05/16 v1.8 Rerun checks for auxiliary files (HO)] -% \end{macrocode} -% -% \subsection{Options} -% -% \begin{macrocode} -\RequirePackage{kvoptions}[2010/02/22] -\SetupKeyvalOptions{% - family=rerunfilecheck,% - prefix=ReFiCh@% -} -% \end{macrocode} -% \begin{macro}{\RerunFileCheckSetup} -% \begin{macrocode} -\newcommand*{\RerunFileCheckSetup}{% - \setkeys{rerunfilecheck}% -} -% \end{macrocode} -% \end{macro} -% \begin{macrocode} -\DeclareBoolOption{mainaux} -\DeclareBoolOption{partaux} -\DeclareBoolOption{starttoc} -\DeclareBoolOption{index} -\DeclareBoolOption{glossary} -\define@key{rerunfilecheck}{aux}[true]{% - \RerunFileCheckSetup{% - mainaux={#1},% - partaux={#1},% - starttoc={#1},% - index={#1},% - glossary={#1}% - }% -} -% \end{macrocode} -% \begin{macrocode} -\InputIfFileExists{rerunfilecheck.cfg}{}{} -\ProcessLocalKeyvalOptions* -% \end{macrocode} -% -% \begin{macro}{\ReFiCh@DisableOption} -% \begin{macrocode} -\def\ReFiCh@DisableOption{% - \DisableKeyvalOption[% - action=warning,% - package=rerunfilecheck% - ]{rerunfilecheck}% -} -% \end{macrocode} -% \end{macro} -% -% \subsection{Check for checksum feature} -% -% \begin{macrocode} -\RequirePackage{infwarerr}[2007/09/09] -\RequirePackage{pdftexcmds}[2009/04/10] -% \end{macrocode} -% \begin{macrocode} -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname pdf@filemdfivesum\endcsname\relax - \@PackageInfoNoLine{rerunfilecheck}{% - Feature \string\pdfmdfivesum\space is not available\MessageBreak - (e.g. pdfTeX or LuaTeX with package `pdftexcmds').\MessageBreak - Therefore file contents cannot be checked efficiently\MessageBreak - and the loading of the package is aborted% - }% - \newcommand*{\RerunFileCheck}[3]{}% - \renewcommand*{\RerunFileCheckSetup}[1]{}% - \expandafter\ReFiCh@AtEnd -\fi% -% \end{macrocode} -% -% \subsection{Standard \xext{aux} files} -% -% \begin{macrocode} -\ifReFiCh@partaux - \let\ReFiCh@org@include\@include - \def\@include#1 {% - \if@filesw - \RerunFileCheck{#1.aux}{}{}% - \fi - \ReFiCh@org@include{#1} % - }% -\fi -\ifReFiCh@mainaux - \AtBeginDocument{% - \ReFiCh@mainauxfalse - }% - \ifReFiCh@mainaux - \AtEndOfPackage{% - \RerunFileCheck{\jobname.aux}{}{}% - }% - \else - \if@filesw - \@PackageWarningNoLine{rerunfilecheck}{% - Main aux file check is disabled,\MessageBreak - because the file is already opened.\MessageBreak - Load the package before \string\begin{document}% - }% - \fi - \fi -\fi -\ifReFiCh@starttoc - \let\ReFiCh@org@starttoc\@starttoc - \def\@starttoc#1{% - \if@filesw - \RerunFileCheck{\jobname.#1}{% - \@ifundefined{tf@#1}{% - }{% - \immediate\closeout\csname tf@#1\endcsname - }% - }{}% - \fi - \ReFiCh@org@starttoc{#1}% - }% -\fi -\ifReFiCh@index - \ifx\makeindex\@empty - \@PackageWarningNoLine{rerunfilecheck}{% - Option `index' ignored,\MessageBreak - because \string\makeindex\space has already been called% - }% - \else - \def\ReFiCh@temp{% - \newwrite\@indexfile - \immediate\openout\@indexfile=\jobname.idx % - \def\index{% - \@bsphack - \begingroup - \@sanitize - \@wrindex - }% - \typeout{Writing index file \jobname.idx}% - \let\makeindex\@empty - }% - \ifx\ReFiCh@temp\makeindex - \def\makeindex{% - \newwrite\@indexfile - \RerunFileCheck{\jobname.idx}{% - \immediate\closeout\@indexfile - }{% - Rerun LaTeX/makeindex to get index right% - }% - \immediate\openout\@indexfile=\jobname.idx % - \def\index{% - \@bsphack - \begingroup - \@sanitize - \@wrindex - }% - \typeout{Writing index file \jobname.idx}% - \let\makeindex\@empty - }% - \else - \@PackageInfoNoLine{rerunfilecheck}{% - Option `index': unsupported version of \string\makeindex - }% - \fi - \fi -\fi -\ifReFiCh@glossary - \ifx\makeglossary\@empty - \@PackageWarningNoLine{rerunfilecheck}{% - Option `glossary' ignored,\MessageBreak - because \string\makeglossary\space has already been called% - }% - \else - \def\ReFiCh@temp{% - \newwrite\@glossaryfile - \immediate\openout\@glossaryfile=\jobname.glo % - \def\glossary{% - \@bsphack - \begingroup - \@sanitize - \@wrglossary - }% - \typeout{Writing glossary file \jobname.glo }% - \let\makeglossary\@empty - }% - \ifx\ReFiCh@temp\makeglossary - \def\ReFiCh@temp{% - \newwrite\@glossaryfile - \RerunFileCheck{\jobname.glo}{% - \immediate\closeout\@glossaryfile - }{% - Rerun LaTeX/makeindex to get glossary right% - }% - \immediate\openout\@glossaryfile=\jobname.glo % - \def\glossary{% - \@bsphack - \begingroup - \@sanitize - \@wrglossary - }% - \typeout{Writing glossary file \jobname.glo}% - \let\makeglossary\@empty - }% - \else - \@PackageInfoNoLine{rerunfilecheck}{% - Option `glossary': unsupported version of \string\makeglossary - }% - \fi - \fi -\fi -\ReFiCh@DisableOption{mainaux} -\ReFiCh@DisableOption{partaux} -\ReFiCh@DisableOption{starttoc} -\ReFiCh@DisableOption{index} -\ReFiCh@DisableOption{glossary} -\ReFiCh@DisableOption{aux} -% \end{macrocode} -% -% \subsection{Rerun check} -% -% \begin{macrocode} -\RequirePackage{atveryend}[2016/05/16] -\RequirePackage{uniquecounter}[2009/12/18] -% \end{macrocode} -% -% \begin{macro}{\ReFiCh@CheckSum} -% \begin{macrocode} -\begingroup\expandafter\expandafter\expandafter\endgroup -\expandafter\ifx\csname pdf@filesize\endcsname\relax - \def\ReFiCh@CheckSum{% - \pdf@filemdfivesum - }% -\else - \def\ReFiCh@CheckSum#1{% - \pdf@filemdfivesum{#1}% - \ReFiCh@Separator - \pdf@filesize{#1}% - }% -\fi -% \end{macrocode} -% \end{macro} -% \begin{macro}{\ReFiCh@NoFile} -% \begin{macrocode} -\def\ReFiCh@Separator{;} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\ReFiCh@NoFile} -% \begin{macrocode} -\def\ReFiCh@NoFile{} -% \end{macrocode} -% \end{macro} -% -% \begin{macrocode} -\UniqueCounterNew{rerunfilecheck} -% \end{macrocode} -% -% \begin{macro}{\RerunFileCheck} -% \begin{macrocode} -\newcommand*{\RerunFileCheck}{% - \UniqueCounterCall{rerunfilecheck}\ReFiCh@RerunFileCheck -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\ReFiCh@RerunFileCheck} -% \begin{macrocode} -\def\ReFiCh@RerunFileCheck#1{% - \expandafter\ReFiCh@@RerunFileCheck\csname ReFiCh@#1\endcsname -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\ReFiCh@Check} -% \begin{macrocode} -\def\ReFiCh@Check#1#2#3{% -% \IfFileExists{#3}{% - #1\edef#2{\ReFiCh@CheckSum{#3}}% - \ifx#2\ReFiCh@Separator - #1\let#2\ReFiCh@NoFile - \fi -% }{% -% #1\let#2\ReFiCh@NoFile -% }% -} -% \end{macrocode} -% \end{macro} -% \begin{macro}{\ReFiCh@@RerunFileCheck} -% \begin{macrocode} -\def\ReFiCh@@RerunFileCheck#1#2#3#4{% - \ReFiCh@Check\global#1{#2}% - \AtEndAfterFileList{% - \begingroup - #3% - \ReFiCh@Check{}\x{#2}% - \ifx#1\x - \@PackageInfoNoLine{rerunfilecheck}{% - File `#2' has not changed.\MessageBreak - Checksum: \x - }% - \else - \ifnum - \ReFiCh@IsAux#2\relax.aux\relax\@nil - \ifx#1\ReFiCh@NoFile 1\else 0\fi - \ifx\x\ReFiCh@AuxEmptyUnix 1% - \else - \ifx\x\ReFiCh@AuxEmptyDos 1\fi - \fi - =111 % - \@PackageInfoNoLine{rerunfilecheck}{% - File `#2' is empty .aux file.\MessageBreak - Before: #1\MessageBreak - After: \space\x - }% - \else - \@PackageWarningNoLine{rerunfilecheck}{% - File `#2' has changed.% - \ifx\\#4\\% - \space Rerun% - \else - \MessageBreak - #4% - \fi - }% - \@PackageInfoNoLine{rerunfilecheck}{% - Checksums for `#2':\MessageBreak - Before: #1\MessageBreak - After: \space\x - }% - \fi - \fi - \endgroup - }% -} -% \end{macrocode} -% \end{macro} -% \begin{macrocode} -\def\ReFiCh@IsAux#1.aux\relax#2\@nil{% - \ifx\hbox#2\hbox - 0% - \else - 1% - \fi -} -% \end{macrocode} -% \begin{macrocode} -\def\ReFiCh@AuxEmptyUnix{A94A2480D3289E625EEA47CD1B285758;8}% -\@onelevel@sanitize\ReFiCh@AuxEmptyUnix -% \end{macrocode} -% \begin{macrocode} -\def\ReFiCh@AuxEmptyDos{A62A15ECE803E2EBE94952FCC9933BC0;9}% -\@onelevel@sanitize\ReFiCh@AuxEmptyDos -% \end{macrocode} -% -% \begin{macrocode} -\ReFiCh@AtEnd% -% -% \end{macrocode} -%% \section{Installation} -% -% \subsection{Download} -% -% \paragraph{Package.} This package is available on -% CTAN\footnote{\CTANpkg{rerunfilecheck}}: -% \begin{description} -% \item[\CTAN{macros/latex/contrib/oberdiek/rerunfilecheck.dtx}] The source file. -% \item[\CTAN{macros/latex/contrib/oberdiek/rerunfilecheck.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[\CTANinstall{install/macros/latex/contrib/oberdiek.tds.zip}] -% \end{description} -% \emph{TDS} refers to the standard ``A Directory Structure -% for \TeX\ Files'' (\CTANpkg{tds}). 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} -% -% \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 rerunfilecheck.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@{}} -% rerunfilecheck.sty & tex/latex/oberdiek/rerunfilecheck.sty\\ -% rerunfilecheck.pdf & doc/latex/oberdiek/rerunfilecheck.pdf\\ -% rerunfilecheck-example.cfg & doc/latex/oberdiek/rerunfilecheck-example.cfg\\ -% rerunfilecheck.dtx & source/latex/oberdiek/rerunfilecheck.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 -% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh -% these. For example, \TeX\,Live\ users run \verb|texhash| or -% \verb|mktexlsr|. -% -% \subsection{Some details for the interested} -% -% \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{rerunfilecheck.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 rerunfilecheck.dtx -%makeindex -s gind.ist rerunfilecheck.idx -%pdflatex rerunfilecheck.dtx -%makeindex -s gind.ist rerunfilecheck.idx -%pdflatex rerunfilecheck.dtx -%\end{verbatim} -% \end{quote} -% -% \begin{History} -% \begin{Version}{2009/12/10 v1.0} -% \item -% The first version. -% \end{Version} -% \begin{Version}{2009/12/12 v1.1} -% \item -% Short info shortened. -% \end{Version} -% \begin{Version}{2009/12/18 v1.2} -% \item -% Required date for package \xpackage{uniquecounter} updated -% because of bug in this package. -% \end{Version} -% \begin{Version}{2010/01/25 v1.3} -% \item -% Moved from \texttt{TDS:*/generic/*} to \texttt{TDS:*/latex/*}. -% \end{Version} -% \begin{Version}{2010/02/22 v1.4} -% \item -% The options of this package are recognized only if they are -% package options. Global options are ignored. This avoids -% name clashes with class and other package options -% (for example, class option `index=totoc'). -% \end{Version} -% \begin{Version}{2010/03/15 v1.5} -% \item -% Call of \cs{pdffivesum} is wrapped in \cs{IfFileExists} to avoid -% calls of \textsf{mktextex} if this feature is enabled. -% However \cs{IfFileExists} has file name limitations. -% \end{Version} -% \begin{Version}{2010/03/16 v1.6} -% \item -% Reverted to version 1.4 and \cs{IfFileExists} wrapper of -% version 1.5 is removed. -% \end{Version} -% \begin{Version}{2011/04/15 v1.7} -% \item -% Using \cs{AtEndAfterFileList} of package \xpackage{atveryend} -% 2011/04/15 v1.6 instead of \cs{AtVeryEndDocument}. -% \end{Version} -% \begin{Version}{2016/05/16 v1.8} -% \item -% Documentation updates. -% \end{Version} -% \end{History} -% -% \PrintIndex -% -% \Finale -\endinput diff --git a/macros/latex/contrib/oberdiek/rerunfilecheck.pdf b/macros/latex/contrib/oberdiek/rerunfilecheck.pdf deleted file mode 100644 index f0d393ffa1..0000000000 Binary files a/macros/latex/contrib/oberdiek/rerunfilecheck.pdf and /dev/null differ diff --git a/macros/latex/contrib/oberdiek/resizegather.pdf b/macros/latex/contrib/oberdiek/resizegather.pdf index a2535e2bd5..3ebed4c784 100644 Binary files a/macros/latex/contrib/oberdiek/resizegather.pdf and b/macros/latex/contrib/oberdiek/resizegather.pdf differ diff --git a/macros/latex/contrib/oberdiek/rotchiffre.pdf b/macros/latex/contrib/oberdiek/rotchiffre.pdf index 29808342d1..d80769cadb 100644 Binary files a/macros/latex/contrib/oberdiek/rotchiffre.pdf and b/macros/latex/contrib/oberdiek/rotchiffre.pdf differ diff --git a/macros/latex/contrib/oberdiek/scrindex.pdf b/macros/latex/contrib/oberdiek/scrindex.pdf index 887e13df7a..85f1f5ce4f 100644 Binary files a/macros/latex/contrib/oberdiek/scrindex.pdf and b/macros/latex/contrib/oberdiek/scrindex.pdf differ diff --git a/macros/latex/contrib/oberdiek/selinput.pdf b/macros/latex/contrib/oberdiek/selinput.pdf index f851f0385c..21478e37be 100644 Binary files a/macros/latex/contrib/oberdiek/selinput.pdf and b/macros/latex/contrib/oberdiek/selinput.pdf differ diff --git a/macros/latex/contrib/oberdiek/setouterhbox.pdf b/macros/latex/contrib/oberdiek/setouterhbox.pdf index be203061ab..12415ccf1c 100644 Binary files a/macros/latex/contrib/oberdiek/setouterhbox.pdf and b/macros/latex/contrib/oberdiek/setouterhbox.pdf differ diff --git a/macros/latex/contrib/oberdiek/settobox.pdf b/macros/latex/contrib/oberdiek/settobox.pdf index e9d22ad222..902aa99eee 100644 Binary files a/macros/latex/contrib/oberdiek/settobox.pdf and b/macros/latex/contrib/oberdiek/settobox.pdf differ diff --git a/macros/latex/contrib/oberdiek/soulutf8.pdf b/macros/latex/contrib/oberdiek/soulutf8.pdf index cf4409cdda..8eda2ea6bd 100644 Binary files a/macros/latex/contrib/oberdiek/soulutf8.pdf and b/macros/latex/contrib/oberdiek/soulutf8.pdf differ diff --git a/macros/latex/contrib/oberdiek/stackrel.pdf b/macros/latex/contrib/oberdiek/stackrel.pdf index 8457865306..c35d4499d3 100644 Binary files a/macros/latex/contrib/oberdiek/stackrel.pdf and b/macros/latex/contrib/oberdiek/stackrel.pdf differ diff --git a/macros/latex/contrib/oberdiek/stampinclude.pdf b/macros/latex/contrib/oberdiek/stampinclude.pdf index 3e72ead4ae..5a657155a0 100644 Binary files a/macros/latex/contrib/oberdiek/stampinclude.pdf and b/macros/latex/contrib/oberdiek/stampinclude.pdf differ diff --git a/macros/latex/contrib/oberdiek/tabularht.pdf b/macros/latex/contrib/oberdiek/tabularht.pdf index 92ea96cc84..3e22dfc27c 100644 Binary files a/macros/latex/contrib/oberdiek/tabularht.pdf and b/macros/latex/contrib/oberdiek/tabularht.pdf differ diff --git a/macros/latex/contrib/oberdiek/tabularkv.pdf b/macros/latex/contrib/oberdiek/tabularkv.pdf index 63951304d1..a51f2c8af3 100644 Binary files a/macros/latex/contrib/oberdiek/tabularkv.pdf and b/macros/latex/contrib/oberdiek/tabularkv.pdf differ diff --git a/macros/latex/contrib/oberdiek/telprint.pdf b/macros/latex/contrib/oberdiek/telprint.pdf index 090b5974ab..02fdbe6584 100644 Binary files a/macros/latex/contrib/oberdiek/telprint.pdf and b/macros/latex/contrib/oberdiek/telprint.pdf differ diff --git a/macros/latex/contrib/oberdiek/thepdfnumber.pdf b/macros/latex/contrib/oberdiek/thepdfnumber.pdf index b46cc89055..328d5b543b 100644 Binary files a/macros/latex/contrib/oberdiek/thepdfnumber.pdf and b/macros/latex/contrib/oberdiek/thepdfnumber.pdf differ diff --git a/macros/latex/contrib/oberdiek/twoopt.pdf b/macros/latex/contrib/oberdiek/twoopt.pdf index fcd3dea9b4..b339767c13 100644 Binary files a/macros/latex/contrib/oberdiek/twoopt.pdf and b/macros/latex/contrib/oberdiek/twoopt.pdf differ diff --git a/macros/latex/contrib/oberdiek/uniquecounter.pdf b/macros/latex/contrib/oberdiek/uniquecounter.pdf index 78158e1f15..e8e07a91ca 100644 Binary files a/macros/latex/contrib/oberdiek/uniquecounter.pdf and b/macros/latex/contrib/oberdiek/uniquecounter.pdf differ diff --git a/macros/latex/contrib/pdflscape/README.md b/macros/latex/contrib/pdflscape/README.md new file mode 100644 index 0000000000..89416f1b8d --- /dev/null +++ b/macros/latex/contrib/pdflscape/README.md @@ -0,0 +1,10 @@ +# pdflscape + +pdflscape package for LaTeX + + +Package pdflscape adds PDF support to the +environment landscape of package lscape +by setting the PDF page attribute /Rotate. + + diff --git a/macros/latex/contrib/pdflscape/pdflscape.dtx b/macros/latex/contrib/pdflscape/pdflscape.dtx new file mode 100644 index 0000000000..d85ffb9bcd --- /dev/null +++ b/macros/latex/contrib/pdflscape/pdflscape.dtx @@ -0,0 +1,806 @@ +% \iffalse meta-comment +% +% File: pdflscape.dtx +% Version: 2019/12/05 v0.12 +% Info: Display of landscape pages in PDF +% +% Copyright (C) +% 2001, 2004, 2006-2008 Heiko Oberdiek +% 2016-2019 Oberdiek Package Support Group +% https://github.com/ho-tex/pdflscape/issues +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any later +% version. This version of this license is in +% https://www.latex-project.org/lppl/lppl-1-3c.txt +% and the latest version of this license is in +% https://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". +% +% The Current Maintainers of this work are +% Heiko Oberdiek and the Oberdiek Package Support Group +% https://github.com/ho-tex/pdflscape/issues +% +% This work consists of the main source file pdflscape.dtx +% and the derived files +% pdflscape.sty, pdflscape.pdf, pdflscape.ins, pdflscape.drv, +% +% Distribution: +% CTAN:macros/latex/contrib/pdflscape/pdflscape.dtx +% CTAN:macros/latex/contrib/pdflscape/pdflscape.pdf +% +% Unpacking: +% (a) If pdflscape.ins is present: +% tex pdflscape.ins +% (b) Without pdflscape.ins: +% tex pdflscape.dtx +% (c) If you insist on using LaTeX +% latex \let\install=y\input{pdflscape.dtx} +% (quote the arguments according to the demands of your shell) +% +% Documentation: +% (a) If pdflscape.drv is present: +% latex pdflscape.drv +% (b) Without pdflscape.drv: +% latex pdflscape.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 pdflscape.dtx +% makeindex -s gind.ist pdflscape.idx +% pdflatex pdflscape.dtx +% makeindex -s gind.ist pdflscape.idx +% pdflatex pdflscape.dtx +% +% Installation: +% TDS:tex/latex/pdflscape/pdflscape.sty +% TDS:doc/latex/pdflscape/pdflscape.pdf +% TDS:source/latex/pdflscape/pdflscape.dtx +% +%<*ignore> +\begingroup + \catcode123=1 % + \catcode125=2 % + \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: pdflscape 2019/12/05 v0.12 Display of landscape pages in PDF (HO)} +\Msg{************************************************************************} + +\keepsilent +\askforoverwritefalse + +\let\MetaPrefix\relax +\preamble + +This is a generated file. + +Project: pdflscape +Version: 2019/12/05 v0.12 + +Copyright (C) + 2001, 2004, 2006-2008 Heiko Oberdiek + 2016-2019 Oberdiek Package Support Group + +This work may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either +version 1.3c of this license or (at your option) any later +version. This version of this license is in + https://www.latex-project.org/lppl/lppl-1-3c.txt +and the latest version of this license is in + https://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". + +The Current Maintainers of this work are +Heiko Oberdiek and the Oberdiek Package Support Group +https://github.com/ho-tex/pdflscape/issues + + +This work consists of the main source file pdflscape.dtx +and the derived files + pdflscape.sty, pdflscape.pdf, pdflscape.ins, pdflscape.drv, + +\endpreamble +\let\MetaPrefix\DoubleperCent + +\generate{% + \file{pdflscape.ins}{\from{pdflscape.dtx}{install}}% + \file{pdflscape.drv}{\from{pdflscape.dtx}{driver}}% + \usedir{tex/latex/pdflscape}% + \file{pdflscape.sty}{\from{pdflscape.dtx}{package}}% +} + +\catcode32=13\relax% active space +\let =\space% +\Msg{************************************************************************} +\Msg{*} +\Msg{* To finish the installation you have to move the following} +\Msg{* file into a directory searched by TeX:} +\Msg{*} +\Msg{* pdflscape.sty} +\Msg{*} +\Msg{* To produce the documentation run the file `pdflscape.drv'} +\Msg{* through LaTeX.} +\Msg{*} +\Msg{* Happy TeXing!} +\Msg{*} +\Msg{************************************************************************} + +\endbatchfile +% +%<*ignore> +\fi +% +%<*driver> +\NeedsTeXFormat{LaTeX2e} +\ProvidesFile{pdflscape.drv}% + [2019/12/05 v0.12 Display of landscape pages in PDF (HO)]% +\documentclass{ltxdoc} +\usepackage{holtxdoc}[2011/11/22] +\usepackage{graphics} +\begin{document} + \DocInput{pdflscape.dtx}% +\end{document} +% +% \fi +% +% +% +% \GetFileInfo{pdflscape.drv} +% +% \title{The \xpackage{pdflscape} package} +% \date{2019/12/05 v0.12} +% \author{Heiko Oberdiek\thanks +% {Please report any issues at \url{https://github.com/ho-tex/pdflscape/issues}}} +% +% \maketitle +% +% \begin{abstract} +% Package \xpackage{pdflscape} adds PDF support to the +% environment \texttt{landscape} of package \xpackage{lscape} +% by setting the PDF page attribute \texttt{/Rotate}. +% \end{abstract} +% +% \tableofcontents +% +% \section{Documentation} +% +% \subsection{Supported drivers} +% +% \begin{itemize} +% \item \xoption{pdftex},\xoption{luatex} +% \item \xoption{dvips}, \xoption{dvipsone}, +% \xoption{pctex32}, \xoption{pctexps} +% (and other drivers that provide a non-empty \cs{Gin@PS@raw}) +% \item \xoption{dvipdfm} +% \end{itemize} +% +% \subsection{Caveat} +% +% Depending on the configuration Ghostscript +% adds a guessed rotation entry by its own. +% This can lead to two |/Rotate| entries per page. +% To prevent this behaviour set the parameter +% |AutoRotatePages| to |/None|, eg: +% \begin{quote} +% |ps2pdf -dAutoRotatePages=/None| +% \end{quote} +% +% \subsection{Requirements} +% +% \begin{itemize} +% \item The package \xpackage{lscape}. +% \item The package \xpackage{atbegshi} for all drivers +% except \xoption{pdftex},\xoption{luatex}. +% \end{itemize} +% +% \subsection{Usage} +% +% Load this package instead of or after package \xpackage{lscape}: +% \begin{quote} +% |\usepackage{pdflscape}|\\ +% |\begin{landscape}|\dots|\end{landscape}| +% \end{quote} +% +% \StopEventually{ +% } +% +% \section{Implementation} +% +% \subsection{Package identification} +% +% \begin{macrocode} +%<*package> +% \end{macrocode} +% Package identification. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{pdflscape}% + [2019/12/05 v0.12 Display of landscape pages in PDF (HO)] +% \end{macrocode} +% +% \subsection{Driver options} +% +% \begin{macrocode} +\let\PLS@option\@empty +\let\PLS@driver\@empty +\def\PLS@temp#1#2{% + \DeclareOption{#1}{% + \let\PLS@option\CurrentOption + \def\PLS@driver{#2}% + }% +} +\PLS@temp{pdftex}{pdftex} +\PLS@temp{luatex}{pdftex} +\PLS@temp{dvips}{dvips} +\PLS@temp{dvipsone}{dvips} +\PLS@temp{pctexps}{dvips} +\PLS@temp{dvipdfm}{dvipdfm} +\PLS@temp{dvipdfmx}{dvipdfm} +\PLS@temp{xetex}{dvipdfm} +\let\PLS@temp\@empty +\DeclareOption*{% + \ifx\PLS@temp\@empty + \let\PLS@temp\CurrentOption + \else + \edef\PLS@temp{\PLS@temp,\CurrentOption}% + \fi +} +\ProcessOptions* +\ifx\PLS@option\@empty +\else + \expandafter\PassOptionsToPackage\expandafter{\PLS@option}{lscape}% +\fi +\ifx\PLS@temp\@empty +\else + \expandafter\PassOptionsToPackage\expandafter{\PLS@temp}{lscape}% +\fi +\RequirePackage{iftex}[2019/11/07]% +\RequirePackage{lscape} +% \end{macrocode} +% +% \subsection{Autodetection of driver} +% +% \subsubsection{Driver \xoption{pdftex}} +% +% \begin{macrocode} +\def\PLS@temp{pdftex} +\ifpdf + \ifx\PLS@driver\@empty + \let\PLS@driver\PLS@temp + \PackageInfo{pdflscape}{Auto-detected driver: \PLS@temp}% + \fi + \ifx\PLS@driver\PLS@temp + \else + \PackageError{pdflscape}{% + The driver option `\PLS@option' is not compatible\MessageBreak + with pdfTeX in PDF mode, using driver `pdftex' instead% + }\@ehc + \let\PLS@driver\PLS@temp + \fi +\fi +% \end{macrocode} +% +% \subsubsection{Driver \xoption{xetex}} +% +% \begin{macrocode} +\def\PLS@temp{dvipdfm} +\ifxetex + \ifx\PLS@driver\@empty + \let\PLS@driver\PLS@temp + \PackageInfo{pdflscape}{% + Auto-detected driver: \PLS@temp\space(xetex)% + }% + \fi + \ifx\PLS@driver\PLS@temp + \else + \PackageError{pdflscape}{% + The driver option `\PLS@option' is not compatible\MessageBreak + with XeTeX, using driver for XeTeX (dvipdfm) instead% + }\@ehc + \let\PLS@driver\PLS@temp + \fi +\fi +% \end{macrocode} +% +% \subsubsection{Detect driver based on \cs{Gin@driver}} +% +% \begin{macrocode} +\def\PLS@temp#1#2{% + \ifx\PLS@driver\@empty + \begingroup + \def\PLS@temp{#1.def}% + \expandafter\endgroup + \ifx\PLS@temp\Gin@driver + \def\PLS@driver{#2}% + \PackageInfo{pdflscape}{% + Auto-detected driver: \PLS@driver\space(#1)% + }% + \fi + \fi +} +\PLS@temp{dvipdfm}{dvipdfm} +\PLS@temp{dvipdfmx}{dvipdfm} +\PLS@temp{dvips}{dvips} +\PLS@temp{dvipsone}{dvips} +\PLS@temp{pctexps}{dvips} +% \end{macrocode} +% +% \subsubsection{Driver \xoption{dvips}} +% +% \begin{macrocode} +\ifx\PLS@driver\@empty + \def\PLS@temp{dvips}% + \ifnum 1=0\ifx\Gin@PS@raw\@undefined + \else + \ifx\Gin@PS@raw\relax + \else + \ifx\Gin@PS@raw\@empty + \else + 1% + \fi + \fi + \fi + \space + \let\PLS@driver\PLS@temp + \PackageInfo{pdflscape}{% + Auto-detected driver: \PLS@temp\space(PostScript)% + }% + \fi +\fi +% \end{macrocode} +% +% \begin{macrocode} +\ifx\PLS@driver\@empty + \PackageError{pdflscape}{% + Neither pdfTeX, PostScript, nor dvipdfm driver found% + }\@ehc +\fi +% \end{macrocode} +% +% \subsection{Driver implementation} +% +% \begin{itemize} +% \item |\PLS@AddRotate #1|\\ +% it expects the correct rotation number in |#1| +% and implements the adding of the /Rotation entry +% in the |/Page| object of the current page. +% \item |\PLS@RemoveRotate|\\ +% it removes a previous |/Rotate| entry, if necessary. +% \end{itemize} +% +% \subsubsection{\pdfTeX} +% +% Not too nice is the global setting of \cs{pdfpageattr}. +% Perhaps this can be changed in future versions. +% +% luatex compat. +% \begin{macrocode} +\ifx\pdfpageattr\@undefined + \ifx\pdfvariable\@undefined\else + \protected\edef\pdfpageattr{\pdfvariable pageattr} + \fi +\fi +% \end{macrocode} +% \begin{macrocode} +\def\PLS@temp{pdftex} +\ifx\PLS@temp\PLS@driver + \def\PLS@AddRotate#1{% + \ifnum#1=0 % +% \end{macrocode} +% Already the default. +% \begin{macrocode} + \else + \global\pdfpageattr\expandafter{% + \the\pdfpageattr + /Rotate #1% + }% + \fi + }% +% \end{macrocode} +% Removes a |/Rotate| entry. +% \begin{macrocode} + \def\PLS@RemoveRotate{% + \begingroup + \global\pdfpageattr\expandafter{\expandafter}% + \expandafter\PLS@@RemoveRotate + \the\pdfpageattr /Rotate\@nil + \endgroup + }% + \def\PLS@@RemoveRotate#1/Rotate#2\@nil{% +% \end{macrocode} +% Append |/Rotate| free stuff to \cs{pdfpageattr}. +% \begin{macrocode} + \global\pdfpageattr\expandafter{\the\pdfpageattr#1}% + \ifx\\#2\\% +% \end{macrocode} +% Ready, because the detected |/Rotate| is part of +% the end marker: |/Rotate\@nil| +% \begin{macrocode} + \else +% \end{macrocode} +% First read in the argument of |/Rotate|, +% then continue parsing. +% \begin{macrocode} + \afterassignment\PLS@@RemoveRotate + \count0=#2\@nil + \fi + }% +\fi +% \end{macrocode} +% +% \subsubsection{PostScript driver} +% +% \begin{macrocode} +\def\PLS@temp{dvips} +\ifx\PLS@temp\PLS@driver + \RequirePackage{atbegshi}% + \AtBeginShipout{\PLS@AtBeginShipout}% + \let\PLS@AtBeginShipout\@empty + \def\PLS@AddRotate#1{% + \ifnum#1=0 % + \else + \def\PLS@AtBeginShipout{% + \global\setbox\AtBeginShipoutBox\vbox{% + \Gin@PS@raw{% + [{ThisPage}\string<\string\string>% + /PUT pdfmark% + }% + \box\AtBeginShipoutBox + }% + }% + \fi + }% + \def\PLS@RemoveRotate{\let\PLS@AtBeginShipout\@empty}% +\fi +% \end{macrocode} +% +% \subsubsection{Driver dvipdfm} +% +% \begin{macrocode} +\def\PLS@temp{dvipdfm} +\ifx\PLS@temp\PLS@driver + \RequirePackage{atbegshi}% + \AtBeginShipout{\PLS@AtBeginShipout}% + \let\PLS@AtBeginShipout\@empty + \def\PLS@AddRotate#1{% + \ifnum#1=0 % + \else + \def\PLS@AtBeginShipout{% + \global\setbox\AtBeginShipoutBox\vbox{% + \special{pdf: put @thispage <>}% + \box\AtBeginShipoutBox + }% + }% + \fi + }% + \def\PLS@RemoveRotate{\let\PLS@AtBeginShipout\@empty}% +\fi +% \end{macrocode} +% +% \subsection{Driver independent stuff} +% +% The landscape environment is extended by +% adding the correct |/Rotate| entries. +% \begin{macrocode} +\g@addto@macro{\landscape}{\PLS@Rotate{90}} +\g@addto@macro{\endlandscape}{\PLS@Rotate{0}} +% \end{macrocode} +% +% \begin{macro}{\PLS@Rotate} +% Main macro, that sets the |/Rotate| entry.\\ +% Argument: any TeX number or nothing, that means zero.\\ +% Driver independent. +% \begin{macrocode} +\def\PLS@Rotate#1{% + \begingroup +% \end{macrocode} +% 1. Check and validate the argument. +% \begin{macrocode} + \PLS@CheckAngle{#1}% + \expandafter\endgroup +% \end{macrocode} +% 2. Remove previous |\Rotate| entry. +% \begin{macrocode} + \expandafter\PLS@RemoveRotate +% \end{macrocode} +% 3. Add |/Rotate| entry. +% \begin{macrocode} + \expandafter\PLS@AddRotate\expandafter{\the\count@}% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\PLS@CheckAngle} +% Validates the rotation angle.\\ +% The result is stored in the count register |\count@|.\\ +% Driver independent. +% \begin{macrocode} +\def\PLS@CheckAngle#1{% +% \end{macrocode} +% Nothing means zero: +% \begin{macrocode} + \ifx\\#1\\% + \count@=0 % + \else + \count@=#1\relax + \fi +% \end{macrocode} +% Normalize to interval -360 $<$ |\count@| $<$ 360. +% \begin{macrocode} + \@whilenum\count@>359\do{\advance\count@ -360 }% + \@whilenum\count@<-359\do{\advance\count@ 360 }% +% \end{macrocode} +% Check values: 0, +/-90, +/-180, +/-270 +% \begin{macrocode} + \ifnum 1=0\ifnum\count@=0 \else + \ifnum\count@=90 \else + \ifnum\count@=-90 \else + \ifnum\count@=180 \else + \ifnum\count@=-180 \else + \ifnum\count@=270 \else + \ifnum\count@=-270 \else + 1\fi\fi\fi\fi\fi\fi\fi\relax + \PackageError{pdflscape}{% + Invalid value \the\count@\space for /Rotate% + }\@ehc + \count@=0 % + \fi +} +% \end{macrocode} +% \end{macro} +% +% \begin{macrocode} +% +% \end{macrocode} +% +% \section{Installation} +% +% \subsection{Download} +% +% \paragraph{Package.} This package is available on +% CTAN\footnote{\CTANpkg{pdflscape}}: +% \begin{description} +% \item[\CTAN{macros/latex/contrib/pdflscape/pdflscape.dtx}] The source file. +% \item[\CTAN{macros/latex/contrib/pdflscape/pdflscape.pdf}] Documentation. +% \end{description} +% +% +% \paragraph{Bundle.} All the packages of the bundle `pdflscape' +% 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[\CTANinstall{install/macros/latex/contrib/pdflscape.tds.zip}] +% \end{description} +% \emph{TDS} refers to the standard ``A Directory Structure +% for \TeX\ Files'' (\CTANpkg{tds}). Directories +% with \xfile{texmf} in their name are usually organized this way. +% +% \subsection{Bundle installation} +% +% \paragraph{Unpacking.} Unpack the \xfile{pdflscape.tds.zip} in the +% TDS tree (also known as \xfile{texmf} tree) of your choice. +% Example (linux): +% \begin{quote} +% |unzip pdflscape.tds.zip -d ~/texmf| +% \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 pdflscape.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@{}} +% pdflscape.sty & tex/latex/pdflscape/pdflscape.sty\\ +% pdflscape.pdf & doc/latex/pdflscape/pdflscape.pdf\\ +% pdflscape.dtx & source/latex/pdflscape/pdflscape.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 +% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh +% these. For example, \TeX\,Live\ users run \verb|texhash| or +% \verb|mktexlsr|. +% +% \subsection{Some details for the interested} +% +% \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{pdflscape.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 pdflscape.dtx +%makeindex -s gind.ist pdflscape.idx +%pdflatex pdflscape.dtx +%makeindex -s gind.ist pdflscape.idx +%pdflatex pdflscape.dtx +%\end{verbatim} +% \end{quote} +% +% \begin{History} +% \begin{Version}{2001/01/15 v0.1} +% \item +% First public version, +% published in \xnewsgroup{de.comp.text.tex}:\\ +% \URL{``\link{Re: Querformat, pdfLaTex und thumbpdf}''}^^A +% {https://groups.google.com/group/de.comp.text.tex/msg/e054c5795e52d2b8} +% \end{Version} +% \begin{Version}{2001/02/04 v0.2} +% \item +% Minor documentation update. +% \item +% CTAN. +% \end{Version} +% \begin{Version}{2004/05/11 v0.3} +% \item +% Support for dvipdfm added. +% \end{Version} +% \begin{Version}{2004/05/12 v0.4} +% \item +% Bug fix: support for multipage landscape environment +% for all drivers except for \xoption{pdftex}. +% \end{Version} +% \begin{Version}{2006/02/20 v0.5} +% \item +% DTX framework. +% \item +% LPPL 1.3 +% \item +% Code is not changed. +% \end{Version} +% \begin{Version}{2006/04/24 v0.6} +% \item +% Bug fix: \cs{PLS@RemoveRotate} reinserted for \cs{PLS@Rotate}. +% \item +% Fix for \cs{PLS@RemoveRotate} (dvips/dvipdfm): \cs{PLS@EverhShi} +% hook is cleared. +% \end{Version} +% \begin{Version}{2007/04/11 v0.7} +% \item +% Line ends sanitized. +% \end{Version} +% \begin{Version}{2007/04/17 v0.8} +% \item +% Package \xpackage{atbegshi} replaces \xpackage{everyshi}. +% \end{Version} +% \begin{Version}{2007/10/21 v0.9} +% \item +% Driver detection for \XeTeX\ added. +% \item +% Fix for rotation angles $\le$~-360 or $\ge$~360. +% \end{Version} +% \begin{Version}{2008/08/11 v0.10} +% \item +% Code is not changed. +% \item +% URLs updated. +% \end{Version} +% \begin{Version}{2016/05/14 v0.11} +% \item +% LuaTeX Compatibility +% \end{Version} +% \begin{Version}{2019/12/05 v0.12} +% \item +% Documentation updates. +% \item \xpackage{iftex} package. +% \end{Version} +% \end{History} +% +% \PrintIndex +% +% \Finale +\endinput diff --git a/macros/latex/contrib/pdflscape/pdflscape.pdf b/macros/latex/contrib/pdflscape/pdflscape.pdf new file mode 100644 index 0000000000..b94089a91e Binary files /dev/null and b/macros/latex/contrib/pdflscape/pdflscape.pdf differ diff --git a/macros/latex/contrib/pmboxdraw/README.md b/macros/latex/contrib/pmboxdraw/README.md new file mode 100644 index 0000000000..baf8179b57 --- /dev/null +++ b/macros/latex/contrib/pmboxdraw/README.md @@ -0,0 +1,10 @@ +# pmboxdraw + +pmboxdraw for LaTeX + + +Package pmboxdraw declares box drawings characters of +old code pages, e.g. cp437. It uses rules instead of using a font. + + + diff --git a/macros/latex/contrib/pmboxdraw/pmboxdraw.dtx b/macros/latex/contrib/pmboxdraw/pmboxdraw.dtx new file mode 100644 index 0000000000..68e6ce8dc5 --- /dev/null +++ b/macros/latex/contrib/pmboxdraw/pmboxdraw.dtx @@ -0,0 +1,5461 @@ +% \iffalse meta-comment +% +% File: pmboxdraw.dtx +% Version: 2019/12/05 v1.4 +% Info: Poor man's box drawing characters +% +% Copyright (C) +% 2006, 2011 Heiko Oberdiek +% 2016-2019 Oberdiek Package Support Group +% https://github.com/ho-tex/pmboxdraw/issues +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any later +% version. This version of this license is in +% https://www.latex-project.org/lppl/lppl-1-3c.txt +% and the latest version of this license is in +% https://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". +% +% The Current Maintainers of this work are +% Heiko Oberdiek and the Oberdiek Package Support Group +% https://github.com/ho-tex/pmboxdraw/issues +% +% This work consists of the main source file pmboxdraw.dtx +% and the derived files +% pmboxdraw.sty, pmboxdraw.pdf, pmboxdraw.ins, pmboxdraw.drv, +% pmboxdrawenc.dfu, pmboxdraw-test1.tex. +% +% Distribution: +% CTAN:macros/latex/contrib/pmboxdraw/pmboxdraw.dtx +% CTAN:macros/latex/contrib/pmboxdraw/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/pmboxdraw/pmboxdraw.sty +% TDS:tex/latex/pmboxdraw/pmboxdrawenc.dfu +% TDS:doc/latex/pmboxdraw/pmboxdraw.pdf +% TDS:source/latex/pmboxdraw/pmboxdraw.dtx +% +%<*ignore> +\begingroup + \catcode123=1 % + \catcode125=2 % + \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 2019/12/05 v1.4 Poor man's box drawing characters (HO)} +\Msg{************************************************************************} + +\keepsilent +\askforoverwritefalse + +\let\MetaPrefix\relax +\preamble + +This is a generated file. + +Project: pmboxdraw +Version: 2019/12/05 v1.4 + +Copyright (C) + 2006, 2011 Heiko Oberdiek + 2016-2019 Oberdiek Package Support Group + +This work may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either +version 1.3c of this license or (at your option) any later +version. This version of this license is in + https://www.latex-project.org/lppl/lppl-1-3c.txt +and the latest version of this license is in + https://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". + +The Current Maintainers of this work are +Heiko Oberdiek and the Oberdiek Package Support Group +https://github.com/ho-tex/pmboxdraw/issues + + +This work consists of the main source file pmboxdraw.dtx +and the derived files + pmboxdraw.sty, pmboxdraw.pdf, pmboxdraw.ins, pmboxdraw.drv, + pmboxdrawenc.dfu, pmboxdraw-test1.tex. + +\endpreamble +\let\MetaPrefix\DoubleperCent + +\generate{% + \file{pmboxdraw.ins}{\from{pmboxdraw.dtx}{install}}% + \file{pmboxdraw.drv}{\from{pmboxdraw.dtx}{driver}}% + \usedir{tex/latex/pmboxdraw}% + \file{pmboxdraw.sty}{\from{pmboxdraw.dtx}{package}}% + \file{pmboxdrawenc.dfu}{\from{pmboxdraw.dtx}{utf8}}% +} + +\catcode32=13\relax% active space +\let =\space% +\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{* 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}% + [2019/12/05 v1.4 Poor man's box drawing characters (HO)]% +\documentclass{ltxdoc} +\usepackage{holtxdoc}[2011/11/22] +\usepackage{color} +\let\orgdimexpr\dimexpr +%\let\dimexpr\relax +\usepackage{pmboxdraw} +\let\dimexpr\orgdimexpr +\usepackage{longtable} +\setcounter{tocdepth}{2} +\hypersetup{bookmarksdepth=3} +\begin{document} + \DocInput{pmboxdraw.dtx}% +\end{document} +% +% \fi +% +% +% +% \GetFileInfo{pmboxdraw.drv} +% +% \title{The \xpackage{pmboxdraw} package} +% \date{2019/12/05 v1.4} +% \author{Heiko Oberdiek\thanks +% {Please report any issues at \url{https://github.com/ho-tex/pmboxdraw/issues}}} +% +% \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\fontfamily{lmtt}\selectfont +% \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~2019/12/05 \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{% +% \textcolor{blue}{^^A +% \fbox{\color{black}\texttt{\csname text#3\endcsname}}^^A +% } +% & \texttt{U+25#1} +% & \texttt{#2} +% & \texttt{\textbackslash text#3} +% \\*[-\fboxsep] +% & +% \multicolumn{3}{l}{\lowercase{#4}}\\^^A +% } +% \def\entryU#1#2{% +% \textcolor{blue}{^^A +% \fbox{\color{black}\texttt{\pmboxdrawuni{25#1}}}^^A +% } +% & \texttt{U+25#1} +% & \texttt{uni25#1} +% & \texttt{\textbackslash pmboxdrawuni\{25#1\}} +% \\*[-\fboxsep] +% & +% \multicolumn{3}{l}{\lowercase{#2}}\\^^A +% } +% \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} +% \entryU{01}{BOX DRAWINGS HEAVY HORIZONTAL} +% \entry{02}{11}{BOX DRAWINGS LIGHT VERTICAL} +% \entryU{03}{BOX DRAWINGS HEAVY VERTICAL} +% \entry{0C}{01}{BOX DRAWINGS LIGHT DOWN AND RIGHT} +% \entryU{0D}{BOX DRAWINGS DOWN LIGHT AND RIGHT HEAVY} +% \entryU{0E}{BOX DRAWINGS DOWN HEAVY AND RIGHT LIGHT} +% \entryU{0F}{BOX DRAWINGS HEAVY DOWN AND RIGHT} +% \entry{10}{03}{BOX DRAWINGS LIGHT DOWN AND LEFT} +% \entryU{11}{BOX DRAWINGS DOWN LIGHT AND LEFT HEAVY} +% \entryU{12}{BOX DRAWINGS DOWN HEAVY AND LEFT LIGHT} +% \entryU{13}{BOX DRAWINGS HEAVY DOWN AND LEFT} +% \entry{14}{02}{BOX DRAWINGS LIGHT UP AND RIGHT} +% \entryU{15}{BOX DRAWINGS UP LIGHT AND RIGHT HEAVY} +% \entryU{16}{BOX DRAWINGS UP HEAVY AND RIGHT LIGHT} +% \entryU{17}{BOX DRAWINGS HEAVY UP AND RIGHT} +% \entry{18}{04}{BOX DRAWINGS LIGHT UP AND LEFT} +% \entryU{19}{BOX DRAWINGS UP LIGHT AND LEFT HEAVY} +% \entryU{1A}{BOX DRAWINGS UP HEAVY AND LEFT LIGHT} +% \entryU{1B}{BOX DRAWINGS HEAVY UP AND LEFT} +% \entry{1C}{08}{BOX DRAWINGS LIGHT VERTICAL AND RIGHT} +% \entryU{1D}{BOX DRAWINGS VERTICAL LIGHT AND RIGHT HEAVY} +% \entryU{1E}{BOX DRAWINGS UP HEAVY AND RIGHT DOWN LIGHT} +% \entryU{1F}{BOX DRAWINGS DOWN HEAVY AND RIGHT UP LIGHT} +% \entryU{20}{BOX DRAWINGS VERTICAL HEAVY AND RIGHT LIGHT} +% \entryU{21}{BOX DRAWINGS DOWN LIGHT AND RIGHT UP HEAVY} +% \entryU{22}{BOX DRAWINGS UP LIGHT AND RIGHT DOWN HEAVY} +% \entryU{23}{BOX DRAWINGS HEAVY VERTICAL AND RIGHT} +% \entry{24}{09}{BOX DRAWINGS LIGHT VERTICAL AND LEFT} +% \entryU{25}{BOX DRAWINGS VERTICAL LIGHT AND LEFT HEAVY} +% \entryU{26}{BOX DRAWINGS UP HEAVY AND LEFT DOWN LIGHT} +% \entryU{27}{BOX DRAWINGS DOWN HEAVY AND LEFT UP LIGHT} +% \entryU{28}{BOX DRAWINGS VERTICAL HEAVY AND LEFT LIGHT} +% \entryU{29}{BOX DRAWINGS DOWN LIGHT AND LEFT UP HEAVY} +% \entryU{2A}{BOX DRAWINGS UP LIGHT AND LEFT DOWN HEAVY} +% \entryU{2B}{BOX DRAWINGS HEAVY VERTICAL AND LEFT} +% \entry{2C}{06}{BOX DRAWINGS LIGHT DOWN AND HORIZONTAL} +% \entryU{2D}{BOX DRAWINGS LEFT HEAVY AND RIGHT DOWN LIGHT} +% \entryU{2E}{BOX DRAWINGS RIGHT HEAVY AND LEFT DOWN LIGHT} +% \entryU{2F}{BOX DRAWINGS DOWN LIGHT AND HORIZONTAL HEAVY} +% \entryU{30}{BOX DRAWINGS DOWN HEAVY AND HORIZONTAL LIGHT} +% \entryU{31}{BOX DRAWINGS RIGHT LIGHT AND LEFT DOWN HEAVY} +% \entryU{32}{BOX DRAWINGS LEFT LIGHT AND RIGHT DOWN HEAVY} +% \entryU{33}{BOX DRAWINGS HEAVY DOWN AND HORIZONTAL} +% \entry{34}{07}{BOX DRAWINGS LIGHT UP AND HORIZONTAL} +% \entryU{35}{BOX DRAWINGS LEFT HEAVY AND RIGHT UP LIGHT} +% \entryU{36}{BOX DRAWINGS RIGHT HEAVY AND LEFT UP LIGHT} +% \entryU{37}{BOX DRAWINGS UP LIGHT AND HORIZONTAL HEAVY} +% \entryU{38}{BOX DRAWINGS UP HEAVY AND HORIZONTAL LIGHT} +% \entryU{39}{BOX DRAWINGS RIGHT LIGHT AND LEFT UP HEAVY} +% \entryU{3A}{BOX DRAWINGS LEFT LIGHT AND RIGHT UP HEAVY} +% \entryU{3B}{BOX DRAWINGS HEAVY UP AND HORIZONTAL} +% \entry{3C}{05}{BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL} +% \entryU{3D}{BOX DRAWINGS LEFT HEAVY AND RIGHT VERTICAL LIGHT} +% \entryU{3E}{BOX DRAWINGS RIGHT HEAVY AND LEFT VERTICAL LIGHT} +% \entryU{3F}{BOX DRAWINGS VERTICAL LIGHT AND HORIZONTAL HEAVY} +% \entryU{40}{BOX DRAWINGS UP HEAVY AND DOWN HORIZONTAL LIGHT} +% \entryU{41}{BOX DRAWINGS DOWN HEAVY AND UP HORIZONTAL LIGHT} +% \entryU{42}{BOX DRAWINGS VERTICAL HEAVY AND HORIZONTAL LIGHT} +% \entryU{43}{BOX DRAWINGS LEFT UP HEAVY AND RIGHT DOWN LIGHT} +% \entryU{44}{BOX DRAWINGS RIGHT UP HEAVY AND LEFT DOWN LIGHT} +% \entryU{45}{BOX DRAWINGS LEFT DOWN HEAVY AND RIGHT UP LIGHT} +% \entryU{46}{BOX DRAWINGS RIGHT DOWN HEAVY AND LEFT UP LIGHT} +% \entryU{47}{BOX DRAWINGS DOWN LIGHT AND UP HORIZONTAL HEAVY} +% \entryU{48}{BOX DRAWINGS UP LIGHT AND DOWN HORIZONTAL HEAVY} +% \entryU{49}{BOX DRAWINGS RIGHT LIGHT AND LEFT VERTICAL HEAVY} +% \entryU{4A}{BOX DRAWINGS LEFT LIGHT AND RIGHT VERTICAL HEAVY} +% \entryU{4B}{BOX DRAWINGS HEAVY 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} +% \entryU{74}{BOX DRAWINGS LIGHT LEFT} +% \entryU{75}{BOX DRAWINGS LIGHT UP} +% \entryU{76}{BOX DRAWINGS LIGHT RIGHT} +% \entryU{77}{BOX DRAWINGS LIGHT DOWN} +% \entryU{78}{BOX DRAWINGS HEAVY LEFT} +% \entryU{79}{BOX DRAWINGS HEAVY UP} +% \entryU{7A}{BOX DRAWINGS HEAVY RIGHT} +% \entryU{7B}{BOX DRAWINGS HEAVY DOWN} +% \entryU{7C}{BOX DRAWINGS LIGHT LEFT AND HEAVY RIGHT} +% \entryU{7D}{BOX DRAWINGS LIGHT UP AND HEAVY DOWN} +% \entryU{7E}{BOX DRAWINGS HEAVY LEFT AND LIGHT RIGHT} +% \entryU{7F}{BOX DRAWINGS HEAVY UP AND LIGHT DOWN} +% \entryB{80}{upblock}{UPPER HALF BLOCK} +% \entryU{81}{LOWER ONE EIGHTH BLOCK} +% \entryU{82}{LOWER ONE QUARTER BLOCK} +% \entryU{83}{LOWER THREE EIGHTHS BLOCK} +% \entryB{84}{dnblock}{LOWER HALF BLOCK} +% \entryU{85}{LOWER FIVE EIGHTHS BLOCK} +% \entryU{86}{LOWER THREE QUARTERS BLOCK} +% \entryU{87}{LOWER SEVEN EIGHTHS BLOCK} +% \entryB{88}{block}{FULL BLOCK} +% \entryU{89}{LEFT SEVEN EIGHTHS BLOCK} +% \entryU{8A}{LEFT THREE QUARTERS BLOCK} +% \entryU{8B}{LEFT FIVE EIGHTHS BLOCK} +% \entryB{8C}{lfblock}{LEFT HALF BLOCK} +% \entryU{8D}{LEFT THREE EIGHTHS BLOCK} +% \entryU{8E}{LEFT ONE QUARTER BLOCK} +% \entryU{8F}{LEFT ONE EIGHTH BLOCK} +% \entryB{90}{rtblock}{RIGHT HALF BLOCK} +% \entryB{91}{ltshade}{LIGHT SHADE} +% \entryB{92}{shade}{MEDIUM SHADE} +% \entryB{93}{dkshade}{DARK SHADE} +% \entryU{94}{UPPER ONE EIGHTH BLOCK} +% \entryU{95}{RIGHT ONE EIGHTH BLOCK} +% \entryU{96}{QUADRANT LOWER LEFT} +% \entryU{97}{QUADRANT LOWER RIGHT} +% \entryU{98}{QUADRANT UPPER LEFT} +% \entryU{99}{QUADRANT UPPER LEFT AND LOWER LEFT AND LOWER RIGHT} +% \entryU{9A}{QUADRANT UPPER LEFT AND LOWER RIGHT} +% \entryU{9B}{QUADRANT UPPER LEFT AND UPPER RIGHT AND LOWER LEFT} +% \entryU{9C}{QUADRANT UPPER LEFT AND UPPER RIGHT AND LOWER RIGHT} +% \entryU{9D}{QUADRANT UPPER RIGHT} +% \entryU{9E}{QUADRANT UPPER RIGHT AND LOWER LEFT} +% \entryU{9F}{QUADRANT UPPER RIGHT AND LOWER LEFT AND LOWER RIGHT} +% \end{longtable} +% \endgroup +% +% \StopEventually{ +% } +% +% \section{Implementation} +% +% \subsection{Initial stuff} +% +% \begin{macrocode} +%<*package> +% \end{macrocode} +% Reload check, especially if the package is not used with \LaTeX. +% \begin{macrocode} +\begingroup\catcode61\catcode48\catcode32=10\relax% + \catcode13=5 % ^^M + \endlinechar=13 % + \catcode35=6 % # + \catcode39=12 % ' + \catcode44=12 % , + \catcode45=12 % - + \catcode46=12 % . + \catcode58=12 % : + \catcode64=11 % @ + \catcode123=1 % { + \catcode125=2 % } + \expandafter\let\expandafter\x\csname ver@pmboxdraw.sty\endcsname + \ifx\x\relax % plain-TeX, first loading + \else + \def\empty{}% + \ifx\x\empty % LaTeX, first loading, + % variable is initialized, but \ProvidesPackage not yet seen + \else + \expandafter\ifx\csname PackageInfo\endcsname\relax + \def\x#1#2{% + \immediate\write-1{Package #1 Info: #2.}% + }% + \else + \def\x#1#2{\PackageInfo{#1}{#2, stopped}}% + \fi + \x{pmboxdraw}{The package is already loaded}% + \aftergroup\endinput + \fi + \fi +\endgroup% +% \end{macrocode} +% Package identification: +% \begin{macrocode} +\begingroup\catcode61\catcode48\catcode32=10\relax% + \catcode13=5 % ^^M + \endlinechar=13 % + \catcode35=6 % # + \catcode39=12 % ' + \catcode40=12 % ( + \catcode41=12 % ) + \catcode44=12 % , + \catcode45=12 % - + \catcode46=12 % . + \catcode47=12 % / + \catcode58=12 % : + \catcode64=11 % @ + \catcode91=12 % [ + \catcode93=12 % ] + \catcode123=1 % { + \catcode125=2 % } + \expandafter\ifx\csname ProvidesPackage\endcsname\relax + \def\x#1#2#3[#4]{\endgroup + \immediate\write-1{Package: #3 #4}% + \xdef#1{#4}% + }% + \else + \def\x#1#2[#3]{\endgroup + #2[{#3}]% + \ifx#1\@undefined + \xdef#1{#3}% + \fi + \ifx#1\relax + \xdef#1{#3}% + \fi + }% + \fi +\expandafter\x\csname ver@pmboxdraw.sty\endcsname +\ProvidesPackage{pmboxdraw}% + [2019/12/05 v1.4 Poor man's box drawing characters (HO)]% +% \end{macrocode} +% +% \begin{macrocode} +\begingroup\catcode61\catcode48\catcode32=10\relax% + \catcode13=5 % ^^M + \endlinechar=13 % + \catcode123=1 % { + \catcode125=2 % } + \catcode64=11 % @ + \def\x{\endgroup + \expandafter\edef\csname pmbd@AtEnd\endcsname{% + \endlinechar=\the\endlinechar\relax + \catcode13=\the\catcode13\relax + \catcode32=\the\catcode32\relax + \catcode35=\the\catcode35\relax + \catcode61=\the\catcode61\relax + \catcode64=\the\catcode64\relax + \catcode123=\the\catcode123\relax + \catcode125=\the\catcode125\relax + }% + }% +\x\catcode61\catcode48\catcode32=10\relax% +\catcode13=5 % ^^M +\endlinechar=13 % +\catcode35=6 % # +\catcode64=11 % @ +\catcode123=1 % { +\catcode125=2 % } +\def\TMP@EnsureCode#1#2{% + \edef\pmbd@AtEnd{% + \pmbd@AtEnd + \catcode#1=\the\catcode#1\relax + }% + \catcode#1=#2\relax +} +\TMP@EnsureCode{34}{12}% " +\TMP@EnsureCode{36}{3}% $ +\TMP@EnsureCode{38}{4}% & +\TMP@EnsureCode{39}{12}% ' +\TMP@EnsureCode{42}{12}% * +\TMP@EnsureCode{43}{12}% + +\TMP@EnsureCode{44}{12}% , +\TMP@EnsureCode{45}{12}% - +\TMP@EnsureCode{46}{12}% . +\TMP@EnsureCode{47}{12}% / +\TMP@EnsureCode{60}{12}% < +\TMP@EnsureCode{62}{12}% > +\TMP@EnsureCode{91}{12}% [ +\TMP@EnsureCode{93}{12}% ] +\TMP@EnsureCode{96}{12}% ` +\edef\pmbd@AtEnd{\pmbd@AtEnd\noexpand\endinput} +% \end{macrocode} +% +% \subsection{Resources} +% +% \begin{macrocode} +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname RequirePackage\endcsname\relax + \def\TMP@RequirePackage#1[#2]{% + \begingroup\expandafter\expandafter\expandafter\endgroup + \expandafter\ifx\csname ver@#1.sty\endcsname\relax + \input #1.sty\relax + \fi + }% +\else + \let\TMP@RequirePackage\RequirePackage +\fi +\TMP@RequirePackage{ltxcmds}[2010/12/12]% +\TMP@RequirePackage{kvsetkeys}[2011/01/30]% +\TMP@RequirePackage{kvdefinekeys}[2011/01/30]% +\TMP@RequirePackage{infwarerr}[2010/04/08]% +% \end{macrocode} +% \begin{macro}{\ifpmbd@latex} +% \begin{macrocode} +\ltx@newif\ifpmbd@latex +\ltx@IfUndefined{fmtname}{}{% + \def\pmbd@tmp{LaTeX2e}% + \ifx\pmbd@tmp\fmtname + \pmbd@latextrue + \fi +} +% \end{macrocode} +% \end{macro} +% +% \subsection{Dummy font encoding} +% +% Using a dummy font encoding because of +% \begin{quote} +% |\usepackage[utf8]{inputenc}| +% \end{quote} +% \begin{macrocode} +\ifpmbd@latex + \DeclareFontEncoding{pmboxdraw}{}{}% + \DeclareFontFamily{pmboxdraw}{pmboxdraw}{}% + \DeclareFontShape{pmboxdraw}{pmboxdraw}{m}{n}{ <-> cmr10 }{}% + \DeclareFontSubstitution{pmboxdraw}{pmboxdraw}{m}{n}% +% \end{macrocode} +% +% \subsection{Setup} +% +% \subsubsection{Options} +% +% \begin{macrocode} + \RequirePackage{kvoptions}[2010/02/22]% + \SetupKeyvalOptions{% + family=PMBD,% + prefix=pmbd@% + }% +\fi +% \end{macrocode} +% \begin{macrocode} +\ltx@IfUndefined{dimexpr}{% + \catcode36=9 % + \catcode38=14 % +}{% + \catcode36=14 % + \catcode38=9 % +} +% \end{macrocode} +% \begin{macro}{\pmbd@ProtectedDef} +% \begin{macrocode} +\ltx@IfUndefined{protected}{% + \def\pmbd@ProtectedDef#1{% + \let\pmbd@temp\ltx@gobble + \@ifdefinable#1{% + \def\pmbd@temp{\DeclareRobustCommand*#1}% + }% + \pmbd@temp + }% + \def\pmbd@ProtectedDefOne#1{% + \let\pmbd@temp\ltx@gobble + \@ifdefinable#1{% + \def\pmbd@temp{\DeclareRobustCommand*#1[1]}% + }% + \pmbd@temp + }% +}{% + \def\pmbd@ProtectedDef#1{% + \let\pmbd@temp\ltx@gobble + \@ifdefinable#1{% + \def\pmbd@temp{\protected\def#1}% + }% + \pmbd@temp + }% + \def\pmbd@ProtectedDefOne#1{% + \let\pmbd@temp\ltx@gobblethree + \@ifdefinable#1{% + \def\pmbd@temp{\protected\def#1}% + }% + \pmbd@temp##1% + }% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\pmboxdrawsetup} +% \begin{macrocode} +\pmbd@ProtectedDef\pmboxdrawsetup{% + \kvsetkeys{PMBD}% +} +% \end{macrocode} +% \end{macro} +% \begin{macrocode} +\catcode47=11 % +\def\pmbd@temp#1#2{% + \DeclareStringOption[\width]{#1/width}% + \DeclareStringOption[\height]{#1/height}% + \DeclareStringOption[\depth]{#1/depth}% + \DeclareStringOption[{#2}]{#1/box/default}% + \expandafter\DeclareStringOption\expandafter[% + \csname pmbd@#1/box/default\endcsname + ]{#1/box}% +} +\pmbd@temp{BoxDrawing}{\strut0}% +\pmbd@temp{Block}{% + \begingroup + \sbox\z@{\strut}% + \dimen@=\ht\z@ + \advance\dimen@\dp\z@ + \wd\z@=\dimen@ + \box\z@ + \endgroup +}% +\pmbd@temp{Shade}{% + \begingroup + \sbox\z@{\strut}% + \dimen@=\ht\z@ + \advance\dimen@\dp\z@ + \wd\z@=\dimen@ + \box\z@ + \endgroup +}% +\pmbd@temp{TerminalGraphic}{% + \begingroup + \sbox\z@{\"A}% + \wd\z@=\ht\z@ + \dp\z@=\z@ + \box\z@ + \endgroup +}% +\DeclareStringOption[.1\width]{BoxDrawing/thinlinewidth} +\DeclareStringOption[.25\width]{BoxDrawing/thicklinewidth} +\DeclareStringOption[.25\width]{BoxDrawing/doublelinesep} +% +\DeclareStringOption[\strut0]{box} %% +\DeclareStringOption[.1\width]{rulewidth} +\DeclareStringOption[.25\width]{doublerulesep} +% \end{macrocode} +% +% \begin{macro}{\pmboxdrawUniRobust} +% \begin{macrocode} +\pmbd@ProtectedDefOne\pmboxdrawUniRobust{% + \comma@parse{#1}{% + \ltx@IfUndefined{pmbd@U+\comma@entry}{% + \begingroup\expandafter\endgroup + \expandafter + \TextSymbolUnavailable\csname U+\comma@entry\endcsname + }{% + \csname pmbd@U+\comma@entry\endcsname + }% + \@gobble + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmboxdrawuni} +% \begin{macrocode} +\newcommand*{\pmboxdrawuni}[1]{% + \ifx\texorpdfstring\ltx@undefined + \expandafter\ltx@firstoftwo + \else + \ifx\texorpdfstring\relax + \expandafter\expandafter\expandafter\ltx@firstoftwo + \else + \expandafter\expandafter\expandafter\texorpdfstring + \fi + \fi + {% + \pmboxdrawUniRobust{#1}% + }{% + \expandafter\ifx\csname ifHy@unicode\expandafter\endcsname + \csname iftrue\endcsname + \expandafter\unichar\expandafter{\number"#1}% + \fi + }% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{Setup commands of version 1.0} +% +% \begin{macro}{\pmboxdrawbox} +% \begin{macrocode} +\pmbd@ProtectedDefOne\pmboxdrawbox{% + \def\pmbd@box{#1}% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\pmboxdrawrulewidth} +% \begin{macrocode} +\pmbd@ProtectedDefOne\pmboxdrawrulewidth{% + \def\pmbd@rulewidth{#1}% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\pmboxdrawdoublerulesep} +% \begin{macrocode} +\pmbd@ProtectedDefOne\pmboxdrawdoublerulesep{% + \def\pmbd@doublerulesep{#1}% +} +% \end{macrocode} +% \end{macro} +% +% \subsection{Utils} +% +% \begin{macro}{\pmbd@UniDef} +% \begin{macrocode} +\def\pmbd@UniDef#1#2{% + \expandafter\pmbd@ProtectedDef\expandafter#1\expandafter{% + \csname pmbd@U+#2\endcsname + }% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\pmbd@SetLength} +% \begin{macrocode} +\ltx@ifpackageloaded{calc}{% + \def\pmbd@SetLength{% + \setlength + }% +}{% + \ltx@IfUndefined{dimexpr}{% + \def\pmbd@SetDim#1#2{% + #1=#2\relax + }% + }{% + \def\pmbd@SetDim#1#2{% + #1=\dimexpr#2\relax + }% + }% + \def\pmbd@SetLength{% + \ltx@ifpackageloaded{calc}{% + \setlength + }{% + \pmbd@SetDim + }% + }% + \AtBeginDocument{% + \ltx@ifpackageloaded{calc}{% + \def\pmbd@SetLength{\setlength}% + }{% + \let\pmbd@SetLength\pmbd@SetDim + }% + }% +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\pmbd@W} +% \begin{macrocode} +\newdimen\pmbd@W +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@H} +% \begin{macrocode} +\newdimen\pmbd@H +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@L} +% \begin{macrocode} +\newdimen\pmbd@L +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@Thin} +% \begin{macrocode} +\newdimen\pmbd@Thin +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@Thick} +% \begin{macrocode} +\newdimen\pmbd@Thick +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@Sep} +% \begin{macrocode} +\newdimen\pmbd@Sep +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@A} +% \begin{macrocode} +\dimendef\pmbd@A=2 % +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@B} +% \begin{macrocode} +\dimendef\pmbd@B=4 % +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@C} +% \begin{macrocode} +\dimendef\pmbd@C=6 % +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@D} +% \begin{macrocode} +\dimendef\pmbd@D=8 % +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\pmbd@BeginBox} +% \begin{macrocode} +\def\pmbd@BeginBox#1{% + \ltx@leavevmode + \@begin@tempboxa\hbox{% + \csname pmbd@#1/box\endcsname + }% + \pmbd@SetLength\pmbd@W{% + \csname pmbd@#1/width\endcsname + }% + \pmbd@SetLength\pmbd@H{% + \csname pmbd@#1/height\endcsname + }% + \pmbd@SetLength\pmbd@L{% + \csname pmbd@#1/depth\endcsname + }% + \advance\pmbd@H\pmbd@L + \setbox\ltx@zero\hbox to \pmbd@W\bgroup +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@EndBox} +% \begin{macrocode} +\def\pmbd@EndBox{% + \hss + \egroup + \ht\ltx@zero=\pmbd@H + \dp\ltx@zero=\z@ + \ifdim\pmbd@L=\z@ + \else + \lower\pmbd@L + \fi + \box\ltx@zero + \@end@tempboxa +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\pmbd@Rule} +% \begin{macrocode} +\def\pmbd@Rule#1#2#3{% + \vrule\@width#1\@height#2\@depth#3\relax +} +% \end{macrocode} +% \end{macro} +% +% +% \subsection{Block elements} +% +% \begin{macrocode} +\def\pmbd@begin{% + \begingroup + \sbox\z@{\pmbd@box}% + \ltx@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} +% +% \begin{macro}{\pmbd@LowerBlock} +% \begin{macrocode} +\def\pmbd@LowerBlock#1{% + \pmbd@BeginBox{Block}% + \pmbd@Rule\pmbd@W{#1\pmbd@H}\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \begin{macro}{\pmbd@LeftBlock} +% \begin{macrocode} +\def\pmbd@LeftBlock#1{% + \pmbd@BeginBox{Block}% + \pmbd@Rule{#1\pmbd@W}\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2580} UPPER HALF BLOCK +% \begin{macro}{\textupblock} +% \begin{macrocode} +\pmbd@UniDef\textupblock{2580} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2580} +% \begin{macrocode} +\@namedef{pmbd@U+2580}{% + \pmbd@BeginBox{Block}% + \pmbd@Rule\pmbd@W\pmbd@H{-.5\pmbd@H}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2581} LOWER ONE EIGHTH BLOCK +% \begin{macro}{\pmbd@U+2581} +% \begin{macrocode} +\@namedef{pmbd@U+2581}{% + \pmbd@LowerBlock{.125}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2582} LOWER ONE QUARTER BLOCK +% \begin{macro}{\pmbd@U+2582} +% \begin{macrocode} +\@namedef{pmbd@U+2582}{% + \pmbd@LowerBlock{.25}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2583} LOWER THREE EIGHTHS BLOCK +% \begin{macro}{pmbd@U+2583} +% \begin{macrocode} +\@namedef{pmbd@U+2583}{% + \pmbd@LowerBlock{.375}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2584} LOWER HALF BLOCK +% \begin{macro}{\textdnblock} +% \begin{macrocode} +\pmbd@UniDef\textdnblock{2584} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2584} +% \begin{macrocode} +\@namedef{pmbd@U+2584}{% + \pmbd@LowerBlock{.5}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2585} LOWER FIVE EIGHTHS BLOCK +% \begin{macro}{pmbd@U+2585} +% \begin{macrocode} +\@namedef{pmbd@U+2585}{% + \pmbd@LowerBlock{.625}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2586} LOWER THREE QUARTERS BLOCK +% \begin{macro}{pmbd@U+2586} +% \begin{macrocode} +\@namedef{pmbd@U+2586}{% + \pmbd@LowerBlock{.75}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2587} LOWER SEVEN EIGHTHS BLOCK +% \begin{macro}{pmbd@U+2587} +% \begin{macrocode} +\@namedef{pmbd@U+2587}{% + \pmbd@LowerBlock{.875}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2588} FULL BLOCK +% \begin{macro}{\textblock} +% \begin{macrocode} +\pmbd@UniDef\textblock{2588} +% \end{macrocode} +% \end{macro} +% \begin{macro}{pmbd@U+2588} +% \begin{macrocode} +\@namedef{pmbd@U+2588}{% + \pmbd@LowerBlock{}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2589} LEFT SEVEN EIGHTHS BLOCK +% \begin{macro}{\pmbd@U+2589} +% \begin{macrocode} +\@namedef{pmbd@U+2589}{% + \pmbd@LeftBlock{.875}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+258A} LEFT THREE QUARTERS BLOCK +% \begin{macro}{\pmbd@U+258A} +% \begin{macrocode} +\@namedef{pmbd@U+258A}{% + \pmbd@LeftBlock{.75}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+258B} LEFT FIVE EIGHTHS BLOCK +% \begin{macro}{\pmbd@U+258B} +% \begin{macrocode} +\@namedef{pmbd@U+258B}{% + \pmbd@LeftBlock{.625}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+258C} LEFT HALF BLOCK +% \begin{macro}{\textlfblock} +% \begin{macrocode} +\pmbd@UniDef\textlfblock{258C} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+258C} +% \begin{macrocode} +\@namedef{pmbd@U+258C}{% + \pmbd@LeftBlock{.5}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+258D} LEFT THREE EIGHTHS BLOCK +% \begin{macro}{\pmbd@U+258D} +% \begin{macrocode} +\@namedef{pmbd@U+258D}{% + \pmbd@LeftBlock{.375}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+258E} LEFT ONE QUARTER BLOCK +% \begin{macro}{\pmbd@U+258E} +% \begin{macrocode} +\@namedef{pmbd@U+258E}{% + \pmbd@LeftBlock{.25}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+258F} LEFT ONE EIGHTH BLOCK +% \begin{macro}{\pmbd@U+258F} +% \begin{macrocode} +\@namedef{pmbd@U+258F}{% + \pmbd@LeftBlock{.125}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2590} RIGHT HALF BLOCK +% \begin{macro}{\textrtblock} +% \begin{macrocode} +\pmbd@UniDef\textrtblock{2590} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2590} +% \begin{macrocode} +\@namedef{pmbd@U+2590}{% + \pmbd@BeginBox{Block}% + \kern.5\pmbd@W + \pmbd@Rule{.5\pmbd@W}\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2594} UPPER ONE EIGHTH BLOCK +% \begin{macro}{\pmbd@U+2594} +% \begin{macrocode} +\@namedef{pmbd@U+2594}{% + \pmbd@BeginBox{Block}% + \pmbd@Rule\pmbd@W\pmbd@H{-.875\pmbd@H}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2595} RIGHT ONE EIGHTH BLOCK +% \begin{macro}{\pmbd@U+2595} +% \begin{macrocode} +\@namedef{pmbd@U+2595}{% + \pmbd@BeginBox{Block}% + \kern.875\pmbd@W + \pmbd@Rule{.125\pmbd@W}\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsection{Shade characters} +% +% \begin{macro}{\pmbd@BeginShade} +% \begin{macrocode} +\def\pmbd@Shade#1#2{% + \pmbd@BeginBox{Shade}% + \ltx@ifundefined{textcolor}{% + \pmbd@colorwarning{#1}% + }{% + \textcolor[gray]{\csname pmbd@Shade/#2\endcsname}% + }{% + \pmbd@Rule\pmbd@W\pmbd@H\z@ + }% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2591} LIGHT SHADE +% \begin{macrocode} +\DeclareStringOption[.75]{Shade/light} +% \end{macrocode} +% \begin{macro}{\textltshade} +% \begin{macrocode} +\pmbd@UniDef\textltshade{2591} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2591} +% \begin{macrocode} +\@namedef{pmbd@U+2591}{% + \pmbd@Shade{2591}{light}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2592} MEDIUM SHADE +% \begin{macrocode} +\DeclareStringOption[.5]{Shade/medium} +% \end{macrocode} +% \begin{macro}{\textshade} +% \begin{macrocode} +\pmbd@UniDef\textshade{2592} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2592} +% \begin{macrocode} +\@namedef{pmbd@U+2592}{% + \pmbd@Shade{2592}{medium}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2593} DARK SHADE +% \begin{macrocode} +\DeclareStringOption[.25]{Shade/dark} +% \end{macrocode} +% \begin{macro}{\textdkshade} +% \begin{macrocode} +\pmbd@UniDef\textdkshade{2593} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2593} +% \begin{macrocode} +\@namedef{pmbd@U+2593}{% + \pmbd@Shade{2593}{dark}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{Color warning} +% +% \begin{macro}{\pmbd@colorwarning} +% \begin{macrocode} +\def\pmbd@colorwarning#1{% + \PackageWarning{pmboxdraw}{% + U+#1 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{Terminal graphics characters} +% +% \begin{macro}{\pmbd@BeginTerminal} +% \begin{macrocode} +\def\pmbd@BeginTerminal{% + \pmbd@BeginBox{TerminalGraphic}% +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2596} QUADRANT LOWER LEFT +% \begin{macro}{\pmbd@U+2596} +% \begin{macrocode} +\@namedef{pmbd@U+2596}{% + \pmbd@BeginTerminal + \pmbd@Rule{.5\pmbd@W}{.5\pmbd@H}\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2597} QUADRANT LOWER RIGHT +% \begin{macro}{\pmbd@U+2597} +% \begin{macrocode} +\@namedef{pmbd@U+2597}{% + \pmbd@BeginTerminal + \kern.5\pmbd@W + \pmbd@Rule{.5\pmbd@W}{.5\pmbd@H}\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2598} QUADRANT UPPER LEFT +% \begin{macro}{\pmbd@U+2598} +% \begin{macrocode} +\@namedef{pmbd@U+2598}{% + \pmbd@BeginTerminal + \pmbd@Rule{.5\pmbd@W}{\pmbd@H}{-.5\pmbd@H}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2599} QUADRANT UPPER LEFT AND LOWER LEFT AND LOWER RIGHT +% \begin{macro}{\pmbd@U+2599} +% \begin{macrocode} +\@namedef{pmbd@U+2599}{% + \pmbd@BeginTerminal + \pmbd@Rule{.5\pmbd@W}{\pmbd@H}\z@ + \pmbd@Rule{.5\pmbd@W}{.5\pmbd@H}\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+259A} QUADRANT UPPER LEFT AND LOWER RIGHT +% \begin{macro}{\pmbd@U+259A} +% \begin{macrocode} +\@namedef{pmbd@U+259A}{% + \pmbd@BeginTerminal + \pmbd@Rule{.5\pmbd@W}{\pmbd@H}{-.5\pmbd@H}% + \pmbd@Rule{.5\pmbd@W}{.5\pmbd@H}\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+259B} QUADRANT UPPER LEFT AND UPPER RIGHT AND LOWER LEFT +% \begin{macro}{\pmbd@U+259B} +% \begin{macrocode} +\@namedef{pmbd@U+259B}{% + \pmbd@BeginTerminal + \pmbd@Rule{.5\pmbd@W}{\pmbd@H}\z@ + \pmbd@Rule{.5\pmbd@W}{\pmbd@H}{-.5\pmbd@H}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+259C} QUADRANT UPPER LEFT AND UPPER RIGHT AND LOWER RIGHT +% \begin{macro}{\pmbd@U+259C} +% \begin{macrocode} +\@namedef{pmbd@U+259C}{% + \pmbd@BeginTerminal + \pmbd@Rule{.5\pmbd@W}{\pmbd@H}{-.5\pmbd@H}% + \pmbd@Rule{.5\pmbd@W}{\pmbd@H}\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+259D} QUADRANT UPPER RIGHT +% \begin{macro}{\pmbd@U+259D} +% \begin{macrocode} +\@namedef{pmbd@U+259D}{% + \pmbd@BeginTerminal + \kern.5\pmbd@W + \pmbd@Rule{.5\pmbd@W}{\pmbd@H}{-.5\pmbd@H}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+259E} QUADRANT UPPER RIGHT AND LOWER LEFT +% \begin{macro}{\pmbd@U+259E} +% \begin{macrocode} +\@namedef{pmbd@U+259E}{% + \pmbd@BeginTerminal + \pmbd@Rule{.5\pmbd@W}{.5\pmbd@H}\z@ + \pmbd@Rule{.5\pmbd@W}{\pmbd@H}{-.5\pmbd@H}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+259F} QUADRANT UPPER RIGHT AND LOWER LEFT AND LOWER RIGHT +% \begin{macro}{\pmbd@U+259F} +% \begin{macrocode} +\@namedef{pmbd@U+259F}{% + \pmbd@BeginTerminal + \pmbd@Rule{.5\pmbd@W}{.5\pmbd@H}\z@ + \pmbd@Rule{.5\pmbd@W}{\pmbd@H}\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% +% \subsection{Box drawing} +% +% \begin{macro}{\pmbd@BeginDraw} +% \begin{macrocode} +\def\pmbd@BeginDraw#1#2{% + \pmbd@BeginBox{BoxDrawing}% + \ifx#1X% + \pmbd@SetLength\pmbd@Thin\pmbd@BoxDrawing/thinlinewidth% + \fi + \ifx#2X% + \pmbd@SetLength\pmbd@Thick\pmbd@BoxDrawing/thicklinewidth% + \fi +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2500} BOX DRAWINGS LIGHT HORIZONTAL +% \begin{macro}{\textSFx} +% \begin{macrocode} +\pmbd@UniDef\textSFx{2500} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2500} +% \begin{macrocode} +\@namedef{pmbd@U+2500}{% + \pmbd@BeginDraw X-% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \dimen@=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule\pmbd@W\dimen@{-\dimexpr\dimen@-\pmbd@Thin\relax} + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2501} BOX DRAWINGS HEAVY HORIZONTAL +% \begin{macro}{\pmbd@U+2501} +% \begin{macrocode} +\@namedef{pmbd@U+2501}{% + \pmbd@BeginDraw -X% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule\pmbd@W\pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2502} BOX DRAWINGS LIGHT VERTICAL +% \begin{macro}{\textSFxi} +% \begin{macrocode} +\pmbd@UniDef\textSFxi{2502} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2502} +% \begin{macrocode} +\@namedef{pmbd@U+2502}{% + \pmbd@BeginDraw X-% +$ \pmbd@A=\pmbd@W +$ \advance\pmbd@A-\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \kern\pmbd@A +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax + \pmbd@Rule\pmbd@Thin\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2503} BOX DRAWINGS HEAVY VERTICAL +% \begin{macro}{\pmbd@U+2503} +% \begin{macrocode} +\@namedef{pmbd@U+2503}{% + \pmbd@BeginDraw -X% +$ \pmbd@A=\pmbd@W +$ \advance\pmbd@A-\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \kern\pmbd@A +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax + \pmbd@Rule\pmbd@Thick\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+250C} BOX DRAWINGS LIGHT DOWN AND RIGHT +% \begin{macro}{\textSFi} +% \begin{macrocode} +\pmbd@UniDef\textSFi{250C} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+250C} +% \begin{macrocode} +\@namedef{pmbd@U+250C}{% + \pmbd@BeginDraw X-% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +& \kern-\pmbd@Thin +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% +& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thin\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+250D} BOX DRAWINGS DOWN LIGHT AND RIGHT HEAVY +% \begin{macro}{\pmbd@U+250D} +% \begin{macrocode} +\@namedef{pmbd@U+250D}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +& \kern-\pmbd@Thin +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% +& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+250E} BOX DRAWINGS DOWN HEAVY AND RIGHT LIGHT +% \begin{macro}{\pmbd@U+250E} +% \begin{macrocode} +\@namedef{pmbd@U+250E}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +& \kern-\pmbd@Thick +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% +& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thin\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+250F} BOX DRAWINGS HEAVY DOWN AND RIGHT +% \begin{macro}{\pmbd@U+250F} +% \begin{macrocode} +\@namedef{pmbd@U+250F}{% + \pmbd@BeginDraw -X% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +& \kern-\pmbd@Thick +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% +& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2510} BOX DRAWINGS LIGHT DOWN AND LEFT +% \begin{macro}{\textSFiii} +% \begin{macrocode} +\pmbd@UniDef\textSFiii{2510} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2510} +% \begin{macrocode} +\@namedef{pmbd@U+2510}{% + \pmbd@BeginDraw X-% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% +& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thin\relax}% +& \kern-\pmbd@Thin +& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2511} BOX DRAWINGS DOWN LIGHT AND LEFT HEAVY +% \begin{macro}{\pmbd@U+2511} +% \begin{macrocode} +\@namedef{pmbd@U+2511}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% +& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% +& \kern-\pmbd@Thin +& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2512} BOX DRAWINGS DOWN HEAVY AND LEFT LIGHT +% \begin{macro}{\pmbd@U+2512} +% \begin{macrocode} +\@namedef{pmbd@U+2512}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% +& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thin\relax}% +& \kern-\pmbd@Thick +& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2513} BOX DRAWINGS HEAVY DOWN AND LEFT +% \begin{macro}{\pmbd@U+2513} +% \begin{macrocode} +\@namedef{pmbd@U+2513}{% + \pmbd@BeginDraw -X% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% +& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% +& \kern-\pmbd@Thick +& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2514} BOX DRAWINGS LIGHT UP AND RIGHT +% \begin{macro}{\textSFii} +% \begin{macrocode} +\pmbd@UniDef\textSFii{2514} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2514} +% \begin{macrocode} +\@namedef{pmbd@U+2514}{% + \pmbd@BeginDraw X-% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B +& \kern-\pmbd@Thin +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2515} BOX DRAWINGS UP LIGHT AND RIGHT HEAVY +% \begin{macro}{\pmbd@U+2515} +% \begin{macrocode} +\@namedef{pmbd@U+2515}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B +& \kern-\pmbd@Thin +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2516} BOX DRAWINGS UP HEAVY AND RIGHT LIGHT +% \begin{macro}{\pmbd@U+2516} +% \begin{macrocode} +\@namedef{pmbd@U+2516}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +& \kern-\pmbd@Thin +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2517} BOX DRAWINGS HEAVY UP AND RIGHT +% \begin{macro}{\pmbd@U+2517} +% \begin{macrocode} +\@namedef{pmbd@U+2517}{% + \pmbd@BeginDraw -X% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +& \kern-\pmbd@Thick +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2518} BOX DRAWINGS LIGHT UP AND LEFT +% \begin{macro}{\textSFiv} +% \begin{macrocode} +\pmbd@UniDef\textSFiv{2518} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2518} +% \begin{macrocode} +\@namedef{pmbd@U+2518}{% + \pmbd@BeginDraw X-% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% +& \pmbd@A\pmbd@B +& \kern-\pmbd@Thin +& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2519} BOX DRAWINGS UP LIGHT AND LEFT HEAVY +% \begin{macro}{\pmbd@U+2519} +% \begin{macrocode} +\@namedef{pmbd@U+2519}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% +& \pmbd@A\pmbd@B +& \kern-\pmbd@Thin +& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+251A} BOX DRAWINGS UP HEAVY AND LEFT LIGHT +% \begin{macro}{\pmbd@U+251A} +% \begin{macrocode} +\@namedef{pmbd@U+251A}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% +& \pmbd@A\pmbd@B +& \kern-\pmbd@Thick +& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+251B} BOX DRAWINGS HEAVY UP AND LEFT +% \begin{macro}{\pmbd@U+251B} +% \begin{macrocode} +\@namedef{pmbd@U+251B}{% + \pmbd@BeginDraw -X% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% +& \pmbd@A\pmbd@B +& \kern-\pmbd@Thick +& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+251C} BOX DRAWINGS LIGHT VERTICAL AND RIGHT +% \begin{macro}{\textSFviii} +% \begin{macrocode} +\pmbd@UniDef\textSFviii{251C} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+251C} +% \begin{macrocode} +\@namedef{pmbd@U+251C}{% + \pmbd@BeginDraw X-% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +& \kern-\pmbd@Thin +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A +& {-\dimexpr\pmbd@A-\pmbd@Thin\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+251D} BOX DRAWINGS VERTICAL LIGHT AND RIGHT HEAVY +% \begin{macro}{\pmbd@U+251D} +% \begin{macrocode} +\@namedef{pmbd@U+251D}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +& \kern-\pmbd@Thin +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A +& {-\dimexpr\pmbd@A-\pmbd@Thick\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+251E} BOX DRAWINGS UP HEAVY AND RIGHT DOWN LIGHT +% \begin{macro}{\pmbd@U+251E} +% \begin{macrocode} +\@namedef{pmbd@U+251E}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \rlap{% +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +$ }% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \rlap{% +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +& \kern-\pmbd@Thin +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B +& }% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+251F} BOX DRAWINGS DOWN HEAVY AND RIGHT UP LIGHT +% \begin{macro}{\pmbd@U+251F} +% \begin{macrocode} +\@namedef{pmbd@U+251F}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \rlap{% +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +$ }% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \rlap{% +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +& \kern-\pmbd@Thin +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B +& }% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2520} BOX DRAWINGS VERTICAL HEAVY AND RIGHT LIGHT +% \begin{macro}{\pmbd@U+2520} +% \begin{macrocode} +\@namedef{pmbd@U+2520}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@H\z@ +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thick\pmbd@H\z@ +& \kern-\pmbd@Thick +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A +& {-\dimexpr\pmbd@A-\pmbd@Thin\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2521} BOX DRAWINGS DOWN LIGHT AND RIGHT UP HEAVY +% \begin{macro}{\pmbd@U+2521} +% \begin{macrocode} +\@namedef{pmbd@U+2521}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \rlap{% +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +$ }% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \rlap{% +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +& \kern-\pmbd@Thin +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B +& }% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2522} BOX DRAWINGS UP LIGHT AND RIGHT DOWN HEAVY +% \begin{macro}{\pmbd@U+2522} +% \begin{macrocode} +\@namedef{pmbd@U+2522}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \rlap{% +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +$ }% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \rlap{% +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +& \kern-\pmbd@Thin +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B +& }% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2523} BOX DRAWINGS HEAVY VERTICAL AND RIGHT +% \begin{macro}{\pmbd@U+2523} +% \begin{macrocode} +\@namedef{pmbd@U+2523}{% + \pmbd@BeginDraw -X% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@H\z@ +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thick\pmbd@H\z@ +& \kern-\pmbd@Thick +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A +& {-\dimexpr\pmbd@A-\pmbd@Thick\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2524} BOX DRAWINGS LIGHT VERTICAL AND LEFT +% \begin{macro}{\textSFix} +% \begin{macrocode} +\pmbd@UniDef\textSFix{2524} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2524} +% \begin{macrocode} +\@namedef{pmbd@U+2524}{% + \pmbd@BeginDraw X-% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thin +$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% +& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thin\relax}% +& \kern-\pmbd@Thin +& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2525} BOX DRAWINGS VERTICAL LIGHT AND LEFT HEAVY +% \begin{macro}{\pmbd@U+2525} +% \begin{macrocode} +\@namedef{pmbd@U+2525}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thin +$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% +& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thick\relax}% +& \kern-\pmbd@Thin +& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2526} BOX DRAWINGS UP HEAVY AND LEFT DOWN LIGHT +% \begin{macro}{\pmbd@U+2526} +% \begin{macrocode} +\@namedef{pmbd@U+2526}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thin +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@Thick +$ \rlap{% +$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +$ }% +$ \kern.5\pmbd@D +$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax +& \rlap{% +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% +& \pmbd@A\pmbd@B +& \kern-\pmbd@Thin +& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +& }% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2527} BOX DRAWINGS DOWN HEAVY AND LEFT UP LIGHT +% \begin{macro}{\pmbd@U+2527} +% \begin{macrocode} +\@namedef{pmbd@U+2527}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thin +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@Thick +$ \rlap{% +$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +$ }% +$ \kern.5\pmbd@D +$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \rlap{% +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% +& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thin\relax}% +& \kern-\pmbd@Thin +& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +& }% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2528} BOX DRAWINGS VERTICAL HEAVY AND LEFT LIGHT +% \begin{macro}{\pmbd@U+2528} +% \begin{macrocode} +\@namedef{pmbd@U+2528}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thick +$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@Thick\pmbd@H\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% +& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thin\relax}% +& \kern-\pmbd@Thick +& \pmbd@Rule\pmbd@Thick\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2529} BOX DRAWINGS DOWN LIGHT AND LEFT UP HEAVY +% \begin{macro}{\pmbd@U+2529} +% \begin{macrocode} +\@namedef{pmbd@U+2529}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \rlap{% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +$ }% +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax +& \rlap{% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +& }% +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% +& \pmbd@A\pmbd@B +& \kern-\pmbd@Thick +& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+252A} BOX DRAWINGS UP LIGHT AND LEFT DOWN HEAVY +% \begin{macro}{\pmbd@U+252A} +% \begin{macrocode} +\@namedef{pmbd@U+252A}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \rlap{% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +$ }% +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \rlap{% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +& }% +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% +& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% +& \kern-\pmbd@Thick +& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+252B} BOX DRAWINGS HEAVY VERTICAL AND LEFT +% \begin{macro}{\pmbd@U+252B} +% \begin{macrocode} +\@namedef{pmbd@U+252B}{% + \pmbd@BeginDraw -X% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thick +$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@Thick\pmbd@H\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% +& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thick\relax}% +& \kern-\pmbd@Thick +& \pmbd@Rule\pmbd@Thick\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+252C} BOX DRAWINGS LIGHT DOWN AND HORIZONTAL +% \begin{macro}{\textSFvi} +% \begin{macrocode} +\pmbd@UniDef\textSFvi{252C} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+252C} +% \begin{macrocode} +\@namedef{pmbd@U+252C}{% + \pmbd@BeginDraw X-% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \rlap{% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +$ }% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \rlap{% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +& }% +& \pmbd@Rule\pmbd@W\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+252D} BOX DRAWINGS LEFT HEAVY AND RIGHT DOWN LIGHT +% \begin{macro}{\pmbd@U+252D} +% \begin{macrocode} +\@namedef{pmbd@U+252D}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \rlap{% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thin +$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B +$ }% +$ \rlap{% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +$ }% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \rlap{% +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% +& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thick\relax}% +& }% +& \rlap{% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +& }% +& \pmbd@Rule\pmbd@W\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+252E} BOX DRAWINGS RIGHT HEAVY AND LEFT DOWN LIGHT +% \begin{macro}{\pmbd@U+252E} +% \begin{macrocode} +\@namedef{pmbd@U+252E}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \rlap{% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \kern\pmbd@C +$ \advance\pmbd@C-\pmbd@W +$ \pmbd@Rule{-\pmbd@C}\pmbd@A\pmbd@B +$ }% +$ \rlap{% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +$ }% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \rlap{% +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \kern\pmbd@C +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% +& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thick\relax}% +& }% +& \rlap{% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +& }% +& \pmbd@Rule\pmbd@W\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+252F} BOX DRAWINGS DOWN LIGHT AND HORIZONTAL HEAVY +% \begin{macro}{\pmbd@U+252F} +% \begin{macrocode} +\@namedef{pmbd@U+252F}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \rlap{% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +$ }% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \rlap{% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +& }% +& \pmbd@Rule\pmbd@W\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2530} BOX DRAWINGS DOWN HEAVY AND HORIZONTAL LIGHT +% \begin{macro}{\pmbd@U+2530} +% \begin{macrocode} +\@namedef{pmbd@U+2530}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \rlap{% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +$ }% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \rlap{% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +& }% +& \pmbd@Rule\pmbd@W\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2531} BOX DRAWINGS RIGHT LIGHT AND LEFT DOWN HEAVY +% \begin{macro}{\pmbd@U+2531} +% \begin{macrocode} +\@namedef{pmbd@U+2531}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \rlap{% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +$ }% +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \rlap{% +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule\pmbd@W\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% +& }% +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% +& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% +& \kern-\pmbd@Thick +& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2532} BOX DRAWINGS LEFT LIGHT AND RIGHT DOWN HEAVY +% \begin{macro}{\pmbd@U+2532} +% \begin{macrocode} +\@namedef{pmbd@U+2532}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \rlap{% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +$ }% +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \rlap{% +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule\pmbd@W\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% +& }% +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +& \kern-\pmbd@Thick +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% +& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2533} BOX DRAWINGS HEAVY DOWN AND HORIZONTAL +% \begin{macro}{\pmbd@U+2533} +% \begin{macrocode} +\@namedef{pmbd@U+2533}{% + \pmbd@BeginDraw -X% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \rlap{% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +$ }% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \rlap{% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +& }% +& \pmbd@Rule\pmbd@W\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2534} BOX DRAWINGS LIGHT UP AND HORIZONTAL +% \begin{macro}{\textSFvii} +% \begin{macrocode} +\pmbd@UniDef\textSFvii{2534} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2534} +% \begin{macrocode} +\@namedef{pmbd@U+2534}{% + \pmbd@BeginDraw X-% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \rlap{% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +$ }% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax +& \rlap{% +& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& }% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2535} BOX DRAWINGS LEFT HEAVY AND RIGHT UP LIGHL +% \begin{macro}{\pmbd@U+2535} +% \begin{macrocode} +\@namedef{pmbd@U+2535}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \rlap{% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +$ }% +$ \rlap{% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thin +$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B +$ }% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax +& \rlap{% +& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& }% +& \rlap{% +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% +& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thick\relax}% +& }% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2536} BOX DRAWINGS RIGHT HEAVY AND LEFT UP LIGHT +% \begin{macro}{\pmbd@U+2536} +% \begin{macrocode} +\@namedef{pmbd@U+2536}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \rlap{% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +$ }% +$ \rlap{% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \kern\pmbd@C +$ \advance\pmbd@C-\pmbd@W +$ \pmbd@Rule{-\pmbd@C}\pmbd@A\pmbd@B +$ }% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax +& \rlap{% +& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& }% +& \rlap{% +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \kern\pmbd@C +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% +& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thick\relax}% +& }% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2537} BOX DRAWINGS UP LIGHT AND HORIZONTAL HEAVY +% \begin{macro}{\pmbd@U+2537} +% \begin{macrocode} +\@namedef{pmbd@U+2537}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \rlap{% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +$ }% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax +& \rlap{% +& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& }% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2538} BOX DRAWINGS UP HEAVY AND HORIZONTAL LIGHT +% \begin{macro}{\pmbd@U+2538} +% \begin{macrocode} +\@namedef{pmbd@U+2538}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \rlap{% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +$ }% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax +& \rlap{% +& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& }% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2539} BOX DRAWINGS RIGHT LIGHT AND LEFT UP HEAVY +% \begin{macro}{\pmbd@U+2539} +% \begin{macrocode} +\@namedef{pmbd@U+2539}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \rlap{% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +$ }% +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax +& \rlap{% +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule\pmbd@W\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% +& }% +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% +& \pmbd@A\pmbd@B +& \kern-\pmbd@Thick +& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+253A} BOX DRAWINGS LEFT LIGHT AND RIGHT UP HEAVY +% \begin{macro}{\pmbd@U+253A} +% \begin{macrocode} +\@namedef{pmbd@U+253A}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \rlap{% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +$ }% +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \rlap{% +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule\pmbd@W\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% +& }% +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +& \kern-\pmbd@Thin +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+253B} BOX DRAWINGS HEAVY UP AND HORIZONTAL +% \begin{macro}{\pmbd@U+253B} +% \begin{macrocode} +\@namedef{pmbd@U+253B}{% + \pmbd@BeginDraw -X% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \rlap{% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +$ }% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax +& \rlap{% +& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& }% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+253C} BOX DRAWINGS LIGHT VERTICAL AND HORIZONTAL +% \begin{macro}{\textSFv} +% \begin{macrocode} +\pmbd@UniDef\textSFv{253C} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+253C} +% \begin{macrocode} +\@namedef{pmbd@U+253C}{% + \pmbd@BeginDraw X-% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \dimen@=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule\pmbd@W\dimen@{-\dimexpr\dimen@-\pmbd@Thin\relax}% + \kern-\pmbd@W +$ \pmbd@A=\pmbd@W +$ \advance\pmbd@A-\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \kern\pmbd@A +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax + \pmbd@Rule\pmbd@Thin\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+253D} BOX DRAWINGS LEFT HEAVY AND RIGHT VERTICAL LIGHT +% \begin{macro}{\pmbd@U+253D} +% \begin{macrocode} +\@namedef{pmbd@U+253D}{% + \pmbd@BeginDraw XX% + \rlap{% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule{.5\pmbd@W}\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% + }% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +& \kern-\pmbd@Thin +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A +& {-\dimexpr\pmbd@A-\pmbd@Thin\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+253E} BOX DRAWINGS RIGHT HEAVY AND LEFT VERTICAL LIGHT +% \begin{macro}{\pmbd@U+253E} +% \begin{macrocode} +\@namedef{pmbd@U+253E}{% + \pmbd@BeginDraw XX% + \rlap{% + \kern.5\pmbd@W +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule{.5\pmbd@W}\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% + }% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thin +$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@Thin\pmbd@H\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% +& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thin\relax}% +& \kern-\pmbd@Thin +& \pmbd@Rule\pmbd@Thin\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+253F} BOX DRAWINGS RIGHT HEAVY AND LEFT VERTICAL LIGHT +% \begin{macro}{\pmbd@U+253F} +% \begin{macrocode} +\@namedef{pmbd@U+253F}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \dimen@=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule\pmbd@W\dimen@{-\dimexpr\dimen@-\pmbd@Thick\relax}% + \kern-\pmbd@W +$ \pmbd@A=\pmbd@W +$ \advance\pmbd@A-\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \kern\pmbd@A +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax + \pmbd@Rule\pmbd@Thin\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2540} BOX DRAWINGS UP HEAVY AND DOWN HORIZONTAL LIGHT +% \begin{macro}{\pmbd@U+2540} +% \begin{macrocode} +\@namedef{pmbd@U+2540}{% + \pmbd@BeginDraw XX% + \rlap{% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \kern.5\pmbd@C +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax + \pmbd@Rule\pmbd@Thick\pmbd@H{-.5\pmbd@H}% + }% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \rlap{% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +$ }% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \rlap{% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +& }% +& \pmbd@Rule\pmbd@W\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2541} BOX DRAWINGS DOWN HEAVY AND UP HORIZONTAL LIGHT +% \begin{macro}{\pmbd@U+2541} +% \begin{macrocode} +\@namedef{pmbd@U+2541}{% + \pmbd@BeginDraw XX% + \rlap{% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \kern.5\pmbd@C +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax + \pmbd@Rule\pmbd@Thick{.5\pmbd@H}\z@ + }% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \rlap{% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +$ }% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax +& \rlap{% +& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& }% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% \subsubsection{U+2542} BOX DRAWINGS VERTICAL HEAVY AND HORIZONTAL LIGHT +% \begin{macro}{\pmbd@U+2542} +% \begin{macrocode} +\@namedef{pmbd@U+2542}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \dimen@=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule\pmbd@W\dimen@{-\dimexpr\dimen@-\pmbd@Thin\relax}% + \kern-\pmbd@W +$ \pmbd@A=\pmbd@W +$ \advance\pmbd@A-\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax + \pmbd@Rule\pmbd@Thick\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2543} BOX DRAWINGS LEFT UP HEAVY AND RIGHT DOWN LIGHT +% \begin{macro}{\pmbd@U+2543} +% \begin{macrocode} +\@namedef{pmbd@U+2543}{% + \pmbd@BeginDraw XX% + \rlap{% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +& \kern-\pmbd@Thin +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% +& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thin\relax}% + }% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% +& \pmbd@A\pmbd@B +& \kern-\pmbd@Thick +& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2544} BOX DRAWINGS RIGHT UP HEAVY AND LEFT DOWN LIGHT +% \begin{macro}{\pmbd@U+2544} +% \begin{macrocode} +\@namedef{pmbd@U+2544}{% + \pmbd@BeginDraw XX% + \rlap{% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@Thin\pmbd@A\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% +& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thin\relax}% +& \kern-\pmbd@Thin +& \pmbd@Rule\pmbd@Thin\pmbd@A\z@ + }% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +& \kern-\pmbd@Thick +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2545} BOX DRAWINGS LEFT DOWN HEAVY AND RIGHT UP LIGHT +% \begin{macro}{\pmbd@U+2545} +% \begin{macrocode} +\@namedef{pmbd@U+2545}{% + \pmbd@BeginDraw XX% + \rlap{% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thin\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B +& \kern-\pmbd@Thin +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A\pmbd@B + }% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% +& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% +& \kern-\pmbd@Thick +& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2546} BOX DRAWINGS RIGHT DOWN HEAVY AND LEFT UP LIGHT +% \begin{macro}{\pmbd@U+2546} +% \begin{macrocode} +\@namedef{pmbd@U+2546}{% + \pmbd@BeginDraw XX% + \rlap{% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thin +$ \pmbd@C=.5\pmbd@C +$ \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B +$ \kern-\pmbd@Thin +$ \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thin\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thin\relax}% +& \pmbd@A\pmbd@B +& \kern-\pmbd@Thin +& \pmbd@Rule\pmbd@Thin\pmbd@H\pmbd@B + }% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +& \kern-\pmbd@Thick +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}% +& \pmbd@A{-\dimexpr\pmbd@A-\pmbd@Thick\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2547} BOX DRAWINGS DOWN LIGHT AND UP HORIZONTAL HEAVY +% \begin{macro}{\pmbd@U+2547} +% \begin{macrocode} +\@namedef{pmbd@U+2547}{% + \pmbd@BeginDraw XX% + \rlap{% +$ \pmbd@A=\pmbd@W +$ \advance\pmbd@A-\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \kern\pmbd@A +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax + \pmbd@Rule\pmbd@Thin\pmbd@H\z@ + }% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \rlap{% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +$ }% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@B=\dimexpr-\pmbd@A+\pmbd@Thick\relax +& \rlap{% +& \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& }% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \pmbd@Rule\pmbd@Thick\pmbd@H\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2548} BOX DRAWINGS UP LIGHT AND DOWN HORIZONTAL HEAVY +% \begin{macro}{\pmbd@U+2548} +% \begin{macrocode} +\@namedef{pmbd@U+2548}{% + \pmbd@BeginDraw XX% + \rlap{% +$ \pmbd@A=\pmbd@W +$ \advance\pmbd@A-\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \kern\pmbd@A +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax + \pmbd@Rule\pmbd@Thin\pmbd@H\z@ + }% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \rlap{% +$ \kern.5\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +$ }% +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \rlap{% +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \pmbd@Rule\pmbd@Thick\pmbd@A\z@ +& }% +& \pmbd@Rule\pmbd@W\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2549} BOX DRAWINGS RIGHT LIGHT AND LEFT VERTICAL HEAVY +% \begin{macro}{\pmbd@U+2549} +% \begin{macrocode} +\@namedef{pmbd@U+2549}{% + \pmbd@BeginDraw XX% + \rlap{% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \dimen@=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule\pmbd@W\dimen@{-\dimexpr\dimen@-\pmbd@Thin\relax} + }% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C\pmbd@Thick +$ \pmbd@Rule{.5\pmbd@C}\pmbd@A\pmbd@B +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@Thick\pmbd@H\z@ +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule{.5\dimexpr\pmbd@W+\pmbd@Thick\relax}% +& \pmbd@A{\dimexpr-\pmbd@A+\pmbd@Thick\relax}% +& \kern-\pmbd@Thick +& \pmbd@Rule\pmbd@Thick\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+254A} BOX DRAWINGS LEFT LIGHT AND RIGHT VERTICAL HEAVY +% \begin{macro}{\pmbd@U+254A} +% \begin{macrocode} +\@namedef{pmbd@U+254A}{% + \pmbd@BeginDraw XX% + \rlap{% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \dimen@=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule\pmbd@W\dimen@{-\dimexpr\dimen@-\pmbd@Thin\relax} + }% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \pmbd@C=.5\pmbd@C +$ \pmbd@D=\pmbd@W +$ \advance\pmbd@D-\pmbd@C +$ \kern\pmbd@C +$ \pmbd@Rule\pmbd@Thick\pmbd@H\z@ +$ \kern-\pmbd@Thick +$ \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@C=.5\dimexpr\pmbd@W-\pmbd@Thick\relax +& \kern\pmbd@C +& \pmbd@Rule\pmbd@Thick\pmbd@H\z@ +& \kern-\pmbd@Thick +& \pmbd@Rule{\dimexpr\pmbd@W-\pmbd@C\relax}\pmbd@A +& {-\dimexpr\pmbd@A-\pmbd@Thick\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+254B} BOX DRAWINGS HEAVY VERTICAL AND HORIZONTAL +% \begin{macro}{\pmbd@U+254B} +% \begin{macrocode} +\@namedef{pmbd@U+254B}{% + \pmbd@BeginDraw -X% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \dimen@=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule\pmbd@W\dimen@{-\dimexpr\dimen@-\pmbd@Thick\relax}% + \kern-\pmbd@W +$ \pmbd@A=\pmbd@W +$ \advance\pmbd@A-\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \kern\pmbd@A +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax + \pmbd@Rule\pmbd@Thick\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsection{Box drawing, double lines} +% +% \begin{macro}{\pmbd@BeginDouble} +% \begin{macrocode} +\def\pmbd@BeginDouble{% + \pmbd@BeginDraw X-% + \pmbd@SetLength\pmbd@Sep\pmbd@BoxDrawing/doublelinesep% +} +% \end{macrocode} +% \end{macro} +% +% \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{macro}{\textSFxliii} +% \begin{macrocode} +\pmbd@UniDef\textSFxliii{2550} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2550} +% \begin{macrocode} +\@namedef{pmbd@U+2550}{% + \pmbd@BeginDouble +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A-\pmbd@Sep +$ \pmbd@A=.5\pmbd@A +& \pmbd@A=.5\dimexpr\pmbd@H-\pmbd@Sep\relax +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \pmbd@Rule\pmbd@W\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% + \kern-\pmbd@W +$ \advance\pmbd@A\pmbd@Sep +$ \advance\pmbd@A\pmbd@Thin +$ \advance\pmbd@B-\pmbd@Sep +$ \advance\pmbd@B-\pmbd@Thin +& \pmbd@A=\dimexpr\pmbd@A+\pmbd@Sep+\pmbd@Thin\relax +$ \pmbd@Rule\pmbd@W\pmbd@A\pmbd@B +& \pmbd@Rule\pmbd@W\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2551} BOX DRAWINGS DOUBLE VERTICAL +% \begin{macro}{\textSFxxiv} +% \begin{macrocode} +\pmbd@UniDef\textSFxxiv{2551} +% \end{macrocode} +% \end{macro} +% \begin{macro}{pmbd@U+2551} +% \begin{macrocode} +\@namedef{pmbd@U+2551}{% + \pmbd@BeginDouble +$ \pmbd@A=\pmbd@W +$ \advance\pmbd@A-\pmbd@Sep +$ \pmbd@A=.5\pmbd@A +$ \advance\pmbd@A-.5\pmbd@Thin +$ \kern\pmbd@A +& \kern\dimexpr.5\dimexpr\pmbd@W-\pmbd@Sep\relax-\pmbd@Thin\relax + \pmbd@Rule\pmbd@Thin\pmbd@H\z@ + \kern\pmbd@Sep + \pmbd@Rule\pmbd@Thin\pmbd@H\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2552} BOX DRAWINGS DOWN SINGLE AND RIGHT DOUBLE +% \begin{macro}{\textSFli} +% \begin{macrocode} +\pmbd@UniDef\textSFli{2552} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2552} +% \begin{macrocode} +\@namedef{pmbd@U+2552}{% + \pmbd@BeginDouble + \pmbd@C=\pmbd@W + \advance\pmbd@C-\pmbd@Thin + \pmbd@C=.5\pmbd@C + \kern\pmbd@C + \pmbd@A=\pmbd@H + \advance\pmbd@A\pmbd@Sep + \pmbd@A=.5\pmbd@A + \advance\pmbd@A\pmbd@Thin + \pmbd@Rule\pmbd@Thin\pmbd@A\z@ + \kern-\pmbd@Thin + \pmbd@D=\pmbd@W + \advance\pmbd@D-\pmbd@C + \pmbd@B=-\pmbd@A + \advance\pmbd@B\pmbd@Thin + \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B + \kern-\pmbd@D + \advance\pmbd@A-\pmbd@Sep + \advance\pmbd@A-\pmbd@Thin + \advance\pmbd@B\pmbd@Sep + \advance\pmbd@B\pmbd@Thin + \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2553} BOX DRAWINGS DOWN DOUBLE AND RIGHT SINGLE +% \begin{macro}{\textSFlii} +% \begin{macrocode} +\pmbd@UniDef\textSFlii{2553} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2553} +% \begin{macrocode} +\@namedef{pmbd@U+2553}{% + \pmbd@BeginDouble + \pmbd@C=\pmbd@W + \advance\pmbd@C-\pmbd@Sep + \pmbd@C=.5\pmbd@C + \advance\pmbd@C-\pmbd@Thin + \kern\pmbd@C + \pmbd@D=\pmbd@W + \advance\pmbd@D-\pmbd@C + \pmbd@A=\pmbd@H + \advance\pmbd@A\pmbd@Thin + \pmbd@A=.5\pmbd@A + \pmbd@B=-\pmbd@A + \advance\pmbd@B\pmbd@Thin + \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B + \kern-\pmbd@D + \pmbd@Rule\pmbd@Thin\pmbd@A\z@ + \kern\pmbd@Sep + \pmbd@Rule\pmbd@Thin\pmbd@A\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% \subsubsection{U+2554} BOX DRAWINGS DOUBLE DOWN AND RIGHT +% \begin{macro}{\textSFxxxix} +% \begin{macrocode} +\pmbd@UniDef\textSFxxxix{2554} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2554} +% \begin{macrocode} +\@namedef{pmbd@U+2554}{% + \pmbd@BeginDouble + \pmbd@C=\pmbd@W + \advance\pmbd@C-\pmbd@Sep + \pmbd@C=.5\pmbd@C + \advance\pmbd@C-\pmbd@Thin + \kern\pmbd@C + \pmbd@A=\pmbd@H + \advance\pmbd@A\pmbd@Sep + \pmbd@A=.5\pmbd@A + \advance\pmbd@A\pmbd@Thin + \pmbd@B=-\pmbd@A + \advance\pmbd@B\pmbd@Thin + \pmbd@D=\pmbd@W + \advance\pmbd@D-\pmbd@C + \pmbd@Rule\pmbd@Thin\pmbd@A\z@ + \kern-\pmbd@Thin + \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B + \advance\pmbd@D-\pmbd@Sep + \advance\pmbd@D-\pmbd@Thin + \kern-\pmbd@D + \advance\pmbd@A-\pmbd@Sep + \advance\pmbd@A-\pmbd@Thin + \advance\pmbd@B\pmbd@Sep + \advance\pmbd@B\pmbd@Thin + \pmbd@Rule\pmbd@Thin\pmbd@A\z@ + \kern-\pmbd@Thin + \pmbd@Rule\pmbd@D\pmbd@A\pmbd@B + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2555} BOX DRAWINGS DOWN SINGLE AND LEFT DOUBLE +% \begin{macro}{\textSFxxii} +% \begin{macrocode} +\pmbd@UniDef\textSFxxii{2555} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2555} +% \begin{macrocode} +\@namedef{pmbd@U+2555}{% + \pmbd@BeginDouble + \pmbd@A=\pmbd@H + \advance\pmbd@A-\pmbd@Sep + \pmbd@A=.5\pmbd@A + \pmbd@B=-\pmbd@A + \advance\pmbd@B\pmbd@Thin + \pmbd@C=\pmbd@W + \advance\pmbd@C\pmbd@Thin + \pmbd@C=.5\pmbd@C + \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B + \kern-\pmbd@C + \advance\pmbd@A\pmbd@Sep + \advance\pmbd@A\pmbd@Thin + \advance\pmbd@B-\pmbd@Sep + \advance\pmbd@B-\pmbd@Thin + \pmbd@Rule\pmbd@C\pmbd@A\pmbd@B + \kern-\pmbd@Thin + \pmbd@Rule\pmbd@Thin\pmbd@A\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2556} BOX DRAWINGS DOWN DOUBLE AND LEFT SINGLE +% \begin{macro}{\textSFxxi} +% \begin{macrocode} +\pmbd@UniDef\textSFxxi{2556} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2556} +% \begin{macrocode} +\@namedef{pmbd@U+2556}{% + \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} +% \end{macro} +% +% \subsubsection{U+2557} BOX DRAWINGS DOUBLE DOWN AND LEFT +% \begin{macro}{\textSFxxv} +% \begin{macrocode} +\pmbd@UniDef\textSFxxv{2557} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2557} +% \begin{macrocode} +\@namedef{pmbd@U+2557}{% + \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} +% \end{macro} +% +% \subsubsection{U+2558} BOX DRAWINGS UP SINGLE AND RIGHT DOUBLE +% \begin{macro}{\textSFl} +% \begin{macrocode} +\pmbd@UniDef\textSFl{2558} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2558} +% \begin{macrocode} +\@namedef{pmbd@U+2558}{% + \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} +% \end{macro} +% +% \subsubsection{U+2559} BOX DRAWINGS UP DOUBLE AND RIGHT SINGLE +% \begin{macro}{\textSFxlix} +% \begin{macrocode} +\pmbd@UniDef\textSFxlix{2559} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2559} +% \begin{macrocode} +\@namedef{pmbd@U+2559}{% + \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} +% \end{macro} +% +% \subsubsection{U+255A} BOX DRAWINGS DOUBLE UP AND RIGHT +% \begin{macro}{\textSFxxxviii} +% \begin{macrocode} +\pmbd@UniDef\textSFxxxviii{255A} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+255A} +% \begin{macrocode} +\@namedef{pmbd@U+255A}{% + \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} +% \end{macro} +% +% \subsubsection{U+255B} BOX DRAWINGS UP SINGLE AND LEFT DOUBLE +% \begin{macro}{\textSFxxviii} +% \begin{macrocode} +\pmbd@UniDef\textSFxxviii{255B} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+255B} +% \begin{macrocode} +\@namedef{pmbd@U+255B}{% + \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} +% \end{macro} +% +% \subsubsection{U+255C} BOX DRAWINGS UP DOUBLE AND LEFT SINGLE +% \begin{macro}{\textSFxxvii} +% \begin{macrocode} +\pmbd@UniDef\textSFxxvii{255C} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+255C} +% \begin{macrocode} +\@namedef{pmbd@U+255C}{% + \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} +% \end{macro} +% +% \subsubsection{U+255D} BOX DRAWINGS DOUBLE UP AND LEFT +% \begin{macro}{\textSFxxvi} +% \begin{macrocode} +\pmbd@UniDef\textSFxxvi{255D} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+255D} +% \begin{macrocode} +\@namedef{pmbd@U+255D}{% + \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} +% \end{macro} +% +% \subsubsection{U+255E} BOX DRAWINGS VERTICAL SINGLE AND RIGHT DOUBLE +% \begin{macro}{\textSFxxxvi} +% \begin{macrocode} +\pmbd@UniDef\textSFxxxvi{255E} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+255E} +% \begin{macrocode} +\@namedef{pmbd@U+255E}{% + \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} +% \end{macro} +% +% \subsubsection{U+255F} BOX DRAWINGS VERTICAL DOUBLE AND RIGHT SINGLE +% \begin{macro}{\textSFxxxvii} +% \begin{macrocode} +\pmbd@UniDef\textSFxxxvii{255F} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+255F} +% \begin{macrocode} +\@namedef{pmbd@U+255F}{% + \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} +% \end{macro} +% +% \subsubsection{U+2560} BOX DRAWINGS DOUBLE VERTICAL AND RIGHT +% \begin{macro}{\textSFxlii} +% \begin{macrocode} +\pmbd@UniDef\textSFxlii{2560} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2560} +% \begin{macrocode} +\@namedef{pmbd@U+2560}{% + \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} +% \end{macro} +% +% \subsubsection{U+2561} BOX DRAWINGS VERTICAL SINGLE AND LEFT DOUBLE +% \begin{macro}{\textSFxix} +% \begin{macrocode} +\pmbd@UniDef\textSFxix{2561} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2561} +% \begin{macrocode} +\@namedef{pmbd@U+2561}{% + \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} +% \end{macro} +% +% \subsubsection{U+2562} BOX DRAWINGS VERTICAL DOUBLE AND LEFT SINGLE +% \begin{macro}{\textSFxx} +% \begin{macrocode} +\pmbd@UniDef\textSFxx{2562} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2562} +% \begin{macrocode} +\@namedef{pmbd@U+2562}{% + \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} +% \end{macro} +% +% \subsubsection{U+2563} BOX DRAWINGS DOUBLE VERTICAL AND LEFT +% \begin{macro}{\textSFxxiii} +% \begin{macrocode} +\pmbd@UniDef\textSFxxiii{2563} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2563} +% \begin{macrocode} +\@namedef{pmbd@U+2563}{% + \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} +% \end{macro} +% +% \subsubsection{U+2564} BOX DRAWINGS DOWN SINGLE AND HORIZONTAL DOUBLE +% \begin{macro}{\textSFxlvii} +% \begin{macrocode} +\pmbd@UniDef\textSFxlvii{2564} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2564} +% \begin{macrocode} +\@namedef{pmbd@U+2564}{% + \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} +% \end{macro} +% +% \subsubsection{U+2565} BOX DRAWINGS DOWN DOUBLE AND HORIZONTAL SINGLE +% \begin{macro}{\textSFxlviii} +% \begin{macrocode} +\pmbd@UniDef\textSFxlviii{2565} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2565} +% \begin{macrocode} +\@namedef{pmbd@U+2565}{% + \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} +% \end{macro} +% +% \subsubsection{U+2566} BOX DRAWINGS DOUBLE DOWN AND HORIZONTAL +% \begin{macro}{\textSFxli} +% \begin{macrocode} +\pmbd@UniDef\textSFxli{2566} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2566} +% \begin{macrocode} +\@namedef{pmbd@U+2566}{% + \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} +% \end{macro} +% +% \subsubsection{U+2567} BOX DRAWINGS UP SINGLE AND HORIZONTAL DOUBLE +% \begin{macro}{\textSFxlv} +% \begin{macrocode} +\pmbd@UniDef\textSFxlv{2567} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2567} +% \begin{macrocode} +\@namedef{pmbd@U+2567}{% + \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} +% \end{macro} +% +% \subsubsection{U+2568} BOX DRAWINGS UP DOUBLE AND HORIZONTAL SINGLE +% \begin{macro}{\textSFxlvi} +% \begin{macrocode} +\pmbd@UniDef\textSFxlvi{2568} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2568} +% \begin{macrocode} +\@namedef{pmbd@U+2568}{% + \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} +% \end{macro} +% +% \subsubsection{U+2569} BOX DRAWINGS DOUBLE UP AND HORIZONTAL +% \begin{macro}{\textSFxl} +% \begin{macrocode} +\pmbd@UniDef\textSFxl{2569} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+2569} +% \begin{macrocode} +\@namedef{pmbd@U+2569}{% + \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} +% \end{macro} +% +% \subsubsection{U+256A} BOX DRAWINGS VERTICAL SINGLE AND HORIZONTAL DOUBLE +% \begin{macro}{\textSFliv} +% \begin{macrocode} +\pmbd@UniDef\textSFliv{256A} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+256A} +% \begin{macrocode} +\@namedef{pmbd@U+256A}{% + \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} +% \end{macro} +% +% \subsubsection{U+256B} BOX DRAWINGS VERTICAL DOUBLE AND HORIZONTAL SINGLE +% \begin{macro}{\textSFliii} +% \begin{macrocode} +\pmbd@UniDef\textSFliii{256B} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+256B} +% \begin{macrocode} +\@namedef{pmbd@U+256B}{% + \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} +% \end{macro} +% +% \subsubsection{U+256C} BOX DRAWINGS DOUBLE VERTICAL AND HORIZONTAL +% \begin{macro}{\textSFxliv} +% \begin{macrocode} +\pmbd@UniDef\textSFxliv{256C} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\pmbd@U+256C} +% \begin{macrocode} +\@namedef{pmbd@U+256C}{% + \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} +% \end{macro} +% +% \subsubsection{U+2574} BOX DRAWINGS LIGHT LEFT +% \begin{macro}{\pmbd@U+2574} +% \begin{macrocode} +\@namedef{pmbd@U+2574}{% + \pmbd@BeginDraw X-% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule{.5\pmbd@W}\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2575} BOX DRAWINGS LIGHT UP +% \begin{macro}{\pmbd@U+2575} +% \begin{macrocode} +\@namedef{pmbd@U+2575}{% + \pmbd@BeginDraw X-% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \kern.5\pmbd@C +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax + \pmbd@Rule\pmbd@Thin\pmbd@H{-.5\pmbd@H}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2576} BOX DRAWINGS LIGHT RIGHT +% \begin{macro}{\pmbd@U+2576} +% \begin{macrocode} +\@namedef{pmbd@U+2576}{% + \pmbd@BeginDraw X-% + \kern.5\pmbd@W +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule{.5\pmbd@W}\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2577} BOX DRAWINGS LIGHT DOWN +% \begin{macro}{\pmbd@U+2577} +% \begin{macrocode} +\@namedef{pmbd@U+2577}{% + \pmbd@BeginDraw X-% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \kern.5\pmbd@C +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax + \pmbd@Rule\pmbd@Thin{.5\pmbd@H}\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2578} BOX DRAWINGS HEAVY LEFT +% \begin{macro}{\pmbd@U+2578} +% \begin{macrocode} +\@namedef{pmbd@U+2578}{% + \pmbd@BeginDraw -X% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule{.5\pmbd@W}\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+2579} BOX DRAWINGS HEAVY UP +% \begin{macro}{\pmbd@U+2579} +% \begin{macrocode} +\@namedef{pmbd@U+2579}{% + \pmbd@BeginDraw -X% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \kern.5\pmbd@C +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax + \pmbd@Rule\pmbd@Thick\pmbd@H{-.5\pmbd@H}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+257A} BOX DRAWINGS HEAVY RIGHT +% \begin{macro}{\pmbd@U+257A} +% \begin{macrocode} +\@namedef{pmbd@U+257A}{% + \pmbd@BeginDraw -X% + \kern.5\pmbd@W +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule{.5\pmbd@W}\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+257B} BOX DRAWINGS HEAVY DOWN +% \begin{macro}{\pmbd@U+257B} +% \begin{macrocode} +\@namedef{pmbd@U+257B}{% + \pmbd@BeginDraw -X% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \kern.5\pmbd@C +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax + \pmbd@Rule\pmbd@Thick{.5\pmbd@H}\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+257C} BOX DRAWINGS LIGHT LEFT AND HEAVY RIGHT +% \begin{macro}{\pmbd@U+257C} +% \begin{macrocode} +\@namedef{pmbd@U+257C}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule{.5\pmbd@W}\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule{.5\pmbd@W}\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+257D} BOX DRAWINGS LIGHT UP AND HEAVY DOWN +% \begin{macro}{\pmbd@U+257D} +% \begin{macrocode} +\@namedef{pmbd@U+257D}{% + \pmbd@BeginDraw XX% + \rlap{% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \kern.5\pmbd@C +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax + \pmbd@Rule\pmbd@Thin\pmbd@H{-.5\pmbd@H}% + }% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \kern.5\pmbd@C +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax + \pmbd@Rule\pmbd@Thick{.5\pmbd@H}\z@ + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+257E} BOX DRAWINGS HEAVY LEFT AND LIGHT RIGHT +% \begin{macro}{\pmbd@U+257E} +% \begin{macrocode} +\@namedef{pmbd@U+257E}{% + \pmbd@BeginDraw XX% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thick +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thick +$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thick\relax +& \pmbd@Rule{.5\pmbd@W}\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thick\relax}% +$ \pmbd@A=\pmbd@H +$ \advance\pmbd@A\pmbd@Thin +$ \pmbd@A=.5\pmbd@A +$ \pmbd@B=-\pmbd@A +$ \advance\pmbd@B\pmbd@Thin +$ \pmbd@Rule{.5\pmbd@W}\pmbd@A\pmbd@B +& \pmbd@A=.5\dimexpr\pmbd@H+\pmbd@Thin\relax +& \pmbd@Rule{.5\pmbd@W}\pmbd@A +& {\dimexpr-\pmbd@A+\pmbd@Thin\relax}% + \pmbd@EndBox +} +% \end{macrocode} +% \end{macro} +% +% \subsubsection{U+257F} BOX DRAWINGS HEAVY UP AND LIGHT DOWN +% \begin{macro}{\pmbd@U+257F} +% \begin{macrocode} +\@namedef{pmbd@U+257F}{% + \pmbd@BeginDraw XX% + \rlap{% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thick +$ \kern.5\pmbd@C +& \kern.5\dimexpr\pmbd@W-\pmbd@Thick\relax + \pmbd@Rule\pmbd@Thick\pmbd@H{-.5\pmbd@H}% + }% +$ \pmbd@C=\pmbd@W +$ \advance\pmbd@C-\pmbd@Thin +$ \kern.5\pmbd@C +& \kern.5\dimexpr\pmbd@W-\pmbd@Thin\relax + \pmbd@Rule\pmbd@Thin{.5\pmbd@H}\z@ + \pmbd@EndBox +} +% \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} +% +% +% \begin{macrocode} +\pmbd@AtEnd% +% +% \end{macrocode} +% +% \subsection{Unicode support file} +% +% \begin{macrocode} +%<*utf8> +\ProvidesFile{pmboxdrawenc.dfu}% + [2019/12/05 v1.4 UTF-8 support for box drawing characters]% +% \end{macrocode} +% +% \begin{macrocode} +\DeclareUnicodeCharacter{2500}{\textSFx} +\DeclareUnicodeCharacter{2501}{\pmboxdrawuni{2501}} +\DeclareUnicodeCharacter{2502}{\textSFxi} +\DeclareUnicodeCharacter{2503}{\pmboxdrawuni{2503}} +\DeclareUnicodeCharacter{250C}{\textSFi} +\DeclareUnicodeCharacter{250D}{\pmboxdrawuni{250D}} +\DeclareUnicodeCharacter{250E}{\pmboxdrawuni{250E}} +\DeclareUnicodeCharacter{250F}{\pmboxdrawuni{250F}} +\DeclareUnicodeCharacter{2510}{\textSFiii} +\DeclareUnicodeCharacter{2511}{\pmboxdrawuni{2511}} +\DeclareUnicodeCharacter{2512}{\pmboxdrawuni{2512}} +\DeclareUnicodeCharacter{2513}{\pmboxdrawuni{2513}} +\DeclareUnicodeCharacter{2514}{\textSFii} +\DeclareUnicodeCharacter{2515}{\pmboxdrawuni{2515}} +\DeclareUnicodeCharacter{2516}{\pmboxdrawuni{2516}} +\DeclareUnicodeCharacter{2517}{\pmboxdrawuni{2517}} +\DeclareUnicodeCharacter{2518}{\textSFiv} +\DeclareUnicodeCharacter{2519}{\pmboxdrawuni{2519}} +\DeclareUnicodeCharacter{251A}{\pmboxdrawuni{251A}} +\DeclareUnicodeCharacter{251B}{\pmboxdrawuni{251B}} +\DeclareUnicodeCharacter{251C}{\textSFviii} +\DeclareUnicodeCharacter{251D}{\pmboxdrawuni{251D}} +\DeclareUnicodeCharacter{251E}{\pmboxdrawuni{251E}} +\DeclareUnicodeCharacter{251F}{\pmboxdrawuni{251F}} +\DeclareUnicodeCharacter{2520}{\pmboxdrawuni{2520}} +\DeclareUnicodeCharacter{2521}{\pmboxdrawuni{2521}} +\DeclareUnicodeCharacter{2522}{\pmboxdrawuni{2522}} +\DeclareUnicodeCharacter{2523}{\pmboxdrawuni{2523}} +\DeclareUnicodeCharacter{2524}{\textSFix} +\DeclareUnicodeCharacter{252C}{\textSFvi} +\DeclareUnicodeCharacter{252D}{\pmboxdrawuni{252D}} +\DeclareUnicodeCharacter{252E}{\pmboxdrawuni{252E}} +\DeclareUnicodeCharacter{252F}{\pmboxdrawuni{252F}} +\DeclareUnicodeCharacter{2530}{\pmboxdrawuni{2530}} +\DeclareUnicodeCharacter{2531}{\pmboxdrawuni{2531}} +\DeclareUnicodeCharacter{2532}{\pmboxdrawuni{2532}} +\DeclareUnicodeCharacter{2533}{\pmboxdrawuni{2533}} +\DeclareUnicodeCharacter{2534}{\textSFvii} +\DeclareUnicodeCharacter{2535}{\pmboxdrawuni{2535}} +\DeclareUnicodeCharacter{2536}{\pmboxdrawuni{2536}} +\DeclareUnicodeCharacter{2537}{\pmboxdrawuni{2537}} +\DeclareUnicodeCharacter{2538}{\pmboxdrawuni{2538}} +\DeclareUnicodeCharacter{2539}{\pmboxdrawuni{2539}} +\DeclareUnicodeCharacter{253A}{\pmboxdrawuni{253A}} +\DeclareUnicodeCharacter{253B}{\pmboxdrawuni{253B}} +\DeclareUnicodeCharacter{253C}{\textSFv} +\DeclareUnicodeCharacter{253D}{\pmboxdrawuni{253D}} +\DeclareUnicodeCharacter{253E}{\pmboxdrawuni{253E}} +\DeclareUnicodeCharacter{253F}{\pmboxdrawuni{253F}} +\DeclareUnicodeCharacter{2540}{\pmboxdrawuni{2540}} +\DeclareUnicodeCharacter{2541}{\pmboxdrawuni{2541}} +\DeclareUnicodeCharacter{2542}{\pmboxdrawuni{2542}} +\DeclareUnicodeCharacter{2543}{\pmboxdrawuni{2543}} +\DeclareUnicodeCharacter{2544}{\pmboxdrawuni{2544}} +\DeclareUnicodeCharacter{2545}{\pmboxdrawuni{2545}} +\DeclareUnicodeCharacter{2546}{\pmboxdrawuni{2546}} +\DeclareUnicodeCharacter{2547}{\pmboxdrawuni{2547}} +\DeclareUnicodeCharacter{2548}{\pmboxdrawuni{2548}} +\DeclareUnicodeCharacter{2549}{\pmboxdrawuni{2549}} +\DeclareUnicodeCharacter{254A}{\pmboxdrawuni{254A}} +\DeclareUnicodeCharacter{254B}{\pmboxdrawuni{254B}} +\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{2574}{\pmboxdrawuni{2574}} +\DeclareUnicodeCharacter{2575}{\pmboxdrawuni{2575}} +\DeclareUnicodeCharacter{2576}{\pmboxdrawuni{2576}} +\DeclareUnicodeCharacter{2577}{\pmboxdrawuni{2577}} +\DeclareUnicodeCharacter{2578}{\pmboxdrawuni{2578}} +\DeclareUnicodeCharacter{2579}{\pmboxdrawuni{2579}} +\DeclareUnicodeCharacter{257A}{\pmboxdrawuni{257A}} +\DeclareUnicodeCharacter{257B}{\pmboxdrawuni{257B}} +\DeclareUnicodeCharacter{257C}{\pmboxdrawuni{257C}} +\DeclareUnicodeCharacter{257D}{\pmboxdrawuni{257D}} +\DeclareUnicodeCharacter{257E}{\pmboxdrawuni{257E}} +\DeclareUnicodeCharacter{257F}{\pmboxdrawuni{257F}} +\DeclareUnicodeCharacter{2580}{\textupblock} +\DeclareUnicodeCharacter{2581}{\pmboxdrawuni{2581}} +\DeclareUnicodeCharacter{2582}{\pmboxdrawuni{2582}} +\DeclareUnicodeCharacter{2583}{\pmboxdrawuni{2583}} +\DeclareUnicodeCharacter{2584}{\textdnblock} +\DeclareUnicodeCharacter{2585}{\pmboxdrawuni{2585}} +\DeclareUnicodeCharacter{2586}{\pmboxdrawuni{2586}} +\DeclareUnicodeCharacter{2587}{\pmboxdrawuni{2587}} +\DeclareUnicodeCharacter{2588}{\textblock} +\DeclareUnicodeCharacter{2589}{\pmboxdrawuni{2589}} +\DeclareUnicodeCharacter{258A}{\pmboxdrawuni{258A}} +\DeclareUnicodeCharacter{258B}{\pmboxdrawuni{258B}} +\DeclareUnicodeCharacter{258C}{\textlfblock} +\DeclareUnicodeCharacter{258D}{\pmboxdrawuni{258D}} +\DeclareUnicodeCharacter{258E}{\pmboxdrawuni{258E}} +\DeclareUnicodeCharacter{258F}{\pmboxdrawuni{258F}} +\DeclareUnicodeCharacter{2590}{\textrtblock} +\DeclareUnicodeCharacter{2591}{\textltshade} +\DeclareUnicodeCharacter{2592}{\textshade} +\DeclareUnicodeCharacter{2593}{\textdkshade} +\DeclareUnicodeCharacter{2594}{\pmboxdrawuni{2594}} +\DeclareUnicodeCharacter{2595}{\pmboxdrawuni{2595}} +\DeclareUnicodeCharacter{2596}{\pmboxdrawuni{2596}} +\DeclareUnicodeCharacter{2597}{\pmboxdrawuni{2597}} +\DeclareUnicodeCharacter{2598}{\pmboxdrawuni{2598}} +\DeclareUnicodeCharacter{2599}{\pmboxdrawuni{2599}} +\DeclareUnicodeCharacter{259A}{\pmboxdrawuni{259A}} +\DeclareUnicodeCharacter{259B}{\pmboxdrawuni{259B}} +\DeclareUnicodeCharacter{259C}{\pmboxdrawuni{259C}} +\DeclareUnicodeCharacter{259D}{\pmboxdrawuni{259D}} +\DeclareUnicodeCharacter{259E}{\pmboxdrawuni{259E}} +\DeclareUnicodeCharacter{259F}{\pmboxdrawuni{259F}} +% \end{macrocode} +% +% \begin{macrocode} +% +% \end{macrocode} +%% \section{Installation} +% +% \subsection{Download} +% +% \paragraph{Package.} This package is available on +% CTAN\footnote{\CTANpkg{pmboxdraw}}: +% \begin{description} +% \item[\CTAN{macros/latex/contrib/pmboxdraw/pmboxdraw.dtx}] The source file. +% \item[\CTAN{macros/latex/contrib/pmboxdraw/pmboxdraw.pdf}] Documentation. +% \end{description} +% +% +% \paragraph{Bundle.} All the packages of the bundle `pmboxdraw' +% 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[\CTANinstall{install/macros/latex/contrib/pmboxdraw.tds.zip}] +% \end{description} +% \emph{TDS} refers to the standard ``A Directory Structure +% for \TeX\ Files'' (\CTANpkg{tds}). Directories +% with \xfile{texmf} in their name are usually organized this way. +% +% \subsection{Bundle installation} +% +% \paragraph{Unpacking.} Unpack the \xfile{pmboxdraw.tds.zip} in the +% TDS tree (also known as \xfile{texmf} tree) of your choice. +% Example (linux): +% \begin{quote} +% |unzip pmboxdraw.tds.zip -d ~/texmf| +% \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/pmboxdraw/pmboxdraw.sty\\ +% pmboxdrawenc.dfu & tex/latex/pmboxdraw/pmboxdrawenc.dfu\\ +% pmboxdraw.pdf & doc/latex/pmboxdraw/pmboxdraw.pdf\\ +% pmboxdraw.dtx & source/latex/pmboxdraw/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 +% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh +% these. For example, \TeX\,Live\ users run \verb|texhash| or +% \verb|mktexlsr|. +% +% \subsection{Some details for the interested} +% +% \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, +% \CTANpkg{inputenx}. +% +% \bibitem{aglfn} +% Adobe Systems Incorporated, +% Adobe Glyph List for New Fonts (AGLFN), version 1.5, 2005/09/18, +% \url{https://github.com/adobe-type-tools/agl-aglfn/blob/master/aglfn.txt}. +% +% \bibitem{2500} +% Unicode Inc., +% The Unicode Standard, Version 4.1, Box Drawing, Range: 2500--257F, +% 2005. +% \url{https://www.unicode.org/charts/PDF/U2500.pdf} +% +% \bibitem{2580} +% Unicode Inc., +% The Unicode Standard, Version 4.1, Block Elements, Range: 2580--259F, +% 2005. +% \url{https://www.unicode.org/charts/PDF/U2580.pdf} +% +% \end{thebibliography} +% +% \begin{History} +% \begin{Version}{2006/05/03 v1.0} +% \item +% First version. +% \end{Version} +% \begin{Version}{2011/03/24 v1.1} +% \item +% Support of more characters. +% \item +% Catcode section added. +% \end{Version} +% \begin{Version}{2016/05/16 v1.2} +% \item +% Documentation updates. +% \end{Version} +% \begin{Version}{2019/02/28 v1.3} +% \item +% Fix character U+257F (gh issue 59) +% \end{Version} +% \begin{Version}{2019/12/05 v1.4} +% \item +% Documentation updates. +% \end{Version} +% \end{History} +% +% \PrintIndex +% +% \Finale +\endinput diff --git a/macros/latex/contrib/pmboxdraw/pmboxdraw.pdf b/macros/latex/contrib/pmboxdraw/pmboxdraw.pdf new file mode 100644 index 0000000000..a136b0e530 Binary files /dev/null and b/macros/latex/contrib/pmboxdraw/pmboxdraw.pdf differ diff --git a/macros/latex/contrib/rerunfilecheck/README.md b/macros/latex/contrib/rerunfilecheck/README.md new file mode 100644 index 0000000000..325e343e02 --- /dev/null +++ b/macros/latex/contrib/rerunfilecheck/README.md @@ -0,0 +1,11 @@ +# rerunfilecheck + +rerunfilecheck for LaTeX + + + +The package provides additional rerun warnings if some +auxiliary files have changed. It is based on MD5 checksum, +provided by pdfTeX. + + diff --git a/macros/latex/contrib/rerunfilecheck/rerunfilecheck.dtx b/macros/latex/contrib/rerunfilecheck/rerunfilecheck.dtx new file mode 100644 index 0000000000..1418675669 --- /dev/null +++ b/macros/latex/contrib/rerunfilecheck/rerunfilecheck.dtx @@ -0,0 +1,921 @@ +% \iffalse meta-comment +% +% File: rerunfilecheck.dtx +% Version: 2019/12/05 v1.9 +% Info: Rerun checks for auxiliary files +% +% Copyright (C) +% 2009-2011 Heiko Oberdiek +% 2016-2019 Oberdiek Package Support Group +% https://github.com/ho-tex/rerunfilecheck/issues +% +% This work may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either +% version 1.3c of this license or (at your option) any later +% version. This version of this license is in +% https://www.latex-project.org/lppl/lppl-1-3c.txt +% and the latest version of this license is in +% https://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". +% +% The Current Maintainers of this work are +% Heiko Oberdiek and the Oberdiek Package Support Group +% https://github.com/ho-tex/rerunfilecheck/issues +% +% This work consists of the main source file rerunfilecheck.dtx +% and the derived files +% rerunfilecheck.sty, rerunfilecheck.pdf, rerunfilecheck.ins, +% rerunfilecheck.drv, rerunfilecheck-example.cfg, +% rerunfilecheck-test1.tex. +% +% Distribution: +% CTAN:macros/latex/contrib/rerunfilecheck/rerunfilecheck.dtx +% CTAN:macros/latex/contrib/rerunfilecheck/rerunfilecheck.pdf +% +% Unpacking: +% (a) If rerunfilecheck.ins is present: +% tex rerunfilecheck.ins +% (b) Without rerunfilecheck.ins: +% tex rerunfilecheck.dtx +% (c) If you insist on using LaTeX +% latex \let\install=y\input{rerunfilecheck.dtx} +% (quote the arguments according to the demands of your shell) +% +% Documentation: +% (a) If rerunfilecheck.drv is present: +% latex rerunfilecheck.drv +% (b) Without rerunfilecheck.drv: +% latex rerunfilecheck.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 rerunfilecheck.dtx +% makeindex -s gind.ist rerunfilecheck.idx +% pdflatex rerunfilecheck.dtx +% makeindex -s gind.ist rerunfilecheck.idx +% pdflatex rerunfilecheck.dtx +% +% Installation: +% TDS:tex/latex/rerunfilecheck/rerunfilecheck.sty +% TDS:doc/latex/rerunfilecheck/rerunfilecheck.pdf +% TDS:doc/latex/rerunfilecheck/rerunfilecheck-example.cfg +% TDS:source/latex/rerunfilecheck/rerunfilecheck.dtx +% +%<*ignore> +\begingroup + \catcode123=1 % + \catcode125=2 % + \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: rerunfilecheck 2019/12/05 v1.9 Rerun checks for auxiliary files (HO)} +\Msg{************************************************************************} + +\keepsilent +\askforoverwritefalse + +\let\MetaPrefix\relax +\preamble + +This is a generated file. + +Project: rerunfilecheck +Version: 2019/12/05 v1.9 + +Copyright (C) + 2009-2011 Heiko Oberdiek + 2016-2019 Oberdiek Package Support Group + +This work may be distributed and/or modified under the +conditions of the LaTeX Project Public License, either +version 1.3c of this license or (at your option) any later +version. This version of this license is in + https://www.latex-project.org/lppl/lppl-1-3c.txt +and the latest version of this license is in + https://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". + +The Current Maintainers of this work are +Heiko Oberdiek and the Oberdiek Package Support Group +https://github.com/ho-tex/rerunfilecheck/issues + + +This work consists of the main source file rerunfilecheck.dtx +and the derived files + rerunfilecheck.sty, rerunfilecheck.pdf, rerunfilecheck.ins, + rerunfilecheck.drv, rerunfilecheck-example.cfg, + rerunfilecheck-test1.tex. + +\endpreamble +\let\MetaPrefix\DoubleperCent + +\generate{% + \file{rerunfilecheck.ins}{\from{rerunfilecheck.dtx}{install}}% + \file{rerunfilecheck.drv}{\from{rerunfilecheck.dtx}{driver}}% + \usedir{tex/latex/rerunfilecheck}% + \file{rerunfilecheck.sty}{\from{rerunfilecheck.dtx}{package}}% + \nopreamble + \nopostamble + \usedir{doc/latex/rerunfilecheck}% + \file{rerunfilecheck-example.cfg}{\from{rerunfilecheck.dtx}{cfg}}% +} + +\catcode32=13\relax% active space +\let =\space% +\Msg{************************************************************************} +\Msg{*} +\Msg{* To finish the installation you have to move the following} +\Msg{* file into a directory searched by TeX:} +\Msg{*} +\Msg{* rerunfilecheck.sty} +\Msg{*} +\Msg{* To produce the documentation run the file `rerunfilecheck.drv'} +\Msg{* through LaTeX.} +\Msg{*} +\Msg{* Happy TeXing!} +\Msg{*} +\Msg{************************************************************************} + +\endbatchfile +% +%<*ignore> +\fi +% +%<*driver> +\NeedsTeXFormat{LaTeX2e} +\ProvidesFile{rerunfilecheck.drv}% + [2019/12/05 v1.9 Rerun checks for auxiliary files (HO)]% +\documentclass{ltxdoc} +\usepackage{holtxdoc}[2011/11/22] +\begin{document} + \DocInput{rerunfilecheck.dtx}% +\end{document} +% +% \fi +% +% +% +% \GetFileInfo{rerunfilecheck.drv} +% +% \title{The \xpackage{rerunfilecheck} package} +% \date{2019/12/05 v1.9} +% \author{Heiko Oberdiek\thanks +% {Please report any issues at \url{https://github.com/ho-tex/rerunfilecheck/issues}}} +% +% \maketitle +% +% \begin{abstract} +% The package provides additional rerun warnings if some +% auxiliary files have changed. It is based on MD5 checksum, +% provided by \pdfTeX. +% \end{abstract} +% +% \tableofcontents +% +% \section{Documentation} +% +% \LaTeX\ informs the user, when to run \LaTeX\ again, if the +% references have changed. It has the old references from the +% first reading of the \xext{aux} files already in memory, thus +% it compares them with the new version of the \xext{aux} file +% at the end of the document. However this rerun warnings are +% not given for the table of contents and other data stored +% in the \xext{aux} files or other auxiliary files. +% Usually many of these data as the table of contents is not keep +% in memory. If someone wants to detect changes, he has either +% to keep the data in memory. This does not scale well with huge +% documents. Or he copies the file before they are changed. Slow +% I/O operations cost time. +% +% Since version 1.30.0 \pdfTeX\ provides \cs{pdfmdfivesum} +% and \cs{pdffilesize}. +% These features are also available in \LuaTeX, provided by package +% \xpackage{pdftexcmds}. +% Thus this package \xpackage{rerunfilecheck} uses these features to +% detect file changes. This saves the packages from keeping +% the whole files in memory or in file copies. +% The drawback are different files with the same size and the +% same MD5 checksum (seldom, hopefully). +% +% \subsection{Options} +% +% All options are key value options of boolean type. +% No option or |true| turns an option on, |false| disables +% an option. +% \begin{description} +% \item[\xoption{mainaux}:] +% Check the main \xext{aux} file. +% \item[\xoption{partaux}:] +% Check the \xext{aux} files from \cs{include} files. +% \item[\xoption{starttoc}:] +% Add the rerun checks in \cs{@starttoc} that is called by +% \cs{tableofcontents}, \cs{listoffigures}, \dots +% \item[\xoption{index}, \xoption{glossary}:] +% \LaTeX's original \cs{makeindex} and \cs{makeglossary} are +% redefined to add the rerun checks. The options do not have +% an effect, if \cs{makeindex}/\cs{makeglossary} are already +% called or if a package or class had redefined or will +% redefine them. +% \item[\xoption{aux}:] +% This option turns all previous options on or off. +% ``aux'' means auxiliary file. +% \end{description} +% The default for the options is |false|, because +% some internals must be redefined to insert the +% rerun checks. +% The options can be set in \cs{usepackage} or +% the configuration file \xfile{rerunfilecheck.cfg}. +% Global options are ignored (since 1.4). +% +% \begin{declcs}{RerunFileCheckSetup} \M{key value list} +% \end{declcs} +% Options can also be set using \cs{RerunFileCheckSetup}. +% Currently all options are disabled after the package +% is loaded. Thus \cs{RerunFileCheckSetup} makes sense in +% the configuration file only. +% +% Example for the configuration file: +% \begin{macrocode} +%<*cfg> +\ProvidesFile{rerunfilecheck.cfg}[2019/12/05 Default configuration]% +\RerunFileCheckSetup{aux} +% +% \end{macrocode} +% +% \subsection{Interface for class/package authors} +% +% \begin{declcs}{RerunFileCheck} \M{file} \M{file closing action} \M{rerun warning} +% \end{declcs} +% If you want to add a rerun check, call \cs{RerunFileCheck} right before +% an output file is opened for writing. The macro first remembers +% the current checksum of \meta{file}. +% The file is checked again right before the end of the job. +% Macro \cs{AtVeryEndDocument} of package \xpackage{atveryend} +% is used to place the check after the main aux file is closed +% in |\end{document}|. Before reading the file again, it must be +% closed. Provide the code for closing in argument \meta{file closing action}. +% Do not forget \cs{immediate} before \cs{openout}. Otherwise the +% closing action would be delayed to the next shipout that never happens +% (the last page is already shipped out). +% If the file has changed, \cs{RerunFileCheck} informs the user with +% a warning that the file has changed and says the magic word ``Rerun''. +% If the last argument \meta{rerun warning} is not empty, then +% the rerun sentence is replaced by it. Usually the phrase +% ``to get something right'' is added. +% As example the relevant part of the redefined \cs{makeindex} +% is shown, see package code: +%\begin{quote} +%\begin{verbatim} +%\newwrite\@indexfile +%\RerunFileCheck{\jobname.idx}{% +% \immediate\closeout\@indexfile +%}{% +% Rerun LaTeX/makeindex to get index right% +%}% +%\immediate\openout\@indexfile=\jobname.idx % +%\end{verbatim} +%\end{quote} +% +% \StopEventually{ +% } +% +% \section{Implementation} +% \begin{macrocode} +%<*package> +% \end{macrocode} +% +% \begin{macrocode} +\begingroup\catcode61\catcode48\catcode32=10\relax% + \catcode13=5 % ^^M + \endlinechar=13 % + \catcode123=1 % { + \catcode125=2 % } + \catcode64=11 % @ + \def\x{\endgroup + \expandafter\edef\csname ReFiCh@AtEnd\endcsname{% + \endlinechar=\the\endlinechar\relax + \catcode13=\the\catcode13\relax + \catcode32=\the\catcode32\relax + \catcode35=\the\catcode35\relax + \catcode61=\the\catcode61\relax + \catcode64=\the\catcode64\relax + \catcode123=\the\catcode123\relax + \catcode125=\the\catcode125\relax + }% + }% +\x\catcode61\catcode48\catcode32=10\relax% +\catcode13=5 % ^^M +\endlinechar=13 % +\catcode35=6 % # +\catcode64=11 % @ +\catcode123=1 % { +\catcode125=2 % } +\def\TMP@EnsureCode#1#2{% + \edef\ReFiCh@AtEnd{% + \ReFiCh@AtEnd + \catcode#1=\the\catcode#1\relax + }% + \catcode#1=#2\relax +} +\TMP@EnsureCode{39}{12}% ' +\TMP@EnsureCode{40}{12}% ( +\TMP@EnsureCode{41}{12}% ) +\TMP@EnsureCode{42}{12}% * +\TMP@EnsureCode{44}{12}% , +\TMP@EnsureCode{46}{12}% . +\TMP@EnsureCode{47}{12}% / +\TMP@EnsureCode{58}{12}% : +\TMP@EnsureCode{59}{12}% ; +\TMP@EnsureCode{60}{12}% < +\TMP@EnsureCode{62}{12}% > +\TMP@EnsureCode{91}{12}% [ +\TMP@EnsureCode{93}{12}% ] +\TMP@EnsureCode{96}{12}% ` +\edef\ReFiCh@AtEnd{\ReFiCh@AtEnd\noexpand\endinput} +% \end{macrocode} +% +% Package identification. +% \begin{macrocode} +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{rerunfilecheck}% + [2019/12/05 v1.9 Rerun checks for auxiliary files (HO)] +% \end{macrocode} +% +% \subsection{Options} +% +% \begin{macrocode} +\RequirePackage{kvoptions}[2010/02/22] +\SetupKeyvalOptions{% + family=rerunfilecheck,% + prefix=ReFiCh@% +} +% \end{macrocode} +% \begin{macro}{\RerunFileCheckSetup} +% \begin{macrocode} +\newcommand*{\RerunFileCheckSetup}{% + \setkeys{rerunfilecheck}% +} +% \end{macrocode} +% \end{macro} +% \begin{macrocode} +\DeclareBoolOption{mainaux} +\DeclareBoolOption{partaux} +\DeclareBoolOption{starttoc} +\DeclareBoolOption{index} +\DeclareBoolOption{glossary} +\define@key{rerunfilecheck}{aux}[true]{% + \RerunFileCheckSetup{% + mainaux={#1},% + partaux={#1},% + starttoc={#1},% + index={#1},% + glossary={#1}% + }% +} +% \end{macrocode} +% \begin{macrocode} +\InputIfFileExists{rerunfilecheck.cfg}{}{} +\ProcessLocalKeyvalOptions* +% \end{macrocode} +% +% \begin{macro}{\ReFiCh@DisableOption} +% \begin{macrocode} +\def\ReFiCh@DisableOption{% + \DisableKeyvalOption[% + action=warning,% + package=rerunfilecheck% + ]{rerunfilecheck}% +} +% \end{macrocode} +% \end{macro} +% +% \subsection{Check for checksum feature} +% +% \begin{macrocode} +\RequirePackage{infwarerr}[2007/09/09] +\RequirePackage{pdftexcmds}[2009/04/10] +% \end{macrocode} +% \begin{macrocode} +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname pdf@filemdfivesum\endcsname\relax + \@PackageInfoNoLine{rerunfilecheck}{% + Feature \string\pdfmdfivesum\space is not available\MessageBreak + (e.g. pdfTeX or LuaTeX with package `pdftexcmds').\MessageBreak + Therefore file contents cannot be checked efficiently\MessageBreak + and the loading of the package is aborted% + }% + \newcommand*{\RerunFileCheck}[3]{}% + \renewcommand*{\RerunFileCheckSetup}[1]{}% + \expandafter\ReFiCh@AtEnd +\fi% +% \end{macrocode} +% +% \subsection{Standard \xext{aux} files} +% +% \begin{macrocode} +\ifReFiCh@partaux + \let\ReFiCh@org@include\@include + \def\@include#1 {% + \if@filesw + \RerunFileCheck{#1.aux}{}{}% + \fi + \ReFiCh@org@include{#1} % + }% +\fi +\ifReFiCh@mainaux + \AtBeginDocument{% + \ReFiCh@mainauxfalse + }% + \ifReFiCh@mainaux + \AtEndOfPackage{% + \RerunFileCheck{\jobname.aux}{}{}% + }% + \else + \if@filesw + \@PackageWarningNoLine{rerunfilecheck}{% + Main aux file check is disabled,\MessageBreak + because the file is already opened.\MessageBreak + Load the package before \string\begin{document}% + }% + \fi + \fi +\fi +\ifReFiCh@starttoc + \let\ReFiCh@org@starttoc\@starttoc + \def\@starttoc#1{% + \if@filesw + \RerunFileCheck{\jobname.#1}{% + \@ifundefined{tf@#1}{% + }{% + \immediate\closeout\csname tf@#1\endcsname + }% + }{}% + \fi + \ReFiCh@org@starttoc{#1}% + }% +\fi +\ifReFiCh@index + \ifx\makeindex\@empty + \@PackageWarningNoLine{rerunfilecheck}{% + Option `index' ignored,\MessageBreak + because \string\makeindex\space has already been called% + }% + \else + \def\ReFiCh@temp{% + \newwrite\@indexfile + \immediate\openout\@indexfile=\jobname.idx % + \def\index{% + \@bsphack + \begingroup + \@sanitize + \@wrindex + }% + \typeout{Writing index file \jobname.idx}% + \let\makeindex\@empty + }% + \ifx\ReFiCh@temp\makeindex + \def\makeindex{% + \newwrite\@indexfile + \RerunFileCheck{\jobname.idx}{% + \immediate\closeout\@indexfile + }{% + Rerun LaTeX/makeindex to get index right% + }% + \immediate\openout\@indexfile=\jobname.idx % + \def\index{% + \@bsphack + \begingroup + \@sanitize + \@wrindex + }% + \typeout{Writing index file \jobname.idx}% + \let\makeindex\@empty + }% + \else + \@PackageInfoNoLine{rerunfilecheck}{% + Option `index': unsupported version of \string\makeindex + }% + \fi + \fi +\fi +\ifReFiCh@glossary + \ifx\makeglossary\@empty + \@PackageWarningNoLine{rerunfilecheck}{% + Option `glossary' ignored,\MessageBreak + because \string\makeglossary\space has already been called% + }% + \else + \def\ReFiCh@temp{% + \newwrite\@glossaryfile + \immediate\openout\@glossaryfile=\jobname.glo % + \def\glossary{% + \@bsphack + \begingroup + \@sanitize + \@wrglossary + }% + \typeout{Writing glossary file \jobname.glo }% + \let\makeglossary\@empty + }% + \ifx\ReFiCh@temp\makeglossary + \def\ReFiCh@temp{% + \newwrite\@glossaryfile + \RerunFileCheck{\jobname.glo}{% + \immediate\closeout\@glossaryfile + }{% + Rerun LaTeX/makeindex to get glossary right% + }% + \immediate\openout\@glossaryfile=\jobname.glo % + \def\glossary{% + \@bsphack + \begingroup + \@sanitize + \@wrglossary + }% + \typeout{Writing glossary file \jobname.glo}% + \let\makeglossary\@empty + }% + \else + \@PackageInfoNoLine{rerunfilecheck}{% + Option `glossary': unsupported version of \string\makeglossary + }% + \fi + \fi +\fi +\ReFiCh@DisableOption{mainaux} +\ReFiCh@DisableOption{partaux} +\ReFiCh@DisableOption{starttoc} +\ReFiCh@DisableOption{index} +\ReFiCh@DisableOption{glossary} +\ReFiCh@DisableOption{aux} +% \end{macrocode} +% +% \subsection{Rerun check} +% +% \begin{macrocode} +\RequirePackage{atveryend}[2019/12/05] +\RequirePackage{uniquecounter}[2009/12/18] +% \end{macrocode} +% +% \begin{macro}{\ReFiCh@CheckSum} +% \begin{macrocode} +\begingroup\expandafter\expandafter\expandafter\endgroup +\expandafter\ifx\csname pdf@filesize\endcsname\relax + \def\ReFiCh@CheckSum{% + \pdf@filemdfivesum + }% +\else + \def\ReFiCh@CheckSum#1{% + \pdf@filemdfivesum{#1}% + \ReFiCh@Separator + \pdf@filesize{#1}% + }% +\fi +% \end{macrocode} +% \end{macro} +% \begin{macro}{\ReFiCh@NoFile} +% \begin{macrocode} +\def\ReFiCh@Separator{;} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\ReFiCh@NoFile} +% \begin{macrocode} +\def\ReFiCh@NoFile{} +% \end{macrocode} +% \end{macro} +% +% \begin{macrocode} +\UniqueCounterNew{rerunfilecheck} +% \end{macrocode} +% +% \begin{macro}{\RerunFileCheck} +% \begin{macrocode} +\newcommand*{\RerunFileCheck}{% + \UniqueCounterCall{rerunfilecheck}\ReFiCh@RerunFileCheck +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\ReFiCh@RerunFileCheck} +% \begin{macrocode} +\def\ReFiCh@RerunFileCheck#1{% + \expandafter\ReFiCh@@RerunFileCheck\csname ReFiCh@#1\endcsname +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\ReFiCh@Check} +% \begin{macrocode} +\def\ReFiCh@Check#1#2#3{% +% \IfFileExists{#3}{% + #1\edef#2{\ReFiCh@CheckSum{#3}}% + \ifx#2\ReFiCh@Separator + #1\let#2\ReFiCh@NoFile + \fi +% }{% +% #1\let#2\ReFiCh@NoFile +% }% +} +% \end{macrocode} +% \end{macro} +% \begin{macro}{\ReFiCh@@RerunFileCheck} +% \begin{macrocode} +\def\ReFiCh@@RerunFileCheck#1#2#3#4{% + \ReFiCh@Check\global#1{#2}% + \AtEndAfterFileList{% + \begingroup + #3% + \ReFiCh@Check{}\x{#2}% + \ifx#1\x + \@PackageInfoNoLine{rerunfilecheck}{% + File `#2' has not changed.\MessageBreak + Checksum: \x + }% + \else + \ifnum + \ReFiCh@IsAux#2\relax.aux\relax\@nil + \ifx#1\ReFiCh@NoFile 1\else 0\fi + \ifx\x\ReFiCh@AuxEmptyUnix 1% + \else + \ifx\x\ReFiCh@AuxEmptyDos 1\fi + \fi + =111 % + \@PackageInfoNoLine{rerunfilecheck}{% + File `#2' is empty .aux file.\MessageBreak + Before: #1\MessageBreak + After: \space\x + }% + \else + \@PackageWarningNoLine{rerunfilecheck}{% + File `#2' has changed.% + \ifx\\#4\\% + \space Rerun% + \else + \MessageBreak + #4% + \fi + }% + \@PackageInfoNoLine{rerunfilecheck}{% + Checksums for `#2':\MessageBreak + Before: #1\MessageBreak + After: \space\x + }% + \fi + \fi + \endgroup + }% +} +% \end{macrocode} +% \end{macro} +% \begin{macrocode} +\def\ReFiCh@IsAux#1.aux\relax#2\@nil{% + \ifx\hbox#2\hbox + 0% + \else + 1% + \fi +} +% \end{macrocode} +% \begin{macrocode} +\def\ReFiCh@AuxEmptyUnix{A94A2480D3289E625EEA47CD1B285758;8}% +\@onelevel@sanitize\ReFiCh@AuxEmptyUnix +% \end{macrocode} +% \begin{macrocode} +\def\ReFiCh@AuxEmptyDos{A62A15ECE803E2EBE94952FCC9933BC0;9}% +\@onelevel@sanitize\ReFiCh@AuxEmptyDos +% \end{macrocode} +% +% \begin{macrocode} +\ReFiCh@AtEnd% +% +% \end{macrocode} +%% \section{Installation} +% +% \subsection{Download} +% +% \paragraph{Package.} This package is available on +% CTAN\footnote{\CTANpkg{rerunfilecheck}}: +% \begin{description} +% \item[\CTAN{macros/latex/contrib/rerunfilecheck/rerunfilecheck.dtx}] The source file. +% \item[\CTAN{macros/latex/contrib/rerunfilecheck/rerunfilecheck.pdf}] Documentation. +% \end{description} +% +% +% \paragraph{Bundle.} All the packages of the bundle `rerunfilecheck' +% 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[\CTANinstall{install/macros/latex/contrib/rerunfilecheck.tds.zip}] +% \end{description} +% \emph{TDS} refers to the standard ``A Directory Structure +% for \TeX\ Files'' (\CTANpkg{tds}). Directories +% with \xfile{texmf} in their name are usually organized this way. +% +% \subsection{Bundle installation} +% +% \paragraph{Unpacking.} Unpack the \xfile{rerunfilecheck.tds.zip} in the +% TDS tree (also known as \xfile{texmf} tree) of your choice. +% Example (linux): +% \begin{quote} +% |unzip rerunfilecheck.tds.zip -d ~/texmf| +% \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 rerunfilecheck.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@{}} +% rerunfilecheck.sty & tex/latex/rerunfilecheck/rerunfilecheck.sty\\ +% rerunfilecheck.pdf & doc/latex/rerunfilecheck/rerunfilecheck.pdf\\ +% rerunfilecheck-example.cfg & doc/latex/rerunfilecheck/rerunfilecheck-example.cfg\\ +% rerunfilecheck.dtx & source/latex/rerunfilecheck/rerunfilecheck.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 +% (\TeX\,Live, \mikTeX, \dots) relies on file name databases, you must refresh +% these. For example, \TeX\,Live\ users run \verb|texhash| or +% \verb|mktexlsr|. +% +% \subsection{Some details for the interested} +% +% \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{rerunfilecheck.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 rerunfilecheck.dtx +%makeindex -s gind.ist rerunfilecheck.idx +%pdflatex rerunfilecheck.dtx +%makeindex -s gind.ist rerunfilecheck.idx +%pdflatex rerunfilecheck.dtx +%\end{verbatim} +% \end{quote} +% +% \begin{History} +% \begin{Version}{2009/12/10 v1.0} +% \item +% The first version. +% \end{Version} +% \begin{Version}{2009/12/12 v1.1} +% \item +% Short info shortened. +% \end{Version} +% \begin{Version}{2009/12/18 v1.2} +% \item +% Required date for package \xpackage{uniquecounter} updated +% because of bug in this package. +% \end{Version} +% \begin{Version}{2010/01/25 v1.3} +% \item +% Moved from \texttt{TDS:*/generic/*} to \texttt{TDS:*/latex/*}. +% \end{Version} +% \begin{Version}{2010/02/22 v1.4} +% \item +% The options of this package are recognized only if they are +% package options. Global options are ignored. This avoids +% name clashes with class and other package options +% (for example, class option `index=totoc'). +% \end{Version} +% \begin{Version}{2010/03/15 v1.5} +% \item +% Call of \cs{pdffivesum} is wrapped in \cs{IfFileExists} to avoid +% calls of \textsf{mktextex} if this feature is enabled. +% However \cs{IfFileExists} has file name limitations. +% \end{Version} +% \begin{Version}{2010/03/16 v1.6} +% \item +% Reverted to version 1.4 and \cs{IfFileExists} wrapper of +% version 1.5 is removed. +% \end{Version} +% \begin{Version}{2011/04/15 v1.7} +% \item +% Using \cs{AtEndAfterFileList} of package \xpackage{atveryend} +% 2011/04/15 v1.6 instead of \cs{AtVeryEndDocument}. +% \end{Version} +% \begin{Version}{2016/05/16 v1.8} +% \item +% Documentation updates. +% \end{Version} +% \begin{Version}{2019/12/05 v1.9} +% \item +% Documentation updates. +% \end{Version} +% \end{History} +% +% \PrintIndex +% +% \Finale +\endinput diff --git a/macros/latex/contrib/rerunfilecheck/rerunfilecheck.pdf b/macros/latex/contrib/rerunfilecheck/rerunfilecheck.pdf new file mode 100644 index 0000000000..1bbf8a13e6 Binary files /dev/null and b/macros/latex/contrib/rerunfilecheck/rerunfilecheck.pdf differ -- cgit v1.2.3