如何在 UTF8 中编译 LaTeX? [英] How can I compile LaTeX in UTF8?
问题描述
我按照 ISO 标准制作文档.它不支持变音字母,例如 ä 和 ö.我需要他们.该文档在没有 UTF8 的情况下编译,但不是使用 UTF8.更准确地说,该文档没有与我的 main.tex 开头的行一起编译:
I did my document in an ISO-standard. It does not support umlaut alphabets, such as ä and ö. I need them. The document gets compiled without UTF8, but not with UTF8. More precisely, the document does not get compiled with the line at the beginning of my main.tex:
usepackage[utf8]{inputenc}
如何以 UTF8 编译我的 LaTeX 文档?
How can I compile my LaTeX document in UTF8?
推荐答案
我不确定我是否遇到了您的问题,但如果您使用 UTF-8 编码存储源代码可能会有所帮助.
I'm not sure whether I got your problem but maybe it helps if you store the source using a UTF-8 encoding.
我还在我的 LaTeX 源代码中使用 usepackage[utf8]{inputenc}
并将文件存储为 UTF-8 文件,一切正常.
I'm also using usepackage[utf8]{inputenc}
in my LaTeX sources and by storing the files as UTF-8 files everything works just peachy.
这篇关于如何在 UTF8 中编译 LaTeX?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!