From c720a4409b388fa706f3eb1ce275f76f7d49d996 Mon Sep 17 00:00:00 2001 From: Norbert Preining Date: Fri, 20 Mar 2020 03:01:17 +0000 Subject: CTAN sync 202003200301 --- macros/latex/contrib/extarrows/README | 34 ---------------------- macros/latex/contrib/extarrows/README.md | 34 ++++++++++++++++++++++ macros/latex/contrib/extarrows/extarrows-test.pdf | Bin 31995 -> 65310 bytes macros/latex/contrib/extarrows/extarrows-test.tex | 16 ++++++---- macros/latex/contrib/extarrows/extarrows.sty | 6 +++- 5 files changed, 50 insertions(+), 40 deletions(-) delete mode 100644 macros/latex/contrib/extarrows/README create mode 100644 macros/latex/contrib/extarrows/README.md (limited to 'macros/latex/contrib/extarrows') diff --git a/macros/latex/contrib/extarrows/README b/macros/latex/contrib/extarrows/README deleted file mode 100644 index e828202198..0000000000 --- a/macros/latex/contrib/extarrows/README +++ /dev/null @@ -1,34 +0,0 @@ -Package: extarrows (extensible arrows) - -Version: - * 1.0b (2008/05/15) - Thanks to Herbert Voss - * 1.0a (2004/11/05) - -Author: kyanh - -License: LGPL - -This package provides some extensible arrows in maths. mode - (more than \xleftarrow, \xrightarrow, ...) - - \xlongequal - \xLongleftarrow - \xLongrightarrow - \xLongleftrightarrow - \xLeftrightarrow - - \xlongleftrightarrow - \xleftrightarrow - \xlongleftarrow - \xlongrightarrow - -Examples: - extarrows-test.tex (source) - extarrows-test.pdf (demonstration) - --- -Huynh Ky Anh -Vietnamese TeX Users Group -http://kyanh.net/ -http://viettug.org/ diff --git a/macros/latex/contrib/extarrows/README.md b/macros/latex/contrib/extarrows/README.md new file mode 100644 index 0000000000..e4aca88986 --- /dev/null +++ b/macros/latex/contrib/extarrows/README.md @@ -0,0 +1,34 @@ +## Description + +`extarrows` (extensible arrows) provides some extensible arrows in math mode. + +The list of new arrow commands: + +* `\xlongequal` +* `\xLongleftarrow` +* `\xLongrightarrow` +* `\xLongleftrightarrow` +* `\xLeftrightarrow` +* `\xlongleftrightarrow` +* `\xleftrightarrow` +* `\xlongleftarrow` +* `\xlongrightarrow` + +## Examples + +* Source file: [extarrows-test.tex](extarrows-test.tex) +* Sample output: [extarrows-test.pdf](extarrows-test.pdf) + +## History + +* Version 1.2.0 (2020/03/12): Documentation updates. Use https://github.com/viettug/extarrows +* Version 1.0b (2008/05/15): Thanks to Herbert Voss +* Version 1.0a (2004/11/05): Initial version + +## Author: + +Ky-Anh Huynh + +## License + +LGPL diff --git a/macros/latex/contrib/extarrows/extarrows-test.pdf b/macros/latex/contrib/extarrows/extarrows-test.pdf index 930f579652..361bcad151 100644 Binary files a/macros/latex/contrib/extarrows/extarrows-test.pdf and b/macros/latex/contrib/extarrows/extarrows-test.pdf differ diff --git a/macros/latex/contrib/extarrows/extarrows-test.tex b/macros/latex/contrib/extarrows/extarrows-test.tex index bca513d7cd..b99340b1cb 100644 --- a/macros/latex/contrib/extarrows/extarrows-test.tex +++ b/macros/latex/contrib/extarrows/extarrows-test.tex @@ -1,9 +1,17 @@ +% Purpose : Provide some extensible arrows in math mode. +% (Sample source file) +% Author : Ky-Anh Huynh +% License : LGPL + \documentclass[10pt, a4paper, oneside]{article} \usepackage{extarrows} +% Define a simple macro for testing \def\test#1/{% - \texttt{\textbackslash #1:}\qquad& A\csname #1\endcsname[\text{to love}]{\text{we love}}Z} + \texttt{\textbackslash #1:}\qquad& A\csname #1\endcsname[\text{sub-script}]{\text{super-script}}Z} + +% Test command without sub/super-scripts \def\tfst #1/{% \texttt{\textbackslash #1:}\qquad& A\csname #1\endcsname[]{}Z} @@ -11,14 +19,12 @@ \section{Syntax} \begin{verbatim} +\arrowname{super-script} \arrowname[sub-script]{super-script} \end{verbatim} \noindent -\texttt{arrowname} is \texttt{xlongequal}, \texttt{xLongleftarrow}, etc. - -\noindent -The parameter \verb"[sub-script]" is optional. +\texttt{arrowname} is one of known arrow command, for example, \texttt{xlongequal}, \texttt{xLongleftarrow},\ldots \section{Examples} \begin{align} diff --git a/macros/latex/contrib/extarrows/extarrows.sty b/macros/latex/contrib/extarrows/extarrows.sty index f89ba3c319..ae66265212 100644 --- a/macros/latex/contrib/extarrows/extarrows.sty +++ b/macros/latex/contrib/extarrows/extarrows.sty @@ -1,5 +1,9 @@ +% Purpose : Provide some extensible arrows in math mode. +% Author : Ky-Anh Huynh +% License : LGPL + \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{extarrows}[2008/05/15 v1.0b Some extensible arrows] +\ProvidesPackage{extarrows}[2020/03/12 v1.2.0 Some extensible arrows] \RequirePackage{amsmath} -- cgit v1.2.3