如何在UTF8中编译LaTeX? [英] How can I compile LaTeX in UTF8?

查看:106
本文介绍了如何在UTF8中编译LaTeX?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我以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屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆