summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Master/texmf-dist/doc/latex/resmes/README.md9
-rw-r--r--Master/texmf-dist/doc/latex/resmes/resmes.pdfbin0 -> 69170 bytes
-rw-r--r--Master/texmf-dist/source/latex/resmes/resmes.dtx76
-rw-r--r--Master/texmf-dist/source/latex/resmes/resmes.ins43
-rw-r--r--Master/texmf-dist/tex/latex/resmes/resmes.sty37
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rw-r--r--Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/resmes.tlpsrc0
8 files changed, 167 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/resmes/README.md b/Master/texmf-dist/doc/latex/resmes/README.md
new file mode 100644
index 00000000000..0847b2a1a5e
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/resmes/README.md
@@ -0,0 +1,9 @@
+# resmes
+Restriction of measure in LaTeX
+
+## Package usage
+Just put in your preamble
+
+ \usepackage{resmes}
+
+It provides command `\resmes` that prints measure restriction symbol.
diff --git a/Master/texmf-dist/doc/latex/resmes/resmes.pdf b/Master/texmf-dist/doc/latex/resmes/resmes.pdf
new file mode 100644
index 00000000000..ab9bb70f9e1
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/resmes/resmes.pdf
Binary files differ
diff --git a/Master/texmf-dist/source/latex/resmes/resmes.dtx b/Master/texmf-dist/source/latex/resmes/resmes.dtx
new file mode 100644
index 00000000000..7497320eaf8
--- /dev/null
+++ b/Master/texmf-dist/source/latex/resmes/resmes.dtx
@@ -0,0 +1,76 @@
+% \iffalse meta-comment
+%
+% resmes Restriction of measures symbol in LaTeX
+%
+% Copyright (c) 2022 Paolo
+%
+% Licensed under MIT (https://github.com/Loara/resmes/blob/main/LICENSE)
+%
+% \fi
+%
+% \iffalse
+%<*driver>
+\ProvidesFile{resmes.dtx}[2022/12/27 v1.0 Restriction of measures symbol in LaTeX]
+%</driver>
+%<package>\NeedsTeXFormat{LaTeX2e}
+%<package>\ProvidesPackage{resmes}[2022/12/27 v1.0 Restriction of measures symbol in LaTeX]
+%<package>\RequirePackage{xparse}
+%<package>\RequirePackage{tikz}
+%<*driver>
+\documentclass{ltxdoc}
+\usepackage{resmes}
+\begin{document}
+\DocInput{resmes.dtx}
+\end{document}
+%</driver>
+% \fi
+%
+%\newcommand{\thpkg}{\texttt{resmes}}
+%
+%\title{\thpkg}
+%\author{Paolo De Donato}
+%\date{2022/21/27\ v1.0}
+%
+%\maketitle
+%
+% This package defines the |\resmes| command in order to print measure restriction symbol. For example in mathmode
+% \begin{verbatim}
+% \mu\resmes A
+% \end{verbatim}
+% expands as
+% \[
+% \mu\resmes A
+% \]
+%
+% This package works also in inline math mode ($\mu\resmes A$) and in subscript/superscript emvironments ($a^{\mu\resmes A}, b_{c^{\mu\resmes A}}$).
+%\StopEventually
+%
+%\section{Implementation}
+% \begin{macrocode}
+%<*package>
+% \end{macrocode}
+%
+% \begin{macrocode}
+
+\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}}}
+
+% \end{macrocode}
+%
+% \begin{macrocode}
+%</package>
+% \end{macrocode}
+%
+%\Finale
+%
+%\PrintIndex
diff --git a/Master/texmf-dist/source/latex/resmes/resmes.ins b/Master/texmf-dist/source/latex/resmes/resmes.ins
new file mode 100644
index 00000000000..58950cc8809
--- /dev/null
+++ b/Master/texmf-dist/source/latex/resmes/resmes.ins
@@ -0,0 +1,43 @@
+%%
+%% resmes Restriction of measures symbol in LaTeX
+%%
+%% Copyright (c) 2022 Paolo
+%%
+%% Licensed under MIT (https://github.com/Loara/resmes/blob/main/LICENSE)
+%%
+
+\input l3docstrip.tex
+\keepsilent
+
+\usedir{tex/latex/resmes}
+
+\preamble
+
+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)
+
+\endpreamble
+
+\askforoverwritefalse
+\generate{\file{resmes.sty}{\from{resmes.dtx}{package}}}
+
+\obeyspaces
+\Msg{:^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^)}
+\Msg{(*^.^*)}
+\Msg{*-* Hey dude, remember you have to move the following file *-*}
+\Msg{(*^.^*)}
+\Msg{resmes.sty}
+\Msg{(*^.^*)}
+\Msg{*-* into a directory searched by TeX!! *-*}
+\Msg{*-* To produce the documentation look it up on the Internet. *-*}
+\Msg{(*^.^*)}
+\Msg{*-* See ya! *-*}
+\Msg{(*^.^*)}
+\Msg{:^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^) :^)}
+
+\endbatchfile
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'.
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 83fbd6ea9e0..b292a4482b9 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -700,7 +700,7 @@ my @TLP_working = qw(
refcheck refcount refenums reflectgraphics refman refstyle
regcount regexpatch register regstats
reledmac relenc relsize reotex repeatindex repere repltext
- rerunfilecheck rescansync resphilosophica rest-api
+ rerunfilecheck rescansync resmes resphilosophica rest-api
resumecls resumemac returntogrid reverxii revquantum revtex revtex4-1
rgltxdoc ribbonproofs rjlparshap rlepsf rmathbr rmpage
robotarm roboto robustcommand robustindex rojud
diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
index f88351a19e4..4dc4a146b65 100644
--- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
@@ -1122,6 +1122,7 @@ depend relsize
depend repeatindex
depend repltext
depend rescansync
+depend resmes
depend returntogrid
depend rgltxdoc
depend rjlparshap
diff --git a/Master/tlpkg/tlpsrc/resmes.tlpsrc b/Master/tlpkg/tlpsrc/resmes.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/resmes.tlpsrc