# Tag Info

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}% ...

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 ...

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 ...

10

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} ...

10

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 ...

9

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 ...

8


8

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}

7

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 ...

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

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.

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, ...

5

Use \textipa{\|+{\;L}} with additional braces. The command \| executes \@omniaccent that requires two arguments, so with \|+\;L the second argument is \;, which is wrong.

5

It seems like a bug in silence.sty; it doesn't show if we patch \wrong@fontshape: \documentclass{article} \usepackage{silence,etoolbox} \makeatletter \patchcmd{\wrong@fontshape}{\@gobbletwo}{}{}{} \makeatother \WarningFilter{latexfont}{Font shape} \WarningFilter{latexfont}{Some font} \usepackage{lmodern} \usepackage[]{tipa} \begin{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 ...

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

Try \DeclareFontSubstitution{T3}{ptm}{m}{n} after \usepackage{tipa}

4

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 ...

4

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}

4

Leo Liu's answer says that you can safely ignore them. This answer is a complement to that answer. It tells you how to safely ignore them. (And it borrows heavily from Stefan Kottwitz's answer to an earlier question of mine) You can use the silence package to turn off warnings from the appropriate package. So \WarningFilter{latexfont}{Some font} ...

4

As already said by egreg, quoting Unicode's CodeCharts: U+0280 LATIN LETTER SMALL CAPITAL R voiced uvular trill Germanic, Old Norse uppercase is 01A6 Ʀ Tipa version: \documentclass{article} \usepackage{tipa} \begin{document} \texttt{\string\textscr}: \textscr \end{document} Wsuipa version: \documentclass{article} ...

3

The simplest way to do this would be to use macros for the variant characters and use a conditional to switch between them. Here's a simple example: \documentclass{article} \usepackage{tipa} \newif\ifregularIPA \regularIPAtrue \newcommand*{\GS}{\ifregularIPA\textglotstop\else\textsuperscript{?}\fi} \begin{document} \begin{IPA} \GS aral \regularIPAfalse ...

3

The problem arises because you are misusing both the \twoacc command and the \r command. \twoacc is for putting two accents on top of each other, and the symbol you want has one underneath and one on top, so \twoacc isn't needed. Also, the \r command takes an argument and puts the ring on top of that argument, so in your example ...

3

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}}}.

3

A variant of moewe's solution that works independently of the current font size. \documentclass{article} \usepackage[utf8]{inputenc} % UTF8 \usepackage[T1]{fontenc} % use T1 fonts for proper language support \usepackage[T1]{tipa} \makeatletter % \oalignb is like \oalign, but uses \vbox rather than \vtop \newcommand{\oalignb}[1]{% \leavevmode ...

2

This will make the stacked text the height of a lower-cased t in the current font size. If you wish to align the height to a different letter, change the t in the \scalerel macro argument to something else. The gap between the stack, prior to scaling, is set to .2ex in the current fontsize, which can be changed also. \scalerel allows an object to be ...

2

Using the tipa package, this is what I came up with. \textschwasci is a \tiny \textsci stacked over a \tiny \textschwa by putting the latter in a \raisebox and kerning it back directly over the former. In \ctextschwasci the two symbols are a bit closer together. As the symbols are quite small, \ctextschwasci is a slightly bigger, but somewhat uglier-looking ...

2

You can use \overset: \documentclass[11pt]{elsarticle} \usepackage[T1]{fontenc} \usepackage{mathtools} \begin{document} $\overset{\triangle}{\nabla}$ $\overset{\heartsuit}{\spadesuit}$ \end{document}

2

Based on Scott H.’s pointer, I can give myself an italic esh by coopting an italic long s as follows. (The general issue—about creating characters from existing parts—remains. I’ll post a separate question about that.) After invoking kpfonts.sty, I redefined \ss (as I don’t need ‘ß’) as a one-argument command: \renewcommand{\ss}[1]{% line ...

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