summaryrefslogtreecommitdiff
path: root/Master/texmf-dist/doc/fonts/elvish/teng.tex
diff options
context:
space:
mode:
authorKarl Berry <karl@freefriends.org>2008-11-17 01:35:05 +0000
committerKarl Berry <karl@freefriends.org>2008-11-17 01:35:05 +0000
commitce3158affc70967326d28a3a13948ee507338006 (patch)
tree0c9879f2c23d9f63fd3d01cbe8b564ecb8da855f /Master/texmf-dist/doc/fonts/elvish/teng.tex
parent849d652c8f474ae0613d480d38316568d31597b7 (diff)
elvish update to get free license
git-svn-id: svn://tug.org/texlive/trunk@11317 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/doc/fonts/elvish/teng.tex')
-rw-r--r--Master/texmf-dist/doc/fonts/elvish/teng.tex32
1 files changed, 32 insertions, 0 deletions
diff --git a/Master/texmf-dist/doc/fonts/elvish/teng.tex b/Master/texmf-dist/doc/fonts/elvish/teng.tex
new file mode 100644
index 00000000000..f87a2fbd7f1
--- /dev/null
+++ b/Master/texmf-dist/doc/fonts/elvish/teng.tex
@@ -0,0 +1,32 @@
+% Version 1.0 dated 31/01/90
+% macros for tengwar in Quenya and Sindarin
+\font\teng=teng10
+\def\qac#1#2{\accent`#2#1}
+\def\sac{\accent`}
+\catcode`\^^I=12 % want to get at tab
+{\catcode`\^=13%
+% Because we define various things that conflict with plain TeX
+% macros, we do all definitions inside the tengwar section, though
+% this is of course expensive
+\gdef\quenya{\teng\catcode`\^=13\let^=\qac\dotengdefs}
+\gdef\sindarin{\teng\catcode`\^=13\let^=\sac\dotengdefs}}
+\def\dotengdefs{%
+\def\lap##1##2{\ooalign{##2\crcr\hidewidth##1\hidewidth}}%
+\def\raisedlap##1##2{\ooalign{##2\crcr\hidewidth\raise0.35ex\hbox{##1}\hidewidth}}%
+\def\lowlap##1##2{\ooalign{##2\crcr\hidewidth\vbox{\vskip0.2ex%
+\hbox{##1}\vskip-.2ex}\hidewidth}}%
+\def\verylowlap##1##2{\ooalign{##2\crcr\hidewidth\lower0.3ex%
+\hbox{##1}\hidewidth}}%
+\def\ssy{\verylowlap^^Zz}%
+\def\ldot{\raisedlap^^El}%
+\def\S{\kern-0.15em^^S}%
+\def\s{\kern-0.15em^^T}%
+%%%%\def\ll{\raisedlap^^Bl}%
+\def\ll{\lap^^Cl}%
+\def\,{\lap^^E}%
+\def\y{\lap^^Y}\def\z{\lap^^Z}\def\Y{\lap"}\def\b{\lap^^B}\def\c{\lap^^C}%
+\def\N{\lap^^N}\def\.{\accent`i}\def\\{\accent`e}\def\U{\accent`^^V}%
+% control sequences for the extended tengwar
+\chardef\xT=12\chardef\xf=16\chardef\xC=27\chardef\xK=11%
+\chardef\xD=4\chardef\xv=18\chardef\xJ=10\chardef\xG=7%
+} % end \dotengdefs