summaryrefslogtreecommitdiff
path: root/macros/latex/contrib/wasysym/wasysym.dtx
diff options
context:
space:
mode:
authorNorbert Preining <norbert@preining.info>2020-01-21 03:01:52 +0000
committerNorbert Preining <norbert@preining.info>2020-01-21 03:01:52 +0000
commitb3f7f9ce3596843d5cf8e97c1855d9a15c0e4f47 (patch)
tree4287816d3535abe1f4ac55d6033d559eb9413dfe /macros/latex/contrib/wasysym/wasysym.dtx
parentfccbbdebf9887a283cd611aba2e1fc0a605aec8e (diff)
CTAN sync 202001210301
Diffstat (limited to 'macros/latex/contrib/wasysym/wasysym.dtx')
-rw-r--r--macros/latex/contrib/wasysym/wasysym.dtx123
1 files changed, 103 insertions, 20 deletions
diff --git a/macros/latex/contrib/wasysym/wasysym.dtx b/macros/latex/contrib/wasysym/wasysym.dtx
index f698cc1e3f..2e8aef9c94 100644
--- a/macros/latex/contrib/wasysym/wasysym.dtx
+++ b/macros/latex/contrib/wasysym/wasysym.dtx
@@ -1,20 +1,18 @@
% \iffalse meta-comment
%
% Copyright 1994 - 99 by Axel Kielhorn
-% Copyright 2003 Axel Kielhorn, Walter Schmidt
+% Copyright 2003, 2019 Axel Kielhorn, Walter Schmidt
%
% This program can be redistributed and/or modified under the terms
% of the LaTeX Project Public License Distributed from CTAN
% archives in directory macros/latex/base/lppl.txt; either
-% version 1 of the License, or any later version.
+% version 1.3c of the License, or any later version.
%
% IMPORTANT NOTICE:
%
% For error reports in case of UNCHANGED versions contact
-% A.Kielhorn@web.de
+% tex@axelkielhorn.de
%
-% You are not allowed to change this file.
-%
% Changes:
% 1.0b corrected mathcode for integrals (now 1)
% 1.0c Minor corrections
@@ -35,6 +33,13 @@
% time.
% \overstrike macro renamed to \wasy@over to avoid potential
% clashes
+% 2.0a Removed \rm from \DH command. It now works in
+% italic and bold as well, but the italic version looks
+% somewhat strange. I suggest using a T1 encoded font instead.
+% 2.3 Updated to support version 2.3 of the WASY fonts.2.4 Updated to support version 2.4 of the WASY fonts.
+% 2.4 New characters added: \longs (Unicode 017f) and
+% \roundz a variant of the letter z that got reintroduced to
+% german writing with the Vereinfachte Ausgangsschrift.
% \fi
%
% \CheckSum{844}
@@ -59,13 +64,14 @@
%<package>\NeedsTeXFormat{LaTeX2e}
%<package>\ProvidesPackage{wasysym}
%<fd|fdvar>\ProvidesFile{uwasy.fd}%
-%<-driver> [2003/10/30 v2.0
+%<-driver> [2020/01/19 v2.4
%<package> Wasy-2 symbol support package]
%<fd|fdvar> Wasy-2 symbol font definitions]
%
%
%<*driver>
\documentclass{ltxdoc}
+%\pdfmapfile{+wasy.map}
\OnlyDescription
\usepackage[integrals]{wasysym}
\providecommand\dst{\expandafter{\normalfont\scshape docstrip}}
@@ -171,16 +177,14 @@
% \begin{quote}
% |\male|~\male \quad
% |\female|~\female \quad
+% |\cent|~\cent \quad
+% |\wasyeuro|~\wasyeuro \quad
+% |\euro|~\euro\ (Unless option |noeuro| is specified) \quad
% |\currency|~\currency \quad
% |\phone|~\phone \quad
% |\recorder|~\recorder \quad
% |\clock|~\clock \quad
% |\lightning|~\lightning \quad
-% |\pointer|~\pointer \quad
-% |\RIGHTarrow|~\RIGHTarrow \quad
-% |\LEFTarrow|~\LEFTarrow \quad
-% |\UParrow|~\UParrow \quad
-% |\DOWNarrow|~\DOWNarrow \quad
% |\diameter|~\diameter \quad
% |\invdiameter|~\invdiameter \quad
% |\varangle|~\varangle \quad
@@ -193,14 +197,19 @@
% |\checked|~\checked \quad
% |\bell|~\bell \quad
% |\ataribox|~\ataribox \quad
-% |\cent|~\cent \quad
% |\permil|~\permil \quad
% |\brokenvert|~\brokenvert \quad
% |\wasytherefore|~\wasytherefore \quad
% |\Bowtie|~\Bowtie \quad
-% |\agemO|~\agemO
+% |\agemO|~\agemO \quad
+% |\wasyparagraph|~\wasyparagraph \quad
+% |\Paragraph|~\Paragraph \quad
+% |\wasycmd|~\wasycmd \quad
+% |\applecmd|~\applecmd
% \end{quote}
%
+% Note the variation betweeen |\Paragraph| \Paragraph\ and \S\ |\S|.
+%
% \subsection{Electrical and physical symbols}
%
% \begin{quote}
@@ -251,6 +260,16 @@
% |\rightturn|~\rightturn \quad
% \end{quote}
%
+% \subsection{Arrows}
+%
+% \begin{quote}
+% |\pointer|~\pointer \quad
+% |\RIGHTarrow|~\RIGHTarrow \quad
+% |\LEFTarrow|~\LEFTarrow \quad
+% |\UParrow|~\UParrow \quad
+% |\DOWNarrow|~\DOWNarrow \quad
+% \end{quote}
+%
% \subsection{Phonetic symbols}
%
% \begin{quote}
@@ -354,6 +373,44 @@
% the package will not clash with |amsmath|.
% \end{itemize}
%
+% \section{Changes in version~2.3}
+% Added support for the WASY fonts Version 2.3.
+%
+% This Version adds three new characters:
+%
+% |\wasyparagraph|~\wasyparagraph \quad |\wasyeuro|~\wasyeuro \quad
+% |\wasycmd|~\wasycmd.
+%
+% These charachters are available with shorter names as well.
+% If you want to keep the |\euro| command from a different package,
+% use the |noeuro| option.
+%
+% |\Paragraph|~\Paragraph \quad |\euro|~\euro \quad
+% |\applecmd|~\applecmd.
+%
+% WASY 2.0 included a bold font in 10~pt. This font is scaled for the other
+% sizes. It was accessible with the usual \LaTeX-commands:
+% |\textbf{\currency}| printed a bold \textbf{\currency} symbol. This was
+% apperently never documented.
+%
+% WASY 2.3 includes a slanted font in 10~pt. Again this font is available
+% through the usual \LaTeX-commands. |\textsl{\currency}| and
+% |\textit{\currency}| will print the same character \textsl{\currency}.
+%
+% Here are all three verions:
+% \currency\ \textbf{\currency} \textsl{\currency}.
+%
+% \section{Changes in version~2.4}
+% Added support for the WASY fonts Version 2.4.
+%
+% This Version adds two new characters:
+%
+% |\longs|~\longs \quad |\roundz|~\roundz.
+%
+% While the \longs\ is quite common, even for non german texts,
+% the \roundz\ is a rare hi\longs toric form. It was reintroduce to Germans
+% whith the ``Vereinfachte Ausgans\longs chrift'', a cur\longs ive font u\longs ed to teach
+% writing in elementary \longs chool.
%
% \StopEventually{}
%
@@ -387,12 +444,15 @@
%<*package>
\newif\ifwasy@integrals
\newif\ifwasy@compatibility
+\newif\ifwasy@euro \wasy@eurotrue
\DeclareOption{compat1}{%
\wasy@compatibilitytrue\wasy@integralsfalse}%
\DeclareOption{integrals}{%
\wasy@compatibilityfalse\wasy@integralstrue}%
\DeclareOption{nointegrals}{%
\wasy@compatibilityfalse\wasy@integralsfalse}%
+\DeclareOption{noeuro}{%
+ \wasy@eurofalse}%
\ExecuteOptions{compat1}
\ProcessOptions\relax
% \end{macrocode}
@@ -637,7 +697,7 @@
\def\thorn {{\wasyfamily\char105}}
\def\Thorn {{\wasyfamily\char106}}
\DeclareTextCommand{\dh}{OT1}{{\wasyfamily\char107}}
-\DeclareTextCommand{\DH}{OT1}{\leavevmode{\rm\setbox0\hbox{D}%
+\DeclareTextCommand{\DH}{OT1}{\leavevmode{\setbox0\hbox{D}%
\hbox to\wd0{\kern 0.04em\char32\hss D}}}
\def\openo {{\wasyfamily\char108}}
\def\inve {{\wasyfamily\char85}}
@@ -708,9 +768,24 @@
\@ifpackageloaded{amsmath}{\wasy@amssetup}{\wasy@setup}
\fi
}
-%</package>
% \end{macrocode}
%
+% \begin{macrocode}
+\def \wasyparagraph {{\wasyfamily\char"4D}}
+\def \wasyeuro {{\wasyfamily\char"4E}}
+\def \wasycmd {{\wasyfamily\char"53}}
+\ifwasy@euro
+ \let \euro\wasyeuro
+\fi
+\let \Paragraph\wasyparagraph
+\let \applecmd\wasycmd
+% \end{macrocode}
+%
+% \begin{macrocode}
+\def \longs {{\wasyfamily\char"54}}
+\def \roundz {{\wasyfamily\char"4F}}
+%</package>
+% \end{macrocode}
% \subsection{The font definition files}
%
% The declarations,
@@ -718,11 +793,15 @@
% \begin{macrocode}
%<*fd>
\DeclareFontFamily{U}{wasy}{}
-\DeclareFontShape{U}{wasy}{m}{n}{ <5> <6> <7> <8> <9> gen * wasy
- <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88>wasy10 }{}
+\DeclareFontShape{U}{wasy}{m}{n}{%
+<5>
+<6>
+<7>
+<8>
+<9> gen * wasy
+<10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> wasy10 }{}
\DeclareFontShape{U}{wasy}{b}{n}{ <-10> sub * wasy/m/n
- <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88>wasyb10 }{}
-\DeclareFontShape{U}{wasy}{bx}{n}{ <-> sub * wasy/b/n}{}
+ <10> <10.95> <12> <14.4> <17.28> <20.74> <24.88> wasyb10 }{}
%</fd>
%<*fdvar>
\DeclareFontFamily{U}{wasy}{}
@@ -735,8 +814,12 @@
<10-> wasy10}{}
\DeclareFontShape{U}{wasy}{b}{n}{ <-10> sub * wasy/m/n
<10-> wasyb10 }{}
-\DeclareFontShape{U}{wasy}{bx}{n}{ <-> sub * wasy/b/n}{}
%</fdvar>
+%<*fdvar|fd>
+\DeclareFontShape{U}{wasy}{bx}{n}{ <-> sub * wasy/b/n}{}
+\DeclareFontShape{U}{wasy}{m}{sl}{ <-> wasysl10 }{}
+\DeclareFontShape{U}{wasy}{m}{it}{ <-> sub * wasy/m/sl }{}
+%</fdvar|fd>
% \end{macrocode}
%
% The next line goes into all files and in addition prevents \dst{}