summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2013-04-03 22:39:33 +0000
committerKarl Berry <karl@freefriends.org>2013-04-03 22:39:33 +0000
commit65adc6776381cf64641ee845fa85afcd7fa0cd20 (patch)
tree62398ded316eef87123f4a89de6b787c4433b83a /Master
parent219f4d3b5633ec6d9b845de0dfb58c5e32087960 (diff)
roundbox (3apr13)
git-svn-id: svn://tug.org/texlive/trunk@29633 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rwxr-xr-xMaster/texmf-dist/doc/latex/roundbox/README25
-rwxr-xr-xMaster/texmf-dist/tex/latex/roundbox/roundbox.sty69
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rw-r--r--Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/roundbox.tlpsrc0
5 files changed, 96 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/roundbox/README b/Master/texmf-dist/doc/latex/roundbox/README
new file mode 100755
index 00000000000..4250d4e9229
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/roundbox/README
@@ -0,0 +1,25 @@
+_________________
+The roundbox package
+v0.2
+
+This package implements \roundbox command that can be used
+for producing round boxes in LaTeX.
+
+General syntax: \roundbox{This is a test.}
+
+If you want to report any bugs or typos and corrections in the documentation,
+or ask for any new features, or suggest any improvements, or ask any questions
+about the package, then please do not send any direct emails to us; we will not
+answer any direct emails. Instead please use the issue tracker:
+ <https://github.com/persian-tex/roundbox/issues>
+In doing so, please always explain your issue well enough, always include
+a minimal working examples showing the issue, and always choose the appropriate
+label for your query (i.e. if you are reporting any bugs, choose `bug' label).
+
+Current version release date: 2013/04/04
+______________
+Persian TeX Group
+persiantexdev@gmail.com
+
+Copyright 2010–2013
+Distributed under the LaTeX Project Public License
diff --git a/Master/texmf-dist/tex/latex/roundbox/roundbox.sty b/Master/texmf-dist/tex/latex/roundbox/roundbox.sty
new file mode 100755
index 00000000000..508e3e4295d
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/roundbox/roundbox.sty
@@ -0,0 +1,69 @@
+%%
+%% This is file `roundbox.sty',
+
+%%
+%% __________________________________
+%% Copyright © 2010–2013 Persian TeX Group
+%%
+%% License information appended.
+%%
+%%
+\NeedsTeXFormat{LaTeX2e}
+\ProvidesPackage{roundbox}[2013/04/04 v0.2 round boxes in LaTeX]
+\def\vb@xt@{\vbox to}
+\long\def\@roundbox#1{{\chardef\lub=\@ne \chardef\rub=\tw@
+ \chardef\llb=\thr@@ \chardef\rlb=\f@ur
+ \ifdim\fboxrule > 0.4pt \let\cf=\tencircw \else \let\cf=\tencirc \fi
+ \boxmaxdepth\maxdimen
+ \setbox\@temprbox=\hbox{\hskip\hrboxsep#1\relax\hskip\hrboxsep}%
+ \setbox\z@=\hbox{\cf\char19}\@tempdima=0.5\wd\z@ \dimen@=\@tempdima
+ \advance\@tempdima\fboxrule
+ \setbox\lub\hb@xt@\dimen@{\cf\char19\hss}%
+ \setbox\llb\hb@xt@\dimen@{\cf\char18\hss}%
+ \setbox\rub\hb@xt@\@tempdima{\hskip\dimen@\cf\char16\hss}%
+ \setbox\rlb\hb@xt@\@tempdima{\hskip\dimen@\cf\char17\hss}%
+ \setbox\lub\vb@xt@ \z@{\vss\box\lub}%
+ \setbox\rub\vb@xt@ \z@{\vss\box\rub}%
+ \setbox\llb\vb@xt@ \@tempdima{\box\llb\vss}%
+ \setbox\rlb\vb@xt@ \@tempdima{\box\rlb\vss}%
+ \setbox\@temprbox=\vbox{\vskip \vrboxsep \box\@temprbox \vskip \vrboxsep}%
+ \setbox\@tempboxa\vbox{\offinterlineskip
+ \@dorowbox\lub\rub \dimen@=\ht\@temprbox
+ \advance\dimen@-\dp\lub \advance\dimen@-\ht\llb
+ \advance\dimen@-\dp\rub \advance\dimen@-\ht\rlb
+ \ifdim\dimen@ > \p@
+ \hb@xt@\wd\@temprbox{\vrule \@width \fboxrule
+ \vb@xt@\dimen@{\dimen@=\wd\@temprbox
+ \advance\dimen@-2\fboxrule
+ \hb@xt@\dimen@{\hss}\vfill}\vrule \@width \fboxrule}\fi
+ \vss\@dorowbox\llb\rlb}%
+ \setbox\@tempboxa\hbox{{$\vcenter{\box\@tempboxa}$}}%
+ \setbox\@temprbox\hbox{{$\vcenter{\box\@temprbox}$}}%
+ \leavevmode\hbox to\wd\@temprbox{\box\@tempboxa\hss\box\@temprbox}%
+}}
+\long\def\roundbox#1{\@roundbox{\hbox{#1}}}
+\def\@dorowbox#1#2{{\dimen@=\wd#1\advance\dimen@ \wd#2%
+ \advance\dimen@\fboxrule
+ \hb@xt@\wd\@temprbox{\box#1%
+ \ifdim\wd\@temprbox > \dimen@ \leaders\hrule \@height\fboxrule\hfill
+ \else \hss \fi \box#2}}}
+\@ifundefined{vrboxsep}{\newdimen\vrboxsep\vrboxsep=7.2pt}{}
+\@ifundefined{hrboxsep}{\newdimen\hrboxsep\hrboxsep=4pt}{}
+\@ifundefined{@temprbox}{\newbox\@temprbox}{}
+\@ifundefined{f@ur}{\chardef\f@ur4}{}
+\endinput
+%%
+%% Copyright © 2010–2013 by Persian TeX Group <persiantexdev@gmail.com>
+%%
+%% Distributable under the LaTeX Project Public License,
+%% version 1.3c or higher (your choice). The latest version of
+%% this license is at: http://www.latex-project.org/lppl.txt
+%%
+%% This work is "maintained" (as per LPPL maintenance status)
+%% by Persian TeX Group.
+%%
+%%
+%%
+%%
+%%
+%% End of file `roundbox.sty'.
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 46fa908cac1..a97166ff7d0 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -369,7 +369,7 @@ my @TLP_working = qw(
resumecls resumemac reverxii revtex
rjlparshap rlepsf rmpage
robustcommand robustindex romanbar romande romanneg romannum romansh
- rotating rotfloat rotpages
+ rotating rotfloat rotpages roundbox
rrgtrees rsc rsfs rsfso
rtkinenc rtklage russ rviewport rvwrite ryethesis
sa-tikz sageep sansmath sansmathaccent sapthesis sasnrdisplay sauerj
diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
index fe93ede92fd..63ff477d60e 100644
--- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
@@ -666,6 +666,7 @@ depend romannum
depend romansh
depend rotfloat
depend rotpages
+depend roundbox
depend rtkinenc
depend rvwrite
depend sauerj
diff --git a/Master/tlpkg/tlpsrc/roundbox.tlpsrc b/Master/tlpkg/tlpsrc/roundbox.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/roundbox.tlpsrc