diff options
author | Karl Berry <karl@freefriends.org> | 2016-12-21 22:12:56 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2016-12-21 22:12:56 +0000 |
commit | 399ec11d0dff4eb7f37230a578d4032e6dbf9aed (patch) | |
tree | 830df516d3e6deaf1d795a2c6992c760772b1625 /Master/texmf-dist/source/latex | |
parent | 71c05c46ebaadad45a1415df83ddcb5a4898c779 (diff) |
xellipsis (21dec16)
git-svn-id: svn://tug.org/texlive/trunk@42764 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/source/latex')
-rw-r--r-- | Master/texmf-dist/source/latex/xellipsis/xellipsis.dtx | 37 |
1 files changed, 32 insertions, 5 deletions
diff --git a/Master/texmf-dist/source/latex/xellipsis/xellipsis.dtx b/Master/texmf-dist/source/latex/xellipsis/xellipsis.dtx index 3cdb19a3f3b..3098e60946e 100644 --- a/Master/texmf-dist/source/latex/xellipsis/xellipsis.dtx +++ b/Master/texmf-dist/source/latex/xellipsis/xellipsis.dtx @@ -26,7 +26,7 @@ % \iffalse %<package>\NeedsTeXFormat{LaTeX2e}[1999/12/01] -%<package>\ProvidesPackage{xellipsis}[2015/11/01 v1.1 support for highly configurable ellipses of arbitrary symbol, number, and distance] +%<package>\ProvidesPackage{xellipsis}[2015/11/01 v1.2 support for highly configurable ellipses of arbitrary symbol, number, and distance] %<*driver> \documentclass{ltxdoc} @@ -38,7 +38,8 @@ \renewcommand{\LettrineFontHook}{\color{red}} \usepackage{url} \usepackage{spverbatim} -\usepackage[nocounters]{dozenal} +\usepackage[typeone]{dozenal} +\usepackage{lmodern} \usepackage[]{xellipsis} \usepackage[colorlinks]{hyperref} \usepackage{makeidx} @@ -66,7 +67,7 @@ \end{document} %</driver> \fi % -% \title{The |xellipsis| Package, v1.1} \author{Donald P.\ +% \title{The |xellipsis| Package, v1.2} \author{Donald P.\ % Goodman III} \date{\today} % % \maketitle @@ -214,6 +215,21 @@ % } % \end{quote} % +% Finally, there is a special command +% \DescribeMacro{\xelipend}|\xelipend|. This is identical +% to |\xelip| except that the closing space is omitted. +% +% \begin{quote} +% ``This is pretty neat\xelipend'' (|\xelipend|) +% +% ``This is pretty neat\xelip'' (|\xelip|) +% \end{quote} +% +% |\xelipend| is primarily useful immediately preceding some +% quoting character; some people prefer there to be no or +% much more limited spacing in this location. Use +% |\xelipend| if you prefer this type of behavior. +% % \section{The Nitty-Gritty: Configuration} % \label{sect:nittygritty} % @@ -384,7 +400,7 @@ % } % \bigskip % -% Please be aware that these |\xelippreaft| \emph{stacks} +% Please be aware that |\xelippreaft| \emph{stacks} % with |\xelipbef|, and |\xelippostbef| stacks with % |\xelipaft|; so their sum should be the spacing you want. % Often this means simply leaving the two of them alone, as @@ -458,7 +474,7 @@ % way we can be sure that it won't break across lines. % \begin{macrocode} \def\xelip{% - \hskip0pt\hbox{% + \nobreak\hskip0pt\hbox{% % \end{macrocode} % Put it the code for the |\xelipprechar| and its spacing: % \begin{macrocode} @@ -489,6 +505,17 @@ }% }% % \end{macrocode} +% Set up a special command, |\xelipend|, which omits the +% spacing at the end and can be used immediately before +% quotations or the like. +% \begin{macrocode} +\def\xelipend{% + \begingroup% + \xelipaft=0pt + \xelip% + \endgroup% +}% +% % Set up the |latex| option. % \begin{macrocode} \ifxel@latex |