windows安装TeXstudio+MikTex

下载软件

到这里下载并安装MikTex:http://miktex.org/

到这里下载并安装texstudio http://texstudio.sourceforge.net/

MikTex是排版引擎,texstudio是编辑工具。

Texstudio当中的中文字体使用

Tex跨多平台,软件默认编码都是UTF-8,遇到Windows需要微调一下,编码跟随系统。

更改编辑器的编码方式

选项->设置->编辑器->Default Font Encoding 选择”System

更改文件的编码方式

编辑”->设置编码->选择”System

安装中文包ctex

打开miktex控制台(这个东西在MiKTeX 2.9miktexinx64下)安装ctex包(右键选择安装)

实验验证

documentclass[10pt,a4paper]{article}
usepackage{ctex}
egin{document}
good morning!\
中文English中文
end{document}

Published by

风君子

独自遨游何稽首 揭天掀地慰生平

发表回复

您的邮箱地址不会被公开。 必填项已用 * 标注