summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/old-arrows/old-arrows.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2015-09-11 22:45:08 +0000
committerKarl Berry <karl@freefriends.org>2015-09-11 22:45:08 +0000
commite25ecd60fe0ac3f9c8c76a1851698279b7cc6ecb (patch)
tree6b99c1a2b86b9cfc0da00aa5541bc60203808baa /Master/texmf-dist/doc/fonts/old-arrows/old-arrows.tex
parenta179b00ec6a89e8c00663e1c50bc279caf319646 (diff)
old-arrows (11sep15)
git-svn-id: svn://tug.org/texlive/trunk@38349 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.tex66
1 files changed, 52 insertions, 14 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 88c4bb44537..9d0adc1d077 100644
--- a/Master/texmf-dist/doc/fonts/old-arrows/old-arrows.tex
+++ b/Master/texmf-dist/doc/fonts/old-arrows/old-arrows.tex
@@ -12,13 +12,14 @@
\usepackage[english]{babel}
\usepackage{amsmath,amssymb,amsthm}
\usepackage[shortlabels]{enumitem}
+\usepackage{stmaryrd}
\usepackage[new]{old-arrows}
\usepackage[margin=3.3cm,footskip=20pt]{geometry}
\usepackage[colorlinks=true]{hyperref}
\usepackage[all]{hypcap} % needed to help hyperlinks direct correctly;
-\def\fileversion{1.0}
-\def\filedate{August 15, 2015}
+\def\fileversion{1.1}
+\def\filedate{September 10, 2015}
%Logo per MiKTeX e TeXLive
\newcommand{\MiKTeX}{MiK\TeX}
@@ -58,12 +59,12 @@
\def\varoverleftfreccia#1{\vbox{\m@th\ialign{##\crcr
\varleftfrecciafill\crcr\noalign{\kern-\p@\nointerlineskip}%
$\hfil\displaystyle{#1}\hfil$\crcr}}}
-\def\rightfrecciafill{$\m@th\smash-\mkern-7mu%
- \cleaders\hbox{$\mkern-2mu\smash-\mkern-2mu$}\hfill
+\def\rightfrecciafill{$\m@th\smash\meno\mkern-7mu%
+ \cleaders\hbox{$\mkern-2mu\smash\meno\mkern-2mu$}\hfill
\mkern-7mu\mathord\rightarrow$}
\def\leftfrecciafill{$\m@th\mathord\leftarrow\mkern-7mu%
- \cleaders\hbox{$\mkern-2mu\smash-\mkern-2mu$}\hfill
- \mkern-7mu\smash-$}
+ \cleaders\hbox{$\mkern-2mu\smash\meno\mkern-2mu$}\hfill
+ \mkern-7mu\smash\meno$}
\def\varrightfrecciafill{$\m@th\smash-\mkern-7mu%
\cleaders\hbox{$\mkern-2mu\smash-\mkern-2mu$}\hfill
\mkern-7mu\mathord\varrightarrow$}
@@ -84,7 +85,7 @@ E-mail: \href{mailto:riccardo.dossena@gmail.com}{\tt riccardo.dossena@gmail.com}
\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{amsmath} arrow characters, like $\twoheadrightarrow$, that also have small
+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.
\end{abstract}
@@ -227,25 +228,26 @@ and every arrow command will be associated to the ``old-style'', as indicated in
\caption{Old-style arrows, provided by \texttt{old-arrows}.}\label{tab-frecce-vecchie}
\end{table}
-\subsection{Usage together with \texttt{amsmath} and \texttt{lmodern} packages}
+\subsection{Usage together with \texttt{amsmath}, \texttt{lmodern} and \texttt{stmaryrd} packages}
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 fonts, always provided that you load the \texttt{lmodern} package \emph{before} \texttt{old-arrows}:
+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}:
\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} and \texttt{lmodern}, because \texttt{old-arrows} redefines many commands provided by these packages. Otherwise, \texttt{old-arrows} won't work properly.
+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}) and extensible arrows (table~\ref{tab-frecce-vecchie-ext}) 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|\overlefttarrow{AB}|, without \texttt{amsmath}, produce respectively
+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
\[
\overrightfreccia{AB} \,\text{ rather than }\, \overrightarrow{AB} \qquad \text{and} \qquad \overleftfreccia{AB} \,\text{ rather than }\, \overleftarrow{AB}.
\]
@@ -265,20 +267,35 @@ The commands \verb|\rightarrowfill| and \verb|\leftarrowfill| allow to fill empt
\end{symbols}
\caption{Old-style extensible arrows provided by \texttt{amsmath}.}\label{tab-frecce-vecchie-ext}
\end{table}
+\begin{table}[!htbp]
+\begin{symbols}{*2{cl}}
+ \X{\varinjlim} & \X{\varprojlim} \\
+\end{symbols}
+\caption{Old-style operator names provided by \texttt{amsmath}.}\label{tab-operatori-vecchi}
+\end{table}
-Finally, 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 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.
+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} \\
+\end{symbols}
+\caption{Old-style arrows provided by \texttt{stmaryrd}.}\label{tab-frecce-vecchie-smr}
+\end{table}
+
+
\subsection{The option \textsf{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, just put \verb|\var| before every ordinary command, as shown in tables~\ref{tab-frecce-nuove}, \ref{tab-frecce-nuove-amsmath} and \ref{tab-frecce-nuove-ext}.
+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}.
\begin{table}[!htbp]
\begin{symbols}{*3{cl}}
@@ -308,8 +325,20 @@ allows to use the new-style and the old-style arrows simultaneously. In order to
\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}
+\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}
+\end{table}
-%\pagebreak
+\pagebreak
Note that the commands
\begin{center}
@@ -319,10 +348,19 @@ have not been redefined by \texttt{old-arrows}, because the corresponding charac
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
+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:
+\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
\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.
+
+
\end{document} \ No newline at end of file