Advertisement
Niranjan_T

tipauni-commands.tex

Jul 20th, 2021
2,013
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Latex 5.40 KB | None | 0 0
  1. \documentclass{article}
  2. % \usepackage{tipauni}
  3. \usepackage{xparse}
  4. \usepackage{fontspec}
  5. \def\XeTeXpicfile{}
  6. \usepackage{xunicode}
  7. \setmainfont{CharisSIL}
  8. \NewDocumentCommand\s{ m }{\textsyllabic{\textipa{#1}}}
  9. \NewDocumentCommand\lmn{ m }{\textsubsquare{\textipa{#1}}}
  10. \NewDocumentCommand\labdentflap{}{ⱱ}
  11. \NewDocumentCommand\labdentapp{}{ⱱ}
  12. \NewDocumentCommand\pstalvclick{}{ǃ}
  13. \NewDocumentCommand\tr{}{˞}
  14. \DeclareTextSymbol{\textcorner}{TU}{"31A}% ̚
  15. \NewDocumentCommand\tc{}{̚}
  16. \NewDocumentCommand\stdlnetiebar{ m }{\unicodets#1}
  17. \DeclareTextCommand{\unicodets}{TU}[2]{#1\symbol{"203F}#2}
  18. \NewDocumentCommand\ts{ m }{\unicodets#1}
  19. \DeclareUnicodeAccent{\textsubarch}{TU}{"032F}
  20. \NewDocumentCommand\ns{ m }{\textsubarch{\textipa{#1}}}
  21. \DeclareUnicodeAccent{\textsuperimposetilde}{TU}{"0334}
  22. \NewDocumentCommand\unicodesuperimposetilde{ m }{\textsuperimposetilde{#1}}
  23. \NewDocumentCommand\vl{ m }{\textsuperimposetilde{\textipa{#1}}}
  24. \DeclareTextSymbol{\textupsilon}{TU}{"28A}%% ʊ
  25. \renewcommand{\baselinestretch}{1.3}
  26. \setlength{\parindent}{0pt}
  27.  
  28. \begin{document}
  29. \section{Pulmonic consonants}
  30.  
  31. {%
  32.   \bfseries
  33.  
  34.   \textrtailt\ \textipa{\:t}
  35.  
  36.  \textrtaild\ \textipa{\:d}
  37.  
  38.  \textbardotlessj\ \textipa{\*j}
  39.  
  40.  \textscg\ \textipa{\;G}
  41.  
  42.  \textglotstop\ \textipa{P}
  43.  
  44.  \textltailm\ \textipa{M}
  45.  
  46.  \textrtailn\ \textipa{\:n}
  47.  
  48.  \textltailn\ \textipa{\*n}
  49.  
  50.  \textscn\ \textipa{\;N}
  51.  
  52.  \textscb\ \textipa{\;B}
  53.  
  54.  \textscr\ \textipa{\;R}
  55.  
  56.  \labdentflap\ \textipa{\*v}
  57.  
  58.  \textfishhookr\ \textipa{R}
  59.  
  60.  \textrtailr\ \textipa{\:r}
  61.  
  62.  \textphi\ \textipa{F}
  63.  
  64.  \textbeta\ \textipa{B}
  65.  
  66.  \texttheta\ \textipa{T}
  67.  
  68.  \dh\ \textipa{D}
  69.  
  70.  \textesh\ \textipa{S}
  71.  
  72.  \textyogh\ \textipa{Z}
  73.  
  74.  \textrtails\ \textipa{\:s}
  75.  
  76.  \textrtailz\ \textipa{\:z}
  77.  
  78.  \textctj\ \textipa{J}
  79.  
  80.  \textgamma\ \textipa{G}
  81.  
  82.  \textchi\ \textipa{X}
  83.  
  84.  \textinvscr\ \textipa{K}
  85.  
  86.  \textcrh\ \textipa{\*h}
  87.  
  88.  \textrevglotstop\ \textipa{Q}
  89.  
  90.  \texthth\ \textipa{H}
  91.  
  92.  \textbeltl\ \textipa{\*l}
  93.  
  94.  \textlyoghlig\ \textipa{\*z}
  95.  
  96.  \labdentapp\ \textipa{V}
  97.  
  98.  \textturnr\ \textipa{\*r}
  99.  
  100.  \textturnrrtail\ \textipa{\:R}
  101.  
  102.  \textturnmrleg \textipa{\*m}
  103.  
  104.  \textrtaill\ \textipa{\:l}
  105.  
  106.  \textturny\ \textipa{L}
  107.  
  108.  \textscl\ \textipa{\;L}
  109. }%
  110.  
  111. \section{Non-pulmonic consonants}
  112.  
  113. \subsection{Clicks}
  114.  
  115. {%
  116.   \bfseries
  117.  
  118.   \textbullseye\ \textipa{\!o}
  119.  
  120.  \pstalvclick\ \textipa{!}
  121.  
  122.  \textdoublebarpipe\ \textipa{\!c}
  123.  
  124.  \textdoublepipe\ \textipa{||}
  125. }%
  126.  
  127. \subsection{Implosives}
  128.  
  129. {%
  130.   \bfseries
  131.  
  132.   \texthtb\ \textipa{\!b}
  133.  
  134.  \texthtd\ \textipa{\!d}
  135.  
  136.  \texthtbardotlessj\ \textipa{\!j}
  137.  
  138.  \texthtg\ \textipa{\!g}
  139.  
  140.  \texthtscg\ \textipa{\!G}
  141. }%
  142.  
  143. \section{Other symbols}
  144.  
  145. {%
  146.   \bfseries
  147.  
  148.   \textturnw\ \textipa{\*w}
  149.  
  150.  \textturnh\ \textipa{4}
  151.  
  152.  \textsch\ \textipa{\;H}
  153.  
  154.  \textbarrevglotstop\ \textipa{\*1}
  155.  
  156.  \textturnlonglegr\ \textipa{\!r}
  157.  
  158.  \textbarglotstop\ \textipa{\*2}
  159.  
  160.  \textctc\ \textipa{C}
  161.  
  162.  \textctz\ \textipa{\*Z}
  163.  
  164.  \texththeng\ \textipa{\*3}
  165. }%
  166.  
  167. \section{Vowels}
  168.  
  169. {%
  170.   \bfseries
  171.  
  172.   \textsci\ \textipa{I}
  173.  
  174.  \textscy\ \textipa{Y}
  175.  
  176.  \textepsilon\ \textipa{E}
  177.  
  178.  \textbari\ \textipa{1}
  179.  
  180.  \textbaru\ \textipa{0}
  181.  
  182.  \textupsilon\ \textipa{U}
  183.  
  184.  \textreve\ \textipa{9}
  185.  
  186.  \textbaro\ \textipa{8}
  187.  
  188.  \textschwa\ \textipa{@}
  189.  
  190.  \textrevepsilon\ \textipa{3}
  191.  
  192.   \textcloserevepsilon% \textipa{&}
  193.  
  194.   \textturna\ \textipa{5}
  195.  
  196.  \textturnm\ \textipa{W}
  197.  
  198.  \textramshorns\ \textipa{7}
  199.  
  200.  \textturnv\ \textipa{2}
  201.  
  202.  \textopeno\ \textipa{O}
  203.  
  204.  \textscripta\ \textipa{A}
  205.  
  206.  \textturnscripta\ \textipa{6}
  207. }%
  208.  
  209. \section{Diacritics}
  210.  
  211. \subsection{Independent diacritics}
  212.  
  213. {%
  214.   \bfseries
  215.  
  216.   ə\textrhoticity\ \textipa{ə\tr}
  217.  
  218.  n\textcorner \textipa{n\tc}
  219.  
  220.  \stdlnetiebar{əi} \ts{əi}
  221. }%
  222.  
  223.  
  224. \subsection{Dependent diacritics}
  225.  
  226. {%
  227.   \bfseries
  228.  
  229.   \textsubring{m} \textipa{\r*m}
  230.  
  231.  \textsubwedge{s} \textipa{\v*s}
  232.  
  233.  \textsubrhalfring{w} \textipa{\|)w}
  234.  
  235.  \textsublhalfring{w} \textipa{\|(w}
  236.  
  237.  \textsubplus{\textschwa} \textipa{\|+@}
  238.  
  239.  \textsubbar{l} \textipa{\=*l}
  240.  
  241.  \textovercross{e} \textipa{\|xe}
  242.  
  243.  \textsyllabic{n} \textipa{\s{n}}
  244.  
  245.  \textsubarch{a} \textipa{\ns{a}}
  246.  
  247.  \textsubumlaut{b} \textipa{\"*b}
  248.  
  249.  \textsubtilde{\textschwa} \textipa{\~*@}
  250.  
  251.  \textseagull{l} \textipa{\|ml}
  252.  
  253.  \textsuperimposetilde{i} \textipa{\vl{i}}
  254.  
  255.  \textraising{\textschwa} \textipa{\|'@}
  256.  
  257.  \textlowering{\textschwa} \textipa{\|`@}
  258.  
  259.  \textadvancing{\textschwa} \textipa{\|<@}
  260.  
  261.  \textretracting{\textschwa} \textipa{\|>@}
  262.  
  263.  \textsubbridge{t} \textipa{\|[t}
  264.  
  265.  \textinvsubbridge{t} \textipa{\|]t}
  266.  
  267.  \textsubsquare{s} \textipa{\lmn{s}}
  268.  
  269.  \texttoptiebar{əi} \textipa{\t{əi}}
  270.  
  271.  \textbottomtiebar{əi} \textipa{\t*{əi}}
  272. }%
  273. \section{Superscripts}
  274.  
  275. x\super h
  276.  
  277. x\super w
  278.  
  279. x\super j
  280.  
  281. x\super n
  282.  
  283. x\super l
  284.  
  285. \textipa{x\super \textgamma} xˠ
  286.  
  287. \textipa{x\super Q}
  288.  
  289. \textipa{\;B \;E \;A \;H \;L \;R}
  290.  
  291. \textipa{\:d \:l \:n \:r \:s \:z k f \*w}
  292.  
  293. \textipa{\!b \!d \!g \!j \!G \!o}
  294.  
  295. \textipa{""Ekspl@"neIS@n}
  296.  
  297. \textipa{f@"nEtIksW}
  298.  
  299. \textipa{\*j\*t\*r\*w\*n\*h\*l\*z}
  300.  
  301. \textipa{\!b\!d\!g\!j\!G\!o}
  302.  
  303. \textipa{\;E\;J\;A\;H\;L\;U\;B\;G\;N\;R}
  304.  
  305. \textipa{\:d\:l\:n\:r\:R\:s\:t\:z}
  306.  
  307. \textipa{5A62BCD@9E3gG7H41IJMWN8OFRKST0TUVTXYZPQ|||""":;}
  308.  
  309. Hello world, some text in this document is written in the \textipa{Int@n\ae
  310.  S@n@l f@"nEtIk \ae lf@bet}
  311. \end{document}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement