diff options
author | Karl Berry <karl@freefriends.org> | 2018-07-07 20:46:58 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-07-07 20:46:58 +0000 |
commit | c1b657195f44402f5c3e6183d1746cfc6f91791a (patch) | |
tree | 7839988d393f90738918cc07f848d7276941eceb /Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty | |
parent | b5906151f91070a3372cf1fe25efa06fd070a0d1 (diff) |
lwarp (7jul18)
git-svn-id: svn://tug.org/texlive/trunk@48159 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty')
-rw-r--r-- | Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty | 208 |
1 files changed, 88 insertions, 120 deletions
diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty index 598d512b8ad..4630ec117a8 100644 --- a/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-textcomp.sty @@ -18,133 +18,101 @@ \LWR@ProvidesPackagePass{textcomp} -\let\LWR@origtextdegree\textdegree -\let\LWR@origtextcelsius\textcelsius -\let\LWR@origtextohm\textohm -\let\LWR@origtextmu\textmu -\let\LWR@origtextlquill\textlquill -\let\LWR@origtextrquill\textrquill -\let\LWR@origtextcircledP\textcircledP -\let\LWR@origtexttwelveudash\texttwelveudash -\let\LWR@origtextthreequartersemdash\textthreequartersemdash -\let\LWR@origtextmho\textmho -\let\LWR@origtextnaira\textnaira -\let\LWR@origtextpeso\textpeso -\let\LWR@origtextrecipe\textrecipe -\let\LWR@origtextinterrobangdown\textinterrobangdown -\let\LWR@origtextperthousand\textperthousand -\let\LWR@origtextpertenthousand\textpertenthousand -\let\LWR@origtextbaht\textbaht -\let\LWR@origtextdiscount\textdiscount -\let\LWR@origtextservicemark\textservicemark -\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 \AtBeginDocument{ \ifPDFTeX -\renewcommand*{\textdegree}{\HTMLentity{deg}} -\renewcommand*{\textcelsius}{\HTMLunicode{2103}} -\renewcommand*{\textohm}{\HTMLunicode{2126}} -\renewcommand*{\textmu}{\HTMLunicode{00B5}} -\renewcommand*{\textlquill}{\HTMLunicode{2045}} -\renewcommand*{\textrquill}{\HTMLunicode{2046}} -\renewcommand*{\textcircledP}{\HTMLunicode{2117}} -\renewcommand*{\texttwelveudash}{\HTMLunicode{2014}}% emdash -\renewcommand*{\textthreequartersemdash}{\HTMLunicode{2014}}% emdash -\renewcommand*{\textmho}{\HTMLunicode{2127}} -\renewcommand*{\textnaira}{\HTMLunicode{20A6}} -\renewcommand*{\textpeso}{\HTMLunicode{20B1}} -\renewcommand*{\textrecipe}{\HTMLunicode{211E}} -\renewcommand*{\textinterrobangdown}{\HTMLunicode{2E18}} -\renewcommand*{\textperthousand}{\HTMLunicode{2030}} -\renewcommand*{\textpertenthousand}{\HTMLunicode{2031}} -\renewcommand*{\textbaht}{\HTMLunicode{0E3F}} -\renewcommand*{\textdiscount}{\%} -\renewcommand*{\textservicemark}{\HTMLunicode{2120}} +\newcommand*{\LWR@HTML@textdegree}{\HTMLentity{deg}} +\newcommand*{\LWR@HTML@textcelsius}{\HTMLunicode{2103}} +\newcommand*{\LWR@HTML@textohm}{\HTMLunicode{2126}} +\newcommand*{\LWR@HTML@textmu}{\HTMLunicode{00B5}} +\newcommand*{\LWR@HTML@textlquill}{\HTMLunicode{2045}} +\newcommand*{\LWR@HTML@textrquill}{\HTMLunicode{2046}} +\newcommand*{\LWR@HTML@textcircledP}{\HTMLunicode{2117}} +\newcommand*{\LWR@HTML@texttwelveudash}{\HTMLunicode{2014}}% emdash +\newcommand*{\LWR@HTML@textthreequartersemdash}{\HTMLunicode{2014}}% emdash +\newcommand*{\LWR@HTML@textmho}{\HTMLunicode{2127}} +\newcommand*{\LWR@HTML@textnaira}{\HTMLunicode{20A6}} +\newcommand*{\LWR@HTML@textpeso}{\HTMLunicode{20B1}} +\newcommand*{\LWR@HTML@textrecipe}{\HTMLunicode{211E}} +\newcommand*{\LWR@HTML@textinterrobangdown}{\HTMLunicode{2E18}} +\newcommand*{\LWR@HTML@textperthousand}{\HTMLunicode{2030}} +\newcommand*{\LWR@HTML@textpertenthousand}{\HTMLunicode{2031}} +\newcommand*{\LWR@HTML@textbaht}{\HTMLunicode{0E3F}} +\newcommand*{\LWR@HTML@textdiscount}{\%} +\newcommand*{\LWR@HTML@textservicemark}{\HTMLunicode{2120}} \else -\renewcommand*{\textdegree}{°} -\renewcommand*{\textcelsius}{℃} -\renewcommand*{\textohm}{Ω} -\renewcommand*{\textmu}{µ} -\renewcommand*{\textlquill}{⁅} -\renewcommand*{\textrquill}{⁆} -\renewcommand*{\textcircledP}{℗} -\renewcommand*{\texttwelveudash}{—}% emdash -\renewcommand*{\textthreequartersemdash}{—}% emdash -\renewcommand*{\textmho}{℧} -\renewcommand*{\textnaira}{₦} -\renewcommand*{\textpeso}{₱} -\renewcommand*{\textrecipe}{℞} -\renewcommand*{\textinterrobangdown}{⸘} -\renewcommand*{\textperthousand}{‰} -\renewcommand*{\textpertenthousand}{‱} -\renewcommand*{\textbaht}{฿} -\renewcommand*{\textdiscount}{\%} -\renewcommand*{\textservicemark}{℠} +\newcommand*{\LWR@HTML@textdegree}{°} +\newcommand*{\LWR@HTML@textcelsius}{℃} +\newcommand*{\LWR@HTML@textohm}{Ω} +\newcommand*{\LWR@HTML@textmu}{µ} +\newcommand*{\LWR@HTML@textlquill}{⁅} +\newcommand*{\LWR@HTML@textrquill}{⁆} +\newcommand*{\LWR@HTML@textcircledP}{℗} +\newcommand*{\LWR@HTML@texttwelveudash}{—}% emdash +\newcommand*{\LWR@HTML@textthreequartersemdash}{—}% emdash +\newcommand*{\LWR@HTML@textmho}{℧} +\newcommand*{\LWR@HTML@textnaira}{₦} +\newcommand*{\LWR@HTML@textpeso}{₱} +\newcommand*{\LWR@HTML@textrecipe}{℞} +\newcommand*{\LWR@HTML@textinterrobangdown}{⸘} +\newcommand*{\LWR@HTML@textperthousand}{‰} +\newcommand*{\LWR@HTML@textpertenthousand}{‱} +\newcommand*{\LWR@HTML@textbaht}{฿} +\newcommand*{\LWR@HTML@textdiscount}{\%} +\newcommand*{\LWR@HTML@textservicemark}{℠} \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]{% + +\LWR@formatted{textdegree} +\LWR@formatted{textcelsius} +\LWR@formatted{textohm} +\LWR@formatted{textmu} +\LWR@formatted{textlquill} +\LWR@formatted{textrquill} +\LWR@formatted{textcircledP} +\LWR@formatted{texttwelveudash} +\LWR@formatted{textthreequartersemdash} +\LWR@formatted{textmho} +\LWR@formatted{textnaira} +\LWR@formatted{textpeso} +\LWR@formatted{textrecipe} +\LWR@formatted{textinterrobangdown} +\LWR@formatted{textperthousand} +\LWR@formatted{textpertenthousand} +\LWR@formatted{textbaht} +\LWR@formatted{textdiscount} +\LWR@formatted{textservicemark} +\newcommand*{\LWR@HTML@capitalcedilla}[1]{#1\HTMLunicode{0327}} +\newcommand*{\LWR@HTML@capitalogonek}[1]{#1\HTMLunicode{0328}} +\newcommand*{\LWR@HTML@capitalgrave}[1]{#1\HTMLunicode{0300}} +\newcommand*{\LWR@HTML@capitalacute}[1]{#1\HTMLunicode{0301}} +\newcommand*{\LWR@HTML@capitalcircumflex}[1]{#1\HTMLunicode{0302}} +\newcommand*{\LWR@HTML@capitaltilde}[1]{#1\HTMLunicode{0303}} +\newcommand*{\LWR@HTML@capitaldieresis}[1]{#1\HTMLunicode{0308}} +\newcommand*{\LWR@HTML@capitalhungarumlaut}[1]{#1\HTMLunicode{30B}} +\newcommand*{\LWR@HTML@capitalring}[1]{#1\HTMLunicode{30A}} +\newcommand*{\LWR@HTML@capitalcaron}[1]{#1\HTMLunicode{30C}} +\newcommand*{\LWR@HTML@capitalbreve}[1]{#1\HTMLunicode{306}} +\newcommand*{\LWR@HTML@capitalmacron}[1]{#1\HTMLunicode{304}} +\newcommand*{\LWR@HTML@capitaldotaccent}[1]{#1\HTMLunicode{307}} +\newcommand*{\LWR@HTML@textcircled}[1]{% \InlineClass[border: 1px solid \LWR@currenttextcolor]{textcircled}{#1}% } + +\LWR@formatted{capitalcedilla} +\LWR@formatted{capitalogonek} +\LWR@formatted{capitalgrave} +\LWR@formatted{capitalacute} +\LWR@formatted{capitalcircumflex} +\LWR@formatted{capitaltilde} +\LWR@formatted{capitaldieresis} +\LWR@formatted{capitalhungarumlaut} +\LWR@formatted{capitalring} +\LWR@formatted{capitalcaron} +\LWR@formatted{capitalbreve} +\LWR@formatted{capitalmacron} +\LWR@formatted{capitaldotaccent} +\LWR@formatted{textcircled} + }% AtBeginDocument -\appto\LWR@restoreorigformatting{% -\let\textdegree\LWR@origtextdegree% -\let\textcelsius\LWR@origtextcelsius% -\let\textohm\LWR@origtextohm% -\let\textmu\LWR@origtextmu% -\let\textlquill\LWR@origtextlquill% -\let\textrquill\LWR@origtextrquill% -\let\textcircledP\LWR@origtextcircledP% -\let\texttwelveudash\LWR@origtexttwelveudash% -\let\textthreequartersemdash\LWR@origtextthreequartersemdash% -\let\textmho\LWR@origtextmho% -\let\textnaira\LWR@origtextnaira% -\let\textpeso\LWR@origtextpeso% -\let\textrecipe\LWR@origtextrecipe% -\let\textinterrobangdown\LWR@origtextinterrobangdown% -\let\textperthousand\LWR@origtextperthousand% -\let\textpertenthousand\LWR@origtextpertenthousand% -\let\textbaht\LWR@origtextbaht% -\let\textdiscount\LWR@origtextdiscount% -\let\textservicemark\LWR@origtextservicemark% -\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'. |