为什么 Verdana 字体符号:U+0022 与符号“”不一样

为什么 Verdana 字体符号:U+0022 与符号“”不一样

我有一个操作系统 Win7/64 和已完全更新的 TeXLive 2012。TeXworks
在首选项中设置为:UTF-8/Verdana

当我在 TeXWorks Editor 中打开一个新文档时,
我想得到一个符号:“,它表示“愚蠢”的引号。
我不需要打印它,也不需要将其用于程序结构中。
我想使用键盘序列来获取这个符号:(
我尝试使用键盘:(左Alt + 0022在数字键盘上),不幸的是:
我得到的是符号:(Ţ)。

但当我从字符表中指向这个字符并选择这个符号(“)时,一切都很好。
为什么我必须使用字符表,而不是按下正确的键盘组合?

我改变了之前的问题,因为不是很清楚。

答案1

如果您在 LaTeX 中输入字符,它们将由您的输入编码包进行解释。所有输出都使用某种字体编码进行打印。

对于输入问题,请尝试以下操作之一:

\usepackage[latin1]{inputenc}
\usepackage[utf8]{inputenc}

有关 inputenc 的更多信息可参见其手册。

对于输出问题,请尝试以下操作之一:

\usepackage[T1]{fontenc}
\usepackage{lmodern}

更多信息可在网上找到。

我不确定你的问题到底是什么,所以如果你的问题没有得到解答,这里有一个演示项目可以帮助你重新表述你的问题。

\documentclass{article}

\begin{document}

The following example illustrates different quotation marks

This looks funny: ``Normal quotes differ left and rigth''. 

The left quotes can be created using this code textquotedblleft (\textquotedblleft). 

The rigth quotes can be created using textquotedblright (\textquotedblright).

Depending on your editor you can not type the following letter: "

\end{document}

请记住,您应该编辑原始问题以澄清您想要的内容,而不是使用答案按钮。

相关内容