diff options
author | Karl Berry <karl@freefriends.org> | 2018-05-01 17:57:30 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2018-05-01 17:57:30 +0000 |
commit | 247cabc8f66cf4525f2cb58716f64b6358c6d318 (patch) | |
tree | edca0f6889d0800de634244dccbadcc0a236bb29 /Master/texmf-dist/tex/latex/xellipsis | |
parent | 08ba64265f0add4eebf9496610c9e49d0470734f (diff) |
xellipsis (16apr18)
git-svn-id: svn://tug.org/texlive/trunk@47546 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/xellipsis')
-rw-r--r-- | Master/texmf-dist/tex/latex/xellipsis/xellipsis.sty | 42 |
1 files changed, 27 insertions, 15 deletions
diff --git a/Master/texmf-dist/tex/latex/xellipsis/xellipsis.sty b/Master/texmf-dist/tex/latex/xellipsis/xellipsis.sty index fe9d0a7e259..a732f41568e 100644 --- a/Master/texmf-dist/tex/latex/xellipsis/xellipsis.sty +++ b/Master/texmf-dist/tex/latex/xellipsis/xellipsis.sty @@ -26,18 +26,11 @@ %% derived files xellipsis.sty and xellipsis.pdf. \NeedsTeXFormat{LaTeX2e}[1999/12/01] -\ProvidesPackage{xellipsis}[2015/11/01 v1.2 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 +\ProvidesPackage{xellipsis}[2015/11/01 v2.0 support for highly configurable ellipses of arbitrary symbol, number, and distance] +\RequirePackage{xkeyval} +\def\xelipchar{.} +\def\xelipprechar{} +\def\xelippostchar{} \newdimen\xelipgap\xelipgap=3pt \newdimen\xelipbef\xelipbef=3pt \newdimen\xelipaft\xelipaft=3pt @@ -46,9 +39,28 @@ \newdimen\xelippostbef\xelippostbef=0pt \newdimen\xelippostaft\xelippostaft=0pt \newcount\xelipnum\xelipnum = 3% -\def\xelipchar{.} -\def\xelipprechar{} -\def\xelippostchar{} +\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 +\DeclareOptionX{latex}{\xel@latextrue} +\DeclareOptionX{chicago}{\xel@chicagotrue} +\DeclareOptionX{oldmla}{\xel@oldmlatrue} +\DeclareOptionX{mla}{\xel@mlatrue} +\DeclareOptionX{bluebook}{\xel@bluebooktrue} +\DeclareOptionX{char}{\def\xelipchar{#1}} +\DeclareOptionX{num}{\xelipnum=#1} +\DeclareOptionX{before}{\xelipbef=#1} +\DeclareOptionX{after}{\xelipaft=#1} +\DeclareOptionX{gap}{\xelipgap=#1} +\DeclareOptionX{prechar}{\def\xelipprechar{#1}} +\DeclareOptionX{postchar}{\def\xelippostchar{#1}} +\DeclareOptionX{prebefore}{\xelipprebef=#1} +\DeclareOptionX{preafter}{\xelippreaft=#1} +\DeclareOptionX{postbefore}{\xelippostbef=#1} +\DeclareOptionX{postafter}{\xelippostaft=#1} +\ProcessOptionsX \newcount\xel@loopi\xel@loopi = 0% \def\xelip{% \nobreak\hskip0pt\hbox{% |