summaryrefslogtreecommitdiff
path: root/Master
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2011-05-14 22:30:24 +0000
committerKarl Berry <karl@freefriends.org>2011-05-14 22:30:24 +0000
commit937f42e344ee749b7fa0b175ad026955bf90c9fd (patch)
treef3198ff78f5db3d1d4addf4544ee838e37d6fe3c /Master
parent636ed5625494c64416dcd3a484300de499e07b10 (diff)
new latex package xhfill 1.00 (13may11)
git-svn-id: svn://tug.org/texlive/trunk@22475 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r--Master/texmf-dist/doc/latex/xhfill/Changes3
-rw-r--r--Master/texmf-dist/doc/latex/xhfill/Makefile35
-rw-r--r--Master/texmf-dist/doc/latex/xhfill/xhfill-doc.pdfbin0 -> 39376 bytes
-rw-r--r--Master/texmf-dist/doc/latex/xhfill/xhfill-doc.tex102
-rw-r--r--Master/texmf-dist/tex/latex/xhfill/xhfill.sty64
-rwxr-xr-xMaster/tlpkg/bin/tlpkg-ctan-check2
-rw-r--r--Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc1
-rw-r--r--Master/tlpkg/tlpsrc/xhfill.tlpsrc0
8 files changed, 206 insertions, 1 deletions
diff --git a/Master/texmf-dist/doc/latex/xhfill/Changes b/Master/texmf-dist/doc/latex/xhfill/Changes
new file mode 100644
index 00000000000..851f00de936
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xhfill/Changes
@@ -0,0 +1,3 @@
+xhfill.sty --------
+1.00 2011-05-13 initial CTAN version
+
diff --git a/Master/texmf-dist/doc/latex/xhfill/Makefile b/Master/texmf-dist/doc/latex/xhfill/Makefile
new file mode 100644
index 00000000000..f065fefe59a
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xhfill/Makefile
@@ -0,0 +1,35 @@
+
+# `Makefile' for `pst-3dplot.pdf', hv, 2007/03/17
+
+.SUFFIXES : .tex .ltx pdf
+
+PACKAGE = xhfill
+
+MAIN = $(PACKAGE)-doc
+
+LATEX = pdflatex
+
+ARCHNAME = $(MAIN)-$(shell date +%y%m%d)
+
+ARCHFILES = $(PACKAGE).sty $(PACKAGE).tex $(PACKAGE).pro $(MAIN).tex README Changes Makefile
+
+all : doc clean tds
+doc: $(MAIN).pdf
+
+$(MAIN).pdf : $(MAIN).tex
+ $(LATEX) $<
+ if ! test -f $(basename $<).glo ; then touch $(basename $<).glo; fi
+ if ! test -f $(basename $<).idx ; then touch $(basename $<).idx; fi
+ $(LATEX) $<
+
+clean :
+ $(RM) $(addprefix $(MAIN), .log .aux .glg .glo .gls .ilg .idx .ind .tmp .toc .out .blg .bbl )
+ $(RM) $(addprefix $(MAIN), .xcp)
+
+veryclean : clean
+ $(RM) $(addprefix $(MAIN), .pdf .bbl .blg)
+
+arch :
+ zip $(ARCHNAME).zip $(ARCHFILES)
+
+# EOF
diff --git a/Master/texmf-dist/doc/latex/xhfill/xhfill-doc.pdf b/Master/texmf-dist/doc/latex/xhfill/xhfill-doc.pdf
new file mode 100644
index 00000000000..099f9b8ac85
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xhfill/xhfill-doc.pdf
Binary files differ
diff --git a/Master/texmf-dist/doc/latex/xhfill/xhfill-doc.tex b/Master/texmf-dist/doc/latex/xhfill/xhfill-doc.tex
new file mode 100644
index 00000000000..0e8e19d521b
--- /dev/null
+++ b/Master/texmf-dist/doc/latex/xhfill/xhfill-doc.tex
@@ -0,0 +1,102 @@
+\documentclass[12pt]{article}
+\usepackage[T1]{fontenc}
+\usepackage[scaled=0.85]{beramono}
+\usepackage{berasans}
+\usepackage{beraserif}
+\usepackage{xhfill}
+\let\FileVersion\fileversion
+\usepackage{listings}
+\lstset{language=[LaTeX]TEX,basicstyle=\ttfamily\small,%
+ extendedchars=true,numbers=left,numberstyle=\tiny,%
+ xleftmargin=2em,breaklines=true}
+
+\newcommand{\xfill}[2][1ex]{{%
+ \dimen0=#2\advance\dimen0 by #1
+ \leaders\hrule height \dimen0 depth -#1\hfill%
+}}
+\newcommand{\xfilll}[2][1ex]{%
+ \dimen0=#2\advance\dimen0 by #1%
+ \leaders\hrule height \dimen0 depth -#1\hfill%
+}
+
+\begin{document}
+\title{Package \texttt{xhfill}\\v\FileVersion}
+\author{Herbert Vo\ss}
+\date{\today}
+\maketitle
+blah\xfill{1pt}blub
+\begin{lstlisting}
+blah\xfill{1pt}blub
+\end{lstlisting}
+
+blah\xfill{3pt}blub
+\begin{lstlisting}
+blah\xfill{3pt}blub
+\end{lstlisting}
+
+blah\xfill[0pt]{4pt}blub
+\begin{lstlisting}
+blah\xfill[0pt]{4pt}blub
+\end{lstlisting}
+
+blah\xfill[-12pt]{12pt}blub
+\begin{lstlisting}
+blah\xfill[-12pt]{12pt}blub
+\end{lstlisting}
+
+blah\xfilll{1pt}blub
+\begin{lstlisting}
+blah\xfilll{1pt}blub
+\end{lstlisting}
+blah\xfilll{1pt}blub
+\begin{lstlisting}
+blah\xfilll{1pt}blub
+\end{lstlisting}
+
+blah\xfilll[0pt]{4pt}blub
+\begin{lstlisting}
+blah\xfilll[0pt]{4pt}blub
+\end{lstlisting}
+
+blah\xfilll[-12pt]{12pt}blub
+\begin{lstlisting}
+blah\xfilll[-12pt]{12pt}blub
+\end{lstlisting}
+
+blah\xrfill{1pt}[blue]blub blah\xrfill{2pt}[cyan]blub
+\begin{lstlisting}
+blah\xrfill{1pt}[blue]blub blah\xrfill{2pt}[cyan]blub
+\end{lstlisting}
+
+laber\xrfill[0pt]{4pt}[green]blub blub
+\begin{lstlisting}
+laber\xrfill[0pt]{4pt}[green]blub blub
+\end{lstlisting}
+
+blah\xrfill[-1ex]{1pt}[red]blub
+\begin{lstlisting}
+blah\xrfill[-1ex]{1pt}[red]blub
+\end{lstlisting}
+
+blah \xhrulefill{cyan}{1cm} blub
+\begin{lstlisting}
+blah \xhrulefill{cyan}{1cm} blub
+\end{lstlisting}
+
+blah \xhrectanglefill{0.5cm}{1pt} blubber
+\begin{lstlisting}
+blah \xhrectanglefill{0.5cm}{1pt} blubber
+\end{lstlisting}
+
+blah\xdotfill{1pt}[blue]blah\xdotfill{2pt}[red]blub
+\begin{lstlisting}
+blah\xdotfill{1pt}[blue]blah\xdotfill{2pt}[red]blub
+\end{lstlisting}
+
+
+\subsection*{The code}
+
+\lstinputlisting{xhfill.sty}
+
+
+\end{document}
diff --git a/Master/texmf-dist/tex/latex/xhfill/xhfill.sty b/Master/texmf-dist/tex/latex/xhfill/xhfill.sty
new file mode 100644
index 00000000000..d285a8b86f4
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/xhfill/xhfill.sty
@@ -0,0 +1,64 @@
+%% $Id: pst-3dplot.tex 467 2011-03-01 21:04:36Z herbert $
+%%
+%% This is file `xhfill.sty',
+%%
+%% IMPORTANT NOTICE:
+%%
+%% Package `xhfill'
+%%
+%% Herbert Voss <hvoss _at_ tug.org>
+%%
+%% This program can be redistributed and/or modified under the terms
+%% of the LaTeX Project Public License Distributed from CTAN archives
+%% in directory macros/latex/base/lppl.txt.
+%%
+%% DESCRIPTION:
+%% `xhfill' is a package for extended hfillrules
+%%
+%% Usage
+%% \xhrulefill{blue}{5pt}
+%% \xrfill[raise]{ruleheight}[color]
+%% \xhrectanglefill{<height>}{<linewidth>}
+%% \xhrectanglefill{1cm}{1pt}
+%
+ \NeedsTeXFormat{LaTeX2e}
+ \RequirePackage{xcolor}
+ \RequirePackage{calc}
+ \RequirePackage{xspace}
+\def\fileversion{1.00}
+\def\filedate{2011/05/13}
+
+ \ProvidesPackage{xhfill}[\filedate\ v \fileversion\ modify width and color of hrulefill]
+%
+\providecommand{\xhrulefill}[2]{%
+ \leavevmode\color{#1}\leaders\hrule height #2%
+ \hfill\color{black}\xspace}
+%
+\providecommand{\xhrectanglefill}[2]{%
+ \rule{#2}{#1}\kern-#2\kern.1pt%
+ \cleaders
+ \hbox to 1pt{%
+ \hss
+ \rlap{\rule{1.2pt}{#2}}%
+ \raisebox{#1-#2}{\rule{1.2pt}{#2}}%
+ \hss
+ }\hfill\kern.1pt\kern-#2\rule{#2}{#1}%
+ \xspace%
+}
+\def\xrfill{\@ifnextchar[{\@xrfilli}{\@xrfilli[1ex]}}
+\def\@xrfilli[#1]#2{%
+ \@ifnextchar[{\@xrfillii[#1]{#2}}{\@xrfillii[#1]{#2}[black]}}
+\def\@xrfillii[#1]#2[#3]{%
+ \leaders
+ \hbox{\raisebox{#1}{\color{#3}\rule{1.2pt}{#2}}}\hfill%
+ \color{black}}
+%
+\def\xdotfill{\@ifnextchar[{\@xdotfilli}{\@xdotfilli[0.5ex]}}
+\def\@xdotfilli[#1]#2{%
+ \@ifnextchar[{\@xdotfillii[#1]{#2}}{\@xdotfillii[#1]{#2}[black]}}
+\def\@xdotfillii[#1]#2[#3]{%
+ \leaders
+ \hbox{\raisebox{#1}{\color{#3}\rule{1.2pt}{#2}\kern1.2pt}}\hfill%
+ \color{black}}
+
+\endinput
diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check
index 3093b04ff2b..a317020c1f9 100755
--- a/Master/tlpkg/bin/tlpkg-ctan-check
+++ b/Master/tlpkg/bin/tlpkg-ctan-check
@@ -381,7 +381,7 @@ my @TLP_working = qw(
xargs xcolor xcomment xdoc
xecjk xecolour xecyr xeindex xepersian xesearch
xetex-def xetex-devanagari xetex-itrans xetex-pstricks xetexfontinfo
- xetexref xfor xgreek
+ xetexref xfor xgreek xhfill
xifthen xits
xkeyval xlop xltxtra xmpincl xnewcommand xoptarg xpackages
xq xskak xstring xtab xunicode
diff --git a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
index 073585e98ab..e38c2341dcd 100644
--- a/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
+++ b/Master/tlpkg/tlpsrc/collection-latexextra.tlpsrc
@@ -734,6 +734,7 @@ depend wrapfig
depend xargs
depend xbmc
depend xcomment
+depend xhfill
depend xtab
depend xdoc
depend xfor
diff --git a/Master/tlpkg/tlpsrc/xhfill.tlpsrc b/Master/tlpkg/tlpsrc/xhfill.tlpsrc
new file mode 100644
index 00000000000..e69de29bb2d
--- /dev/null
+++ b/Master/tlpkg/tlpsrc/xhfill.tlpsrc