diff options
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 | 65 |
1 files changed, 43 insertions, 22 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 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}} |