diff options
author | Karl Berry <karl@freefriends.org> | 2015-10-12 22:17:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2015-10-12 22:17:16 +0000 |
commit | fed5afdcdbbb42457a5a2515e008be46a54575a6 (patch) | |
tree | c908f75c60a41081fa3f38a3f9a7544e547b1eb9 /Master/texmf-dist/doc/fonts/old-arrows/old-arrows.tex | |
parent | 62e4ebfc23e63182647c7a7bd9c8994e2ea18e0b (diff) |
old-arrows (12oct15)
git-svn-id: svn://tug.org/texlive/trunk@38619 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/old-arrows/old-arrows.tex')
-rw-r--r-- | Master/texmf-dist/doc/fonts/old-arrows/old-arrows.tex | 276 |
1 files changed, 209 insertions, 67 deletions
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 9d0adc1d077..b61941cff89 100644 --- a/Master/texmf-dist/doc/fonts/old-arrows/old-arrows.tex +++ b/Master/texmf-dist/doc/fonts/old-arrows/old-arrows.tex @@ -10,16 +10,19 @@ \documentclass[11pt]{ltxdoc} \usepackage[english]{babel} +\usepackage[T1]{fontenc} \usepackage{amsmath,amssymb,amsthm} \usepackage[shortlabels]{enumitem} \usepackage{stmaryrd} +\usepackage{mathtools} \usepackage[new]{old-arrows} -\usepackage[margin=3.3cm,footskip=20pt]{geometry} +\usepackage[hmargin=3.3cm,vmargin=3.0cm,footskip=20pt]{geometry} \usepackage[colorlinks=true]{hyperref} \usepackage[all]{hypcap} % needed to help hyperlinks direct correctly; +\usepackage[chicago]{ellipsis} -\def\fileversion{1.1} -\def\filedate{September 10, 2015} +\def\fileversion{1.2} +\def\filedate{October 11, 2015} %Logo per MiKTeX e TeXLive \newcommand{\MiKTeX}{MiK\TeX} @@ -83,17 +86,21 @@ E-mail: \href{mailto:riccardo.dossena@gmail.com}{\tt riccardo.dossena@gmail.com} \maketitle \begin{abstract} -This package provides Computer Modern old-style arrows ($\rightarrow$) with smaller arrowheads, associated with -ordinary \LaTeX\ commands. It can be used in a document that contains -other \texttt{amssymb} arrow characters, like $\twoheadrightarrow$, that also have small -arrowheads. It is possible to use the usual new-style Computer Modern arrows ($\varrightarrow$) together with the old-style ones. +This package provides Computer Modern old-style arrows ($\rightarrow$) with smaller arrowheads, associated +with ordinary \LaTeX\ commands. It can be used in a document that contains other \texttt{amssymb} arrow +characters, like $\twoheadrightarrow$, which also have small arrowheads. It is possible to use the usual +new-style Computer Modern arrows ($\varrightarrow$) together with the old-style ones. \end{abstract} \tableofcontents +%\pagebreak + \section{Introduction} -In 1992, Donald E. Knuth made some important corrections to Computer Modern fonts\footnote{See \url{http://www-cs-faculty.stanford.edu/~uno/cm.html}}. As a consequence, the characters corresponding to arrows have been modified. Just to make things clearer, +In 1992, Donald E. Knuth made some important corrections to Computer Modern fonts\footnote{See +\url{http://www-cs-faculty.stanford.edu/~uno/cm.html}}. As a consequence, the characters corresponding to +arrows have been modified. Just to make things clearer, \[ A \to B \] @@ -101,11 +108,19 @@ became \[ A \varto B \] - that is, the character $\to$ was replaced by $\varto$, that has a larger arrowhead. The same happened to other arrow characters. However, many arrow characters defined by \texttt{amssymb}, like $\nrightarrow$, $\rightarrowtail$, $\twoheadrightarrow$ and others, maintained a small arrowhead and seem too different from $\varto$. +that is, the character $\to$ was replaced by $\varto$, which has a larger arrowhead. The same happened to +other arrow characters. However, many arrow characters defined by \texttt{amssymb}, like $\nrightarrow$, +$\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 (e.g.,~\verb|\varrightarrow|, \verb|\varleftarrow|\ldots). +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). -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. +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. \section{Licenses} @@ -138,53 +153,59 @@ The Old Arrows fonts files are: \end{tabular} \end{center} -These files were derived from Computer Modern fonts \texttt{cmbsy5}, \texttt{cmbsy7}, \texttt{cmbsy10}, \texttt{cmsy5}, \texttt{cmsy7}, \texttt{cmsy8}, \texttt{cmsy9} and \texttt{cmsy10}. +These files were derived from Computer Modern fonts \texttt{cmbsy5}, \texttt{cmbsy7}, \texttt{cmbsy10}, +\texttt{cmsy5}, \texttt{cmsy7}, \texttt{cmsy8}, \texttt{cmsy9} and \texttt{cmsy10}. -Call \texttt{<localtexmf>} the path of your local \texttt{texmf} tree. For \TeXLive, the local tree is usually placed in \texttt{/usr/local/texlive/texmf-local}; for \MiKTeX, it can be set up on any directory, by the \textsf{Roots} tab of ``\MiKTeX\ Options''. +Call \texttt{<localtexmf>} the path of your local \texttt{texmf} tree. For \TeXLive, the local tree is +usually placed in \texttt{/usr/local/texlive/texmf-local}; for \MiKTeX, it can be set up on any directory, by +the \textsf{Roots} tab of ``\MiKTeX\ Options''. \begin{enumerate} -\item Copy the \texttt{*.afm} and \texttt{*.tfm} font files into the corresponding \texttt{old-arrows} directories (you have to create them, as shown below): - \begin{verbatim} +\item Copy the \texttt{*.afm} and \texttt{*.tfm} font files into the corresponding \texttt{old-arrows} + directories (you have to create them, as shown below): +\begin{verbatim} <localtexmf>/fonts/afm/old-arrows <localtexmf>/fonts/tfm/old-arrows - \end{verbatim} +\end{verbatim} \item Copy the \texttt{*.pfb} and \texttt{*.pfm} font files into the directory - \begin{verbatim} +\begin{verbatim} <localtexmf>/fonts/type1/old-arrows - \end{verbatim} +\end{verbatim} \item Copy the \texttt{oasy.enc} and \texttt{oasy.map} files, respectively, into the directories - \begin{verbatim} +\begin{verbatim} <localtexmf>/fonts/enc/dvips/old-arrows <localtexmf>/fonts/map/dvips/old-arrows - \end{verbatim} +\end{verbatim} \item Copy the \texttt{old-arrows.sty} file into the directory - \begin{verbatim} +\begin{verbatim} <localtexmf>/tex/latex/old-arrows - \end{verbatim} +\end{verbatim} \end{enumerate} \subsection{Updating the filename database}\label{agg-database-file} \begin{description}[font=\bfseries\sffamily, leftmargin=5em, style=sameline] -\item[\MiKTeX] On the \textsf{General} tab of ``MiKTeX Options (Admin)'' click the \textsf{Refresh~FNDB} button. Alternatively, in a DOS command prompt window run - \begin{verbatim} +\item[\MiKTeX] On the \textsf{General} tab of ``MiKTeX Options (Admin)'' click the \textsf{Refresh~FNDB} + button. Alternatively, in a DOS command prompt window run +\begin{verbatim} initexmf --update-fndb - \end{verbatim} +\end{verbatim} -\item[\TeXLive] Start the ``\TeXLive\ Manager''. From \textsf{Actions} menu, select \textsf{Update filename database}. Alternatively, run in a terminal command line - \begin{verbatim} +\item[\TeXLive] Start the ``\TeXLive\ Manager''. From \textsf{Actions} menu, select \textsf{Update + filename + database}. Alternatively, run in a terminal command line +\begin{verbatim} mktexlsr - \end{verbatim} +\end{verbatim} \end{description} \subsection{Updating the font map files} \begin{description}[font=\bfseries\sffamily, leftmargin=5em, style=sameline] -\item[\MiKTeX] -To update the configuration file \texttt{updmap.cfg}, execute in a DOS command prompt +\item[\MiKTeX] To update the configuration file \texttt{updmap.cfg}, execute in a DOS command prompt \begin{verbatim} initexmf --edit-config-file updmap \end{verbatim} @@ -197,8 +218,7 @@ save, close and execute (always in the DOS command prompt) initexmf --mkmaps \end{verbatim} -\item[\TeXLive] -Execute in a terminal command line +\item[\TeXLive] Execute in a terminal command line \begin{verbatim} updmap-sys --enable Map=oasy.map \end{verbatim} @@ -213,7 +233,8 @@ Simply type in the preamble of your \LaTeX\ document \begin{verbatim} \usepackage{old-arrows} \end{verbatim} -and every arrow command will be associated to the ``old-style'', as indicated in table~\ref{tab-frecce-vecchie}. +and every arrow command will be associated to the ``old-style'', as indicated in +table~\ref{tab-frecce-vecchie}. \begin{table}[!htbp] \begin{symbols}{*3{cl}} @@ -225,33 +246,41 @@ and every arrow command will be associated to the ``old-style'', as indicated in \X{\leftharpoonup} & \X{\rightharpoonup} & \X{\swarrow} \\ \X{\leftharpoondown} & \X{\rightharpoondown} & \X{\nwarrow} \\ \end{symbols} -\caption{Old-style arrows, provided by \texttt{old-arrows}.}\label{tab-frecce-vecchie} +\caption{Old-style arrows provided by \texttt{old-arrows}.}\label{tab-frecce-vecchie} \end{table} -\subsection{Usage together with \texttt{amsmath}, \texttt{lmodern} and \texttt{stmaryrd} packages} +The commands \verb|\rightarrowfill| and \verb|\leftarrowfill| allow to fill empty spaces with extensible +arrows. For example, the first command written at the end of this paragraph gives the following result: +\rightarrowfill -The \texttt{old-arrows} package does not require \texttt{amsmath}. However, if you want to use the \texttt{amsmath} package, you must load it \emph{before} \texttt{old-arrows}: -\begin{verbatim} - \usepackage{amsmath} - \usepackage{old-arrows} -\end{verbatim} -Moreover, \texttt{old-arrows} is fully compatible with the Latin Modern and the St Mary's Road symbol fonts, always provided that you load the \texttt{lmodern} and \texttt{stmaryrd} packages \emph{before} \texttt{old-arrows}: +\subsection{Usage together with other packages} + +\subsubsection{\texttt{amsmath}} + +The \texttt{old-arrows} package does not require \texttt{amsmath}. However, if you want to use the +\texttt{amsmath} package, you must load it \emph{before} \texttt{old-arrows}: \begin{verbatim} - \usepackage{lmodern} \usepackage{amsmath} - \usepackage{stmaryrd} \usepackage{old-arrows} \end{verbatim} -\begin{remark} -It is very important that you load \texttt{old-arrows} \emph{after} \texttt{amsmath}, \texttt{stmaryrd} and \texttt{lmodern}, because \texttt{old-arrows} redefines many commands provided by these packages. Otherwise, \texttt{old-arrows} won't work properly. -\end{remark} - -The \texttt{amsmath} package makes other 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 and the characters, with a better typographical result. The commands \verb|\overrightarrow{AB}| and \verb|\overleftarrow{AB}|, without \texttt{amsmath}, produce respectively +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 +\texttt{amsmath}, produce respectively \[ -\overrightfreccia{AB} \,\text{ rather than }\, \overrightarrow{AB} \qquad \text{and} \qquad \overleftfreccia{AB} \,\text{ rather than }\, \overleftarrow{AB}. +\overrightfreccia{AB} \,\text{ rather than }\, \overrightarrow{AB} \qquad \text{and} \qquad +\overleftfreccia{AB} +\,\text{ rather than }\, \overleftarrow{AB}. \] -The commands \verb|\rightarrowfill| and \verb|\leftarrowfill| allow to fill empty spaces with extensible arrows. For example, the first command at the end of this line gives \rightarrowfill + +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 +\begin{center} + \verb|$\boldsymbol{A \to B}$| \quad and \quad \verb|$\boldsymbol{\overrightarrow{AB}}$| +\end{center} +produce $\boldsymbol{A \to B}$ and $\boldsymbol{\overrightarrow{AB}}$, respectively. \begin{table}[!htbp] \begin{symbols}{*3{cl}} @@ -274,13 +303,30 @@ The commands \verb|\rightarrowfill| and \verb|\leftarrowfill| allow to fill empt \caption{Old-style operator names provided by \texttt{amsmath}.}\label{tab-operatori-vecchi} \end{table} -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 -\begin{center} - \verb|$\boldsymbol{A \to B}$| \quad and \quad \verb|$\boldsymbol{\overrightarrow{AB}}$| -\end{center} -produce $\boldsymbol{A \to B}$ and $\boldsymbol{\overrightarrow{AB}}$, respectively. +\subsubsection{\texttt{lmodern}} + +The \texttt{old-arrows} package is fully compatible with the Latin Modern fonts, provided that you load the +\texttt{lmodern} package \emph{before} \texttt{old-arrows}. +\begin{verbatim} + \usepackage{lmodern} + \usepackage{old-arrows} +\end{verbatim} + +\subsubsection{\texttt{stmaryrd}} + +The \texttt{old-arrows} package is also fully compatible with the St Mary's Road symbol font, always provided +that you load the \texttt{stmaryrd} package \emph{before} \texttt{old-arrows}. +\begin{verbatim} + \usepackage{stmaryrd} + \usepackage{old-arrows} +\end{verbatim} + +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 +old-style version of these arrows, as shown in table~\ref{tab-frecce-vecchie-smr}. -Finally, 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 old-style version of these arrows, as shown in table~\ref{tab-frecce-vecchie-smr}. \begin{table}[!htbp] \begin{symbols}{*2{cl}} \X{\mapsfrom} & \X{\longmapsfrom} \\ @@ -288,6 +334,53 @@ Finally, the \texttt{stmaryrd} package provides several arrow characters with sm \caption{Old-style arrows provided by \texttt{stmaryrd}.}\label{tab-frecce-vecchie-smr} \end{table} +\pagebreak + +\subsubsection{\texttt{mathtools}} + + +The \texttt{old-arrows} package can be used together with the \texttt{mathtools} package, always on condition +that you load it \emph{before} \texttt{old-arrows}. +\begin{verbatim} + \usepackage{mathtools} + \usepackage{old-arrows} +\end{verbatim} + +The \texttt{mathtools} package makes additional extensible arrows available +(table~\ref{tab-frecce-vecchie-mt}). + +\begin{table}[!htbp] +\begin{symbols}{*2{cl}} + \W{\xleftrightarrow}{ABCDEF} & \W{\xmapsto}{ABCDEF} \\ + \W{\xhookleftarrow}{ABCDEF} & \W{\xhookrightarrow}{ABCDEF} \\ +\end{symbols} +\caption{Old-style extensible arrows provided by \texttt{mathtools}.}\label{tab-frecce-vecchie-mt} +\end{table} + +Every extensible arrow can take an optional argument that produces a subscript. For example, the commands +\begin{center} + \verb|\xrightarrow[G]{ABCDEF}| \quad and \quad \verb|\xmapsto[G]{ABCDEF}| +\end{center} +produce +\begin{center} +$\xrightarrow[G]{ABCDEF}$ \quad and \quad $\xmapsto[G]{ABCDEF}$ +\end{center} + +%\pagebreak + +\begin{remark} +It is very important that you load \texttt{old-arrows} \emph{after} \texttt{amsmath}, \texttt{stmaryrd}, +\texttt{lmodern} and \texttt{mathtools}, because many commands of these packages must be redefined by +\texttt{old-arrows}. Otherwise, \texttt{old-arrows} won't work properly. +\begin{verbatim} + \usepackage{lmodern} + \usepackage{amsmath} + \usepackage{stmaryrd} + \usepackage{mathtools} + \usepackage{old-arrows} +\end{verbatim} +\end{remark} + \subsection{The option \textsf{new}} @@ -295,7 +388,10 @@ 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, 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} and \ref{tab-frecce-nuove-smr}. +allows 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}. \begin{table}[!htbp] \begin{symbols}{*3{cl}} @@ -315,52 +411,98 @@ allows to use the new-style and the old-style arrows simultaneously. In order to \W{\varoverrightarrow}{AB} & \W{\varunderrightarrow}{AB} \\ \W{\varoverleftrightarrow}{AB} & \W{\varunderleftrightarrow}{AB} \\ \end{symbols} -\caption{New-style over and under arrows provided by \texttt{amsmath} and the option \texttt{new} of \texttt{old-arrows}.} +\caption{New-style over and under arrows provided by \texttt{amsmath} and the option \texttt{new} of +\texttt{old-arrows}.} \label{tab-frecce-nuove-amsmath} \end{table} \begin{table}[!htbp] \begin{symbols}{*2{cl}} \W{\varxleftarrow}{ABCDEF} & \W{\varxrightarrow}{ABCDEF} \\ \end{symbols} -\caption{New-style extensible arrows provided by \texttt{amsmath} and the option \texttt{new} of \texttt{old-arrows}.} +\caption{New-style extensible arrows provided by \texttt{amsmath} and the option \texttt{new} of +\texttt{old-arrows}.} \label{tab-frecce-nuove-ext} \end{table} \begin{table}[!htbp] \begin{symbols}{*2{cl}} \X{\varvarinjlim} & \X{\varvarprojlim} \\ \end{symbols} -\caption{New-style operator names provided by \texttt{amsmath} and the option \texttt{new} of \texttt{old-arrows}.}\label{tab-operatori-nuovi} +\caption{New-style operator names provided by \texttt{amsmath} and the option \texttt{new} of +\texttt{old-arrows}.}\label{tab-operatori-nuovi} \end{table} \begin{table}[!htbp] \begin{symbols}{*2{cl}} \X{\varmapsfrom} & \X{\varlongmapsfrom} \\ \end{symbols} -\caption{New-style arrows provided by \texttt{stmaryrd} and the option \texttt{new} of \texttt{old-arrows}.}\label{tab-frecce-nuove-smr} +\caption{New-style arrows provided by \texttt{stmaryrd} and the option \texttt{new} of +\texttt{old-arrows}.}\label{tab-frecce-nuove-smr} +\end{table} +\begin{table}[!htbp] +\begin{symbols}{*2{cl}} + \W{\varxleftrightarrow}{ABCDEF} & \W{\varxmapsto}{ABCDEF} \\ + \W{\varxhookleftarrow}{ABCDEF} & \W{\varxhookrightarrow}{ABCDEF} \\ +\end{symbols} +\caption{New-style extensible arrows provided by \texttt{mathtools} and the option \texttt{new} of +\texttt{old-arrows}.}\label{tab-frecce-nuove-mt} \end{table} - \pagebreak Note that the commands \begin{center} \verb|\leftharpoonup|, \verb|\rightharpoonup|, \verb|\leftharpoondown|, \verb|\rightharpoondown| \end{center} -have not been redefined by \texttt{old-arrows}, because the corresponding characters $\leftharpoonup,\rightharpoonup,\leftharpoondown,\rightharpoondown$ have not been modified by the introduction of the new-style arrows. +have not been redefined by \texttt{old-arrows}, because the corresponding characters +$\leftharpoonup,\rightharpoonup,\leftharpoondown,\rightharpoondown$ have not been modified by the +introduction of the new-style arrows. -The commands \verb|\varrightarrowfill| and \verb|\varleftarrowfill| allow to fill empty spaces with extensible arrows. The first command at the end of this line gives \varrightarrowfill +The commands \verb|\varrightarrowfill| and \verb|\varleftarrowfill| allow to fill empty spaces with +extensible arrows. For example, the first command written at the end of this paragraph gives the following +result: \varrightarrowfill -If you want to use the option \texttt{new} and the option \texttt{only} provided by the \texttt{stmaryrd} package, you must write in the option list the command you wish to define in both ordinary and \verb|\var| versions. For example: +If you want to use the option \texttt{new} and the option \texttt{only} provided by the \texttt{stmaryrd} +package, you must write the command you wish to define in both ordinary and \verb|\var| versions in the +option list. For example: \begin{verbatim} \usepackage[only,mapsfrom,varmapsfrom]{stmaryrd} \usepackage[new]{old-arrows} \end{verbatim} says that only the symbols $\mapsfrom$ and $\varmapsfrom$ will be defined by \texttt{stmaryrd}. -Finally, even with the option \texttt{new} it is possibile to use the command \verb|\boldsymbol| provided by \texttt{amsmath}. The following commands +Furthermore, with the option \texttt{new} it is also possibile to use the command \verb|\boldsymbol| provided +by \texttt{amsmath}. The following commands \begin{center} \verb|$\boldsymbol{A \varto B}$| \quad and \quad \verb|$\boldsymbol{\varoverrightarrow{AB}}$| \end{center} produce $\boldsymbol{A \varto B}$ and $\boldsymbol{\varoverrightarrow{AB}}$ respectively. +%\pagebreak + +\subsection{Additional arrow commands provided by \texttt{old-arrows}} +The \texttt{old-arrows} package provides additional arrow commands that are listed in +table~\ref{tab-comandi-nuovi}. +\begin{table}[!htbp] +\begin{symbols}{*2{cl}} + \X{\longhookrightarrow} & \X{\longhookleftarrow} \\ + \X{\varlonghookrightarrow}$^a$ & \X{\varlonghookleftarrow}$^a$ \\ + \X{\longleftharpoonup} & \X{\longleftharpoondown} \\ + \X{\longrightharpoonup} & \X{\longrightharpoondown} \\ +\end{symbols} +\centerline{\footnotesize $^a$Available with the option \texttt{new}.} +\caption{Arrow commands provided by \texttt{old-arrows}.}\label{tab-comandi-nuovi} +\end{table} + +Finally, there are extensible ``mapsfrom'' arrows (table~\ref{tab-frecce-mt-smr}) that are available only if +both \texttt{mathtools} and \texttt{stmaryrd} are loaded together with \texttt{old-arrows} (as they depend on +commands defined by these two packages). +\begin{table}[!htbp] +\begin{symbols}{*2{cl}} + \W{\xmapsfrom}{ABCDEF} & \W{\varxmapsfrom}{ABCDEF}$^a$ \\ +\end{symbols} +\centerline{\footnotesize $^a$Available with the option \texttt{new}.} +\caption{Extensible arrows provided by \texttt{old-arrows} together with \texttt{mathtools} and +\texttt{stmaryrd}.} +\label{tab-frecce-mt-smr} +\end{table} -\end{document}
\ No newline at end of file +\end{document} |