diff options
Diffstat (limited to 'Master')
-rw-r--r-- | Master/texmf-dist/doc/fonts/old-arrows/README | 15 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/old-arrows/old-arrows-italian.pdf | bin | 445001 -> 454487 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/old-arrows/old-arrows-italian.tex | 47 | ||||
-rw-r--r-- | Master/texmf-dist/doc/fonts/old-arrows/old-arrows.pdf | bin | 488915 -> 494297 bytes | |||
-rw-r--r-- | Master/texmf-dist/doc/fonts/old-arrows/old-arrows.tex | 65 | ||||
-rw-r--r-- | Master/texmf-dist/tex/latex/old-arrows/old-arrows.sty | 243 |
6 files changed, 313 insertions, 57 deletions
diff --git a/Master/texmf-dist/doc/fonts/old-arrows/README b/Master/texmf-dist/doc/fonts/old-arrows/README index 2c4b61741d3..ed1723404a8 100644 --- a/Master/texmf-dist/doc/fonts/old-arrows/README +++ b/Master/texmf-dist/doc/fonts/old-arrows/README @@ -1,16 +1,19 @@ -The old-arrows package v1.2 2015/10/11 +The old-arrows package v2.0 2017/01/05 -------------------------------------------------------------------------- Riccardo Dossena Email: riccardo.dossena@gmail.com -------------------------------------------------------------------------- -copyright 2015 by Riccardo Dossena +copyright 2015-2017 by Riccardo Dossena This package provides cm old-style arrows with smaller arrowheads, associated with ordinary LaTeX commands. It can be used in a document that contains other amssymb arrow characters, like \twoheadrightarrow, -which also have small arrowheads. The option `new' allows to use the -usual new-style cm arrows together with the old-style ones: -simply put \var before every arrow command. +which also have small arrowheads. The options `new' and `old' allow the +user to use the usual new-style cm arrows together with the old-style +ones. The option `new' allows you to maintain the old-style by default +and get the old-style by putting \var before every command; conversely, +the option `old' allows you to maintain the new-style by default and get +the old-style by putting \var before every command. This work may be distributed and/or modified under the conditions of the LaTeX Project Public License, either version 1.3 @@ -22,7 +25,7 @@ version 2005/12/01 or later. This work has the LPPL maintenance status `maintained'. -The Current Maintainer of this work is Riccardo Dossena +The Current Maintainer of this work is Riccardo Dossena. Old Arrows fonts were derived from an old version of Blue Sky Computer Modern Math Symbols (1991-1992, released by AMS) diff --git a/Master/texmf-dist/doc/fonts/old-arrows/old-arrows-italian.pdf b/Master/texmf-dist/doc/fonts/old-arrows/old-arrows-italian.pdf Binary files differindex 57488e92c9a..3fe3706e566 100644 --- a/Master/texmf-dist/doc/fonts/old-arrows/old-arrows-italian.pdf +++ b/Master/texmf-dist/doc/fonts/old-arrows/old-arrows-italian.pdf diff --git a/Master/texmf-dist/doc/fonts/old-arrows/old-arrows-italian.tex b/Master/texmf-dist/doc/fonts/old-arrows/old-arrows-italian.tex index 48cabe6e11b..b92c22221ad 100644 --- a/Master/texmf-dist/doc/fonts/old-arrows/old-arrows-italian.tex +++ b/Master/texmf-dist/doc/fonts/old-arrows/old-arrows-italian.tex @@ -1,12 +1,10 @@ %% start of file `old-arrows-italian.tex'. -%% Copyright 2015 Riccardo Dossena (riccardo.dossena@gmail.com). +%% Copyright 2015-2017 Riccardo Dossena (riccardo.dossena@gmail.com). % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License version 1.3c, % available at http://www.latex-project.org/lppl/. %% -% !TEX encoding = UTF-8 -% !TEX program = pdflatex \documentclass[11pt,a4paper]{ltxdoc} \usepackage[utf8]{inputenc} @@ -18,13 +16,13 @@ \usepackage{stmaryrd} \usepackage{mathtools} \usepackage[new]{old-arrows} -\usepackage[hmargin=3.3cm,vmargin=3.1cm,footskip=20pt]{geometry} +\usepackage[hmargin=3.3cm,vmargin=2.5cm,footskip=30pt]{geometry} \usepackage[colorlinks=true]{hyperref} \usepackage[all]{hypcap} % needed to help hyperlinks direct correctly; \usepackage[chicago]{ellipsis} -\def\fileversion{1.2} -\def\filedate{11 ottobre 2015} +\def\fileversion{2.0} +\def\filedate{5 gennaio 2017} %Logo per MiKTeX e TeXLive \newcommand{\MiKTeX}{MiK\TeX} @@ -118,10 +116,11 @@ $\nrightarrow$, $\rightarrowtail$, $\twoheadrightarrow$ e altri ancora, hanno ma appaiono molto dissimili da $\varto$. Il pacchetto \texttt{old-arrows}, con la famiglia di font Old Arrows, consente di usare le frecce vecchio -stile ($\to$, $\gets$, \ldots) associandole ai comandi tradizionali (\verb|\rightarrow|, -\verb|\leftarrow|, \ldots). Inoltre, l'opzione \texttt{new} permette di ottenere simultaneamente le frecce -nuovo stile ($\varto$, $\vargets$, \ldots) semplicemente anteponendo \verb|\var| ai comandi corrispondenti -(\verb|\varrightarrow|, \verb|\varleftarrow|, \ldots). +stile ($\to$, $\gets$, \ldots) associandole ai comandi tradizionali (\verb|\rightarrow|, \verb|\leftarrow|, +\ldots). Inoltre, le opzioni \texttt{new} e \texttt{old} permettono di ottenere le frecce nuovo stile +($\varto$, $\vargets$, \ldots) insieme a quelle vecchio stile, semplicemente anteponendo \verb|\var| ai +comandi corrispondenti (\verb|\varrightarrow|, \verb|\varleftarrow|, \ldots)\footnote{Vedi le sezioni +\ref{sec:new} e \ref{sec:old}.}. La famiglia di font Old Arrows deriva da una vecchia versione dei \foreignlanguage{english}{Blue Sky Computer Modern Math Symbols} (1991-1992, rilasciati da AMS) tramite la cancellazione con FontForge di @@ -135,6 +134,9 @@ I font di questo pacchetto sono rilasciati sotto la SIL Open Font License, v1.1. \section{Installazione} +Il pacchetto \texttt{old-arrows} è contenuto nelle distribuzioni \MiKTeX\ e \TeXLive\ più recenti. Tuttavia, +se si vuole procedere all'installazione manuale, seguire le indicazioni fornite di seguito. + \subsection{Copiare i file nell'albero locale del sistema \TeX} I file della famiglia Old Arrows sono: @@ -259,7 +261,7 @@ tabella~\ref{tab-frecce-vecchie}. \end{table} I comandi \verb|\rightarrowfill| e \verb|\leftarrowfill| consentono di riempire spazi vuoti con frecce -estendibili. Per esempio, il primo comando dato alla fine di questo stesso paragrafo produce: +estendibili. Per esempio, il primo comando dato alla fine di questo stesso paragrafo produce: \rightarrowfill \subsection{Uso con altri pacchetti} @@ -384,7 +386,7 @@ pacchetti. In caso contrario, \texttt{old-arrows} non funzionerà correttamente. \end{verbatim} \end{nota} -\subsection{L'opzione \textsf{new}} +\subsection{L'opzione \textsf{new}}\label{sec:new} Caricando \texttt{old-arrows} con l'opzione \texttt{new} \begin{verbatim} @@ -477,6 +479,27 @@ Infine, anche con l'opzione \texttt{new} è possibile usare il comando \verb|\bo \end{center} producono rispettivamente $\boldsymbol{A \varto B}$ e $\boldsymbol{\varoverrightarrow{AB}}$. +\subsection{L'opzione \textsf{old}}\label{sec:old} + +Qualora si volesse usare il vecchio stile solo in alcuni casi, mantenendo di default il nuovo stile, è +disponibile l'opzione \texttt{old} +\begin{verbatim} + \usepackage[old]{old-arrows} +\end{verbatim} +che associa a tutti i comandi con prefisso \verb|\var| il vecchio stile anziché il nuovo, il quale rimane +associato ai comandi ordinari. Per esempio, con l'opzione \texttt{old} i comandi +\begin{center} + \verb|$A \varleftarrow B$| \quad e \quad \verb|$A \varto B$| +\end{center} +producono rispettivamente $A \leftarrow B$ e $A \to B$, mentre +\begin{center} + \verb|$A \leftarrow B$| \quad e \quad \verb|$A \to B$| +\end{center} +producono rispettivamente $A \varleftarrow B$ e $A \varto B$. + +Non è possibile caricare contemporaneamente le opzioni \texttt{new} e \texttt{old} (nel caso, si otterrà un +messaggio di errore). + \subsection{Comandi aggiuntivi disponibili con \texttt{old-arrows}} Il pacchetto \texttt{old-arrows} fornisce comandi aggiuntivi per nuovi tipi di frecce, come mostra la diff --git a/Master/texmf-dist/doc/fonts/old-arrows/old-arrows.pdf b/Master/texmf-dist/doc/fonts/old-arrows/old-arrows.pdf Binary files differindex c7468245569..091aa5c6bd9 100644 --- a/Master/texmf-dist/doc/fonts/old-arrows/old-arrows.pdf +++ b/Master/texmf-dist/doc/fonts/old-arrows/old-arrows.pdf diff --git a/Master/texmf-dist/doc/fonts/old-arrows/old-arrows.tex b/Master/texmf-dist/doc/fonts/old-arrows/old-arrows.tex index b61941cff89..206dec4e5b6 100644 --- a/Master/texmf-dist/doc/fonts/old-arrows/old-arrows.tex +++ b/Master/texmf-dist/doc/fonts/old-arrows/old-arrows.tex @@ -1,12 +1,10 @@ %% start of file `old-arrows.tex'. -%% Copyright 2015 Riccardo Dossena (riccardo.dossena@gmail.com). +%% Copyright 2015-2017 Riccardo Dossena (riccardo.dossena@gmail.com). % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License version 1.3c, % available at http://www.latex-project.org/lppl/. %% -% !TEX encoding = UTF-8 -% !TEX program = pdflatex \documentclass[11pt]{ltxdoc} \usepackage[english]{babel} @@ -16,13 +14,13 @@ \usepackage{stmaryrd} \usepackage{mathtools} \usepackage[new]{old-arrows} -\usepackage[hmargin=3.3cm,vmargin=3.0cm,footskip=20pt]{geometry} +\usepackage[hmargin=3.3cm,vmargin=2.5cm,footskip=30pt]{geometry} \usepackage[colorlinks=true]{hyperref} \usepackage[all]{hypcap} % needed to help hyperlinks direct correctly; \usepackage[chicago]{ellipsis} -\def\fileversion{1.2} -\def\filedate{October 11, 2015} +\def\fileversion{2.0} +\def\filedate{January 5, 2017} %Logo per MiKTeX e TeXLive \newcommand{\MiKTeX}{MiK\TeX} @@ -113,11 +111,12 @@ other arrow characters. However, many arrow characters defined by \texttt{amssym $\rightarrowtail$, $\twoheadrightarrow$ and others, maintained a small arrowhead and seem too different from $\varto$. -The \texttt{old-arrows} package with Old Arrows font family allows to use the old-style arrows ($\to$, -$\gets$, \ldots) with the traditional commands (\verb|\rightarrow|, \verb|\leftarrow|, \ldots). Furthermore, -the option \texttt{new} allows to obtain simultaneously the new-style arrows ($\varto$, $\vargets$, \ldots) -just placing \verb|\var| before the corresponding commands (\verb|\varrightarrow|, -\verb|\varleftarrow|,~\ldots). +The \texttt{old-arrows} package with Old Arrows font family allows the user to use the old-style arrows +($\to$, $\gets$, \ldots) with the traditional commands (\verb|\rightarrow|, \verb|\leftarrow|,~\ldots). +Furthermore, the options \texttt{new} and \texttt{old} allow the user to obtain the new-style arrows +($\varto$, $\vargets$,~\ldots) together with the old-style ones by putting \verb|\var| before the +corresponding commands (\verb|\varrightarrow|, \verb|\varleftarrow|,~\ldots)\footnote{See sections +\ref{sec:new} and \ref{sec:old}.}. Old Arrows font family was derived from an old version of Blue Sky Computer Modern Math Symbols (1991--1992, released by AMS) by deleting many characters with FontForge. @@ -130,6 +129,9 @@ The fonts in this package are licensed under the SIL Open Font License, v1.1. \section{Installation} +The \texttt{old-arrows} package is included in the latest \MiKTeX\ and \TeXLive\ distributions. However, if +you want to install it manually, follow the instructions below. + \subsection{Copying the files in the local \texttt{texmf} tree} The Old Arrows fonts files are: @@ -264,10 +266,10 @@ The \texttt{old-arrows} package does not require \texttt{amsmath}. However, if y \usepackage{old-arrows} \end{verbatim} -The \texttt{amsmath} package makes additional over, under (table~\ref{tab-frecce-vecchie-amsmath}), -extensible (table~\ref{tab-frecce-vecchie-ext}) arrows and operator names (table~\ref{tab-operatori-vecchi}) -available. Note that \texttt{amsmath} adds more space between the arrow above and the characters below, with -a better typographical result. The commands \verb|\overrightarrow{AB}| and \verb|\overleftarrow{AB}|, without +The \texttt{amsmath} package provides over, under (table~\ref{tab-frecce-vecchie-amsmath}), extensible +(table~\ref{tab-frecce-vecchie-ext}) arrows and operator names (table~\ref{tab-operatori-vecchi}). Note that +\texttt{amsmath} adds more space between the arrow above and the characters below, with a better +typographical result. The commands \verb|\overrightarrow{AB}| and \verb|\overleftarrow{AB}|, without \texttt{amsmath}, produce respectively \[ \overrightfreccia{AB} \,\text{ rather than }\, \overrightarrow{AB} \qquad \text{and} \qquad @@ -275,8 +277,8 @@ a better typographical result. The commands \verb|\overrightarrow{AB}| and \verb \,\text{ rather than }\, \overleftarrow{AB}. \] -The \texttt{amsmath} package provides the command \verb|\boldsymbol| that allows bold mathematical symbols, -which can be used together with \texttt{old-arrows}. For example, the commands +The \texttt{amsmath} package also provides the command \verb|\boldsymbol| for obtaining bold mathematical +symbols, which can be used together with \texttt{old-arrows}. For example, the commands \begin{center} \verb|$\boldsymbol{A \to B}$| \quad and \quad \verb|$\boldsymbol{\overrightarrow{AB}}$| \end{center} @@ -324,7 +326,7 @@ that you load the \texttt{stmaryrd} package \emph{before} \texttt{old-arrows}. The \texttt{stmaryrd} package provides several arrow characters with small arrowheads, like \verb|\shortrightarrow| ($\shortrightarrow$) and \verb|\nnearrow| ($\nnearrow$). However, without \texttt{old-arrows}, the commands \verb|\mapsfrom| and \verb|\longmapsfrom| produce the new-style arrows -$\varmapsfrom$ and $\varlongmapsfrom$. Instead, the \texttt{old-arrows} package allows to obtain the +$\varmapsfrom$ and $\varlongmapsfrom$. Instead, the \texttt{old-arrows} package allows you to obtain the old-style version of these arrows, as shown in table~\ref{tab-frecce-vecchie-smr}. \begin{table}[!htbp] @@ -334,7 +336,7 @@ old-style version of these arrows, as shown in table~\ref{tab-frecce-vecchie-smr \caption{Old-style arrows provided by \texttt{stmaryrd}.}\label{tab-frecce-vecchie-smr} \end{table} -\pagebreak +%\pagebreak \subsubsection{\texttt{mathtools}} @@ -382,13 +384,13 @@ It is very important that you load \texttt{old-arrows} \emph{after} \texttt{amsm \end{remark} -\subsection{The option \textsf{new}} +\subsection{The option \textsf{new}}\label{sec:new} Loading \texttt{old-arrows} with the option \texttt{new} \begin{verbatim} \usepackage[new]{old-arrows} \end{verbatim} -allows to use the new-style and the old-style arrows simultaneously. In order to obtain new-style arrows, +allows you to use the new-style and the old-style arrows simultaneously. In order to obtain new-style arrows, just put \verb|\var| before every ordinary command, as shown in tables~\ref{tab-frecce-nuove}, \ref{tab-frecce-nuove-amsmath}, \ref{tab-frecce-nuove-ext}, \ref{tab-operatori-nuovi}, \ref{tab-frecce-nuove-smr} and \ref{tab-frecce-nuove-mt}. @@ -475,7 +477,26 @@ by \texttt{amsmath}. The following commands \end{center} produce $\boldsymbol{A \varto B}$ and $\boldsymbol{\varoverrightarrow{AB}}$ respectively. -%\pagebreak +\subsection{The option \textsf{old}}\label{sec:old} + +If you want to use the old-style arrows only in a few cases, and maintain the new-style by default, then it +is available the option \texttt{old} +\begin{verbatim} + \usepackage[old]{old-arrows} +\end{verbatim} +that associates all of the commands with prefix \verb|\var| to the old-style rather than the new one, which +remains associated to the ordinary commands. For example, with the option \texttt{old} the commands +\begin{center} + \verb|$A \varleftarrow B$| \quad and \quad \verb|$A \varto B$| +\end{center} +produce $A \leftarrow B$ and $A \to B$ respectively, while +\begin{center} + \verb|$A \leftarrow B$| \quad and \quad \verb|$A \to B$| +\end{center} +produce $A \varleftarrow B$ and $A \varto B$, respectively. + +It is not possible to load the options \texttt{new} and \texttt{old} simultaneously (if so, you will get an +error message). \subsection{Additional arrow commands provided by \texttt{old-arrows}} diff --git a/Master/texmf-dist/tex/latex/old-arrows/old-arrows.sty b/Master/texmf-dist/tex/latex/old-arrows/old-arrows.sty index fcec4b658da..3fe09c5a6c0 100644 --- a/Master/texmf-dist/tex/latex/old-arrows/old-arrows.sty +++ b/Master/texmf-dist/tex/latex/old-arrows/old-arrows.sty @@ -1,14 +1,19 @@ -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% -% old-arrows.sty. Version: 1.2 - October 11, 2015. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% old-arrows.sty. Version: 2.0 - January 5, 2017. % Author: Riccardo DOSSENA <riccardo.dossena@gmail.com> % -% This package provides old-style cm arrows with smaller arrowheads, -% associated with ordinary commands. -% Use the option `new' if you want to use the new-style -% cm arrows simultaneously: simply put \var before every command. -%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% This package provides cm old-style arrows with smaller arrowheads, +% associated with ordinary LaTeX commands. It can be used in a document +% that contains other amssymb arrow characters, like \twoheadrightarrow, +% which also have small arrowheads. The options `new' and `old' allow the +% user to use the usual new-style cm arrows together with the old-style +% ones. The option `new' allows you to maintain the old-style by default +% and get the old-style by putting \var before every command; conversely, +% the option `old' allows you to maintain the new-style by default and get +% the old-style by putting \var before every command. +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% % -% Copyright 2015 R. Dossena +% Copyright 2015-2017 R. Dossena % % This work may be distributed and/or modified under the % conditions of the LaTeX Project Public License, either version 1.3 @@ -22,9 +27,39 @@ % % The Current Maintainer of this work is R. Dossena. % -% +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% \NeedsTeXFormat{LaTeX2e} -\ProvidesPackage{old-arrows}[2015/10/11 v1.2 Old Arrows] +\ProvidesPackage{old-arrows}[2017/01/05 v2.0 Old Arrows] + +\newif\ifoldarrows@default +\newif\ifoldarrows@new +\newif\ifoldarrows@old + +\def\oldarrows@opterr{% + \PackageError{old-arrows}{`new' and `old' options are incompatible}{% + I'm sorry, you cannot use the `new' and `old' options simultaneously! % + Ciao ;) \MessageBreak}% +}% + +\DeclareOption{default}{\oldarrows@defaulttrue} +\DeclareOption{new}{% + \ifoldarrows@old\oldarrows@opterr\fi + \oldarrows@newtrue} +\DeclareOption{old}{% + \ifoldarrows@new\oldarrows@opterr\fi + \oldarrows@defaultfalse\oldarrows@oldtrue} + +\ExecuteOptions{default} + +\ProcessOptions\relax + + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% default option +% + +\ifoldarrows@default \@ifpackageloaded{lmodern}{% \DeclareFontFamily{OMS}{oasy}{\skewchar\font48 } @@ -142,9 +177,14 @@ \DeclareRobustCommand\longleftharpoondown {\leftharpoondown\joinrel\relbar} +\fi + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% `new' option +% -%new style arrows: \var before every command -\DeclareOption{new}{ +\ifoldarrows@new \@ifpackageloaded{lmodern}{% \DeclareSymbolFont{lmsy}{OMS}{lmsy}{m}{n} @@ -270,17 +310,186 @@ \arrowfill@{\mapstochar\relbar}\relbar\varrightarrow} \relax}{} -%new-style support for St Mary's Road fonts +%%stmaryrd new-style xmapsfrom (mathtools or amsmath needed) \@ifpackageloaded{stmaryrd}{% -\stmry@if\def\varmapsfrom{\varleftarrow\mapsfromchar}\fi -\stmry@if\def\varlongmapsfrom{\varlongleftarrow\mapsfromchar}\fi -%stmaryrd new-style xmapsfrom (mathtools or amsmath needed) \newcommand{\varxmapsfrom}[2][]{% \ext@arrow 3095\varSMRmapsfromfill@{#1}{#2}} \def\varSMRmapsfromfill@{% \arrowfill@\varleftarrow\relbar{\relbar\mapsfromchar}} \relax}{} +\fi + +%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%% +% +% `old' option +% + +\ifoldarrows@old + +\@ifpackageloaded{lmodern}{% +\DeclareFontFamily{OMS}{oasy}{\skewchar\font48 } +\DeclareFontShape{OMS}{oasy}{m}{n}{% + <-5.5> oasy5 <5.5-6.5> oasy6 + <6.5-7.5> oasy7 <7.5-8.5> oasy8 + <8.5-9.5> oasy9 <9.5-> oasy10 + }{} +\DeclareFontShape{OMS}{oasy}{b}{n}{% + <-6> oabsy5 + <6-8> oabsy7 + <8-> oabsy10 + }{} +\relax}{% +\DeclareFontFamily{OMS}{oasy}{\skewchar\font48 } +\DeclareFontShape{OMS}{oasy}{m}{n}{% + <5><6><7><8><9><10>gen*oasy% + <10.95><12><14.4><17.28><20.74><24.88>oasy10% + }{} +\DeclareFontShape{OMS}{oasy}{b}{n}{% + <5><6><7><8><9>gen*oabsy% + <10><10.95><12><14.4><17.28><20.74><24.88>oabsy10% + }{} +\relax} + +\DeclareSymbolFont{oasy}{OMS}{oasy}{m}{n} + +\SetSymbolFont{oasy}{normal}{OMS}{oasy}{m}{n} +\SetSymbolFont{oasy}{bold}{OMS}{oasy}{b}{n} + +\DeclareMathSymbol{\varleftarrow} {\mathrel}{oasy}{"20} + \let\vargets=\varleftarrow +\DeclareMathSymbol{\varrightarrow} {\mathrel}{oasy}{"21} + \let\varto=\varrightarrow +\DeclareMathSymbol{\varleftrightarrow} {\mathrel}{oasy}{"24} +\DeclareMathSymbol{\varnearrow} {\mathrel}{oasy}{"25} +\DeclareMathSymbol{\varsearrow} {\mathrel}{oasy}{"26} +\DeclareMathSymbol{\varnwarrow} {\mathrel}{oasy}{"2D} +\DeclareMathSymbol{\varswarrow} {\mathrel}{oasy}{"2E} +\DeclareMathSymbol{\varmapstochar} {\mathrel}{oasy}{"37} + \def\varmapsto{\varmapstochar\varrightarrow} + \def\varhookrightarrow{\lhook\joinrel\varrightarrow} + \def\varhookleftarrow{\varleftarrow\joinrel\rhook} + +\DeclareMathDelimiter{\varuparrow} {\mathrel}{oasy}{"22}{largesymbols}{"78} +\DeclareMathDelimiter{\vardownarrow} {\mathrel}{oasy}{"23}{largesymbols}{"79} +\DeclareMathDelimiter{\varupdownarrow} {\mathrel}{oasy}{"6C}{largesymbols}{"3F} + +%definitions of \meno, \joinrelaz and \relbarra +\DeclareMathSymbol{\meno} {\mathbin}{oasy}{"00} +\DeclareRobustCommand + \joinrelaz{\mathrel{\mkern-3mu}} +\DeclareRobustCommand + \relbarra{\mathrel{\smash\meno}} % \smash, because - + % has the same height as + + +\DeclareRobustCommand\varlongrightarrow + {\relbarra\joinrelaz\varrightarrow} +\DeclareRobustCommand\varlongleftarrow + {\varleftarrow\joinrelaz\relbarra} +\DeclareRobustCommand + \varlongmapsto{\varmapstochar\varlongrightarrow} +\DeclareRobustCommand + \varlongleftrightarrow{\varleftarrow\joinrelaz\varrightarrow} + +\def\varoverrightarrow#1{\vbox{\m@th\ialign{##\crcr + \varrightarrowfill\crcr\noalign{\kern-\p@\nointerlineskip} + $\hfil\displaystyle{#1}\hfil$\crcr}}} +\def\varoverleftarrow#1{\vbox{\m@th\ialign{##\crcr + \varleftarrowfill\crcr\noalign{\kern-\p@\nointerlineskip}% + $\hfil\displaystyle{#1}\hfil$\crcr}}} +\def\varrightarrowfill{$\m@th\smash\meno\mkern-7mu% + \cleaders\hbox{$\mkern-2mu\smash\meno\mkern-2mu$}\hfill + \mkern-7mu\mathord\varrightarrow$} +\def\varleftarrowfill{$\m@th\mathord\varleftarrow\mkern-7mu% + \cleaders\hbox{$\mkern-2mu\smash\meno\mkern-2mu$}\hfill + \mkern-7mu\smash\meno$} + +%amsmath redefinitions, if loaded +\@ifpackageloaded{amsmath}{% +\ams@def\relbarra{\mathrel{\mathpalette\mathsm@sh\meno}} +\def\varleftarrowfill@{\arrowfill@\varleftarrow\relbarra\relbarra} +\def\varrightarrowfill@{\arrowfill@\relbarra\relbarra\varrightarrow} +\def\varleftrightarrowfill@{\arrowfill@\varleftarrow\relbarra\varrightarrow} +\ams@renewcommand{\varoverrightarrow}{% + \mathpalette{\overarrow@\varrightarrowfill@}} +\ams@renewcommand{\varoverleftarrow}{% + \mathpalette{\overarrow@\varleftarrowfill@}} +\ams@newcommand{\varoverleftrightarrow}{% + \mathpalette{\overarrow@\varleftrightarrowfill@}} +\ams@newcommand{\varunderrightarrow}{% + \mathpalette{\underarrow@\varrightarrowfill@}} +\ams@newcommand{\varunderleftarrow}{% + \mathpalette{\underarrow@\varleftarrowfill@}} +\ams@newcommand{\varunderleftrightarrow}{% + \mathpalette{\underarrow@\varleftrightarrowfill@}} +\newcommand{\varxrightarrow}[2][]{\ext@arrow 0359\varrightarrowfill@{#1}{#2}} +\newcommand{\varxleftarrow}[2][]{\ext@arrow 3095\varleftarrowfill@{#1}{#2}} +\def\varvarinjlim{% + \mathop{\mathpalette\varlim@{\varrightarrowfill@\textstyle}}\nmlimits@ } -\ProcessOptions\relax +\def\varvarprojlim{% + \mathop{\mathpalette\varlim@{\varleftarrowfill@\textstyle}}\nmlimits@ +} +\relax}{} + +%mathtools redefinitions, if loaded +\@ifpackageloaded{mathtools}{% +\newcommand{\varxleftrightarrow}[2][]{% + \ext@arrow 3095\varMTleftrightarrowfill@{#1}{#2}} +\def\varMTleftrightarrowfill@{% + \arrowfill@\varleftarrow\relbarra\varrightarrow} +\newcommand{\varxhookleftarrow}[2][]{% + \ext@arrow 3095\varMThookleftfill@{#1}{#2}} +\def\varMThookleftfill@{% + \arrowfill@\varleftarrow\relbarra{\relbarra\joinrelaz\rhook}} +\newcommand{\varxhookrightarrow}[2][]{% + \ext@arrow 3095\varMThookrightfill@{#1}{#2}} +\def\varMThookrightfill@{% + \arrowfill@{\lhook\joinrelaz\relbarra}\relbarra\varrightarrow} +\newcommand{\varxmapsto}[2][]{% + \ext@arrow 0395\varMTmapstofill@{#1}{#2}} +\def\varMTmapstofill@{% + \arrowfill@{\mapstochar\relbarra}\relbarra\varrightarrow} +\relax}{} + +%%stmaryrd old-style xmapsfrom (mathtools or amsmath needed) +\@ifpackageloaded{stmaryrd}{% +\newcommand{\varxmapsfrom}[2][]{% + \ext@arrow 3095\varSMRmapsfromfill@{#1}{#2}} +\def\varSMRmapsfromfill@{% + \arrowfill@\varleftarrow\relbarra{\relbarra\mapsfromchar}} +\newcommand{\xmapsfrom}[2][]{% + \ext@arrow 3095\SMRmapsfromfill@{#1}{#2}} +\def\SMRmapsfromfill@{% + \arrowfill@\leftarrow\relbar{\relbar\mapsfromchar}} +\relax}{} + +%arrow commands provided by old-arrows with option old +\DeclareRobustCommand\varlonghookrightarrow + {\lhook\joinrelaz\varlongrightarrow} +\DeclareRobustCommand\varlonghookleftarrow + {\varlongleftarrow\joinrelaz\rhook} + +%arrow commands provided by old-arrows (default) +\DeclareRobustCommand\longhookrightarrow + {\lhook\joinrel\longrightarrow} +\DeclareRobustCommand\longhookleftarrow + {\longleftarrow\joinrel\rhook} +\DeclareRobustCommand\longrightharpoonup + {\relbar\joinrel\rightharpoonup} +\DeclareRobustCommand\longrightharpoondown + {\relbar\joinrel\rightharpoondown} +\DeclareRobustCommand\longleftharpoonup + {\leftharpoonup\joinrel\relbar} +\DeclareRobustCommand\longleftharpoondown + {\leftharpoondown\joinrel\relbar} + +\fi + +%stmaryrd support for `new' and `old' +\@ifpackageloaded{stmaryrd}{% + \stmry@if\def\varmapsfrom{\varleftarrow\mapsfromchar}\fi + \stmry@if\def\varlongmapsfrom{\varlongleftarrow\mapsfromchar}\fi +}{} + \endinput |