summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/extarrows
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-03-20 03:01:17 +0000
committerNorbert Preining <norbert@preining.info>2020-03-20 03:01:17 +0000
commitc720a4409b388fa706f3eb1ce275f76f7d49d996 (patch)
treed9e0864c856e4b7abba585785d57bbf02aa1f9ad /macros/latex/contrib/extarrows
parentc8b8ea37fe9cd71b53223dff23f291b2f158fc0f (diff)
CTAN sync 202003200301
Diffstat (limited to 'macros/latex/contrib/extarrows')
-rw-r--r--macros/latex/contrib/extarrows/README34
-rw-r--r--macros/latex/contrib/extarrows/README.md34
-rw-r--r--macros/latex/contrib/extarrows/extarrows-test.pdfbin31995 -> 65310 bytes
-rw-r--r--macros/latex/contrib/extarrows/extarrows-test.tex16
-rw-r--r--macros/latex/contrib/extarrows/extarrows.sty6
5 files changed, 50 insertions, 40 deletions
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 <Herbert.Voss@FU-Berlin.DE>
- * 1.0a (2004/11/05)
-
-Author: kyanh <xkyanh@gmail.com>
-
-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 <Herbert.Voss@FU-Berlin.DE>
+* Version 1.0a (2004/11/05): Initial version
+
+## Author:
+
+Ky-Anh Huynh <xkyanh@gmail.com>
+
+## License
+
+LGPL
diff --git a/macros/latex/contrib/extarrows/extarrows-test.pdf b/macros/latex/contrib/extarrows/extarrows-test.pdf
index 930f579652..361bcad151 100644
--- a/macros/latex/contrib/extarrows/extarrows-test.pdf
+++ b/macros/latex/contrib/extarrows/extarrows-test.pdf
Binary files 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}