diff options
author | Karl Berry <karl@freefriends.org> | 2022-12-27 21:25:42 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2022-12-27 21:25:42 +0000 |
commit | f8117d512e6a26e2dfe3994584cca9be0d5432df (patch) | |
tree | 27c73adb2517d41525932263e7cf1aba7ef84eb4 /Master/texmf-dist/tex/latex/resmes | |
parent | 2775b86cdc8086d0e204908ff728180cf01345c4 (diff) |
resmes (27dec22)
git-svn-id: svn://tug.org/texlive/trunk@65375 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/resmes')
-rw-r--r-- | Master/texmf-dist/tex/latex/resmes/resmes.sty | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/resmes/resmes.sty b/Master/texmf-dist/tex/latex/resmes/resmes.sty new file mode 100644 index 00000000000..a005dd349ba --- /dev/null +++ b/Master/texmf-dist/tex/latex/resmes/resmes.sty @@ -0,0 +1,37 @@ +%% +%% This is file `resmes.sty', +%% generated with the docstrip utility. +%% +%% The original source files were: +%% +%% resmes.dtx (with options: `package') +%% +%% This is a generated file. +%% +%% resmes Restriction of measures symbol in LaTeX +%% +%% Copyright (c) 2022 Paolo +%% +%% Licensed under MIT (https://github.com/Loara/resmes/blob/main/LICENSE) +%% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{resmes}[2022/12/27 v1.0 Restriction of measures symbol in LaTeX] +\RequirePackage{xparse} +\RequirePackage{tikz} + +\NewDocumentCommand{\ress@D}{}{ + \tikz{\draw[thick, join=round, cap=round] (0.24, 0) -- (0,0) -- (0, 0.24);}} +\NewDocumentCommand{\ress@T}{}{ + \tikz{\draw[semithick, join=round, cap=round] (0.23, 0) -- (0,0) -- (0, 0.23);}} +\NewDocumentCommand{\ress@S}{}{ + \,\tikz{\draw[thin, join=round] (0.154, 0) -- (0,0) -- (0, 0.154);}} +\NewDocumentCommand{\ress@SS}{}{ + \tikz{\draw[very thin, join=round] (0.11, 0) -- (0,0) -- (0, 0.11);}} + +\NewDocumentCommand{\resmes}{}{ + \mathchoice{\mathbin{\ress@D}}{\mathbin{\ress@T}} + {\mathbin{\ress@S}}{\mathbin{\ress@SS}}} + +\endinput +%% +%% End of file `resmes.sty'. |