summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/latex/xellipsis
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-10-13 21:39:10 +0000
committerKarl Berry <karl@freefriends.org>2015-10-13 21:39:10 +0000
commitfb35d1d5f62df8de833442b9cdab51b6377c7e83 (patch)
tree43fb79095277f28ed79bc7ccff5a471e10698970 /Master/texmf-dist/tex/latex/xellipsis
parent64fca8fccca586cda37c00d1a32f960d48fc0a7d (diff)
xellipsis (13oct15)
git-svn-id: svn://tug.org/texlive/trunk@38632 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/xellipsis')
-rw-r--r--Master/texmf-dist/tex/latex/xellipsis/xellipsis.sty98
1 files changed, 98 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/xellipsis/xellipsis.sty b/Master/texmf-dist/tex/latex/xellipsis/xellipsis.sty
new file mode 100644
index 00000000000..7366034aaac
--- /dev/null
+++ b/Master/texmf-dist/tex/latex/xellipsis/xellipsis.sty
@@ -0,0 +1,98 @@
+%%
+%% This is file `xellipsis.sty',
+%% generated with the docstrip utility.
+%%
+%% The original source files were:
+%%
+%% xellipsis.dtx (with options: `package')
+%% This is a generated file.
+%%
+%% This document is copyright 2014 by Donald P. Goodman, and is
+%% released publicly under the LaTeX Project Public License. The
+%% distribution and modification of this work is constrained by the
+%% conditions of that license. See
+%% http://www.latex-project.org/lppl.txt
+%% for the text of the license. This document is released
+%% under version 1.3 of that license, and this work may be distributed
+%% or modified under the terms of that license or, at your option, any
+%% later version.
+%%
+%% This work has the LPPL maintenance status 'maintained'.
+%%
+%% The Current Maintainer of this work is Donald P. Goodman
+%% (dgoodmaniii@gmail.com).
+%%
+%% This work consists of xellipsis.dtx, xellipsis.ins, and
+%% derived files xellipsis.sty and xellipsis.pdf.
+
+\NeedsTeXFormat{LaTeX2e}[1999/12/01]
+\ProvidesPackage{xellipsis}[2015/11/01 v1.0 support for highly configurable ellipses of arbitrary symbol, number, and distance]
+\newif\ifxel@latex\xel@latexfalse
+\newif\ifxel@chicago\xel@chicagofalse
+\newif\ifxel@oldmla\xel@oldmlafalse
+\newif\ifxel@mla\xel@mlafalse
+\newif\ifxel@bluebook\xel@bluebookfalse
+\DeclareOption{latex}{\xel@latextrue}
+\DeclareOption{chicago}{\xel@chicagotrue}
+\DeclareOption{oldmla}{\xel@oldmlatrue}
+\DeclareOption{mla}{\xel@mlatrue}
+\DeclareOption{bluebook}{\xel@bluebooktrue}
+\ProcessOptions
+\newdimen\xelipgap\xelipgap=3pt
+\newdimen\xelipbef\xelipbef=3pt
+\newdimen\xelipaft\xelipaft=3pt
+\newdimen\xelipprebef\xelipprebef=0pt
+\newdimen\xelippreaft\xelippreaft=0pt
+\newdimen\xelippostbef\xelippostbef=0pt
+\newdimen\xelippostaft\xelippostaft=0pt
+\newcount\xelipnum\xelipnum = 3%
+\def\xelipchar{.}
+\def\xelipprechar{}
+\def\xelippostchar{}
+\newcount\xel@loopi\xel@loopi = 0%
+\def\xelip{%
+\hbox{%
+\hskip\xelipprebef\xelipprechar\hskip\xelippreaft%
+\hskip\xelipbef\xelipchar%
+\xel@loopi = 1%
+\loop\ifnum\xelipnum>\xel@loopi%
+\advance\xel@loopi by1%
+\hskip\xelipgap%
+\xelipchar%
+\repeat
+\hskip\xelipaft%
+\hskip\xelippostbef\xelippostchar\hskip\xelippostaft%
+}%
+}%
+\ifxel@latex
+\xelipbef=0pt%
+\xelipaft=\fontdimen3\font%
+\xelipgap=\fontdimen3\font%
+\fi
+\ifxel@chicago
+\xelipbef=0pt%
+\xelipaft=\fontdimen2\font%
+\xelipgap=\fontdimen2\font%
+\fi
+\ifxel@mla
+\xelipbef=\fontdimen2\font%
+\xelipaft=\fontdimen2\font%
+\xelipgap=\fontdimen2\font%
+\fi
+\ifxel@bluebook
+\xelipbef=\fontdimen2\font%
+\xelipaft=\fontdimen2\font%
+\xelipgap=\fontdimen2\font%
+\fi
+\ifxel@oldmla
+\xelipbef=\fontdimen2\font%
+\xelipaft=\fontdimen2\font%
+\xelipgap=\fontdimen2\font%
+\def\xelipprechar{[}%
+\def\xelippostchar{]}%
+\xelipprebef=\fontdimen2\font%
+\xelippostaft=\fontdimen2\font%
+\fi
+\endinput
+%%
+%% End of file `xellipsis.sty'.