csquotes:字距错误? 2024-5-23 • csquotes 我发现enquote在包中csquotes,结束的双引号离最后一个字母太近了: \documentclass{article} \usepackage{csquotes} \begin{document} \noindent \enquote{nature of}\\ ``nature of'' \end{document} 这是一个已知的错误吗(我不需要报告)?我在 texlive 2016 中使用 pdflatex。 答案1 这不是csquotes错误,而是 OT1 字体的问题:如果直接输入引号符号而不是通过连字符输入,则会缺少字距调整: \documentclass{article} \begin{document} of'' of\char"22 of\textquotedblright \fontencoding{T1}\selectfont of'' of\char"11 of\textquotedblright \end{document} 所以这是不使用 OT1 编码的另一个原因——至少如果您想使用计算机现代字体(例如 lmodern 字体没有这个问题)。 答案2 您可以修复以下问题ot1enc.def(在我看来,这是错误的): \documentclass{article} \usepackage{csquotes} % ot1enc.def has %\DeclareTextSymbol{\textquotedblright}{OT1}{`\"} % fix it \DeclareTextCommand{\textquotedblright}{OT1}{''} \begin{document} \noindent \enquote{nature of}\\ ``nature of'' \end{document} 答案3 只需fontenc使用该T1选项加载(以防inputenc万一使用它[比较])。 \documentclass{article} \usepackage[T1]{fontenc} %\usepackage[utf8]{inputenc} \usepackage{csquotes} \begin{document} \noindent \enquote{nature of}\\ ``nature of'' \end{document} 相关内容 重新定义重启后设置为默认的快捷键 与多个独立显卡相比,EyeFinity 技术的优势是什么? Postgresql 11 逻辑复制 - 卡在“追赶”状态 如何在 gedit 中隐藏文件路径和页码以便打印 私有网络中的 nginx 与 haproxy 重新启动进入 OOBE 后 Sysprep 失败 每当我更改系统卷时,Windows 7 卷滑块 (sndvol.exe) 都会访问我的硬盘上的文件 使用 set -m 终止子 shell 中的作业 如何使用 Jigdo 更新 ISO 映像? 如何搜索包裹?