diff options
author | Karl Berry <karl@freefriends.org> | 2006-01-13 00:09:16 +0000 |
---|---|---|
committer | Karl Berry <karl@freefriends.org> | 2006-01-13 00:09:16 +0000 |
commit | 452ee905d179147017db08449411974c29fbee79 (patch) | |
tree | b57b1285f19da83e6fb48489bc95c8cf79dce13e /Master/texmf-dist/tex/latex/tipa | |
parent | 5792d83094e10816cb840728d4ae17b316d3d3ee (diff) |
tipa
git-svn-id: svn://tug.org/texlive/trunk@1391 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Master/texmf-dist/tex/latex/tipa')
23 files changed, 2620 insertions, 0 deletions
diff --git a/Master/texmf-dist/tex/latex/tipa/exaccent.sty b/Master/texmf-dist/tex/latex/tipa/exaccent.sty new file mode 100644 index 00000000000..980b4de308e --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/exaccent.sty @@ -0,0 +1,84 @@ +% exaccent.sty: for extended accent. +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.0 1996/06/10 +% +% This file is based on `tsipa.sty' for TSIPA created by +% KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. +% + +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{exaccent}[1996/06/10 extended accent Version 1.0] + +{\slshape\xdef\@slshapename{\f@shape}} +{\itshape\xdef\@itshapename{\f@shape}} + +\newcommand\upperaccent{\@ifnextchar[{\upper@accent a\empty}% + {\upper@accent a\empty[\z@]}} +\newcommand\Upperaccent{\@ifnextchar[{\upper@accent b\empty}% + {\upper@accent b\empty[\z@]}} +\newcommand\loweraccent{\@ifnextchar[{\lower@accent a\empty}% + {\lower@accent a\empty[\z@]}} +\newcommand\Loweraccent{\@ifnextchar[{\lower@accent b\empty}% + {\lower@accent b\empty[\z@]}} + +\def\upper@accent#1#2[#3]#4#5{{\leavevmode + \setbox\z@\hbox{#5}\setbox\@ne\hbox{#2% + \if a#1\char#4\else#4\fi}% + \ifx\empty#5\empty\box\@ne\else + \@getaccshift \let\c@lcshift\@pshift + \dimen\z@\ht\@ne + \ifdim\ht\@ne>1ex \advance\dimen\z@ -1ex \else + \ifdim\ht\@ne=\z@ \dimen\z@\dp\@ne \fi\fi + \vbox{\hsize\wd\z@\offinterlineskip + \hb@xt@\z@{\@accshift{#3}\hb@xt@\wd\z@{% + \hss\vbox to \dimen\z@{\hbox{\box\@ne}\vss}\hss}\hss} + \kern#3 + \hbox{#5}}\fi}} + +\def\lower@accent#1#2[#3]#4#5{{\leavevmode + \setbox\z@\hbox{#5}\setbox\@ne\hbox{#2% + \if a#1\char#4\else#4\fi}% + \ifx\empty#5\empty\box\@ne\else + \@getaccshift \let\c@lcshift\s@bshift + \dimen\z@\ht\@ne + \ifdim\ht\@ne>1ex \advance\dimen\z@ -1.1ex \else + \ifdim\ht\@ne=\z@ \dimen\z@\dp\@ne \fi\fi + \vtop{\hsize\wd\z@\offinterlineskip + \hbox{#5} + \kern#3 + \hbox{\@accshift{#3}\hb@xt@\wd\z@{% + \hss\vbox to \dimen\z@{\hbox{\box\@ne}\vss}\hss}}}\fi}} + +\newcommand\@getaccshift{\def\@accshift##1{}% + \ifx\f@shape\@slshapename\let\@accshift\@accshiftsl\fi + \ifx\f@shape\@itshapename\let\@accshift\@accshiftsl\fi} + +\newcommand\@accshiftsl[1]{\c@lcshift{#1}\kern-.16667\dimen\@ne} + +\newcommand\@pshift[1]{% + \dimen\@ne-\ht\z@ % get height of the box to be accented + \advance\dimen\@ne -#1% % add margin between the letter and accent + \ifdim\ht\@ne>1ex + \advance\dimen\@ne 1ex\else + \ifdim\ht\@ne=\z@ + \advance\dimen\@ne -\dp\@ne\fi\fi} + +\newcommand\s@bshift[1]{% + \dimen\@ne\dp\z@ % get depth of the box to be accented + \ifdim\ht\@ne>\z@ + \advance\dimen\@ne \ht\@ne\fi % add ht of the accent + \ifdim\ht\@ne>1ex + \advance\dimen\@ne #1\fi} % add margin between the letter and accent + +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/extraipa.sty b/Master/texmf-dist/tex/latex/tipa/extraipa.sty new file mode 100644 index 00000000000..bb77fa0ddf3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/extraipa.sty @@ -0,0 +1,96 @@ +% extraipa.sty: TIPA optinal package for ExtIPA and VoQS +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.0 1996/06/10 +% Version 1.1 2001/12/31 +% + +\RequirePackage{tipa}[2001/12/31 TIPA version 1.1] +\RequirePackage{tipx}[2001/12/31 TIPX version 1.1] + +% Labial Spreading +\newcommand\spreadlips[1]{\tipxloweraccent[.1ex]{10}{#1}} + +% Overbridge (Dentolabial) +\newcommand\overbridge[1]{\tipaupperaccent[.2ex]{17}{#1}} + +% Bi-bridge (Interdental/Bidental} +\newcommand\bibridge[1]{\tipaupperaccent[.2ex]{17}% + {\tipaloweraccent[0ex]{17}{#1}}} + +% Subscript Double Bar (Alveolar) +\newcommand\subdoublebar[1]{\tipaloweraccent[.05ex]{9}% + {\tipaloweraccent[.3ex]{9}{#1}}} + +% Subscript Double Vertical Line (Strong Articulation) +\newcommand\subdoublevert[1]{\tipaLoweraccent[.2ex]% + {\hbox{\tipaencoding\char34\kern-.06em\char34}}{#1}} + +% Subscript Corner (Weak Articulation) +\newcommand\subcorner[1]{\tipaloweraccent[.2ex]{94}{#1}} + +% Whistled Articulation +\newcommand\whistle[1]{\tipaLoweraccent[.1ex]% + {\nrsuper{\nrsuper{\tipaencoding \textupstep}}}{#1}} + +% Sliding Articulation +\newcommand\sliding[1]{\tipxloweraccent[.1ex]{9}{#1}} + +% Crossed tilde (Denasal) +\newcommand\crtilde[1]{\tipaupperaccent[-.5ex]{143}% + {\tipaupperaccent[.1ex]{3}{#1}}} + +% Dotted Tilde (Nasal Escape) +\newcommand\dottedtilde[1]{\tipaUpperaccent[-.55ex]% + {\hbox{.\kern-.12em\raise.66ex\hbox{.}}}% + {\tipaupperaccent[.12ex]{3}{#1}}} + +% Double Tilde (Velopharyngeal Friction) +\newcommand\doubletilde[1]{\tipaupperaccent[-.2ex]{3}% + {\tipaupperaccent{3}{#1}}} + +% Partial Voiceless +\newcommand\partvoiceless[1]{\tipaloweraccent[-.4ex]{6}% + {\tipaLoweraccent[.2ex]{\hbox{\tipaencoding\char21\kern.2em\char20}}{#1}}} + +% Initial Partial Voiceless +\newcommand\inipartvoiceless[1]{\tipaloweraccent[-.4ex]{6}% + {\tipaLoweraccent[.2ex]{\hbox{\tipaencoding\char21\kern.2em + \setbox\tw@\hbox{\char20}\kern\wd\tw@}}{#1}}} + +% final Partial Voiceless +\newcommand\finpartvoiceless[1]{\tipaloweraccent[-.4ex]{6}% + {\tipaLoweraccent[.2ex]{\hbox{\tipaencoding + \setbox\tw@\hbox{\char21}\kern\wd\tw@\kern.2em\char20}}{#1}}} + +% Partial Voicing +\newcommand\partvoice[1]{\tipaloweraccent[-.4ex]{7}% + {\tipaLoweraccent[.2ex]{\hbox{\tipaencoding\char21\kern.2em\char20}}{#1}}} + +% Initial Partial Voicing +\newcommand\inipartvoice[1]{\tipaloweraccent[-.4ex]{7}% + {\tipaLoweraccent[.2ex]{\hbox{\tipaencoding\char21\kern.2em + \setbox\tw@\hbox{\char20}\kern\wd\tw@}}{#1}}} + +% Final Partial Voicing +\newcommand\finpartvoice[1]{\tipaloweraccent[-.4ex]{7}% + {\tipaLoweraccent[.2ex]{\hbox{\tipaencoding + \setbox\tw@\hbox{\char21}\kern\wd\tw@\kern.2em\char20}}{#1}}} + +% Subscript Left Pointer (Right Offset Jaw Voice) +\newcommand\sublptr[1]{\tipaloweraccent[.2ex]{189}{#1}} + +% Subscript Right Pointer (left Offset Jaw Voice) +\newcommand\subrptr[1]{\tipaloweraccent[.2ex]{190}{#1}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/t3cmr.fd b/Master/texmf-dist/tex/latex/tipa/t3cmr.fd new file mode 100644 index 00000000000..ca4f6a08f70 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/t3cmr.fd @@ -0,0 +1,47 @@ +% t3cmr.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{t3cmr.fd}[2001/12/31 TIPA font definitions] +\DeclareFontFamily{T3}{cmr}{} +\DeclareFontShape{T3}{cmr}{m}{n}{% + <5> <6> <7> <8> tipa8 + <9> tipa9 + <10> <10.95> tipa10 + <12> <14.4> tipa12 + <17.28> <20.74> <24.88> tipa17 +}{} +\DeclareFontShape{T3}{cmr}{bx}{n}{% + <5> <6> <7> <8> tipabx8 + <9> tipabx9 + <10> <10.95> tipabx10 + <12> <14.4> <17.28> <20.74> <24.88> tipabx12 +}{} +\DeclareFontShape{T3}{cmr}{b}{n}{% + <-> tipab10 +}{} +\DeclareFontShape{T3}{cmr}{bx}{sl}{% + <-> tipabs10 +}{} +\DeclareFontShape{T3}{cmr}{m}{sl}{% + <5> <6> <7> <8> tipasl8 + <9> tipasl9 + <10> <10.95> tipasl10 + <12> <14.4> <17.28> <20.74> <24.88> tipasl12 +}{} +\DeclareFontShape{T3}{cmr}{m}{it}{% + <-> sub * cmr/m/sl +}{} +\DeclareFontShape{T3}{cmr}{bx}{it}{% + <-> sub * cmr/bx/sl +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/t3cmss.fd b/Master/texmf-dist/tex/latex/tipa/t3cmss.fd new file mode 100644 index 00000000000..25c64768a4a --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/t3cmss.fd @@ -0,0 +1,32 @@ +% t3cmss.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{t3cmss.fd}[2001/12/31 TIPA font definitions] +\DeclareFontFamily{T3}{cmss}{} +\DeclareFontShape{T3}{cmss}{m}{n}{% + <5> <6> <7> <8> tipass8 + <9> tipass9 + <10> <10.95> tipass10 + <12> <14.4> tipass12 + <17.28> <20.74> <24.88> tipass17 +}{} +\DeclareFontShape{T3}{cmss}{bx}{n}{% + <-> tipasb10 +}{} +\DeclareFontShape{T3}{cmss}{m}{sl}{% + <-> tipasi10 +}{} +\DeclareFontShape{T3}{cmss}{m}{it}{% + <-> sub * cmss/m/sl +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/t3cmtt.fd b/Master/texmf-dist/tex/latex/tipa/t3cmtt.fd new file mode 100644 index 00000000000..15aa104cb96 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/t3cmtt.fd @@ -0,0 +1,37 @@ +% t3cmtt.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{t3cmtt.fd}[2001/12/31 TIPA font definitions] +\DeclareFontFamily{T3}{cmtt}{} +\DeclareFontShape{T3}{cmtt}{m}{n}{% + <5> <6> <7> <8> tipatt8 + <9> tipatt9 + <10> <10.95> tipatt10 + <12> <14.4> <17.28> <20.74> <24.88> tipatt12 +}{} +\DeclareFontShape{T3}{cmtt}{bx}{n}{% + <-> sub * cmtt/m/n +}{} +\DeclareFontShape{T3}{cmtt}{m}{sl}{% + <-> tipats10 +}{} +\DeclareFontShape{T3}{cmtt}{m}{it}{% + <-> sub * cmtt/m/sl +}{} +\DeclareFontShape{T3}{cmtt}{bx}{n}{% + <-> sub * cmtt/m/n +}{} +\DeclareFontShape{T3}{cmtt}{b}{n}{% + <-> sub * cmtt/m/n +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/t3enc.def b/Master/texmf-dist/tex/latex/tipa/t3enc.def new file mode 100644 index 00000000000..3f34b862149 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/t3enc.def @@ -0,0 +1,562 @@ +% t3enc.def --- version 1.1 +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% 2001/10/12: The following bugs have been fixed: +% \textsubgrave, \textsubacute, \textsubcircum corrected (Peter Zimmermann) +% modified to be reloadable (Dominique Unruh) +% +% 2001/12/31: Encoding and font shapes modified: +% \textlhti (\char'245), \textnrleg (\char'256) moved to tipx. +% \textcrlambda (\char'253), \textlhtlongy (\char'266) added. +% The above change affects the encoding for the characters with +% code nos. '245--'266. Macro \textcrlambda deleted. +% \textgravemacron added. +% \textscq (\char'261), \textrectangle (\char'277) moved to tipx. +% \texthtrtaild (\char'243), the tone letter stem (\char'277) added. +% +% Symbol shapes changed for \textpipe, \textdoublepipe, \textdoublebarpipe +% (changed to a descender; old versions moved to tipx), \textdownstep, +% \textupstep (changed to a kind of superscript symbols; old versions +% move to tipx with new names \textdownfullarrow, \textupfullarrows), +% \textbullseye (updated; old version moved to tipx), +% \texthtbardotlessj (updated; old version moved to tipx). +% +% 2002/08/05: The following four commands added: +% \texthighrise, \textlowrise, \textrisefall, \textfallrise +% +% 2004/03/30: \textdotbreve corrected (defined twice; thanks to W. Lemberg). +% +% Fukui Rei +% +\ProvidesFile{t3enc.def}[2001/12/31 T3 encoding] +\DeclareFontEncoding{T3}{}{} +\DeclareFontSubstitution{T3}{cmr}{m}{n} + +% Symbols assigned to the area of numerals. + +\DeclareTextSymbol\textbaru{T3}{48} % Barred U +\DeclareTextSymbol\textbari{T3}{49} % Barred I +\DeclareTextSymbol\textturnv{T3}{50} % Turned V +\DeclareTextSymbol\textrevepsilon{T3}{51} % Reversed Epsilon +\DeclareTextSymbol\textturnh{T3}{52} % Turned H +\DeclareTextSymbol\textturna{T3}{53} % Turned A +\DeclareTextSymbol\textturnscripta{T3}{54} % Turned Script A +\DeclareTextSymbol\textramshorns{T3}{55} % Ram's Horns +\DeclareTextSymbol\textbaro{T3}{56} % Barred O +\DeclareTextSymbol\textreve{T3}{57} % Reversed E + +% Symbol assigned to `@' + +\DeclareTextSymbol\textschwa{T3}{64} % Schwa + +% Symbols assigned to the area of uppercase letters. + +\DeclareTextSymbol\textscripta{T3}{65} % Script A +\DeclareTextSymbol\textbeta{T3}{66} % Beta +\DeclareTextSymbol\textctc{T3}{67} % Curly-tail C +% Eth(68) is defined as \dh, not as \texteth. +\DeclareTextSymbol\textepsilon{T3}{69} % Epsilon +\DeclareTextSymbol\textphi{T3}{70} % Phi +\DeclareTextSymbol\textgamma{T3}{71} % Gamma +\DeclareTextSymbol\texthth{T3}{72} % Hooktop H +\DeclareTextSymbol\textsci{T3}{73} % Small Capital I +\DeclareTextSymbol\textctj{T3}{74} % Curly-tail J +\DeclareTextSymbol\textinvscr{T3}{75} % Inverted Small Capital R +\DeclareTextSymbol\textturny{T3}{76} % Turned Y +\DeclareTextSymbol\textltailm{T3}{77} % Left-tail M (at right) +% Eng(78) is defined as \ng, not as \texteng. +\DeclareTextSymbol\textopeno{T3}{79} % Open O +\DeclareTextSymbol\textglotstop{T3}{80} % Glottal Stop +\DeclareTextSymbol\textrevglotstop{T3}{81} % Reversed Glottal Stop +\DeclareTextSymbol\textfishhookr{T3}{82} % Fish-hook R +\DeclareTextSymbol\textesh{T3}{83} % Esh +\DeclareTextSymbol\texttheta{T3}{84} % Theta +\DeclareTextSymbol\textupsilon{T3}{85} % Upsilon +\DeclareTextSymbol\textscriptv{T3}{86} % Script V +\DeclareTextSymbol\textturnm{T3}{87} % Turned M +\DeclareTextSymbol\textchi{T3}{88} % Chi +\DeclareTextSymbol\textscy{T3}{89} % Small Capital Y +\DeclareTextSymbol\textyogh{T3}{90} % Yogh + +% Symbols assigned to the area of lowercase letters. + +\DeclareTextSymbol\textscriptg{T3}{103} + +% Symbol assigned to " + +\DeclareTextSymbol\textprimstress{T3}{34} % Vertical Stroke (Superior) + +% Symbols assigned to : and ; + +\DeclareTextSymbol\textlengthmark{T3}{58} % Length Mark +\DeclareTextSymbol\texthalflength{T3}{59} % Half-length Mark + +% Symbol assigned to | + +\DeclareTextSymbol\textpipe{T3}{124} % Pipe + +% Symbols assigned to 224 through 255 (octal '340 -- '377) + +\DeclareTextSymbol\textscb{T3}{224} % Small Capital B +\DeclareTextSymbol\texthtb{T3}{225} % Hooktop B +\DeclareTextSymbol\texthtd{T3}{226} % Hooktop D +\DeclareTextSymbol\textrtaild{T3}{227} % Right-tail D +\DeclareTextSymbol\texthtg{T3}{228} % Hooktop G +\DeclareTextSymbol\textscg{T3}{229} % Small Capital G +\DeclareTextSymbol\textcrh{T3}{232} % Crossed H +\DeclareTextSymbol\textbardotlessj{T3}{233} % Barred Dotless J +\DeclareTextSymbol\texthtbardotlessj{T3}{234} % Hooktop Barred Dotless J +\DeclareTextSymbol\textltilde{T3}{235} % L with Tilde +\DeclareTextSymbol\textbeltl{T3}{236} % Belted L +\DeclareTextSymbol\textrtaill{T3}{237} % Right-tail L +\DeclareTextSymbol\textturnmrleg{T3}{238} % Turned M, Right Leg +\DeclareTextSymbol\textrtailn{T3}{239} % Right-tail N +\DeclareTextSymbol\textscn{T3}{240} % Small Capital N +\DeclareTextSymbol\textltailn{T3}{241} % Left-tail N (at left) +\DeclareTextSymbol\textbullseye{T3}{242} % Bull's Eye +\DeclareTextSymbol\textrtailr{T3}{243} % Right-tail R +\DeclareTextSymbol\textturnr{T3}{244} % Turned R +\DeclareTextSymbol\textturnrrtail{T3}{245} % Turned R, Right Tail +\DeclareTextSymbol\textscr{T3}{246} % Small Capital R +\DeclareTextSymbol\textrtails{T3}{249} % Right-tail S (at left) +\DeclareTextSymbol\textrtailt{T3}{250} % Right-tail T +\DeclareTextSymbol\textturnw{T3}{251} % Turned W +\DeclareTextSymbol\textrtailz{T3}{252} % Right-tail Z +\DeclareTextSymbol\textctz{T3}{253} % Curly-tail Z +\DeclareTextSymbol\textthorn{T3}{254} % Thorn +\DeclareTextSymbol\texthvlig{T3}{255} % H-V Ligature + +% Symbols assigned to 192 through 223 (octal '300 -- '337) + +\DeclareTextSymbol\textsca{T3}{192} % Small Capital A +\DeclareTextSymbol\texthtc{T3}{193} % Hooktop C +\DeclareTextSymbol\textstretchc{T3}{194} % Stretched C +\DeclareTextSymbol\textdyoghlig{T3}{195} % D-Yogh Ligature +\DeclareTextSymbol\textrhookschwa{T3}{196} % Right-hook Schwa +\DeclareTextSymbol\textcloseepsilon{T3}{197} % Closed Epsilon +\DeclareTextSymbol\textcloserevepsilon{T3}{198} % Closed Reversed Epsilon +\DeclareTextSymbol\textrhookrevepsilon{T3}{199} % Right-hook Reversed Epsilon +\DeclareTextSymbol\textbabygamma{T3}{200} % Baby Gamma +\DeclareTextSymbol\texthtscg{T3}{201} % Hooktop Small Capital G +\DeclareTextSymbol\texththeng{T3}{202} % Hooktop Heng +\DeclareTextSymbol\textsch{T3}{203} % Small Capital H +\DeclareTextSymbol\textiota{T3}{204} % Iota +\DeclareTextSymbol\textObardotlessj{T3}{205} % Old Barred Dotless J +\DeclareTextSymbol\texthtk{T3}{206} % Hooktop K +\DeclareTextSymbol\textscl{T3}{207} % Small Capital L +\DeclareTextSymbol\textlyoghlig{T3}{208} % L-Yogh Ligature +\DeclareTextSymbol\textcloseomega{T3}{209} % Closed Omega +\DeclareTextSymbol\texthtp{T3}{210} % Hooktop P +\DeclareTextSymbol\texthtq{T3}{211} % Hooktop Q +\DeclareTextSymbol\textlonglegr{T3}{212} % Long-leg R +\DeclareTextSymbol\textturnlonglegr{T3}{213} % Turned Long-leg R +\DeclareTextSymbol\texthtt{T3}{214} % Hooktop T +\DeclareTextSymbol\textscoelig{T3}{215} % Small Capital O-E Ligature +\DeclareTextSymbol\textturnt{T3}{216} % Turned T +\DeclareTextSymbol\textteshlig{T3}{217} % T-Esh Ligature +\DeclareTextSymbol\textscu{T3}{218} % Small Capital U +\DeclareTextSymbol\textinvglotstop{T3}{219} % Inverted Glottal Stop +\DeclareTextSymbol\textbarglotstop{T3}{220} % Barred Glottal Stop +\DeclareTextSymbol\textbarrevglotstop{T3}{221} % Barred Reversed Glottal Stop +\DeclareTextSymbol\textcommatailz{T3}{222} % Comma-tail Z +\DeclareTextSymbol\textwynn{T3}{223} % Wynn + +% Symbols assigned to 160 through 191 (octal '240 -- '277) + +\DeclareTextSymbol\textcrb{T3}{160} % Crossed B +\DeclareTextSymbol\textcrd{T3}{161} % Crossed D +\DeclareTextSymbol\textctd{T3}{162} % Curly-tail D +\DeclareTextSymbol\texthtrtaild{T3}{163} % Hooktop right-tail D +\DeclareTextSymbol\textsce{T3}{164} % Small Capital E +\DeclareTextSymbol\textg{T3}{165} % Text G +\DeclareTextSymbol\textlhtlongi{T3}{166} % Left-hooktop Long I +\DeclareTextSymbol\textvibyi{T3}{167} % Viby I +\DeclareTextSymbol\textscj{T3}{168} % Small Capital J +\DeclareTextSymbol\textturnk{T3}{169} % Turned K +\DeclareTextSymbol\textbarl{T3}{170} % Barred L +\DeclareTextSymbol\textlambda{T3}{171} % Lambda +\DeclareTextSymbol\textcrlambda{T3}{172} % Crossed Lambda %%ADD +\DeclareTextSymbol\textOlyoghlig{T3}{173} % Old L-Yogh Ligature +\DeclareTextSymbol\textctn{T3}{174} % Curly-tail N +\DeclareTextSymbol\textturncelig{T3}{175} % Turned C-E Ligature +\DeclareTextSymbol\textomega{T3}{176} % Omega +\DeclareTextSymbol\textscomega{T3}{177} % Small Capital Omega +\DeclareTextSymbol\textctesh{T3}{178} % Curly-tail Esh +\DeclareTextSymbol\textlhookt{T3}{179} % Left-hook T +\DeclareTextSymbol\textctt{T3}{180} % Curly-tail T +\DeclareTextSymbol\texttslig{T3}{181} % T-S Ligature +\DeclareTextSymbol\textlhtlongy{T3}{182} % Left-hooktop Long Y %%ADD +\DeclareTextSymbol\textvibyy{T3}{183} % Viby Y +\DeclareTextSymbol\textctyogh{T3}{184} % Curly-tail Yogh +\DeclareTextSymbol\textrevyogh{T3}{185} % Reversed Yogh +\DeclareTextSymbol\textsoftsign{T3}{186} % Soft Sign +\DeclareTextSymbol\texthardsign{T3}{187} % Hard Sign +\DeclareTextSymbol\textraiseglotstop{T3}{188} % Raised Glottal Stop +\DeclareTextSymbol\textlptr{T3}{189} % Left Pointer +\DeclareTextSymbol\textrptr{T3}{190} % Right Pointer +\DeclareTextSymbol\texttoneletterstem{T3}{191} % Tone letter stem + +% Symbols assigned to 32, 35, 36, 37 (octal '040, '043, '044, '045) + +\DeclareTextSymbol\textceltpal{T3}{32} % Celtic Palatalization Mark +\DeclareTextSymbol\texthooktop{T3}{35} % Hooktop +\DeclareTextSymbol\textrthook{T3}{36} % Right Hook +\DeclareTextSymbol\textpalhook{T3}{37} % Palatalization Hook + +% Symbols assigned to 92, 94, 95 (octal '134, '136, '137) + +\DeclareTextSymbol\textrevapostrophe{T3}{92} % Reversed Apostrophe +\DeclareTextSymbol\textcorner{T3}{94} % Corner +\DeclareTextSymbol\textopencorner{T3}{95} % Open Corner + +% Symbols assigned to 123, 125, 126, 127 (octal '173, '175, '176, '177) + +\DeclareTextSymbol\textdoublepipe{T3}{123} % Double Pipe +\DeclareTextSymbol\textdoublebarpipe{T3}{125} % Double-barred Pipe +\DeclareTextSymbol\textrhoticity{T3}{126} % Rhoticity +\DeclareTextSymbol\textsecstress{T3}{127} % Vertical Stroke (Inferior) + +% Symbols assigned to 146 through 151 (octal '222 -- '227) + +\DeclareTextSymbol\textvertline{T3}{146} % Vertical Line +\DeclareTextSymbol\textdoublevertline{T3}{147} % Double Vertical Line +\DeclareTextSymbol\textdownstep{T3}{148} % Down Arrow (Downstep) +\DeclareTextSymbol\textupstep{T3}{149} % Up Arrow (Upstep) +\DeclareTextSymbol\textglobrise{T3}{150} % Upward Diagonal Arrow +\DeclareTextSymbol\textglobfall{T3}{151} % Downward Diagonal Arrow + +% The following definitions are common to the T1 encoding. + +\DeclareTextSymbol{\i}{T3}{25} +\DeclareTextSymbol{\j}{T3}{26} +\DeclareTextSymbol{\dh}{T3}{68} +\DeclareTextSymbol{\ng}{T3}{78} +\DeclareTextSymbol{\OE}{T3}{215} +\DeclareTextSymbol{\ae}{T3}{230} +\DeclareTextSymbol{\oe}{T3}{247} +\DeclareTextSymbol{\o}{T3}{248} +\DeclareTextSymbol{\th}{T3}{254} + +% Accnets and diacritics + +\providecommand{\tipaencoding}{\fontencoding{T3}\selectfont} + +\@ifundefined{upperaccent}{% +% The following commands are same as the ones in `exaccent.sty'. +{\slshape\xdef\@slshapename{\f@shape}} +{\itshape\xdef\@itshapename{\f@shape}} + +\providecommand\upperaccent{\@ifnextchar[{\upper@accent a\empty}% + {\upper@accent a\empty[\z@]}} +\providecommand\Upperaccent{\@ifnextchar[{\upper@accent b\empty}% + {\upper@accent b\empty[\z@]}} +\providecommand\loweraccent{\@ifnextchar[{\lower@accent a\empty}% + {\lower@accent a\empty[\z@]}} +\providecommand\Loweraccent{\@ifnextchar[{\lower@accent b\empty}% + {\lower@accent b\empty[\z@]}} + +\def\upper@accent#1#2[#3]#4#5{{\leavevmode + \setbox\z@\hbox{#5}\setbox\@ne\hbox{#2% + \if a#1\char#4\else#4\fi}% + \ifx\empty#5\empty\box\@ne\else + \@getaccshift \let\c@lcshift\@pshift + \dimen\z@\ht\@ne + \ifdim\ht\@ne>1ex \advance\dimen\z@ -1ex \else + \ifdim\ht\@ne=\z@ \dimen\z@\dp\@ne \fi\fi + \vbox{\hsize\wd\z@\offinterlineskip + \hb@xt@\z@{\@accshift{#3}\hb@xt@\wd\z@{% + \hss\vbox to \dimen\z@{\hbox{\box\@ne}\vss}\hss}\hss} + \kern#3 + \hbox{#5}}\fi}} + +\def\lower@accent#1#2[#3]#4#5{{\leavevmode + \setbox\z@\hbox{#5}\setbox\@ne\hbox{#2% + \if a#1\char#4\else#4\fi}% + \ifx\empty#5\empty\box\@ne\else + \@getaccshift \let\c@lcshift\s@bshift + \dimen\z@\ht\@ne + \ifdim\ht\@ne>1ex \advance\dimen\z@ -1.1ex \else + \ifdim\ht\@ne=\z@ \dimen\z@\dp\@ne \fi\fi + \vtop{\hsize\wd\z@\offinterlineskip + \hbox{#5} + \kern#3 + \hbox{\@accshift{#3}\hb@xt@\wd\z@{% + \hss\vbox to \dimen\z@{\hbox{\box\@ne}\vss}\hss}}}\fi}} + +\providecommand\@getaccshift{\def\@accshift##1{}% + \ifx\f@shape\@slshapename\let\@accshift\@accshiftsl\fi + \ifx\f@shape\@itshapename\let\@accshift\@accshiftsl\fi} + +\providecommand\@accshiftsl[1]{\c@lcshift{#1}\kern-.16667\dimen\@ne} + +\providecommand\@pshift[1]{% + \dimen\@ne-\ht\z@ % get height of the box to be accented + \advance\dimen\@ne -#1% % add margin between the letter and accent + \ifdim\ht\@ne>1ex + \advance\dimen\@ne 1ex\else + \ifdim\ht\@ne=\z@ + \advance\dimen\@ne -\dp\@ne\fi\fi} + +\providecommand\s@bshift[1]{% + \dimen\@ne\dp\z@ % get depth of the box to be accented + \ifdim\ht\@ne>\z@ + \advance\dimen\@ne \ht\@ne\fi % add ht of the accent + \ifdim\ht\@ne>1ex + \advance\dimen\@ne #1\fi} % add margin between the letter and accent +}{} + +\providecommand\tipaupperaccent{\@ifnextchar[{\upper@accent a\tipaencoding}% + {\upper@accent a\tipaencoding[\z@]}} +\providecommand\tipaUpperaccent{\@ifnextchar[{\upper@accent b\tipaencoding}% + {\upper@accent b\tipaencoding[\z@]}} +\providecommand\tipaloweraccent{\@ifnextchar[{\lower@accent a\tipaencoding}% + {\lower@accent a\tipaencoding[\z@]}} +\providecommand\tipaLoweraccent{\@ifnextchar[{\lower@accent b\tipaencoding}% + {\lower@accent b\tipaencoding[\z@]}} + +% +% Macros for combining glyphs +% +\providecommand\ipaclap[2]{{\setbox\z@\hbox{#1}\dimen\z@\wd\z@ + \setbox\z@\hbox{#2}\ifdim\wd\z@>\dimen\z@ \dimen\z@\wd\z@ \fi + \leavevmode \hb@xt@\dimen\z@{% + \hb@xt@\dimen\z@{\hss#1\hss}\hss\hb@xt@\dimen\z@{\hss#2\hss}}}} + +% +% \ipabar +% #1 character to be barred +% #2 height of bar position (dimen) +% #3 bar width (scaling factor to the width of #1) +% #4 left kern added to the bar (scaling factor to the width of #1) +% #5 right kern added to the bar (scaling factor to the width of #1) +% +\providecommand\ipabar[5]{{\setbox\z@\hbox{#1}% + \@getaccshift \let\c@lcshift\b@rshift + \ifx\f@series\@bfseriesname\let\@halfbar\@bfhalfbar\else + \ifx\f@family\@sffamilyname\let\@halfbar\@sfhalfbar\fi\fi + \ooalign{\hidewidth#1\hidewidth\crcr + \raise#2\hbox{% + \@accshift{-#2}% + \kern\@sidegap + \ifx\empty#4\empty\else\kern#4\wd\z@\fi + \vrule \@height\@halfbar \@depth\@halfbar \@width #3\wd\z@ + \ifx\empty#5\empty\else\kern#5\wd\z@\fi + \kern\@sidegap}}}} + +{\bfseries\xdef\@bfseriesname{\f@series}} +{\sffamily\xdef\@sffamilyname{\f@family}} + +\providecommand\b@rshift[1]{\dimen\@ne#1} +\providecommand\@halfbar{.0355ex} % 1/2 bar breadth (1/2bar# of cmr10) +\providecommand\@bfhalfbar{.053125ex} % 1/2 bar breadth (1/2bar# of cmbx10) +\providecommand\@sfhalfbar{.065625ex} % 1/2 bar breadth (1/2bar# of cmss10) +\providecommand\@sidegap{.027778em} + +% +% Accents and diacritics +% +\DeclareTextCommand\textpolhook{T3}[1]% + {\tipaloweraccent{12}{#1}} % Polish Hook +\DeclareTextCommand\textdoublegrave{T3}[1]% + {\tipaupperaccent{13}{#1}} % Double Grave Accent +\DeclareTextCommand\textroundcap{T3}[1]% + {\tipaupperaccent{16}{#1}} % Round Cap +\DeclareTextCommand\textvbaraccent{T3}[1]% + {\tipaupperaccent{156}{#1}} % Vertical Bar Accent +\DeclareTextCommand\textdoublevbaraccent{T3}[1]% + {\tipaupperaccent{157}{#1}} % Double Vertical Bar Accent + +\DeclareTextCommand\textsubgrave{T3}[1]% + {\loweraccent[.2ex]{14}{#1}} % Subscript Grave Accent +\DeclareTextCommand\textsubacute{T3}[1]% + {\loweraccent[.2ex]{15}{#1}} % Subscript Acute Accent +\DeclareTextCommand\textsubcircum{T3}[1]% + {\loweraccent[.2ex]{2}{#1}} % Subscript Circumflex +\DeclareTextCommand\textsubtilde{T3}[1]% + {\loweraccent[.3ex]{3}{#1}} % Subscript Tilde +\DeclareTextCommand\textsubumlaut{T3}[1]% + {\loweraccent[.3ex]{4}{#1}} % Subscript Umlaut +\DeclareTextCommand\textsubring{T3}[1]% + {\loweraccent[.3ex]{6}{#1}} % Subscript Ring +\DeclareTextCommand\textsubwedge{T3}[1]% + {\loweraccent[.3ex]{7}{#1}} % Subscript Wedge +\DeclareTextCommand\textsubbar{T3}[1]% + {\loweraccent[.3ex]{9}{#1}} % Subscript Bar +\DeclareTextCommand\textsubdot{T3}[1]% + {\loweraccent[.3ex]{10}{#1}} % Subscript Dot + +\DeclareTextCommand\textsubbridge{T3}[1]% + {\tipaloweraccent{17}{#1}} % Subscript Bridge +\DeclareTextCommand\textinvsubbridge{T3}[1]% + {\tipaloweraccent{18}{#1}} % Inverted Subscript Bridge +\DeclareTextCommand\textsubsquare{T3}[1]% + {\tipaloweraccent{19}{#1}} % Subscript Square +\DeclareTextCommand\textsubrhalfring{T3}[1]% + {\tipaloweraccent[.2ex]{20}{#1}} % Subscript Right Half-ring +\DeclareTextCommand\textsublhalfring{T3}[1]% + {\tipaloweraccent[.2ex]{21}{#1}} % Subscript Left Half-ring +\DeclareTextCommand\textsubw{T3}[1]% + {\tipaloweraccent{22}{#1}} % Subscript W +\DeclareTextCommand\textoverw{T3}[1]% + {\tipaupperaccent[.2ex]{22}{#1}} % Over-W +\DeclareTextCommand\textseagull{T3}[1]% + {\tipaloweraccent{23}{#1}} % Seagull +\DeclareTextCommand\textovercross{T3}[1]% + {\tipaupperaccent{24}{#1}} % Over-cross +\DeclareTextCommand\textsubplus{T3}[1]% + {\tipaloweraccent[.2ex]{27}{#1}} % Subscript Plus +\DeclareTextCommand\textraising{T3}[1]% + {\tipaloweraccent[.2ex]{28}{#1}} % Raising Sign +\DeclareTextCommand\textlowering{T3}[1]% + {\tipaloweraccent[.25ex]{29}{#1}} % Lowering Sign +\DeclareTextCommand\textadvancing{T3}[1]% + {\tipaloweraccent[.2ex]{30}{#1}} % Advancing Sign +\DeclareTextCommand\textretracting{T3}[1]% + {\tipaloweraccent[.2ex]{31}{#1}} % Retracting Sign + +\DeclareTextCommand\textsubarch{T3}[1]% + {\tipaloweraccent[.2ex]{16}{#1}} % Subscript Arch +\DeclareTextCommand\textsyllabic{T3}[1]% + {\tipaloweraccent[.15ex]{34}{#1}} % Syllabicity Mark +\DeclareTextCommand\textsuperimposetilde{T3}[1]% + {\ipaclap{#1}{\lower1ex\hbox{\tipaencoding\char38}}} % Superimposed Tilde + +\DeclareTextCommand\textmidacute{T3}[1]% + {\tipaupperaccent{152}{#1}} % Macron-Acute Ligature +\DeclareTextCommand\textgravemid{T3}[1]% + {\tipaupperaccent{153}{#1}} % Grave-Macron Ligature +\DeclareTextCommand\textgravecircum{T3}[1]% + {\tipaupperaccent{154}{#1}} % Grave-Wedge Ligature +\DeclareTextCommand\textcircumacute{T3}[1]% + {\tipaupperaccent{155}{#1}} % Circumflex-Acute Ligature + +\DeclareTextCommand\textbottomtiebar{T3}[1]% + {\loweraccent[.3ex]{60}{#1}} % Bottom Tie Bar +\DeclareTextCommand\texttoptiebar{T3}[1]% + {\upperaccent[-.1ex]{62}{#1}} % Top Tie Bar + +\DeclareTextCommand\textgravedot{T3}[1]% + {\tipaupperaccent{158}{#1}} % Grave Dot Accent +\DeclareTextCommand\textdotacute{T3}[1]% + {\tipaupperaccent{159}{#1}} % Dot Acute Accent +\DeclareTextCommand\textdotbreve{T3}[1]% + {\tipaupperaccent[-.3ex]{10}% + {\tipaupperaccent[-.03ex]{8}{#1}}} % Dot Breve Accent +\DeclareTextCommand\textacutemacron{T3}[1]% + {\tipaupperaccent[-.15ex]{1}% + {\tipaupperaccent[-.03ex]{9}{#1}}} % Acute Macron Accent +\DeclareTextCommand\textgravemacron{T3}[1]% + {\tipaupperaccent[-.15ex]{0}% + {\tipaupperaccent[-.03ex]{9}{#1}}} % Grave Macron Accent +\DeclareTextCommand\textacutewedge{T3}[1]% + {\tipaupperaccent[-.2ex]{1}% + {\tipaupperaccent[-.03ex]{7}{#1}}} % Acute Wedge Accent +\DeclareTextCommand\textcircumdot{T3}[1]% + {\tipaupperaccent[-.2ex]{2}% + {\tipaupperaccent[-.1ex]{10}{#1}}} % Circnumflex Dot Accent +\DeclareTextCommand\texttildedot{T3}[1]% + {\tipaupperaccent[-.15ex]{3}% + {\tipaupperaccent[-.1ex]{10}{#1}}} % Tilde Dot Accent +\DeclareTextCommand\textringmacron{T3}[1]% + {\tipaupperaccent[-.05ex]{6}% + {\tipaupperaccent[-.03ex]{9}{#1}}} % Ring Macron Accent +\DeclareTextCommand\textbrevemacron{T3}[1]% + {\tipaupperaccent[-.05ex]{8}% + {\tipaupperaccent[-.03ex]{9}{#1}}} % Breve Macron Accent + +% +% Added on 2002/08/05 (the following four commands) +% +\DeclareTextCommand\texthighrise{T3}[1]{\tipaupperaccent{'230}{#1}} +\DeclareTextCommand\textlowrise{T3}[1]{\tipaupperaccent{'231}{#1}} +\DeclareTextCommand\textrisefall{T3}[1]{\tipaupperaccent{'232}{#1}} +\DeclareTextCommand\textfallrise{T3}[1]{\tipaupperaccent{'233}{#1}} + +\providecommand{\@ifacute}[1]{\@ifnextchar'{\@firstoftwo#1}} +\providecommand{\@ifmacron}[1]{\@ifnextchar={\@firstoftwo#1}} +\providecommand{\@ifdot}[1]{\@ifnextchar.{\@firstoftwo#1}} + +\DeclareTextCommand{\`}{T3}[0]{\@ifstar{\tipaloweraccent[.2ex]{14}}% + {\@ifdot{\textgravedot}{\tipaupperaccent{0}}}} +\DeclareTextCommand{\'}{T3}[0]{\@ifstar{\tipaloweraccent[.2ex]{15}}% + {\@ifmacron{\textacutemacron}{\tipaupperaccent{1}}}} +\DeclareTextCommand{\^}{T3}[0]{\@ifstar{\tipaloweraccent[.2ex]{2}}% + {\@ifdot{\textcircumdot}{\tipaupperaccent{2}}}} +\DeclareTextCommand{\~}{T3}[0]{\@ifstar{\tipaloweraccent[.3ex]{3}}% + {\@ifdot{\texttildedot}{\tipaupperaccent{3}}}} +\DeclareTextCommand{\"}{T3}[0]{\@ifstar{\tipaloweraccent[.3ex]{4}}% + {\tipaupperaccent{4}}} +\DeclareTextCommand{\H}{T3}[0]{\@ifstar{\textdoublegrave}% + {\tipaupperaccent{5}}} +\DeclareTextCommand{\r}{T3}[0]{\@ifstar{\tipaloweraccent[.3ex]{6}}% + {\@ifmacron{\textringmacron}{\tipaupperaccent{6}}}} +\DeclareTextCommand{\v}{T3}[0]{\@ifstar{\tipaloweraccent[.3ex]{7}}% + {\@ifacute{\textacutewedge}{\tipaupperaccent{7}}}} +\DeclareTextCommand{\u}{T3}[0]{\@ifstar{\tipaloweraccent[.2ex]{16}}% + {\@ifmacron{\textbrevemacron}{\tipaupperaccent{8}}}} +\DeclareTextCommand{\=}{T3}[0]{\@ifstar{\tipaloweraccent[.3ex]{9}}% + {\tipaupperaccent{9}}} +\DeclareTextCommand{\.}{T3}[0]{\@ifstar{\tipaloweraccent[.3ex]{10}}% + {\@ifacute{\textdotacute}{\tipaupperaccent{10}}}} +\DeclareTextCommand{\b}{T3}[0]{\tipaloweraccent[.3ex]{9}} +\DeclareTextCommand{\c}{T3}[1]{\tipaloweraccent{11}{#1}} +\DeclareTextCommand{\d}{T3}[0]{\tipaloweraccent[.3ex]{10}} +\DeclareTextCommand{\t}{T3}[0]{\@ifstar{\tipaloweraccent[.3ex]{60}}% + {\tipaupperaccent[-.1ex]{62}}} +\DeclareTextCommand{\k}{T3}[0]{\textpolhook} + +\DeclareTextComposite{\c}{T3}{c}{231} + +% +% Symbols made up by TeX macro +% +\DeclareTextCommand\textbarb{T3}[0]{% + \ipabar{{\tipaencoding b}}{.5ex}{1.1}{}{}} % Barred B +\DeclareTextCommand\textbarc{T3}[0]{% + \ipabar{{\tipaencoding c}}{.5ex}{.55}{}{.55}} % Barred C +\DeclareTextCommand\textbard{T3}[0]{% + \ipabar{{\tipaencoding d}}{.5ex}{1.1}{}{.05}} % Barred D +\DeclareTextCommand\textbarg{T3}[0]{% + \ipabar{{\tipaencoding g}}{.5ex}{1.1}{}{}} % Barred G +\DeclareTextCommand\textcrg{T3}[0]{% + \ipabar{{\tipaencoding g}}{-.2ex}{.6}{.4}{}} % Crossed G +\DeclareTextCommand\textdoublebaresh{T3}[0]{% + {\setbox\z@\hbox{\textesh}% + \ipabar{\hb@xt@ \wd\z@{\hss\ipabar{{\textesh}}% + {.3ex}{1.1}{}{}\hss}}{.75ex}{1.1}{}{}}} % Double-barred Esh +\DeclareTextCommand\textcrtwo{T3}[0]{% + {\fontencoding{\encodingdefault}\selectfont + \ipabar{2}{.6ex}{1.1}{}{}}} % Crossed Two +\DeclareTextCommand\textcrinvglotstop{T3}[0]{% + \ipabar{\textinvglotstop}{1.2ex}{.6}{.2}{.3}} % Crossed Inv. Glottal Stop +\DeclareTextCommand\textdoublebarslash{T3}[0]{% + {\tipaencoding\ipaclap{=}{/}}} % Double-barred Slash +\DeclareTextCommand\textraisevibyi{T3}[0]{% + {\leavevmode + \setbox\z@\hbox{\textvibyi}\raise\dp\z@\box\z@}} % Raised Viby I + +% +% Ligatures made by two symbols combined with an appropriate kerning +% +\DeclareTextCommand\textdzlig{T3}[0]{{% + \tipaencoding d\kern-.19em z}} % D-Z Ligature +\DeclareTextCommand\textdctzlig{T3}[0]{{% + \tipaencoding d\kern-.19em\textctz}} % D-Curly-tail Z Ligature +\DeclareTextCommand\textctdctzlig{T3}[0]{{% + \tipaencoding\textctd\kern-.14em\textctz}} % Curly-tail D-Curly-tail Z Lig. +\DeclareTextCommand\texttctclig{T3}[0]{{% + \tipaencoding t\kern-.17em\textctc}} % T-Curly-tail C Ligature +\DeclareTextCommand\textcttctclig{T3}[0]{{% + \tipaencoding\textctt\kern-.16em\textctc}} % Curly-tail T-Curly-tail C Lig. + +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/t3phv.fd b/Master/texmf-dist/tex/latex/tipa/t3phv.fd new file mode 100644 index 00000000000..98f0f994c5b --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/t3phv.fd @@ -0,0 +1,38 @@ +% t3phv.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% This file is based on a suggestion by Walter Schmidt. +% +\ProvidesFile{t3phv.fd}[2001/12/31 scalable TIPA font definitions] +\expandafter\ifx\csname Hv@scale\endcsname\relax + \let\Hv@@scale\@empty +\else + \edef\Hv@@scale{s*[\csname Hv@scale\endcsname]}% +\fi +\DeclareFontFamily{T3}{phv}{} +\DeclareFontShape{T3}{phv}{m}{n}{% + <-> \Hv@@scale xipass10 +}{} +\DeclareFontShape{T3}{phv}{b}{n}{% + <-> \Hv@@scale xipasb10 +}{} +\DeclareFontShape{T3}{phv}{bx}{n}{% + <-> \Hv@@scale xipasb10 +}{} +\DeclareFontShape{T3}{phv}{m}{sl}{% + <-> \Hv@@scale xipasi10 +}{} +\DeclareFontShape{T3}{phv}{m}{it}{% + <-> \Hv@@scale xipasi10 +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/t3ptm.fd b/Master/texmf-dist/tex/latex/tipa/t3ptm.fd new file mode 100644 index 00000000000..4dec9e59847 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/t3ptm.fd @@ -0,0 +1,37 @@ +% t3ptm.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{t3ptm.fd}[2001/12/31 TIPA font definitions] +\DeclareFontFamily{T3}{ptm}{} +\DeclareFontShape{T3}{ptm}{m}{n}{% + <-> xipa10 +}{} +\DeclareFontShape{T3}{ptm}{bx}{n}{% + <-> xipab10 +}{} +\DeclareFontShape{T3}{ptm}{b}{n}{% + <-> xipab10 +}{} +\DeclareFontShape{T3}{ptm}{m}{sl}{% + <-> xipasl10 +}{} +\DeclareFontShape{T3}{ptm}{b}{sl}{% + <-> xipabs10 +}{} +\DeclareFontShape{T3}{ptm}{bx}{sl}{% + <-> xipabs10 +}{} +\DeclareFontShape{T3}{ptm}{m}{it}{% + <-> sub * ptm/m/sl +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/tipa.sty b/Master/texmf-dist/tex/latex/tipa/tipa.sty new file mode 100644 index 00000000000..8b5639ae6e9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/tipa.sty @@ -0,0 +1,480 @@ +% tipa.sty: Macro definitions for TIPA +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.0 1996/06/10 first LaTeX2e version +% Version 1.1 2001-2002: Encoding modified: see t3enc.def. +% +% This file is based on `tsipa.sty' for TSIPA created by +% KOBAYASHI Hajime, FUKUI Rei and SHIRAKAWA Shun. +% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{tipa}[2002/08/08 TIPA version 1.1] +\DeclareOption{extra}{\AtEndOfPackage{\input{extraipa.sty}}} +\DeclareOption{tone}{\AtEndOfPackage{\input{tone.sty}}} +\newif\if@ipasafe \global\@ipasafefalse +\DeclareOption{safe}{\global\@ipasafetrue} +% +% Options for selecting normal text encoding. +% +% default: the default text encoding +% executes \usepackage[T3,\f@encoding]{fontenc} +% T1: T1 +% executes \usepackage[T3,T1]{fontenc} +% noenc: not specified. +% `fontenc' should be explicitly specified by a user. +% +% Changed by Rafael Labossiere <rafael@icp.inpg.fr> +% on Tue Oct 20 10:10:01 CEST 1998 +% \RequirePackage is used instead of \usepackage to increase +% compatibility with Latex2e +% +% Modified to be reloadable by Dominique Unruh. +% + +% The following code fixes a bug that was causing T3enc.def to be read in +% twic. This is due to the most recent update to LaTeX (Dec. 1998) +\newif\if@loadfontenc +\@loadfontenctrue +\newcommand\@defaultenc{\f@encoding} +\DeclareOption{T1}{\renewcommand\@defaultenc{T1}} +\DeclareOption{noenc}{\@loadfontencfalse\renewcommand\@defaultenc{}} +\ProcessOptions +\ifx\empty\@defaultenc\empty\else + \if@loadfontenc + \RequirePackage[T3,\@defaultenc]{fontenc} + \fi +\fi +%\newcommand\@defaultenc{\f@encoding} +%\DeclareOption{T1}{\renewcommand\@defaultenc{T1}} +%\DeclareOption{noenc}{\renewcommand\@defaultenc{}} +%\ProcessOptions +%\ifx\empty\@defaultenc\empty\else +% \RequirePackage[T3,\@defaultenc]{fontenc} +%\fi + +% +% TSIPA, TIPA logos +% +\newcommand\tsipa{\textsf{TSIPA}\@} +\newcommand\tipa{\textsf{TIPA}\@} +\newcommand\tipx{\textsf{TIPX}\@} + +% +% Macros for font selection and IPA environment +% +\newcommand\textipa[1]{{\tipaencoding #1}} +\newenvironment{IPA}{\tipaencoding}{} + +\let\super\textsuperscript +\newcommand\nrsuper[1]{\leavevmode + \lower.8ex\hbox{\textsuperscript{#1}}} + +% +% Default definition of text symbols (see T3enc.def for details) +% + +% Symbols assigned to the area of numerals. + +\DeclareTextSymbolDefault\textbaru{T3} % Barred U +\DeclareTextSymbolDefault\textbari{T3} % Barred I +\DeclareTextSymbolDefault\textturnv{T3} % Turned V +\DeclareTextSymbolDefault\textrevepsilon{T3} % Reversed Epsilon +\DeclareTextSymbolDefault\textturnh{T3} % Turned H +\DeclareTextSymbolDefault\textturna{T3} % Turned A +\DeclareTextSymbolDefault\textturnscripta{T3} % Turned Script A +\DeclareTextSymbolDefault\textramshorns{T3} % Ram's Horns +\DeclareTextSymbolDefault\textbaro{T3} % Barred O +\DeclareTextSymbolDefault\textreve{T3} % Reversed E + +% Symbol assigned to `@' + +\DeclareTextSymbolDefault\textschwa{T3} % Schwa + +% Symbols assigned to the area of uppercase letters. + +\DeclareTextSymbolDefault\textscripta{T3} % Script A +\DeclareTextSymbolDefault\textbeta{T3} % Beta +\DeclareTextSymbolDefault\textctc{T3} % Curly-tail C +% Eth is defined as \dh, not as \texteth. +\DeclareTextSymbolDefault\textepsilon{T3} % Epsilon +\DeclareTextSymbolDefault\textphi{T3} % Phi +\DeclareTextSymbolDefault\textgamma{T3} % Gamma +\DeclareTextSymbolDefault\texthth{T3} % Hooktop H +\DeclareTextSymbolDefault\textsci{T3} % Small Capital I +\DeclareTextSymbolDefault\textctj{T3} % Curly-tail J +\DeclareTextSymbolDefault\textinvscr{T3} % Inverted Small Capital R +\DeclareTextSymbolDefault\textturny{T3} % Turned Y +\DeclareTextSymbolDefault\textltailm{T3} % Left-tail M (at right) +% Eng is defined as \ng, not as \texteng. +\DeclareTextSymbolDefault\textopeno{T3} % Open O +\DeclareTextSymbolDefault\textglotstop{T3} % Glottal Stop +\DeclareTextSymbolDefault\textrevglotstop{T3} % Reversed Glottal Stop +\DeclareTextSymbolDefault\textfishhookr{T3} % Fish-hook R +\DeclareTextSymbolDefault\textesh{T3} % Esh +\DeclareTextSymbolDefault\texttheta{T3} % Theta +\DeclareTextSymbolDefault\textupsilon{T3} % Upsilon +\DeclareTextSymbolDefault\textscriptv{T3} % Script V +\DeclareTextSymbolDefault\textturnm{T3} % Turned M +\DeclareTextSymbolDefault\textchi{T3} % Chi +\DeclareTextSymbolDefault\textscy{T3} % Small Capital Y +\DeclareTextSymbolDefault\textyogh{T3} % Yogh + +% Symbols assigned to the area of lowercase letters. + +\DeclareTextSymbolDefault\textscriptg{T3} + +% Symbol assigned to " + +\DeclareTextSymbolDefault\textprimstress{T3} % Vertical Stroke (Superior) + +% Symbols assigned to : and ; + +\DeclareTextSymbolDefault\textlengthmark{T3} % Length Mark +\DeclareTextSymbolDefault\texthalflength{T3} % Half-length Mark + +% Symbol assigned to | + +\DeclareTextSymbolDefault\textpipe{T3} % Pipe + +% Symbols assigned to 224 through 255 (octal '340 -- '377) + +\DeclareTextSymbolDefault\textscb{T3} % Small Capital B +\DeclareTextSymbolDefault\texthtb{T3} % Hooktop B +\DeclareTextSymbolDefault\texthtd{T3} % Hooktop D +\DeclareTextSymbolDefault\textrtaild{T3} % Right-tail D +\DeclareTextSymbolDefault\texthtg{T3} % Hooktop G +\DeclareTextSymbolDefault\textscg{T3} % Small Capital G +\DeclareTextSymbolDefault\textcrh{T3} % Crossed H +\DeclareTextSymbolDefault\textbardotlessj{T3} % Barred Dotless J +\DeclareTextSymbolDefault\texthtbardotlessj{T3} % Hooktop Barred Dotless J +\DeclareTextSymbolDefault\textltilde{T3} % L with Tilde +\DeclareTextSymbolDefault\textbeltl{T3} % Belted L +\DeclareTextSymbolDefault\textrtaill{T3} % Right-tail L +\DeclareTextSymbolDefault\textturnmrleg{T3} % Turned M, Right Leg +\DeclareTextSymbolDefault\textrtailn{T3} % Right-tail N +\DeclareTextSymbolDefault\textscn{T3} % Small Capital N +\DeclareTextSymbolDefault\textltailn{T3} % Left-tail N (at left) +\DeclareTextSymbolDefault\textbullseye{T3} % Bull's Eye +\DeclareTextSymbolDefault\textrtailr{T3} % Right-tail R +\DeclareTextSymbolDefault\textturnr{T3} % Turned R +\DeclareTextSymbolDefault\textturnrrtail{T3} % Turned R, Right Tail +\DeclareTextSymbolDefault\textscr{T3} % Small Capital R +\DeclareTextSymbolDefault\textrtails{T3} % Right-tail S (at left) +\DeclareTextSymbolDefault\textrtailt{T3} % Right-tail T +\DeclareTextSymbolDefault\textturnw{T3} % Turned W +\DeclareTextSymbolDefault\textrtailz{T3} % Right-tail Z +\DeclareTextSymbolDefault\textctz{T3} % Curly-tail Z +\DeclareTextSymbolDefault\textthorn{T3} % Thorn +\DeclareTextSymbolDefault\texthvlig{T3} % H-V Ligature + +% Symbols assigned to 192 through 223 (octal '300 -- '337) + +\DeclareTextSymbolDefault\textsca{T3} % Small Capital A +\DeclareTextSymbolDefault\texthtc{T3} % Hooktop C +\DeclareTextSymbolDefault\textstretchc{T3} % Stretched C +\DeclareTextSymbolDefault\textdyoghlig{T3} % D-Yogh Ligature +\DeclareTextSymbolDefault\textrhookschwa{T3} % Right-hook Schwa +\DeclareTextSymbolDefault\textcloseepsilon{T3} % Closed Epsilon +\DeclareTextSymbolDefault\textcloserevepsilon{T3}% Closed Reversed Epsilon +\DeclareTextSymbolDefault\textrhookrevepsilon{T3}% Right-hook Reversed Epsilon +\DeclareTextSymbolDefault\textbabygamma{T3} % Baby Gamma +\DeclareTextSymbolDefault\texthtscg{T3} % Hooktop Small Capital G +\DeclareTextSymbolDefault\texththeng{T3} % Hooktop Heng +\DeclareTextSymbolDefault\textsch{T3} % Small Capital H +\DeclareTextSymbolDefault\textiota{T3} % Iota +\DeclareTextSymbolDefault\textObardotlessj{T3} % Old Barred Dotless J +\DeclareTextSymbolDefault\texthtk{T3} % Hooktop K +\DeclareTextSymbolDefault\textscl{T3} % Small Capital L +\DeclareTextSymbolDefault\textlyoghlig{T3} % L-Yogh Ligature +\DeclareTextSymbolDefault\textcloseomega{T3} % Closed Omega +\DeclareTextSymbolDefault\texthtp{T3} % Hooktop P +\DeclareTextSymbolDefault\texthtq{T3} % Hooktop Q +\DeclareTextSymbolDefault\textlonglegr{T3} % Long-leg R +\DeclareTextSymbolDefault\textturnlonglegr{T3} % Turned Long-leg R +\DeclareTextSymbolDefault\texthtt{T3} % Hooktop T +\DeclareTextSymbolDefault\textscoelig{T3} % Small Capital O-E Ligature +\DeclareTextSymbolDefault\textturnt{T3} % Turned T +\DeclareTextSymbolDefault\textteshlig{T3} % T-Esh Ligature +\DeclareTextSymbolDefault\textscu{T3} % Small Capital U +\DeclareTextSymbolDefault\textinvglotstop{T3} % Inverted Glottal Stop +\DeclareTextSymbolDefault\textbarglotstop{T3} % Barred Glottal Stop +\DeclareTextSymbolDefault\textbarrevglotstop{T3} % Barred Reversed Glottal Stop +\DeclareTextSymbolDefault\textcommatailz{T3} % Comma-tail Z +\DeclareTextSymbolDefault\textwynn{T3} % Wynn + +% Symbols assigned to 160 through 191 (octal '240 -- '277) + +\DeclareTextSymbolDefault\textcrb{T3} % Crossed B +\DeclareTextSymbolDefault\textcrd{T3} % Crossed D +\DeclareTextSymbolDefault\textctd{T3} % Curly-tail D +\DeclareTextSymbolDefault\texthtrtaild{T3} % Hooktop right-tail D +\DeclareTextSymbolDefault\textsce{T3} % Small Capital E +\DeclareTextSymbolDefault\textg{T3} % Text G +\DeclareTextSymbolDefault\textlhtlongi{T3} % Left-hooktop Long I +\DeclareTextSymbolDefault\textvibyi{T3} % Viby I +\DeclareTextSymbolDefault\textscj{T3} % Small Capital J +\DeclareTextSymbolDefault\textturnk{T3} % Turned K +\DeclareTextSymbolDefault\textbarl{T3} % Barred L +\DeclareTextSymbolDefault\textlambda{T3} % Lambda +\DeclareTextSymbolDefault\textcrlambda{T3} % Crossed Lambda %%ADD +\DeclareTextSymbolDefault\textOlyoghlig{T3} % Old L-Yogh Ligature +\DeclareTextSymbolDefault\textctn{T3} % Curly-tail N +\DeclareTextSymbolDefault\textturncelig{T3} % Turned C-E Ligature +\DeclareTextSymbolDefault\textomega{T3} % Omega +\DeclareTextSymbolDefault\textscomega{T3} % Small Capital Omega +\DeclareTextSymbolDefault\textctesh{T3} % Curly-tail Esh +\DeclareTextSymbolDefault\textlhookt{T3} % Left-hook T +\DeclareTextSymbolDefault\textctt{T3} % Curly-tail T +\DeclareTextSymbolDefault\texttslig{T3} % T-S Ligature +\DeclareTextSymbolDefault\textlhtlongy{T3} % Left-hooktop Long Y %%ADD +%% Changes (2001/11/24) end + +\DeclareTextSymbolDefault\textvibyy{T3} % Viby Y +\DeclareTextSymbolDefault\textctyogh{T3} % Curly-tail Yogh +\DeclareTextSymbolDefault\textrevyogh{T3} % Reversed Yogh +\DeclareTextSymbolDefault\textsoftsign{T3} % Soft Sign +\DeclareTextSymbolDefault\texthardsign{T3} % Hard Sign +\DeclareTextSymbolDefault\textraiseglotstop{T3} % Raised Glottal Stop +\DeclareTextSymbolDefault\textlptr{T3} % Left Pointer +\DeclareTextSymbolDefault\textrptr{T3} % Right Pointer +\DeclareTextSymbolDefault\texttoneletterstem{T3} % Tone letter stem + +% Symbols assigned to 32, 35, 36, 37 (octal '040, '043, '044, '045) + +\DeclareTextSymbolDefault\textceltpal{T3} % Celtic Palatalization Mark +\DeclareTextSymbolDefault\texthooktop{T3} % Hooktop +\DeclareTextSymbolDefault\textrthook{T3} % Right Hook +\DeclareTextSymbolDefault\textpalhook{T3} % Palatalization Hook + +% Symbols assigned to 92, 94, 95 (octal '134, '136, '137) + +\DeclareTextSymbolDefault\textrevapostrophe{T3} % Reversed Apostrophe +\DeclareTextSymbolDefault\textcorner{T3} % Corner +\DeclareTextSymbolDefault\textopencorner{T3} % Open Corner + +% Symbols assigned to 123, 125, 126, 127 (octal '173, '175, '176, '177) + +\DeclareTextSymbolDefault\textdoublepipe{T3} % Double Pipe +\DeclareTextSymbolDefault\textdoublebarpipe{T3} % Double-barred Pipe +\DeclareTextSymbolDefault\textrhoticity{T3} % Rhoticity +\DeclareTextSymbolDefault\textsecstress{T3} % Vertical Stroke (Inferior) + +% Symbols assigned to 146 through 151 (octal '222 -- '227) + +\DeclareTextSymbolDefault\textvertline{T3} % Vertical Line +\DeclareTextSymbolDefault\textdoublevertline{T3} % Double Vertical Line +\DeclareTextSymbolDefault\textdownstep{T3} % Down Arrow (Downstep) +\DeclareTextSymbolDefault\textupstep{T3} % Up Arrow (Upstep) +\DeclareTextSymbolDefault\textglobrise{T3} % Upward Diagonal Arrow +\DeclareTextSymbolDefault\textglobfall{T3} % Downward Diagonal Arrow + +% Default definition of accents and diacritics + +\DeclareTextAccentDefault\textpolhook{T3} % Polish Hook +\DeclareTextAccentDefault\textdoublegrave{T3} % Double Grave Accent +\DeclareTextAccentDefault\textroundcap{T3} % Round Cap +\DeclareTextAccentDefault\textvbaraccent{T3} % Vertical Bar Accent +\DeclareTextAccentDefault\textdoublevbaraccent{T3}% Double Vertical Bar Accent + +\DeclareTextAccentDefault\textsubgrave{T3} % Subscript Grave Accent +\DeclareTextAccentDefault\textsubacute{T3} % Subscript Acute Accent +\DeclareTextAccentDefault\textsubcircum{T3} % Subscript Circumflex +\DeclareTextAccentDefault\textsubtilde{T3} % Subscript Tilde +\DeclareTextAccentDefault\textsubumlaut{T3} % Subscript Umlaut +\DeclareTextAccentDefault\textsubring{T3} % Subscript Ring +\DeclareTextAccentDefault\textsubwedge{T3} % Subscript Wedge +\DeclareTextAccentDefault\textsubbar{T3} % Subscript Bar +\DeclareTextAccentDefault\textsubdot{T3} % Subscript Dot + +\DeclareTextAccentDefault\textsubbridge{T3} % Subscript Bridge +\DeclareTextAccentDefault\textinvsubbridge{T3} % Inverted Subscript Bridge +\DeclareTextAccentDefault\textsubsquare{T3} % Subscript Square +\DeclareTextAccentDefault\textsubrhalfring{T3} % Subscript Right Half-ring +\DeclareTextAccentDefault\textsublhalfring{T3} % Subscript Left Half-ring +\DeclareTextAccentDefault\textsubw{T3} % Subscript W +\DeclareTextAccentDefault\textoverw{T3} % Over-W +\DeclareTextAccentDefault\textseagull{T3} % Seagull +\DeclareTextAccentDefault\textovercross{T3} % Over-cross +\DeclareTextAccentDefault\textsubplus{T3} % Subscript Plus +\DeclareTextAccentDefault\textraising{T3} % Raising Sign +\DeclareTextAccentDefault\textlowering{T3} % Lowering Sign +\DeclareTextAccentDefault\textadvancing{T3} % Advancing Sign +\DeclareTextAccentDefault\textretracting{T3} % Retracting Sign + +\DeclareTextAccentDefault\textsubarch{T3} % Subscript Arch +\DeclareTextAccentDefault\textsyllabic{T3} % Syllabicity Mark +\DeclareTextAccentDefault\textsuperimposetilde{T3}% Superimposed Tilde + +\DeclareTextAccentDefault\textmidacute{T3} % Macron-Acute Ligature +\DeclareTextAccentDefault\textgravemid{T3} % Grave-Macron Ligature +\DeclareTextAccentDefault\textgravecircum{T3} % Grave-Wedge Ligature +\DeclareTextAccentDefault\textcircumacute{T3} % Circumflex-Acute Ligature + +\DeclareTextAccentDefault\textbottomtiebar{T3} % Bottom Tie Bar +\DeclareTextAccentDefault\texttoptiebar{T3} % Top Tie Bar + +\DeclareTextAccentDefault\textgravedot{T3} % Grave Dot Accent +\DeclareTextAccentDefault\textdotacute{T3} % Dot Acute Accent +\DeclareTextAccentDefault\textdotbreve{T3} % Dot Breve Accent +\DeclareTextAccentDefault\textacutemacron{T3} % Acute Macron Accent +\DeclareTextAccentDefault\textgravemacron{T3} % Grave Macron Accent +\DeclareTextAccentDefault\textacutewedge{T3} % Acute Wedge Accent +\DeclareTextAccentDefault\textcircumdot{T3} % Circnumflex Dot Accent +\DeclareTextAccentDefault\texttildedot{T3} % Tilde Dot Accent +\DeclareTextAccentDefault\textringmacron{T3} % Ring Macron Accent +\DeclareTextAccentDefault\textbrevemacron{T3} % Breve Macron Accent +\DeclareTextAccentDefault\textdotbreve{T3} % Dot Breve Accent + +% +% Added on 2002/08/05 (the following four commands) +% +\DeclareTextAccentDefault\texthighrise{T3} +\DeclareTextAccentDefault\textlowrise{T3} +\DeclareTextAccentDefault\textrisefall{T3} +\DeclareTextAccentDefault\textfallrise{T3} + +% +% Symbols made up by TeX macro +% +\DeclareTextSymbolDefault\textbarb{T3} % Barred B +\DeclareTextSymbolDefault\textbarc{T3} % Barred C +\DeclareTextSymbolDefault\textbard{T3} % Barred D +\DeclareTextSymbolDefault\textbarg{T3} % Barred G +\DeclareTextSymbolDefault\textcrg{T3} % Crossed G +\DeclareTextSymbolDefault\textdoublebaresh{T3} % Double-barred Esh +\DeclareTextSymbolDefault\textcrtwo{T3} % Crossed Two +\DeclareTextSymbolDefault\textcrinvglotstop{T3} % Crossed Inv. Glottal Stop +\DeclareTextSymbolDefault\textdoublebarslash{T3}% Double-barred Slash +\DeclareTextSymbolDefault\textraisevibyi{T3} % Raised Viby I + +% +% Ligatures made by two symbols combined with an appropriate kerning +% +\DeclareTextSymbolDefault\textdzlig{T3} % D-Z Ligature +\DeclareTextSymbolDefault\textdctzlig{T3} % D-Curly-tail Z Ligature +\DeclareTextSymbolDefault\textctdctzlig{T3} % Curly-tail D-Curly-tail Z Lig. +\DeclareTextSymbolDefault\texttctclig{T3} % T-Curly-tail C Ligature +\DeclareTextSymbolDefault\textcttctclig{T3} % Curly-tail T-Curly-tail C Lig. + +% +% TIPA additional commands. These commands may be `dangerous' in that +% having very short names or overriding existing commands. For example: +% \* has been defined in plain TeX. +% \| has been defined in LaTeX's math mode for the symbol `||' +% \:, \; and \! have been defined in LaTeX's math mode for various spacing. +% +% Note that definition of these additional commands are suppressed if +% the option `safe' has been specified. +% +\if@ipasafe\else +% The following three lines added on 2002/08/06 + \let\tipamedspace\: + \let\tipathickspace\; + \let\tipanegthinspace\! + \let\tipasterisktmp\* + \let\tipapipetmp\| + + \DeclareTextCommand{\s}{T3}[1]{\tipaloweraccent[.15ex]{34}{#1}} + \DeclareTextAccentDefault{\s}{T3} + \DeclareTextCommand{\*}{T3}[1]{{\fontencoding{\encodingdefault}\selectfont#1}} + \DeclareTextAccentDefault{\*}{T3} + \DeclareTextCommand{\|}{T3}[2]{\@omniaccent{#1}{#2}} + \DeclareTextAccentDefault{\|}{T3} + + \DeclareTextCommand{\@omniaccent}{T3}[2]{% + \if #1[\textsubbridge{#2}\else + \if #1]\textinvsubbridge{#2}\else + \if #1(\textsublhalfring{#2}\else + \if #1)\textsubrhalfring{#2}\else + \if #1+\textsubplus{#2}\else + \if #1'\textraising{#2}\else + \if #1`\textlowering{#2}\else + \if #1<\textadvancing{#2}\else + \if #1>\textretracting{#2}\else + \if #1x\textovercross{#2}\else + \if #1w\textsubw{#2}\else + \if #1c\textroundcap{#2}\else + \if #1m\textseagull{#2}\else #1#2% + \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi\fi} + \DeclareTextAccentDefault{\@omniaccent}{T3} + % + % \* turned symbols (suggestted by J"org Knappen) + % + \DeclareTextComposite{\*}{T3}{k}{169} + \DeclareTextComposite{\*}{T3}{f}{205} + \DeclareTextComposite{\*}{T3}{t}{216} + \DeclareTextComposite{\*}{T3}{r}{244} + \DeclareTextComposite{\*}{T3}{w}{251} + % + % \* basic symbols that need some way to input easily + % + \DeclareTextComposite{\*}{T3}{j}{233} + \DeclareTextComposite{\*}{T3}{n}{241} + \DeclareTextComposite{\*}{T3}{h}{232} + \DeclareTextComposite{\*}{T3}{l}{236} + \DeclareTextComposite{\*}{T3}{z}{208} + % + % \; makes small capital symbols. + % + \DeclareTextCommand{\;}{T3}[1]{#1} + \DeclareTextAccentDefault{\;}{T3} + \DeclareTextComposite{\;}{T3}{E}{164} + \DeclareTextComposite{\;}{T3}{J}{168} + \DeclareTextComposite{\;}{T3}{A}{192} + \DeclareTextComposite{\;}{T3}{H}{203} + \DeclareTextComposite{\;}{T3}{L}{207} + \DeclareTextComposite{\;}{T3}{U}{218} + \DeclareTextComposite{\;}{T3}{B}{224} + \DeclareTextComposite{\;}{T3}{G}{229} + \DeclareTextComposite{\;}{T3}{N}{240} + \DeclareTextComposite{\;}{T3}{R}{246} + % + % \: makes retroflexes. + % + \DeclareTextCommand{\:}{T3}[1]{#1} + \DeclareTextAccentDefault{\:}{T3} + \DeclareTextComposite{\:}{T3}{d}{227} + \DeclareTextComposite{\:}{T3}{l}{237} + \DeclareTextComposite{\:}{T3}{n}{239} + \DeclareTextComposite{\:}{T3}{r}{243} + \DeclareTextComposite{\:}{T3}{R}{245} + \DeclareTextComposite{\:}{T3}{s}{249} + \DeclareTextComposite{\:}{T3}{t}{250} + \DeclareTextComposite{\:}{T3}{z}{252} + % + % \! for implosives and clicks. + % + \DeclareTextCommand{\!}{T3}[1]{#1} + \DeclareTextAccentDefault{\!}{T3} + \DeclareTextComposite{\!}{T3}{G}{201} + \DeclareTextComposite{\!}{T3}{b}{225} + \DeclareTextComposite{\!}{T3}{d}{226} + \DeclareTextComposite{\!}{T3}{g}{228} + \DeclareTextComposite{\!}{T3}{j}{234} + \DeclareTextComposite{\!}{T3}{o}{242} +\fi % end of \if@ipasafe\else + +% Added on 2002/08/08 +\newcommand{\tipasafemode}{% + \let\:\tipamedspace + \let\;\tipathickspace + \let\!\tipanegthinspace + \let\*\tipaasterisktmp + \let\|\tipapipetmp} + +% a command suggested by Christian Folini. + +\newcommand{\sups}[2]{\textipa{\tipaUpperaccent[.2ex]{% + \lower.8ex\hbox{\super{#2}}}{#1}}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/tipx.sty b/Master/texmf-dist/tex/latex/tipa/tipx.sty new file mode 100644 index 00000000000..98bf82ed056 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/tipx.sty @@ -0,0 +1,125 @@ +% tipx.sty: Additional Symbols for TIPA +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.0 2001/11/21 +% Version 1.1 2001/12/31 +% +\NeedsTeXFormat{LaTeX2e} +\RequirePackage{tipa} +\ProvidesPackage{tipx}[2003/01/01 TIPX version 1.2] + +% The next few commands are makeshifts; if TS3 can be used, they won't +% be necessary. + +\newcommand\@select@tipx{\fontencoding{U}\fontfamily{tipx}\selectfont} +\newcommand\@select@xipx{\fontencoding{U}\fontfamily{xipx}\selectfont} +\newcommand\@select@tipxss{\fontencoding{U}\fontfamily{tipxss}\selectfont} +\newcommand\@select@xipxss{\fontencoding{U}\fontfamily{xipxss}\selectfont} + +\let\@tipx\@select@tipx +\let\@tipxss\@select@tipxss + +\begingroup +\newcommand\@@ptm@@{ptm} +\ifx\rmdefault\@@ptm@@\global\let\@tipx\@select@xipx\fi +\newcommand\@@phv@@{phv} +\ifx\sfdefault\@@phv@@\global\let\@tipxss\@select@xipxss\fi +\endgroup + +\let\@sffamilyorg\sffamily +\renewcommand\sffamily{\let\@tipx\@tipxss\@sffamilyorg} + +\newcommand\tipxupperaccent{\@ifnextchar[{\upper@accent a\@tipx}% + {\upper@accent a\@tipx[\z@]}} +\newcommand\tipxloweraccent{\@ifnextchar[{\lower@accent a\@tipx}% + {\lower@accent a\@tipx[\z@]}} + +\newcommand\textrevpolhook[1]{% + \tipxloweraccent{0}{{\tipaencoding#1}}} % Reversed Polish Hook + +\newcommand\textrthooklong{{\@tipx\char1}} +\newcommand\textpalhooklong{{\@tipx\char2}} +\newcommand\textpalhookvar{{\@tipx\char3}} +\newcommand\textrectangle{{\@tipx\char4}} +\newcommand\textspleftarrow{{\@tipx\char5}} +\newcommand\textretractingvar{{\@tipx\char6}} +\newcommand\textdownfullarrow{{\@tipx\char7}} +\newcommand\textupfullarrow{{\@tipx\char8}} +\newcommand\textsubrightarrow{{\@tipx\char9}} +\newcommand\textsubdoublearrow{{\@tipx\char10}} + +\newcommand\textrhooka{{\@tipx\char32}} +\newcommand\textinvscripta{{\@tipx\char33}} +\newcommand\textaolig{{\@tipx\char34}} +\newcommand\textlhookfour{{\@tipx\char35}} +\newcommand\textstretchcvar{{\@tipx\char36}} +\newcommand\textctstretchc{{\@tipx\char37}} +\newcommand\textctstretchcvar{{\@tipx\char38}} +\newcommand\textfrhookd{{\@tipx\char39}} +\newcommand\textfrhookdvar{{\@tipx\char40}} +\newcommand\textdblig{{\@tipx\char41}} +\newcommand\textrhooke{{\@tipx\char42}} +\newcommand\textrhookepsilon{{\@tipx\char43}} +\newcommand\textgrgamma{{\@tipx\char44}} +\newcommand\textfrtailgamma{{\@tipx\char45}} +\newcommand\textbktailgamma{{\@tipx\char46}} +\newcommand\textrtailhth{{\@tipx\char47}} +\newcommand\textheng{{\@tipx\char48}} +\newcommand\textlhti{{\@tipx\char49}} +\newcommand\textctjvar{{\@tipx\char50}} +\newcommand\texthtbardotlessjvar{{\@tipx\char51}} +\newcommand\texthmlig{{\@tipx\char52}} +\newcommand\textfrbarn{{\@tipx\char53}} +\newcommand\textnrleg{{\@tipx\char54}} +\newcommand\textfemale{{\@tipx\char55}} +\newcommand\textuncrfemale{{\@tipx\char56}} +\newcommand\textObullseye{{\@tipx\char57}} +\newcommand\textrhookopeno{{\@tipx\char58}} +\newcommand\textinvomega{{\@tipx\char59}} +\newcommand\textlhookp{{\@tipx\char60}} +\newcommand\textqplig{{\@tipx\char61}} +\newcommand\textlooptoprevesh{{\@tipx\char62}} +\newcommand\textfrhookt{{\@tipx\char63}} +\newcommand\textctturnt{{\@tipx\char64}} +\newcommand\textturntwo{{\@tipx\char65}} +\newcommand\textbenttailyogh{{\@tipx\char66}} +\newcommand\textturnthree{{\@tipx\char67}} +\newcommand\textctinvglotstop{{\@tipx\char68}} +\newcommand\textturnglotstop{{\@tipx\char69}} +\newcommand\textpipevar{{\@tipx\char70}} +\newcommand\textdoublepipevar{{\@tipx\char71}} +\newcommand\textdoublebarpipevar{{\@tipx\char72}} +\newcommand\textlfishhookrlig{{\@tipx\char73}} + +\newcommand\textthornvari{{\@tipx\char80}} +\newcommand\textthornvarii{{\@tipx\char81}} +\newcommand\textthornvariii{{\@tipx\char82}} +\newcommand\textthornvariv{{\@tipx\char83}} +\newcommand\textglotstopvari{{\@tipx\char84}} +\newcommand\textglotstopvarii{{\@tipx\char85}} +\newcommand\textglotstopvariii{{\@tipx\char86}} + +\newcommand\textinvsca{{\@tipx\char112}} +\newcommand\textscaolig{{\@tipx\char113}} +\newcommand\textscdelta{{\@tipx\char114}} +\newcommand\textscf{{\@tipx\char115}} +\newcommand\textsck{{\@tipx\char116}} +\newcommand\textturnsck{{\@tipx\char117}} +\newcommand\textrevscl{{\@tipx\char118}} +\newcommand\textscm{{\@tipx\char119}} +\newcommand\textscp{{\@tipx\char120}} +\newcommand\textscq{{\@tipx\char121}} +\newcommand\textrevscr{{\@tipx\char122}} +\newcommand\textturnscu{{\@tipx\char123}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/tone.sty b/Master/texmf-dist/tex/latex/tipa/tone.sty new file mode 100644 index 00000000000..c96c44c45f9 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/tone.sty @@ -0,0 +1,76 @@ +% tone.sty -- TIPA optional package for displaying `tone letters'. +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% 1996/06/10 first version. +% 2001/11/07 \stone (for a short tone bar) added. +% 2001/12/32 \@tonestembar added (due to encoding change; +% \char'277 is now exclusively used for tone letter stem. +% +\RequirePackage{tipa}[2001/12/31 TIPA version 1.1] + +\newif\if@longtone +\newdimen\@tonebarhtunit +\newdimen\@tonebarhalfwd + +\newcommand\@tonestembar{\tipaencoding\char'277} + +\newcommand\tone[1]{\@inittone\leavevmode + \hbox{\kern\@sidegap\@tone#1\relax\kern-\@tonebarhalfwd{\@tonestembar}}} + +\newcommand\rtone[1]{\@inittone\leavevmode + \hbox{{\@tonestembar}\kern-\@tonebarhalfwd\@tone#1\relax\kern\@sidegap}} + +\newcommand\stone[1]{\@inittone\@longtonefalse\leavevmode + \hbox{\kern\@sidegap\@tone#1\relax\kern-\@tonebarhalfwd{\@tonestembar}}} + +\newcommand\@tone[1]{% + \ifx#1\relax + \ifx\pr@vpr@vtone\relax \@outputtone\pr@vtone\pr@vtone + \else \@outputtone\pr@vpr@vtone\pr@vtone\fi + \let\next\relax + \else + \ifx\pr@vpr@vtone\relax\else + \@longtonefalse\@outputtone\pr@vpr@vtone\pr@vtone\fi + \let\pr@vpr@vtone\pr@vtone\def\pr@vtone{#1}% + \let\next\@tone \fi + \next} + +\newcommand\@outputtone[2]{{% + \count\z@ #1\advance\count\z@ -#2\def\@mintone{#2}% + \ifnum\count\z@>0\count\@ne128\advance\count\@ne \count\z@ + \edef\@tonecode{\the\count\@ne}% falling tone + \else + \ifnum\count\z@<0\count\@ne132\advance\count\@ne -\count\z@ + \edef\@tonecode{\the\count\@ne}\def\@mintone{#1}% rising tone + \else + \def\@tonecode{128}\fi\fi % level tone + \if@longtone\else\count\z@\@tonecode + \advance\count\z@ 9 \def\@tonecode{\the\count\z@}\fi + \@longtonefalse + \count\@ne\@mintone \advance\count\@ne \m@ne + \dimen\z@\the\count\@ne\@tonebarhtunit + \raise\dimen\z@\hbox{% + \@accshift{-\dimen\z@}% + {\tipaencoding\char\@tonecode}% + \@accshift{\dimen\z@}}}} + +\newcommand\@toneshift[1]{\dimen\@ne#1} + +\newcommand\@inittone{% + \@getaccshift \let\c@lcshift\@toneshift + \let\pr@vtone\relax\let\pr@vpr@vtone\relax + \@longtonetrue{\setbox\z@\hbox{\@tonestembar}% + \global\@tonebarhtunit.25\ht\z@ + \global\@tonebarhalfwd.5\wd\z@}} + +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/ts3cmr.fd b/Master/texmf-dist/tex/latex/tipa/ts3cmr.fd new file mode 100644 index 00000000000..068d2598749 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/ts3cmr.fd @@ -0,0 +1,47 @@ +% ts3cmr.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{ts3cmr.fd}[2001/12/31 TS3 font definitions] +\DeclareFontFamily{TS3}{cmr}{} +\DeclareFontShape{TS3}{cmr}{m}{n}{% + <5> <6> <7> <8> tipx8 + <9> tipx9 + <10> <10.95> tipx10 + <12> <14.4> tipx12 + <17.28> <20.74> <24.88> tipx17 +}{} +\DeclareFontShape{TS3}{cmr}{bx}{n}{% + <5> <6> <7> <8> tipxbx8 + <9> tipxbx9 + <10> <10.95> tipxbx10 + <12> <14.4> <17.28> <20.74> <24.88> tipxbx12 +}{} +\DeclareFontShape{TS3}{cmr}{b}{n}{% + <-> tipxb10 +}{} +\DeclareFontShape{TS3}{cmr}{bx}{sl}{% + <-> tipxbs10 +}{} +\DeclareFontShape{TS3}{cmr}{m}{sl}{% + <5> <6> <7> <8> tipxsl8 + <9> tipxsl9 + <10> <10.95> tipxsl10 + <12> <14.4> <17.28> <20.74> <24.88> tipxsl12 +}{} +\DeclareFontShape{TS3}{cmr}{m}{it}{% + <-> sub * cmr/m/sl +}{} +\DeclareFontShape{TS3}{cmr}{bx}{it}{% + <-> sub * cmr/bx/sl +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/ts3cmss.fd b/Master/texmf-dist/tex/latex/tipa/ts3cmss.fd new file mode 100644 index 00000000000..ba8f0c704d6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/ts3cmss.fd @@ -0,0 +1,32 @@ +% ts3cmss.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{ts3cmss.fd}[2001/12/31 TS3 font definitions] +\DeclareFontFamily{TS3}{cmss}{} +\DeclareFontShape{TS3}{cmss}{m}{n}{% + <5> <6> <7> <8> tipxss8 + <9> tipxss9 + <10> <10.95> tipxss10 + <12> <14.4> tipxss12 + <17.28> <20.74> <24.88> tipxss17 +}{} +\DeclareFontShape{TS3}{cmss}{bx}{n}{% + <-> tipxsb10 +}{} +\DeclareFontShape{TS3}{cmss}{m}{sl}{% + <-> tipxsi10 +}{} +\DeclareFontShape{TS3}{cmss}{m}{it}{% + <-> sub * cmss/m/sl +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/ts3cmtt.fd b/Master/texmf-dist/tex/latex/tipa/ts3cmtt.fd new file mode 100644 index 00000000000..3318fe1ea4e --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/ts3cmtt.fd @@ -0,0 +1,37 @@ +% ts3cmtt.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{ts3cmtt.fd}[2001/12/31 TS3 font definitions] +\DeclareFontFamily{TS3}{cmtt}{} +\DeclareFontShape{TS3}{cmtt}{m}{n}{% + <5> <6> <7> <8> tipxtt8 + <9> tipxtt9 + <10> <10.95> tipxtt10 + <12> <14.4> <17.28> <20.74> <24.88> tipxtt12 +}{} +\DeclareFontShape{TS3}{cmtt}{bx}{n}{% + <-> sub * cmtt/m/n +}{} +\DeclareFontShape{TS3}{cmtt}{m}{sl}{% + <-> tipxts10 +}{} +\DeclareFontShape{TS3}{cmtt}{m}{it}{% + <-> sub * cmtt/m/sl +}{} +\DeclareFontShape{TS3}{cmtt}{bx}{n}{% + <-> sub * cmtt/m/n +}{} +\DeclareFontShape{TS3}{cmtt}{b}{n}{% + <-> sub * cmtt/m/n +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/ts3enc.def b/Master/texmf-dist/tex/latex/tipa/ts3enc.def new file mode 100644 index 00000000000..2fcc1027c94 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/ts3enc.def @@ -0,0 +1,94 @@ +% ts3enc.def: TIPA Additional symbols +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.0 2001/12/31 +% +\ProvidesFile{ts3enc.def}[2001/12/31 TS3 encoding] +\DeclareFontEncoding{TS3}{}{} + +\DeclareTextSymbol\textrthooklong{TS3}{1} +\DeclareTextSymbol\textpalhooklong{TS3}{2} +\DeclareTextSymbol\textpalhookvar{TS3}{3} +\DeclareTextSymbol\textrectangle{TS3}{4} +\DeclareTextSymbol\textspleftarrow{TS3}{5} +\DeclareTextSymbol\textretractingvar{TS3}{6} +\DeclareTextSymbol\textdownfullarrow{TS3}{7} +\DeclareTextSymbol\textupfullarrow{TS3}{8} +\DeclareTextSymbol\textsubrightarrow{TS3}{9} +\DeclareTextSymbol\textsubdoublearrow{TS3}{10} + +\DeclareTextSymbol\textrhooka{TS3}{32} +\DeclareTextSymbol\textinvscripta{TS3}{33} +\DeclareTextSymbol\textaolig{TS3}{34} +\DeclareTextSymbol\textlhookfour{TS3}{35} +\DeclareTextSymbol\textstretchcvar{TS3}{36} +\DeclareTextSymbol\textctstretchc{TS3}{37} +\DeclareTextSymbol\textctstretchcvar{TS3}{38} +\DeclareTextSymbol\textfrhookd{TS3}{39} +\DeclareTextSymbol\textfrhookdvar{TS3}{40} +\DeclareTextSymbol\textdblig{TS3}{41} +\DeclareTextSymbol\textrhooke{TS3}{42} +\DeclareTextSymbol\textrhookepsilon{TS3}{43} +\DeclareTextSymbol\textgrgamma{TS3}{44} +\DeclareTextSymbol\textfrtailgamma{TS3}{45} +\DeclareTextSymbol\textbktailgamma{TS3}{46} +\DeclareTextSymbol\textrtailhth{TS3}{47} +\DeclareTextSymbol\textheng{TS3}{48} +\DeclareTextSymbol\textlhti{TS3}{49} +\DeclareTextSymbol\textctjvar{TS3}{50} +\DeclareTextSymbol\texthtbardotlessjvar{TS3}{51} +\DeclareTextSymbol\texthmlig{TS3}{52} +\DeclareTextSymbol\textfrbarn{TS3}{53} +\DeclareTextSymbol\textnrleg{TS3}{54} +\DeclareTextSymbol\textfemale{TS3}{55} +\DeclareTextSymbol\textuncrfemale{TS3}{56} +\DeclareTextSymbol\textObullseye{TS3}{57} +\DeclareTextSymbol\textrhookopeno{TS3}{58} +\DeclareTextSymbol\textinvomega{TS3}{59} +\DeclareTextSymbol\textlhookp{TS3}{60} +\DeclareTextSymbol\textqplig{TS3}{61} +\DeclareTextSymbol\textlooptoprevesh{TS3}{62} +\DeclareTextSymbol\textfrhookt{TS3}{63} +\DeclareTextSymbol\textctturnt{TS3}{64} +\DeclareTextSymbol\textturntwo{TS3}{65} +\DeclareTextSymbol\textbenttailyogh{TS3}{66} +\DeclareTextSymbol\textturnthree{TS3}{67} +\DeclareTextSymbol\textctinvglotstop{TS3}{68} +\DeclareTextSymbol\textturnglotstop{TS3}{69} +\DeclareTextSymbol\textpipevar{TS3}{70} +\DeclareTextSymbol\textdoublepipevar{TS3}{71} +\DeclareTextSymbol\textdoublebarpipevar{TS3}{72} +\DeclareTextSymbol\textlfishhookrlig{TS3}{73} + +\DeclareTextSymbol\textthornvari{TS3}{80} +\DeclareTextSymbol\textthornvarii{TS3}{81} +\DeclareTextSymbol\textthornvariii{TS3}{82} +\DeclareTextSymbol\textthornvariv{TS3}{83} +\DeclareTextSymbol\textglotstopvari{TS3}{84} +\DeclareTextSymbol\textglotstopvarii{TS3}{85} +\DeclareTextSymbol\textglotstopvariii{TS3}{86} + +\DeclareTextSymbol\textinvsca{TS3}{112} +\DeclareTextSymbol\textscaolig{TS3}{113} +\DeclareTextSymbol\textscdelta{TS3}{114} +\DeclareTextSymbol\textscf{TS3}{115} +\DeclareTextSymbol\textsck{TS3}{116} +\DeclareTextSymbol\textturnsck{TS3}{117} +\DeclareTextSymbol\textrevscl{TS3}{118} +\DeclareTextSymbol\textscm{TS3}{119} +\DeclareTextSymbol\textscp{TS3}{120} +\DeclareTextSymbol\textscq{TS3}{121} +\DeclareTextSymbol\textrevscr{TS3}{122} +\DeclareTextSymbol\textturnscu{TS3}{123} + +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/ts3phv.fd b/Master/texmf-dist/tex/latex/tipa/ts3phv.fd new file mode 100644 index 00000000000..15dd90eecc6 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/ts3phv.fd @@ -0,0 +1,38 @@ +% ts3phv.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% This file is based on a suggestion by Walter Schmidt. +% +\ProvidesFile{ts3phv.fd}[2001/12/31 scalable TS3 font definitions] +\expandafter\ifx\csname Hv@scale\endcsname\relax + \let\Hv@@scale\@empty +\else + \edef\Hv@@scale{s*[\csname Hv@scale\endcsname]}% +\fi +\DeclareFontFamily{TS3}{phv}{} +\DeclareFontShape{TS3}{phv}{m}{n}{% + <-> \Hv@@scale xipxss10 +}{} +\DeclareFontShape{TS3}{phv}{b}{n}{% + <-> \Hv@@scale xipxsb10 +}{} +\DeclareFontShape{TS3}{phv}{bx}{n}{% + <-> \Hv@@scale xipxsb10 +}{} +\DeclareFontShape{TS3}{phv}{m}{sl}{% + <-> \Hv@@scale xipxsi10 +}{} +\DeclareFontShape{TS3}{phv}{m}{it}{% + <-> \Hv@@scale xipxsi10 +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/ts3ptm.fd b/Master/texmf-dist/tex/latex/tipa/ts3ptm.fd new file mode 100644 index 00000000000..bd1f5d1e5c4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/ts3ptm.fd @@ -0,0 +1,37 @@ +% ts3ptm.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{ts3ptm.fd}[2001/12/31 TIPA font definitions] +\DeclareFontFamily{TS3}{ptm}{} +\DeclareFontShape{TS3}{ptm}{m}{n}{% + <-> xipx10 +}{} +\DeclareFontShape{TS3}{ptm}{bx}{n}{% + <-> xipxb10 +}{} +\DeclareFontShape{TS3}{ptm}{b}{n}{% + <-> xipxb10 +}{} +\DeclareFontShape{TS3}{ptm}{m}{sl}{% + <-> xipxsl10 +}{} +\DeclareFontShape{TS3}{ptm}{b}{sl}{% + <-> xipxbs10 +}{} +\DeclareFontShape{TS3}{ptm}{bx}{sl}{% + <-> xipxbs10 +}{} +\DeclareFontShape{TS3}{ptm}{m}{it}{% + <-> sub * ptm/m/sl +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/utipx.fd b/Master/texmf-dist/tex/latex/tipa/utipx.fd new file mode 100644 index 00000000000..9441ef67ce3 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/utipx.fd @@ -0,0 +1,47 @@ +% utipx.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{utipx.fd}[2001/12/31 TIPX font definitions] +\DeclareFontFamily{U}{tipx}{} +\DeclareFontShape{U}{tipx}{m}{n}{% + <5> <6> <7> <8> tipx8 + <9> tipx9 + <10> <10.95> tipx10 + <12> <14.4> tipx12 + <17.28> <20.74> <24.88> tipx17 +}{} +\DeclareFontShape{U}{tipx}{bx}{n}{% + <5> <6> <7> <8> tipxbx8 + <9> tipxbx9 + <10> <10.95> tipxbx10 + <12> <14.4> <17.28> <20.74> <24.88> tipxbx12 +}{} +\DeclareFontShape{U}{tipx}{b}{n}{% + <-> tipxb10 +}{} +\DeclareFontShape{U}{tipx}{bx}{sl}{% + <-> tipxbs10 +}{} +\DeclareFontShape{U}{tipx}{m}{sl}{% + <5> <6> <7> <8> tipxsl8 + <9> tipxsl9 + <10> <10.95> tipxsl10 + <12> <14.4> <17.28> <20.74> <24.88> tipxsl12 +}{} +\DeclareFontShape{U}{tipx}{m}{it}{% + <-> sub * cmr/m/sl +}{} +\DeclareFontShape{U}{tipx}{bx}{it}{% + <-> sub * cmr/bx/sl +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/utipxss.fd b/Master/texmf-dist/tex/latex/tipa/utipxss.fd new file mode 100644 index 00000000000..04a8d2a3693 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/utipxss.fd @@ -0,0 +1,32 @@ +% utipxss.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{utipxss.fd}[2001/12/31 TIPX font definitions] +\DeclareFontFamily{U}{tipxss}{} +\DeclareFontShape{U}{tipxss}{m}{n}{% + <5> <6> <7> <8> tipxss8 + <9> tipxss9 + <10> <10.95> tipxss10 + <12> <14.4> tipxss12 + <17.28> <20.74> <24.88> tipxss17 +}{} +\DeclareFontShape{U}{tipxss}{bx}{n}{% + <-> tipxsb10 +}{} +\DeclareFontShape{U}{tipxss}{m}{sl}{% + <-> tipxsi10 +}{} +\DeclareFontShape{U}{tipxss}{m}{it}{% + <-> sub * cmss/m/sl +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/utipxtt.fd b/Master/texmf-dist/tex/latex/tipa/utipxtt.fd new file mode 100644 index 00000000000..3e49f5eb184 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/utipxtt.fd @@ -0,0 +1,37 @@ +% utipxtt.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{utipxtt.fd}[2001/12/31 TIPX font definitions] +\DeclareFontFamily{U}{tipxtt}{} +\DeclareFontShape{U}{tipxtt}{m}{n}{% + <5> <6> <7> <8> tipxtt8 + <9> tipxtt9 + <10> <10.95> tipxtt10 + <12> <14.4> <17.28> <20.74> <24.88> tipxtt12 +}{} +\DeclareFontShape{U}{tipxtt}{bx}{n}{% + <-> sub * tipxtt/m/n +}{} +\DeclareFontShape{U}{tipxtt}{m}{sl}{% + <-> tipxts10 +}{} +\DeclareFontShape{U}{tipxtt}{m}{it}{% + <-> sub * tipxtt/m/sl +}{} +\DeclareFontShape{U}{tipxtt}{bx}{n}{% + <-> sub * tipxtt/m/n +}{} +\DeclareFontShape{U}{tipxtt}{b}{n}{% + <-> sub * tipxtt/m/n +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/uxipx.fd b/Master/texmf-dist/tex/latex/tipa/uxipx.fd new file mode 100644 index 00000000000..67d370d7af2 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/uxipx.fd @@ -0,0 +1,37 @@ +% uxipx.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +\ProvidesFile{uxipx.fd}[2001/12/31 XIPX font definitions] +\DeclareFontFamily{U}{xipx}{} +\DeclareFontShape{U}{xipx}{m}{n}{% + <-> xipx10 +}{} +\DeclareFontShape{U}{xipx}{bx}{n}{% + <-> xipxb10 +}{} +\DeclareFontShape{U}{xipx}{b}{n}{% + <-> xipxb10 +}{} +\DeclareFontShape{U}{xipx}{m}{sl}{% + <-> xipxsl10 +}{} +\DeclareFontShape{U}{xipx}{b}{sl}{% + <-> xipxbs10 +}{} +\DeclareFontShape{U}{xipx}{bx}{sl}{% + <-> xipxbs10 +}{} +\DeclareFontShape{U}{xipx}{m}{it}{% + <-> sub * xipx/m/sl +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/uxipxss.fd b/Master/texmf-dist/tex/latex/tipa/uxipxss.fd new file mode 100644 index 00000000000..bb2e966cd5f --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/uxipxss.fd @@ -0,0 +1,38 @@ +% uxipxss.fd +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% This file is based on a suggestion by Walter Schmidt. +% +\ProvidesFile{uxipxss.fd}[2001/12/31 scalable XIPX font definitions] +\expandafter\ifx\csname Hv@scale\endcsname\relax + \let\Hv@@scale\@empty +\else + \edef\Hv@@scale{s*[\csname Hv@scale\endcsname]}% +\fi +\DeclareFontFamily{U}{xipxss}{} +\DeclareFontShape{U}{xipxss}{m}{n}{% + <-> \Hv@@scale xipxss10 +}{} +\DeclareFontShape{U}{xipxss}{b}{n}{% + <-> \Hv@@scale xipxsb10 +}{} +\DeclareFontShape{U}{xipxss}{bx}{n}{% + <-> \Hv@@scale xipxsb10 +}{} +\DeclareFontShape{U}{xipxss}{m}{sl}{% + <-> \Hv@@scale xipxsi10 +}{} +\DeclareFontShape{U}{xipxss}{m}{it}{% + <-> \Hv@@scale xipxsi10 +}{} +\endinput diff --git a/Master/texmf-dist/tex/latex/tipa/vowel.sty b/Master/texmf-dist/tex/latex/tipa/vowel.sty new file mode 100644 index 00000000000..17e3a0c72b4 --- /dev/null +++ b/Master/texmf-dist/tex/latex/tipa/vowel.sty @@ -0,0 +1,530 @@ +% vowel.sty -- for drawing vowel diagrams. +% Copyright 2002 FUKUI Rei +% +% This program may be distributed and/or modified under the +% conditions of the LaTeX Project Public License, either version 1.2 +% of this license or (at your option) any later version. +% The latest version of this license is in +% http://www.latex-project.org/lppl.txt +% and version 1.2 or later is part of all distributions of LaTeX +% version 1999/12/01 or later. +% +% This program consists of all files listed in Manifest.txt. +% +% Version 1.0 1996/06/10 +% Version 1.1 2002/08/08 +% +% This file is distributed with TIPA. +% +\NeedsTeXFormat{LaTeX2e} +\ProvidesPackage{vowel}[2002/08/08 VOWEL Package version 1.1] + +% The following macros are defined in `tipa' so that they are defined +% only if `tipa' has not been loaded. + +\@ifundefined{super}{\let\super\textsuperscript}{} + +% The following parameters can be overrided by the user. +% -\p@ is used as the initial value instead of \z@ because a user can +% specify 0pt, for example, for \vowelsep. This initial value is later +% used to find out whether or not the user has modified it. + +\newdimen\vowelhunit \vowelhunit-\p@ +\newdimen\vowelvunit \vowelvunit-\p@ +\newdimen\vowelsep \vowelsep-\p@ +\newdimen\vowelline \vowelline.4pt +\newcommand\vowelsymbol{\lower.72ex\hbox{\textsuperscript{$\bullet$}}} +\newcommand\diagrate{.4} + +% Internal registers, etc. + +\newcount\@vwlcnt \@vwlcnt\@ne +\newdimen\@vwltopsep \@vwltopsep\z@ +\newdimen\@vwlbotsep \@vwlbotsep\z@ +\newdimen\@vwllftsep \@vwllftsep\z@ +\newdimen\@vwlrtsep \@vwlrtsep\z@ +\newif\if@notouch +\newif\if@tmpnoerase \@tmpnoerasefalse +\newif\if@vline \@vlinefalse + +% \@dgmtype 0:plain, 1:simple, 2:standard, 3:ipanew (default) +\newcount\@dgmtype \@dgmtype=3 +% \@dgmaligh 0: default(mid), 1: top, 2: bot +\newcount\@dgmalign \@dgmalign=0 +\newif\ifrectdgm \rectdgmfalse +\newif\iftriangledgm \triangledgmfalse +\newif\ifthreelevel \threelevelfalse +\newif\ifnoerase \noerasefalse + +\newcommand\incrz@{\advance\dimen\z@} +\newcommand\incr@ne{\advance\dimen\@ne} + +\def\@ipanewdgm{ipanew} +\def\@stddgm{standard} +\def\@simpledgm{simple} +\def\@plaindgm{plain} +\def\@threelevel{three} +\def\@rectdgm{rectangle} +\def\@triangledgm{triangle} +\def\@noerase{noerase} +\def\@dgmtopalign{t} +\def\@dgmbotalign{b} + +% Definition of the vowel environment. + +\newenvironment{vowel}{\@ifnextchar[{\@vowel}{\@vowel[]}}{\@@vowel} + +\def\@vowel[#1]{\leavevmode + \@for\@vwloption:=#1\do{% + \ifx\@vwloption\@ipanewdgm\else + \ifx\@vwloption\@stddgm \@dgmtype=2\else + \ifx\@vwloption\@simpledgm \@dgmtype=1\else + \ifx\@vwloption\@plaindgm \@dgmtype=0\else + \ifx\@vwloption\@rectdgm \rectdgmtrue\else + \ifx\@vwloption\@triangledgm \triangledgmtrue\else + \ifx\@vwloption\@threelevel \threeleveltrue\else + \ifx\@vwloption\@noerase \noerasetrue\else + \ifx\@vwloption\@dgmtopalign \@dgmalign=1\else + \ifx\@vwloption\@dgmbotalign \@dgmalign=2\else + \errmessage{vowel: no such option [\@vwloption]}% + \fi\fi\fi\fi\fi\fi\fi\fi\fi\fi}\relax +% +% If \vowelhunit, \vowelvunit, and \vowelsep are not overrided by a user, +% use default values. +% + \ifdim\vowelhunit=-\p@ \vowelhunit2em\fi + \ifdim\vowelvunit=-\p@ \vowelvunit=\ifthreelevel1.5\fi\vowelhunit\fi + \ifdim\vowelsep=-\p@ \vowelsep.16em\fi + \dimen\@ne=4\vowelhunit + \edef\@vwldgmwd{\the\dimen\@ne}% + \edef\@vwldgmht{\ifthreelevel2\else3\fi\vowelvunit}% + \edef\c@rdhposii{\ifrectdgm\z@\else\ifthreelevel\else.667\fi\vowelhunit\fi}% + \edef\c@rdhposiii{\ifrectdgm\z@\else1.333\vowelhunit\fi}% + \edef\c@rdhposiv{\ifrectdgm\z@\else2\vowelhunit\fi}% + \edef\c@rdhposx{\ifrectdgm2\else2.333\fi\vowelhunit}% + \edef\c@rdhposxi{\ifrectdgm2\else2.5\fi\vowelhunit}% + \edef\c@rdhposxii{\ifrectdgm2\else2.667\fi\vowelhunit}% + \edef\c@rdhposxiii{\ifrectdgm\else1.25\fi\vowelhunit}% + \edef\c@rdhposxiv{\ifrectdgm3\else3.083\fi\vowelhunit}% + \edef\c@rdhposxv{\ifrectdgm2\else2.833\fi\vowelhunit}% + \edef\c@rdhposxvi{\ifrectdgm\z@\else1.667\vowelhunit\fi}% +} + +\newcommand\@vwldgmhline[2]{% + \kern-.5\vowelline + \dimen\z@\@vwldgmwd + \iftriangledgm \incrz@-#1\fi + \edef\@vwltmpi{\the\dimen\z@}% + \hb@xt@ \@vwldgmwd{\@bgline{#1}\@vwltmpi{#2}\relax\hss}% + \kern.5\vowelline +} + +% This is the main macro. +\newcommand\@@vowel{% + \ifcase\@dgmalign + \advance\@vwltopsep4pt \advance\@vwlbotsep4pt \or + \advance\@vwltopsep-1ex \advance\@vwlbotsep4pt \or + \advance\@vwltopsep4pt \fi + \def\@lasthpos{\z@}% + \dimen\z@\@vwldgmht + \incrz@ \vowelline + \incrz@ \@vwltopsep + \incrz@ \@vwlbotsep + \dimen\@ne\dimen\z@ + \ifcase\@dgmalign + \dimen\z@.5\dimen\z@ \dimen\@ne.5\dimen\@ne \or + \dimen\z@\z@ \or + \dimen\@ne\z@ \fi + \hbox{\kern\@vwllftsep + \vrule \@height\dimen\z@ \@depth\dimen\@ne \@width\z@ + \ifnum\@dgmalign=1\vtop\else\vbox\fi to\dimen\z@{% + \hsize\@vwldgmwd\offinterlineskip + \kern\@vwltopsep + \@drawvowel{\the\@vwlcnt}% +% + \vtop to\z@{\hb@xt@ \@vwldgmwd{% + {\@vlinetrue + \ifrectdgm \@bgline\z@\@vwldgmht\z@\relax + \else \@bgline\z@\@vwldgmht\z@\c@rdhposiv \fi +% + \ifnum \@dgmtype=3% ipanew + \ifrectdgm \@bgline\z@\@vwldgmht\c@rdhposx\relax + \else\iftriangledgm \@bgline\z@\@vwldgmht\c@rdhposiv\relax + \else \@bgline\z@\@vwldgmht\c@rdhposiv{3\vowelhunit}\fi\fi + \else \ifnum\@dgmtype=2% standard + \@bgline\z@{2.5\vowelvunit}{1.167\vowelhunit}\c@rdhposxv + \@bgline\z@{2.5\vowelvunit}\c@rdhposiv\c@rdhposxv + \@bgline\z@{2.5\vowelvunit}\c@rdhposxv\relax + \fi\fi +% + \iftriangledgm + \@bgline\z@\@vwldgmht\@vwldgmwd\c@rdhposiv + \else + \@bgline\z@\@vwldgmht\@vwldgmwd\relax \fi + }\hss}\vss}% +% + \@vwldgmhline\z@\z@ + \kern\vowelvunit + \ifnum\@dgmtype>0\kern-\vowelline + \@vwldgmhline\c@rdhposii\vowelvunit\fi + \kern\vowelvunit + \ifthreelevel\else + \ifnum\@dgmtype>0\kern-\vowelline + \@vwldgmhline\c@rdhposiii{2\vowelvunit}\fi + \kern\vowelvunit\fi + \kern-\vowelline + \@vwldgmhline\c@rdhposiv\@vwldgmht + \kern\@vwlbotsep + \vss}% + \kern\@vwlrtsep}% +} + +% Commands for placing vowels on the vowel diagram. + +\newcommand\putvowel{\@ifnextchar[{\@putdotvowel}{\@putvowel}} + +% Put a vowel on a specified point. +\newcommand\@putvowel[3]{% + \setbox\z@\hbox{#1\global\dimen4=.5ex}% + \setbox\z@\hbox{#1}\dimen\@ne\wd\z@\incr@ne 2\vowelsep +% + \dimen\z@#2\incrz@ -.5\dimen\@ne + \expandafter\xdef\csname vwlxi\the\@vwlcnt\endcsname{\the\dimen\z@}% + \ifdim\dimen\z@<\z@ \dimen\z@-\dimen\z@ + \ifdim\dimen\z@>\@vwllftsep \@vwllftsep\dimen\z@\fi\fi +% + \dimen\z@#2\incrz@ .5\dimen\@ne + \expandafter\xdef\csname vwlxii\the\@vwlcnt\endcsname{\the\dimen\z@}% + \dimen\@ne\@vwldgmwd \incr@ne-\dimen\z@ + \ifdim\dimen\@ne<\z@ \dimen\@ne-\dimen\@ne + \ifdim\dimen\@ne>\@vwlrtsep \@vwlrtsep\dimen\@ne\fi\fi +% + \dimen\z@#3\dimen\tw@=\ht\z@\advance\dimen\tw@ -\dimen4%.5ex% + \incrz@ -\dimen\tw@ \incrz@ -\vowelsep + \expandafter\xdef\csname vwlyi\the\@vwlcnt\endcsname{\the\dimen\z@}% + \ifdim\dimen\tw@>\@vwltopsep \@vwltopsep\dimen\tw@\fi +% + \dimen\z@#3\dimen\tw@=\dp\z@\advance\dimen\tw@ \dimen4%.5ex% + \incrz@ \dimen\tw@ \incrz@ \vowelsep + \expandafter\xdef\csname vwlyii\the\@vwlcnt\endcsname{\the\dimen\z@}% + \ifdim\dimen\tw@>\@vwlbotsep \@vwlbotsep\dimen\tw@\fi +% + \expandafter\gdef\csname vwlsym\the\@vwlcnt\endcsname{#1}% + \expandafter\xdef\csname tmpnoerase\the\@vwlcnt\endcsname{% + \if@tmpnoerase1\else0\fi}% + \advance\@vwlcnt \@ne + \ignorespaces} + +\def\@putdotvowel[#1]#2#3#4{% + \if x#1\@putvowel{#2}{#3}{#4}\else + \@tmpnoerasetrue\@putvowel\vowelsymbol{#3}{#4}\@tmpnoerasefalse + \setbox\z@\hbox{#2}\setbox\@ne\hbox{\vowelsymbol}% + \dimen\z@=#3\dimen\@ne=#4\dimen\tw@=.5\wd\z@ + \advance\dimen\tw@.5\wd\@ne \advance\dimen\tw@.5\vowelsep +% + \if l#1% + \incrz@-\dimen\tw@ + \else + \if r#1\incrz@\dimen\tw@ + \else \errmessage{put(c)vowel: no such option [#1]}% + \fi + \fi +% + \edef\@vwltmpi{\the\dimen\z@}% + \@putvowel{#2}\@vwltmpi{#4}\fi} + +% Put a vowel on a cardinal position +\newcommand\putcvowel{\@ifnextchar[{\@putcvowel}{\@putcvowel[x]}} + +\def\@putcvowel[#1]#2#3{% + \ifcase#3\or + \@putdotvowel[#1]{#2}\z@\z@\or + \@putdotvowel[#1]{#2}\c@rdhposii\vowelvunit\or + \@putdotvowel[#1]{#2}\c@rdhposiii{2\vowelvunit}\or + \@putdotvowel[#1]{#2}\c@rdhposiv\@vwldgmht\or + \@putdotvowel[#1]{#2}\@vwldgmwd\@vwldgmht\or + \@putdotvowel[#1]{#2}\@vwldgmwd{2\vowelvunit}\or + \@putdotvowel[#1]{#2}\@vwldgmwd\vowelvunit\or + \@putdotvowel[#1]{#2}\@vwldgmwd\z@\or + \@putdotvowel[#1]{#2}{2\vowelhunit}\z@\or + \@putdotvowel[#1]{#2}\c@rdhposx\vowelvunit\or + \@putdotvowel[#1]{#2}\c@rdhposxi{1.5\vowelvunit}\or + \@putdotvowel[#1]{#2}\c@rdhposxii{2\vowelvunit}\or + \@putdotvowel[#1]{#2}\c@rdhposxiii{.5\vowelvunit}\or + \@putdotvowel[#1]{#2}\c@rdhposxiv{.5\vowelvunit}\or + \@putdotvowel[#1]{#2}\c@rdhposxv{2.5\vowelvunit}\or + \@putdotvowel[#1]{#2}\c@rdhposxvi{2.5\vowelvunit}\else\fi +} + +\newcommand\@getvwldim[1]{% + \edef\@vwlyi{\csname vwlyi\the#1\endcsname}% + \edef\@vwlyii{\csname vwlyii\the#1\endcsname}% + \edef\@vwlxi{\csname vwlxi\the#1\endcsname}% + \edef\@vwlxii{\csname vwlxii\the#1\endcsname}% + \edef\@tmpnoerase{\csname tmpnoerase\the#1\endcsname}% + \if@vline + \let\@lineposi\@vwlxi \let\@lineposii\@vwlxii + \let\@vwlposi\@vwlyi \let\@vwlposii\@vwlyii + \else + \let\@lineposi\@vwlyi \let\@lineposii\@vwlyii + \let\@vwlposi\@vwlxi \let\@vwlposii\@vwlxii + \fi +} + +\newcommand\@drawvowel[1]{{% + \@vwlcnt#1\relax + \loop + \advance\@vwlcnt\m@ne + \ifnum \@vwlcnt>\z@ + \@getvwldim\@vwlcnt + \dimen\z@\@vwlxi \incrz@\vowelsep + \incrz@ .5\vowelline + \vtop to \z@{% + \kern\@vwlyi + \kern\vowelsep + \hb@xt@\z@{\kern\dimen\z@\csname vwlsym\the\@vwlcnt\endcsname\hss}% + \vss}% + \repeat +}} + +{\catcode`\p=12\catcode`\t=12\gdef\@chreal#1.#2pt{#1}} + +\newcount\@x@ \newcount\@y@ \newcount\@z@ + +\newcommand\@dimdivide[2]{{% + \dimen\z@#1\dimen\@ne#2\def\@sign{}% + \ifdim\dimen\z@<\z@ \dimen\z@-\dimen\z@ + \ifdim\dimen\@ne<\z@ \dimen\@ne-\dimen\@ne \else \def\@sign{-}\fi + \else + \ifdim\dimen\@ne<\z@ \dimen\@ne-\dimen\@ne \def\@sign{-}\fi + \fi + \ifdim\dimen\z@>100pt\def\@enl@rge{10}\else + \ifdim\dimen\@ne>100pt\def\@enl@rge{10}\else + \ifdim\dimen\z@>10pt\def\@enl@rge{100}\else + \ifdim\dimen\@ne>10pt\def\@enl@rge{100}\else + \def\@enl@rge{\@m}\fi\fi\fi\fi + \dimen\z@=\@enl@rge\dimen\z@ \dimen\@ne\@enl@rge\dimen\@ne + \@x@=\expandafter\@chreal\the\dimen\z@ + \@y@=\expandafter\@chreal\the\dimen\@ne + \divide\@x@ \@y@ \edef\@dimrate{\the\@x@.}% + \@z@=\@x@ \multiply\@z@ \@y@ + \@x@=\expandafter\@chreal\the\dimen\z@ \advance\@x@ -\@z@ + \multiply\@x@ 10 \edef\@vwltmpi{\the\@x@}% + \divide\@x@ \@y@ \edef\@dimrate{\@dimrate\the\@x@}% + \@@dimdivide\@@dimdivide\@@dimdivide + \xdef\@dimrate{\@sign\@dimrate}% +}} + +\newcommand\@@dimdivide{% + \@z@=\@x@ \multiply\@z@ \@y@ + \@x@=\@vwltmpi \advance\@x@ -\@z@ + \multiply\@x@ 10 \edef\@vwltmpi{\the\@x@}% + \divide\@x@ \@y@ \edef\@dimrate{\@dimrate\the\@x@}} + +\newcommand\@drawhline[3]{{% + \dimen\z@#1\dimen\@ne#2\incr@ne-\dimen\z@ + \hb@xt@\z@{% + \kern\dimen\z@ + \kern.5\vowelline + \vrule \@height\vowelline \@depth\z@ \@width\dimen\@ne \hss}% +}} + +\newcommand\@drawvline[3]{{% + \dimen\z@#1\dimen\@ne#2\dimen\tw@#3% + \incr@ne -\dimen\z@ + \hb@xt@ \z@{\kern\dimen\tw@\vtop to\z@{% + \kern\dimen\z@ + \hrule \@height\dimen\@ne \@depth\z@ \@width\vowelline \vss}\hss}% +}} + +\newcommand\@drawdiagline[4]{{% + \dimen\z@#1\dimen\@ne#2% + \incr@ne -\dimen\z@ + \dimen\tw@#3\dimen\thr@@#4% + \ifdim\dimen\tw@>\dimen\thr@@ + \dimen\tw@#4\dimen\thr@@#3% + \advance\dimen\thr@@ -\dimen\tw@ + \dimen\thr@@-\dimen\thr@@ + \else + \advance\dimen\thr@@ -\dimen\tw@ + \fi + \hb@xt@ \z@{\kern\dimen\tw@\vtop to\z@{% + \kern\dimen\z@ + \diagline{\the\dimen\@ne}{\the\dimen\thr@@}% + \vss}\hss}% +}} + +% This is the memory-eater. + +\newcommand\diagline[2]{% + \@dimdivide{#1}{#2}\dimen\@ne=\diagrate\vowelline + \ifdim\dimen\@ne>.4pt\dimen\@ne=.4pt\fi + \dimen4=-\@dimrate\dimen\@ne \dimen\z@=\z@ + \dimen\tw@=#2\relax \ifdim\dimen\tw@<\z@ \dimen\tw@-\dimen\tw@\fi + \advance\dimen\tw@ -.25\vowelline + \setbox\@ne\hbox{}% + \loop \setbox\z@\hbox{\unhcopy\@ne}% + \ifdim\wd\z@<\dimen\tw@ + \setbox\@ne\hbox{\unhbox\z@\raise\dimen\z@\hb@xt@ \z@{% + \vrule\@width\vowelline\@height\vowelline\hss}% + \kern\dimen\@ne}% + \global\incrz@ \dimen4 + \repeat + \box\@ne} + +% Macros for background lines: +% +% The next macros are the most interesting ones in this package. They +% are used to draw horizontal, vertical or diagonal lines, recursively +% checking the positions of all the \hboxes and if an \hbox is on the +% line, that part of the line is erased. +% +% `\@bgline' is simply an interface to the main macros, `\@@bgline' and +% `\@@bgdline'. The former is used to draw horizontal or vertical +% lines, and the latter diagonal lines. The main macros are defined +% without parameters, because a recursive macro with many parameters +% is likely to eat up TeX's parameter stack. (This annoyed the author +% indeed at the first stage of the development of this package. + +\newcommand\@bgline[4]{{% + \edef\@starti{#1}\edef\@endi{#2}% + \edef\@startii{#3}\edef\@endii{#4}% + \ifx#4\relax + \ifnoerase + \if@vline \@drawvline\@starti\@endi\@startii + \else \@drawhline\@starti\@endi\@startii\fi + \else \@@bgline\fi + \else + \@setupdiag + \ifnoerase \@drawdiagline\@starti\@endi\@startii\@endii + \else \@@bgdline\fi + \fi}} + +\newcommand\@@bgline{% + \@notouchfalse + \advance\@vwlcnt \m@ne + \ifnum \@vwlcnt < \@ne + \if@vline \@drawvline\@starti\@endi\@startii + \else \@drawhline\@starti\@endi\@startii\fi + \else + \@getvwldim\@vwlcnt + \ifnum\@tmpnoerase=0\relax + \ifdim \@lineposi<\@startii + \ifdim \@lineposii>\@startii + \ifdim \@vwlposii<\@starti\relax + \@notouchtrue + \else + \ifdim \@vwlposi>\@endi\relax + \@notouchtrue + \else + \ifdim \@vwlposi>\@starti + \ifdim \@vwlposii<\@endi + {\edef\@endi{\@vwlposi}\@@bgline}% split + {\edef\@starti{\@vwlposii}\@@bgline}% + \else + {\edef\@endi{\@vwlposi}\@@bgline}% + \fi + \else + \ifdim \@vwlposii<\@endi + {\edef\@starti{\@vwlposii}\@@bgline}\fi + \fi + \fi + \fi + \else + \@notouchtrue + \fi + \else + \@notouchtrue + \fi + \else + \@notouchtrue + \fi + \fi + \if@notouch \@@bgline\fi +} + +\newcommand\@setupdiag{% + \dimen\z@\@endii\dimen\@ne\@startii\incrz@-\dimen\@ne + \dimen\@ne\@endi\dimen\tw@\@starti\incr@ne-\dimen\tw@ + \edef\@vwltmpi{\the\dimen\z@}\edef\@vwltmpii{\the\dimen\@ne}% + \@dimdivide\@vwltmpi\@vwltmpii\edef\@xrate{\@dimrate}% + \@dimdivide\@vwltmpii\@vwltmpi\edef\@yrate{\@dimrate}% + \edef\@diagxoffset{\@startii}% +} + +\newcommand\@getx[2]{% + \dimen\z@#1\dimen\@ne\@xrate\dimen\z@ + \incr@ne\@diagxoffset + \edef#2{\the\dimen\@ne}} + +\newcommand\@gety[2]{% + \dimen\z@#1\incrz@-\@diagxoffset + \dimen\@ne\@yrate\dimen\z@ + \edef#2{\the\dimen\@ne}} + +\newcommand\@checktouch[4]{% + \dimen\tw@#2\dimen\thr@@#3\@getx{#1}#4% + \ifdim \dimen\@ne<\dimen\tw@ \def#4{}\fi + \ifdim \dimen\@ne>\dimen\thr@@ \def#4{}\fi +} + +\newcommand\@dimswap[2]{% + \ifdim \@xrate pt<\z@ + \edef\@vwltmpi{#1}\edef#1{#2}\edef#2{\@vwltmpi}\fi} + +\newcommand\@@bgdline{% + \dimen\z@\@endi \dimen\@ne\@starti \incrz@-\dimen\@ne + \ifdim \dimen\z@<\vowelsep\else % ignore short line + \@notouchfalse + \advance\@vwlcnt \m@ne + \ifnum \@vwlcnt < \@ne + \@drawdiagline\@starti\@endi\@startii\@endii + \else + \@getvwldim\@vwlcnt + \ifnum\@tmpnoerase=0\relax + \@dimswap\@startii\@endii + \ifdim \@lineposi<\@endii + \ifdim \@lineposii>\@startii + \else \@notouchtrue \fi + \else \@notouchtrue \fi + \@dimswap\@startii\@endii + \ifdim \@vwlposi>\@endi\relax \@notouchtrue \fi + \ifdim \@vwlposii<\@starti\relax \@notouchtrue \fi +% + \if@notouch\else + \@checktouch\@vwlposi\@lineposi\@lineposii\@topx + \@checktouch\@vwlposii\@lineposi\@lineposii\@botx + \@dimswap\@lineposi\@lineposii + \ifx\empty\@topx\empty + \ifx\empty\@botx\empty \@notouchtrue + \else \@gety\@lineposi\@vwlposi \edef\@topx{\@lineposi}\fi + \else + \ifx\empty\@botx\empty + \@gety\@lineposii\@vwlposii \edef\@botx{\@lineposii}\fi + \fi + \fi +% + \dimen\z@\@vwlposii \dimen\@ne\@vwlposi \incrz@-\dimen\@ne + \ifdim \dimen\z@<2\vowelsep \@notouchtrue \fi % ignore tiny line break +% + \if@notouch\else + \ifdim \@vwlposi>\@starti + \ifdim \@vwlposii<\@endi + {\edef\@endi{\@vwlposi}\edef\@endii{\@topx}\@@bgdline}% split + {\edef\@starti{\@vwlposii}\edef\@startii{\@botx}\@@bgdline}% + \else + {\edef\@endi{\@vwlposi}\edef\@endii{\@topx}\@@bgdline}% + \fi + \else + \ifdim \@vwlposii<\@endi + {\edef\@starti{\@vwlposii}\edef\@startii{\@botx}\@@bgdline}\fi + \fi\fi +% + \else \@notouchtrue + \fi + \fi + \if@notouch \@@bgdline\fi + \fi +} + +\endinput |