From 3c806bd4ccf248e9411683a41ef534d1a909bc99 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Thu, 6 Apr 2017 00:32:26 +0000 Subject: lwarp (6Apr) git-svn-id: svn://tug.org/texlive/trunk@43705 c570f23f-e606-0410-a88d-b1316a301751 --- Master/texmf-dist/tex/latex/lwarp/lwarp-soul.sty | 69 ++++++++++++++++++++++++ 1 file changed, 69 insertions(+) create mode 100644 Master/texmf-dist/tex/latex/lwarp/lwarp-soul.sty (limited to 'Master/texmf-dist/tex/latex/lwarp/lwarp-soul.sty') diff --git a/Master/texmf-dist/tex/latex/lwarp/lwarp-soul.sty b/Master/texmf-dist/tex/latex/lwarp/lwarp-soul.sty new file mode 100644 index 00000000000..1561eae959c --- /dev/null +++ b/Master/texmf-dist/tex/latex/lwarp/lwarp-soul.sty @@ -0,0 +1,69 @@ +%% +%% This is file `lwarp-soul.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% lwarp.dtx (with options: `soul') +%% 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@ProvidesPackageDrop{soul} +\newcommand*{\LWR@soululcolor}{} + +\newcommand*{\LWR@soulstcolor}{} + +\newcommand*{\LWR@soulhlcolor}{} +\newcommand{\so}[1]{\InlineClass{letterspacing}{#1}} +\newcommand{\caps}[1]{\InlineClass{capsspacing}{#1}} +\newcommand{\LWR@soulcolor}[4]{% +\ifcsempty{#2}% +{% +\InlineClass{#3}{#1}}% +{% +\convertcolorspec{named}{\csuse{#2}}{HTML}\LWR@tempcolor% +\InlineClass{#3}[#4: \#\LWR@tempcolor]{#1}% +}% +} + +\newcommand{\ul}[1]{% +\LWR@soulcolor{#1}{LWR@soululcolor}{uline}{text-decoration-color}% +} + +\newcommand{\st}[1]{ +\LWR@soulcolor{#1}{LWR@soulstcolor}{sout}{text-decoration-color}% +} + +\newcommand{\hl}[1]{ +\LWR@soulcolor{#1}{LWR@soulhlcolor}{highlight}{background-color}% +} +\newcommand*{\soulaccent}[1]{} +\newcommand*{\soulregister}[2]{} +\newcommand{\sloppyword}[1]{#1} +\newcommand*{\sodef}[5]{\DeclareRobustCommand*#1[1]{\so{##1}}} +\newcommand*{\resetso}{} +\newcommand*{\capsdef}[5]{} +\newcommand*{\capsreset}{} +\newcommand*{\capssave}[1]{} +\newcommand*{\capsselect}[1]{} +\newcommand*{\setul}[2]{} +\newcommand*{\resetul}{} +\newcommand*{\setuldepth}[1]{} +\newcommand*{\setuloverlap}[1]{} +\newcommand*{\setulcolor}[1]{\renewcommand{\LWR@soululcolor}{#1}} +\newcommand*{\setstcolor}[1]{\renewcommand{\LWR@soulstcolor}{#1}} +\newcommand*{\sethlcolor}[1]{\renewcommand{\LWR@soulhlcolor}{#1}} +\let\textso\so +\let\textul\ul +\let\texthl\hl +\let\textcaps\caps +\endinput +%% +%% End of file `lwarp-soul.sty'. -- cgit v1.2.3