# Tag Info

26

There are two ways to write IPA symbols in LaTeX. One uses regular pdfLaTeX and the tipa package; the other uses XeLaTeX or LuaLaTeX and you can enter the symbols directly into your source, assuming you have the correct fonts. The SIL Doulos font is an excellent Unicode IPA font that is widely used in Linguistics. You can download it here. I'll outline ...

12

Since this answer might be of use to other linguists, I'm giving a detailed answer of how to effectively transfer documents from Word to TeX, assuming you are using the regular SIL phonetic fonts in Word. The modern TeX engines LuaTeX and XeLaTeX both use UTF-8 as their file encoding, and can use any OpenType font on your system. See the following for some ...

12

Could be tweaked a bit more but.... \documentclass{scrartcl} \usepackage{tipa,graphics} \makeatletter \providecommand\xloweraccent{\@ifnextchar[{\lower@accent x\empty}% {\lower@accent x\empty[\z@]}} \def\brak#1{\xloweraccent{% \raisebox{-.3ex}{\resizebox{!}{.6ex}{\bfseries(}}% {\fontencoding{T3}\selectfont\char12}% \raisebox{-.3ex}{\resizebox{!}{.6ex}{\...

11

it's always better to use "precomposed" characters rather than trying to cobble something together. this may involve some work with font tools, and others on this list are better able to address that than i. however, many fonts created for use within linguistics environments are available from sil international, and i suggest looking there before trying to ...

11

The Arabic font is not a factor. The problem is that fontspec redefines \textipa under the assumption that the Latin Modern fonts have the IPA glyphs, which however should be called by Unicode. Solution: restore the Computer Modern fonts for IPA. \documentclass[12pt,openany]{book} \pagestyle{plain} \usepackage[margin=1.8cm]{geometry} \geometry{a4paper} \...

11

Just put the \~ inside the scope of the \textipa command: \textipa{\~@}

10

The warnings are harmless, and the substitutions will happen automatically. If you want to get rid of the warning you could redefine the \textipa command and the IPA environments to always use Computer Modern as shown in the example below. If you decide later to change to using e.g. mathptmx then you would need to change the definition of \tiparmdefault to ...

10

Thank you very much, David Carlisle! After learning how it works from your answer, I have been able to make my own tweaks: Instead of the brackets and the x, I am using the tipa characters that are produced with \textsublhalfring, \textsubrhalfring and \textovercross respectively. I also forced the bracketed diacritics to be always upright, so the kerning is ...

9

xunicode (loaded by fontspec) contains the definitions of tipa.sty: \documentclass[12pt]{article} \usepackage{fontspec} \setmainfont{Charis SIL} \begin{document} Blowzy DJ frumps vex a knight QC \textturna \textipa{[\!b] [\:r] [\;B]} \end{document}

9

As explained by this answer, you can either use tipa and compile using pdfLaTeX or load a Unicode IPA font using fontspec and compile using XeLaTeX or LuaLaTeX. I strongly recommend using a Unicode IPA font rather than tipa for the reasons outlined in this answer. Here is an example that uses the IPA versions of most of the symbols shown in the image you ...

8

The tipa package redefines some standard commands and this is the cause for the errors you get, but provides a “compatibility” layer. Notably the command it redefines are \s (alias \textsyllabic) \* (no alias provided) \| (no alias provided) \: (alias \tipamedspace) \; (alias \tipathickspace) \! (alias \tipanegthinspace) If you call the package with the ...

8


7

You can ignore it safely. Latin Modern fonts have no T3 encoding support. Since Latin Modern families come from Computer Modern fonts, it will works fine combining LM fonts with CM IPA fonts in T3 encoding.

7

Simply load the package tipa which defines IPA symbols and use them as in \asr p{\textepsilon}{\textltailm} \endasr MWE \documentclass{article} \usepackage{pstricks,pst-xkey,pst-asr,graphicx}\psset{everyasr=\tiershortcuts} \usepackage{tipa} \begin{document} \asr p{\textepsilon}{\textltailm} \endasr \end{document} Output

6

Using active characters is not recommended for this application: you lose the possibility of having any control sequence with an a in its name inside the argument of \myipa. How could you do it? Here's what's necessary. \documentclass{article} \usepackage{tipa} \newcommand\myipa{% \begingroup\catcode\a=\active \begingroup\lccode~=`a \lowercase{\...

6

You can use the IPA characters (of course you need that your file is encoded as UTF-8) % -*- coding: utf-8 -*- \documentclass[12pt]{article} \usepackage{fontspec} \setmainfont{Charis SIL} \begin{document} Blowzy DJ frumps vex a knight QC ɳ (U+0273), ɲ (U+0272), ʁ (U+0281), ɱ (U+0271), ə (U+0259) \end{document}

6

Do you need the fontenc package? Detexify says it should be \dh and that worked for me, with or without tipa \documentclass{report} \usepackage[T1]{fontenc} \usepackage{tipa} \begin{document} \dh \end{document} Link to Detexify for reference

6

It's the usual issue about xstring that by default tries to do full expansion of its arguments. \documentclass{memoir} \usepackage{xstring,tipa} \newcommand*\myreplace[1]{% \saveexpandmode\noexpandarg \StrSubstitute{#1}{:}{\textlengthmark}% \restoreexpandmode} \begin{document} \myreplace{gaga:} \end{document} If you don't need applications of ...

6

Use the tipa package for phonetic symbols. \documentclass{article} \usepackage{tipa} \begin{document} \textipa{I} \end{document} If you want an i without the dot, use \i: \documentclass{article} \begin{document} \i \end{document}

6

The problem is not actually with the tipa package itself, but with basically any font package you would load. The problem is caused by the fact that linguex defines a \b. and and \c. macro, but both of these are used as diacritic commands (\b puts a macron under a character, and \c puts a cedilla. So loading the font package after linguex removes the linguex ...

6

Here is a basic approach that compiles with pdflatex. Since this Unicode glyph is not available through the tipa fonts or in the default, you can create it yourself. You might wish to do it differently than in the example (perhaps a smaller size or a different symbol). The newunicodechar package allows you to make a Unicode character into a control ...

6

Unicode's advantages As I see it, there are many advantages to using a Unicode font with XeLaTeX/LuaLaTeX, some of which are mentioned in answers to the above questions and in other places, notably Alan Munn's answers to How to use phonetic IPA characters in LaTeX and Preparing a text for conversion to LaTeX: How to convert "ejective stops" in ...

6

The Latin Modern fonts don't support IPA, but trying to load the legacy fonts is hopeless. Since \textipa is available with fontspec, one just modifies it in order to use a font supporting IPA (in this case CMU Serif). \documentclass[12pt]{article} \usepackage{environ} \usepackage[no-math]{fontspec} \newfontfamily{\tipacm}[Scale=MatchUppercase]{CMU Serif}...

6

You can fake the accent (until you're able to convince the maintainers of cm-unicode into adding it to the fonts). \documentclass{article} \usepackage{fontspec} \setmainfont{cmunrm.otf} % breve=02D8 % dot=02D9 \DeclareRobustCommand{\dotbreve}[1]{% \begingroup \sbox0{#1}% \sbox2{\ooalign{\hidewidth^^^^02d8\hidewidth\cr\kern-0.025em^^^^02d9\cr}}% \...

6

If you just want some symbols or words using the T4 encoding, you can do with \documentclass{article} \usepackage[T4,T1]{fontenc} \newcommand{\AS}[1]{{\fontencoding{T4}\selectfont#1}} \begin{document} \AS{\B{t}} \AS{\m{y}} \end{document} If you need an environment form, add \newenvironment{tfour}{\fontencoding{T4}\selectfont}{} and do \begin{tfour}...

5

According to the documentation of TIPA, you can also use the command \super which is an abbreviated form of \textsuperscript. Like \textipa{t\super{h} k\super{w} a\super{bc} a\super{b\super{c}}}.

5

I'm not familiar with the tipa package but you can use the \textsuperscript command for typesetting superscript in text (not math) mode: \documentclass{article} \usepackage{tipa} \begin{document} \textipa{/bI"wIl.d\textsuperscript{@}r.IN/} \end{document}

5

The support for tipa input provided by fontspec comes from the xunicode package. However, it does not cover everything that tipa can do. A work-around is to prevent xuicode loading: \documentclass[a4paper,12pt, oneside]{article} \expandafter\def\csname ver@xunicode.sty\endcsname{} \usepackage[tone]{tipa} % tone invokes the tone letters \usepackage{...

5

The problem here is xunicode, which as observed in the linked question makes some changes to the tipa system on the assumption that Latin Modern has appropriate glyph coverage. Perhaps the easiest way around this is to prevent xunicode loading at all: \documentclass{article} \usepackage{tipa} \expandafter\def\csname ver@xunicode.sty\endcsname{} \usepackage{...

5

I don't know anything about fonts, so I can't fully answer the question. However, a workaround might be to use kpfonts and replace your f's with s's. The following code gives: \documentclass{article} \usepackage[nofligatures,veryoldstyle]{kpfonts} \begin{document} \emph{osten ossing} \end{document} It is likely that if the character above is suitable, ...

Only top voted, non community-wiki answers of a minimum length are eligible