diff options
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty | 90 |
1 files changed, 90 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty new file mode 100644 index 00000000000..b858e141ee8 --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty @@ -0,0 +1,90 @@ +%% +%% This is file `lwarp-textcomp.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `textcomp') +%% This is a generated file. +%% Copyright 2016-2017 Brian Dunn +%% +%% This work may be distributed and/or modified under the +%% conditions of the LaTeX Project Public License, either version 1.3 +%% of this license or (at your option) any later version. +%% The latest version of this license is in +%% http://www.latex-project.org/lppl.txt +%% and version 1.3 or later is part of all distributions of LaTeX +%% version 2005/12/01 or later. + +\LWR@ProvidesPackagePass{textcomp} +\let\LWR@origtextdegree\textdegree +\let\LWR@origtextcelsius\textcelsius +\let\LWR@origtextohm\textohm +\let\LWR@origtextmu\textmu +\LetLtxMacro\LWR@origcapitalcedilla\capitalcedilla +\LetLtxMacro\LWR@origcapitalogonek\capitalogonek +\LetLtxMacro\LWR@origcapitalgrave\capitalgrave +\LetLtxMacro\LWR@origcapitalacute\capitalacute +\LetLtxMacro\LWR@origcapitalcircumflex\capitalcircumflex +\LetLtxMacro\LWR@origcapitaltilde\capitaltilde +\LetLtxMacro\LWR@origcapitaldieresis\capitaldieresis +\LetLtxMacro\LWR@origcapitalhungarumlaut\capitalhungarumlaut +\LetLtxMacro\LWR@origcapitalring\capitalring +\LetLtxMacro\LWR@origcapitalcaron\capitalcaron +\LetLtxMacro\LWR@origcapitalbreve\capitalbreve +\LetLtxMacro\LWR@origcapitalmacron\capitalmacron +\LetLtxMacro\LWR@origcapitaldotaccent\capitaldotaccent +\LetLtxMacro\LWR@origtextcircled\textcircled +\ifPDFTeX +\renewcommand*{\textdegree}{\HTMLentity{deg}} +\renewcommand*{\textcelsius}{\HTMLentity{deg}\,C} +\renewcommand*{\textohm}{\HTMLunicode{2126}} +\renewcommand*{\textmu}{\HTMLunicode{00B5}} +\else +\renewcommand*{\textdegree}{°} +\renewcommand*{\textcelsius}{°C} +\renewcommand*{\textohm}{Ω} +\renewcommand*{\textmu}{μ} +\fi +\renewcommand*{\capitalcedilla}[1]{#1\HTMLunicode{0327}} +\renewcommand*{\capitalogonek}[1]{#1\HTMLunicode{0328}} +\renewcommand*{\capitalgrave}[1]{#1\HTMLunicode{0300}} +\renewcommand*{\capitalacute}[1]{#1\HTMLunicode{0301}} +\renewcommand*{\capitalcircumflex}[1]{#1\HTMLunicode{0302}} +\renewcommand*{\capitaltilde}[1]{#1\HTMLunicode{0303}} +\renewcommand*{\capitaldieresis}[1]{#1\HTMLunicode{0308}} +\renewcommand*{\capitalhungarumlaut}[1]{#1\HTMLunicode{30B}} +\renewcommand*{\capitalring}[1]{#1\HTMLunicode{30A}} +\renewcommand*{\capitalcaron}[1]{#1\HTMLunicode{30C}} +\renewcommand*{\capitalbreve}[1]{#1\HTMLunicode{306}} +\renewcommand*{\capitalmacron}[1]{#1\HTMLunicode{304}} +\renewcommand*{\capitaldotaccent}[1]{#1\HTMLunicode{307}} +\renewcommand*{\textcircled}[1]{% +\InlineClass[border: 1px solid \LWR@currenttextcolor]{textcircled}{#1}% +} +\let\LWR@restoreorigtextcomp\relax + +\newcommand*{\LWR@restoreorigtextcomp}{% +\let\textdegree\LWR@origtextdegree% +\let\textcelsius\LWR@origtextcelsius% +\let\textohm\LWR@origtextohm% +\let\textmu\LWR@origtextmu% +\LetLtxMacro\capitalcedilla\LWR@origcapitalcedilla% +\LetLtxMacro\capitalogonek\LWR@origcapitalogonek% +\LetLtxMacro\capitalgrave\LWR@origcapitalgrave% +\LetLtxMacro\capitalacute\LWR@origcapitalacute% +\LetLtxMacro\capitalcircumflex\LWR@origcapitalcircumflex% +\LetLtxMacro\capitaltilde\LWR@origcapitaltilde% +\LetLtxMacro\capitaldieresis\LWR@origcapitaldieresis% +\LetLtxMacro\capitalhungarumlaut\LWR@origcapitalhungarumlaut% +\LetLtxMacro\capitalring\LWR@origcapitalring% +\LetLtxMacro\capitalcaron\LWR@origcapitalcaron% +\LetLtxMacro\capitalbreve\LWR@origcapitalbreve% +\LetLtxMacro\capitalmacron\LWR@origcapitalmacron% +\LetLtxMacro\capitaldotaccent\LWR@origcapitaldotaccent% +\LetLtxMacro\textcircled\LWR@origtextcircled% +} + +\endinput +%% +%% End of file `lwarp-textcomp.sty'. |