我正在尝试使用 TIPA 包插入一些 IPA 符号。这些符号的质量似乎低于其他字符。
\documentclass{article}
\usepackage{tipa}
\begin{document}
\textfishhookr\textschwa\textepsilon ea
\end{document}
以下是日志输出:
This is pdfTeX, Version 3.14159265-2.6-1.40.18 (MiKTeX 2.9.6500 64-bit) (preloaded format=pdflatex 2019.1.12) 15 JAN 2019 10:18
entering extended mode
**./simple.tex
(simple.tex
LaTeX2e <2017-04-15>
Babel <3.15> and hyphenation patterns for 75 language(s) loaded.
("C:\Program Files\MiKTeX 2.9\tex\latex\base\article.cls"
Document Class: article 2014/09/29 v1.4h Standard LaTeX document class
("C:\Program Files\MiKTeX 2.9\tex\latex\base\size10.clo"
File: size10.clo 2014/09/29 v1.4h Standard LaTeX file (size option)
)
\c@part=\count79
\c@section=\count80
\c@subsection=\count81
\c@subsubsection=\count82
\c@paragraph=\count83
\c@subparagraph=\count84
\c@figure=\count85
\c@table=\count86
\abovecaptionskip=\skip41
\belowcaptionskip=\skip42
\bibindent=\dimen102
)
("C:\Program Files\MiKTeX 2.9\tex\latex\tipa\tipa.sty"
Package: tipa 2002/08/08 TIPA version 1.1
("C:\Program Files\MiKTeX 2.9\tex\latex\base\fontenc.sty"
Package: fontenc 2017/04/05 v2.0i Standard LaTeX package
("C:\Program Files\MiKTeX 2.9\tex\latex\tipa\t3enc.def"
File: t3enc.def 2001/12/31 T3 encoding
)
("C:\Program Files\MiKTeX 2.9\tex\latex\base\ot1enc.def"
File: ot1enc.def 2017/04/05 v2.0i Standard LaTeX file
LaTeX Font Info: Redeclaring font encoding OT1 on input line 48.
))) (simple.aux)
\openout1 = `simple.aux'.
LaTeX Font Info: Checking defaults for OML/cmm/m/it on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for T1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OT1/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMS/cmsy/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for OMX/cmex/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for U/cmr/m/n on input line 4.
LaTeX Font Info: ... okay on input line 4.
LaTeX Font Info: Checking defaults for T3/cmr/m/n on input line 4.
LaTeX Font Info: Try loading font information for T3+cmr on input line 4.
("C:\Program Files\MiKTeX 2.9\tex\latex\tipa\t3cmr.fd"
File: t3cmr.fd 2001/12/31 TIPA font definitions
)
LaTeX Font Info: ... okay on input line 4.
[1
{C:/Users/.../AppData/Local/MiKTeX/2.9/pdftex/config/pdftex.map}] (simple.aux
) )
Here is how much of TeX's memory you used:
1239 strings out of 493312
14138 string characters out of 3138899
58197 words of memory out of 3000000
4853 multiletter control sequences out of 15000+200000
5408 words of font info for 19 fonts, out of 3000000 for 9000
1141 hyphenation exceptions out of 8191
34i,4n,23p,139b,113s stack positions out of 5000i,500n,10000p,200000b,50000s
<C:\Users\...\AppData\Local\MiKTeX\2.9\fonts\pk\ljfour\public\tipa\dpi600
\tipa10.pk><C:/Program Files/MiKTeX 2.9/fonts/type1/public/amsfonts/cm/cmr10.pf
b>
Output written on simple.pdf (1 page, 11865 bytes).
PDF statistics:
17 PDF objects out of 1000 (max. 8388607)
0 named destinations out of 1000 (max. 500000)
1 words of extra memory for PDF output out of 10000 (max. 10000000)
有没有什么方法可以改善它?
编辑:我通过将编译器切换到 xelatex 解决了这个问题。在 TexStudio 中,选项->配置->构建->默认编译器->xelatex
答案1
无论出于什么原因,您的安装都没有使用随附的 Type1 字体,tipa
而是改用位图字体。我无法在我的系统上重现此错误。您可以尝试重新安装tipa
。
考虑切换到现代工具链,使用 XeTeX 或 LuaTeX。如果你可以使用此处的方法将 IPA 字符插入为 Unicode,或者字符映射,或者从图表中复制粘贴,你可以完全省略tipa
:
\documentclass[varwidth, preview]{standalone}
\usepackage{fontspec}
\setmainfont{Charis SIL}[Scale = 1.0, Ligatures = TeX]
\begin{document}
ɾəɛea
\end{document}
您还可以声明
\newcommand\textfishhookr{ɾ}
\newcommand\textschwa{ə}
\newcommand\textepsilon{ɛ}
如果您只选择包含 IPA 符号的主字体,生活就会更简单。可以只为它们选择不同的字体(ucharclasses
可能会有帮助),或者一起使用tipa
和fontspec
,在这种情况下,您可以根据需要返回到旧tipa
字体。(这有一个缺点,即从 PDF 复制和粘贴将不起作用,就像 Unicode 一样。)
如果你在使用 PDFLaTeX 时遇到困难,我建议你最好将其更新为如下版本:
\documentclass[varwidth, preview]{standalone}
\usepackage[T1]{fontenc}
\usepackage{textcomp}
\usepackage[utf8]{inputenc} % The default since 2018
\usepackage[tone,extra,safe]{tipa}
\begin{document}
\textfishhookr\textschwa\textepsilon ea
\end{document}