summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/tex/plain
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2020-01-20 22:49:56 +0000
committerKarl Berry <karl@freefriends.org>2020-01-20 22:49:56 +0000
commit912572d81b0ed3d7ac9fe322e50d793f8f033522 (patch)
tree923f33bca6c819a46513ecb624fdc827075d6e99 /Master/texmf-dist/tex/plain
parent0480e40defcc2fd417207ff1de49c8b44aa4a968 (diff)
wasy (20jan20)
git-svn-id: svn://tug.org/texlive/trunk@53468 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/plain')
-rw-r--r--Master/texmf-dist/tex/plain/wasy/wasyfont.tex91
1 files changed, 68 insertions, 23 deletions
diff --git a/Master/texmf-dist/tex/plain/wasy/wasyfont.tex b/Master/texmf-dist/tex/plain/wasy/wasyfont.tex
index 7109ce06971..e5e171dbf4e 100644
--- a/Master/texmf-dist/tex/plain/wasy/wasyfont.tex
+++ b/Master/texmf-dist/tex/plain/wasy/wasyfont.tex
@@ -1,10 +1,31 @@
-% this is wasyfont.tex version 2.01--92/10
+% this is WASYFONT.tex version 2.4--2020/01
+% to be used with PlainTeX
+\catcode`@=11 % make @ letter
+\ifx\newwasy\undefined
\font\tenwasy = wasy10
\font\wasyb = wasyb10
\font\ninewasy = wasy9
-\font\eightwasy = wasy8
\font\sevenwasy = wasy7
+\font\bigwasy = wasy10 scaled \magstep1
+\font\bigwasyb = wasyb10 scaled \magstep1
+\font\Bigwasy = wasy10 scaled \magstep2
+\font\Bigwasyb = wasyb10 scaled \magstep2
\font\fivewasy = wasy5
+\font\eightwasy = wasy8
+\font\wasysl = wasysl10
+\else
+\font\tenwasy = wasym10
+\font\wasyb = wasymb10
+\font\ninewasy = wasym9
+\font\sevenwasy = wasym7
+\font\bigwasy = wasym10 scaled \magstep1
+\font\bigwasyb = wasymb10 scaled \magstep1
+\font\Bigwasy = wasym10 scaled \magstep2
+\font\Bigwasyb = wasymb10 scaled \magstep2
+\font\fivewasy = wasym5
+\font\eightwasy = wasym8
+\font\wasysl = wasyml10
+\fi
\newfam\wasyfam
\newcount\wasyfamcount
\wasyfamcount=\wasyfam \multiply\wasyfamcount by 256
@@ -12,6 +33,14 @@
\textfont\wasyfam=\tenwasy
\scriptfont\wasyfam=\sevenwasy
\scriptscriptfont\wasyfam=\fivewasy
+%%%%%% move to slanted or boldface including wasy symbols
+\def\wbf{\bf\let\tenwasy\wasyb}
+\def\wsl{\sl\let\tenwasy\wasysl}
+\def\euro{{\wasy\char"4E}}
+\def\Paragraph{{\wasy\char"4D}}
+\def\s{{\wasy\char"54}}
+\def\z{{\wasy\char"4F}}
+\def\applecmd{{\wasy\char"53}}
%%%%%% special macro
\def\overstrike#1#2{{\setbox0\hbox{$#2$}\hbox to \wd0{\hss
$#1$\hss}\kern-\wd0\box0}}
@@ -69,26 +98,6 @@
\def\RIGHTCIRCLE{\hbox{\wasy\char"48}}
\def\LEFTcircle{\hbox to 0pt{\wasy\char"47\hss}\hbox{\wasy\char"23}}
\def\RIGHTcircle{\hbox to 0pt{\wasy\char"48\hss}\hbox{\wasy\char"23}}
-%%%%%% astronomy
-\def\vernal{\hbox{\wasy\char"17}}
-\def\ascnode{\hbox{\wasy\char"13}}
-\def\descnode{\hbox{\wasy\char"14}}
-\def\fullmoon{\hbox{\wasy\char"23}}
-\def\newmoon{\hbox{\wasy\char"20}}
-\def\leftmoon{\hbox{\wasy\char"24}}
-\def\rightmoon{\hbox{\wasy\char"25}}
-\def\astrosun{\hbox{\tensy\char"0C}}
-\def\mercury{\hbox{\wasy\char"27}}
-\def\venus{\raise0.2ex\hbox{\wasy\char"19}}
-\def\earth{\lower0.3ex\hbox{\wasy\char"26}}
-\def\mars{\lower0.2ex\hbox{\wasy\char"1A}}
-\def\jupiter{\hbox{\wasy\char"58}}
-\def\saturn{\hbox{\wasy\char"59}}
-\def\uranus{\hbox{\wasy\char"5A}}
-\def\neptune{\hbox{\wasy\char"5B}}
-\def\pluto{\hbox{\wasy\char"5C}}
-\def\conjunction{\hbox{\wasy\char"56}}
-\def\opposition{\hbox{\wasy\char"57}}
%%%%%% the zodiac
\def\aries{\hbox{\wasy\char"17}}
\def\taurus{\hbox{\wasy\char"5D}}
@@ -136,7 +145,7 @@
\def\thorn{{\wasy\char"69}}
\def\Thorn{{\wasy\char"6A}}
\def\dh{{\wasy\char"6B}}
-\def\Dh{\leavevmode{\rm\setbox0\hbox{D}%
+\def\Dh{\leavevmode{\setbox0\hbox{D}%
\hbox to\wd0{\kern 0.04em\char32\hss D}}}
\def\openo{{\wasy\char"6C}}
\def\inve{{\wasy\char"55}}
@@ -166,7 +175,43 @@
\wasymathchardef{1075}{\varoint}
\wasymathchardef{1076}{\oiint}
%
+\wasymathchardef{0027}{\mer@@}
+\wasymathchardef{0019}{\ven@@}
+\wasymathchardef{0026}{\ear@@}
+\wasymathchardef{001A}{\mar@@}
+\wasymathchardef{0058}{\jup@@}
+\wasymathchardef{0059}{\sat@@}
+\wasymathchardef{005A}{\ura@@}
+\wasymathchardef{005B}{\nep@@}
+\wasymathchardef{0024}{\moon@@}
+\wasymathchardef{0017}{\vern@@}
+\wasymathchardef{0013}{\ascn@de}
+\wasymathchardef{0014}{\descn@de}
+\wasymathchardef{0056}{\conju@@}
+\wasymathchardef{0057}{\oppos@@}
+%%%%%% astronomy
+\def\vernal{\ifmmode\vern@@\else{\wasy\char"17}\fi}
+\def\ascnode{\ifmmode\ascn@de\else{\wasy\char"13}\fi}
+\def\descnode{\ifmmode\descn@de\else{\wasy\char"14}\fi}
+\def\fullmoon{\hbox{\wasy\char"23}}
+\def\newmoon{\hbox{\wasy\char"20}}
+\def\leftmoon{\ifmmode\moon@@\else{\wasy\char"24}\fi}
+\def\rightmoon{\hbox{\wasy\char"25}}
+\def\astrosun{\ifmmode\odot\else\hbox{\tensy\char"0C}\fi}
+\def\mercury{\ifmmode\mer@@\else{\wasy\char"27}\fi}
+\def\venus{\ifmmode\ven@@\else\raise0.2ex\hbox{\wasy\char"19}\fi}
+\def\earth{\ifmmode\ear@@\else\lower0.3ex\hbox{\wasy\char"26}\fi}
+\def\mars{\ifmmode\mar@@\else\lower0.2ex\hbox{\wasy\char"1A}\fi}
+\def\jupiter{\ifmmode\jup@@\else{\wasy\char"58}\fi}
+\def\saturn{\ifmmode\sat@@\else{\wasy\char"59}\fi}
+\def\uranus{\ifmmode\ura@@\else{\wasy\char"5A}\fi}
+\def\neptune{\ifmmode\nep@@\else{\wasy\char"5B}\fi}
+\def\pluto{\hbox{\wasy\char"5C}}
+\def\conjunction{\ifmmode\conju@@\mkern-4mu{}\else{\wasy\char"56}\fi}
+\def\opposition{\ifmmode\oppos@@\else{\wasy\char"57}\fi}
+%
%%%%%% new definitions
%
\def\newpropto{\let\propto\varpropto}
\def\newint{\let\int\varint \let\oint\varoint} % default limits
+\catcode`@=12 % at signs are no longer letters