diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/oberdiek/accsupp.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/oberdiek/accsupp.sty | 26 |
1 files changed, 24 insertions, 2 deletions
diff --git a/Master/texmf-dist/tex/latex/oberdiek/accsupp.sty b/Master/texmf-dist/tex/latex/oberdiek/accsupp.sty index a26caed005b..c4ba9b1bcd5 100644 --- a/Master/texmf-dist/tex/latex/oberdiek/accsupp.sty +++ b/Master/texmf-dist/tex/latex/oberdiek/accsupp.sty @@ -8,7 +8,7 @@ %% %% This is a generated file. %% -%% Copyright (C) 2007 by Heiko Oberdiek <oberdiek@uni-freiburg.de> +%% Copyright (C) 2007, 2010 by Heiko Oberdiek <oberdiek@uni-freiburg.de> %% %% This work may be distributed and/or modified under the %% conditions of the LaTeX Project Public License, either @@ -73,7 +73,7 @@ \g@addto@macro\ACCSUPP@AtEnd{\endinput} \NeedsTeXFormat{LaTeX2e} \ProvidesPackage{accsupp}% - [2007/11/14 v0.2 Accessibility support by marked content (HO)] + [2010/01/16 v0.3 Accessibility support by marked content (HO)] \RequirePackage{pdfescape}[2007/02/25] \RequirePackage{ifpdf} \RequirePackage{ifxetex} @@ -82,6 +82,9 @@ family=ACCSUPP,% prefix=ACCSUPP@% } +\DeclareBoolOption{space} +\DeclareStringOption[phvr8r]{spacefont} +\DeclareStringOption[32]{spacechar} \def\ACCSUPP@DefineDriverKey{% \@dblarg\ACCSUPP@@DefineDriverKey } @@ -214,6 +217,7 @@ >>% }% \ACCSUPP@bdc + \ACCSUPP@space \endgroup } \newcommand*{\EndAccSupp}[1]{% @@ -222,6 +226,24 @@ \ACCSUPP@emc \endgroup } +\def\ACCSUPP@space{% + \ifACCSUPP@space + \begingroup + \@ifundefined{ACCSUPP@Font}{% + \global\font\ACCSUPP@Font=\ACCSUPP@spacefont\relax + }{}% + \leavevmode + \setbox\z@\hbox{\ACCSUPP@Font\char\ACCSUPP@spacechar}% + \wd\z@\z@ + \ht\z@\z@ + \dp\z@\z@ + \copy\z@ + \endgroup + \fi +} +\newcommand*{\AccSuppSetup}{% + \setkeys{ACCSUPP}% +} \def\ACCSUPP@method@plain#1{% \csname @safe@activestrue\endcsname \edef#1{% |