diff options
author | Karl Berry <karl@freefriends.org> | 2010-11-21 19:54:24 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2010-11-21 19:54:24 +0000 |
commit | 6677917e347c171c9bcbebca1995ea734cd24973 (patch) | |
tree | e6acedfbf91ac59b80de68e9e72a0c7c66a5c37f /Master | |
parent | bfeba58942ae33644bb85536d2049b1d963356ca (diff) |
epigram pd, own package, 20nov10
git-svn-id: svn://tug.org/texlive/trunk@20513 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/tex/generic/epigram/epigram.tex | 20 | ||||
-rwxr-xr-x | Master/tlpkg/bin/tlpkg-ctan-check | 2 | ||||
-rwxr-xr-x | Master/tlpkg/libexec/ctan2tds | 2 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/collection-genericextra.tlpsrc | 1 | ||||
-rw-r--r-- | Master/tlpkg/tlpsrc/epigram.tlpsrc | 0 |
5 files changed, 24 insertions, 1 deletions
diff --git a/Master/texmf-dist/tex/generic/epigram/epigram.tex b/Master/texmf-dist/tex/generic/epigram/epigram.tex new file mode 100644 index 00000000000..1542c87661d --- /dev/null +++ b/Master/texmf-dist/tex/generic/epigram/epigram.tex @@ -0,0 +1,20 @@ +% From TeXMaG Volume 2, Number 6 +% Don Hosek. Public domain. +% +\long\def\epigram#1{% We use \long\def to allow the argument + % to span several paragraphs. + \bigskip % extra space above. + \setbox0=\hbox{#1} % put the text into a box + \ifdim\wd0>\critwidth %check the length + \centerline{\vtop{\hsize=\episize\noindent#1}} + % If the length is greater than + % the critical length, make a + % displayed paragraph + \else % otherwise, we just center the text. + \centerline{\box0} + \fi + \smallskip % extra space for the end. +} + +\newdimen\critwidth \critwidth=.75\hsize +\newdimen\episize \episize=.6\hsize diff --git a/Master/tlpkg/bin/tlpkg-ctan-check b/Master/tlpkg/bin/tlpkg-ctan-check index 5680615339d..4a143950d89 100755 --- a/Master/tlpkg/bin/tlpkg-ctan-check +++ b/Master/tlpkg/bin/tlpkg-ctan-check @@ -119,7 +119,7 @@ my @TLP_working = qw( elteikthesis eltex elvish emptypage emulateapj emp encxvlna endfloat endheads endnotes engpron engrec engtlc enumitem envbig environ envlab - epigrafica epigraph epiolmec eplain + epigrafica epigram epigraph epiolmec eplain epsdice epsf epsincl epslatex-fr epspdf epspdfconversion epstopdf eqell eqlist eqparbox errata es-tex-faq erdc esdiff esint esint-type1 esk eskd eskdx eso-pic esvect diff --git a/Master/tlpkg/libexec/ctan2tds b/Master/tlpkg/libexec/ctan2tds index 6f60c2b189d..19f533a313f 100755 --- a/Master/tlpkg/libexec/ctan2tds +++ b/Master/tlpkg/libexec/ctan2tds @@ -828,6 +828,7 @@ $standarddest = "texmf-dist"; 'dratex', 'generic', 'edmac', 'generic', 'eijkhout', 'generic', + 'epigram', 'generic', 'eplain', 'eplain', 'epsf', 'generic', 'esint-type1', 'plain', @@ -937,6 +938,7 @@ $standardtex='\.(.bx|cfg|sty|clo|ldf|cls|def|fd|cmap|4ht)$'; 'eijkhout', '\.tex', 'eltex', 'eltex.*tex', 'elsarticle', 'elsarticle.cls', # no rvdtx, pdfwidgets + 'epigram', 'epigram.tex', 'epsf', 'epsf.(tex|sty)', 'epslatex-fr', 'NULL', 'esint-type1', 'esint.tex', diff --git a/Master/tlpkg/tlpsrc/collection-genericextra.tlpsrc b/Master/tlpkg/tlpsrc/collection-genericextra.tlpsrc index 4a9cc54dba7..a334076b435 100644 --- a/Master/tlpkg/tlpsrc/collection-genericextra.tlpsrc +++ b/Master/tlpkg/tlpsrc/collection-genericextra.tlpsrc @@ -12,6 +12,7 @@ depend dinat depend dirtree depend eijkhout depend encxvlna +depend epigram depend fenixpar depend fltpoint depend iftex diff --git a/Master/tlpkg/tlpsrc/epigram.tlpsrc b/Master/tlpkg/tlpsrc/epigram.tlpsrc new file mode 100644 index 00000000000..e69de29bb2d --- /dev/null +++ b/Master/tlpkg/tlpsrc/epigram.tlpsrc |