作者tiwsjia (佳佳)
看板LaTeX
标题[问题] 关於用 Latex 打中文
时间Wed Jan 11 19:36:06 2012
首先,不好意思,有点急,没有阅读全部的相关文章。
以下是我的模板。我使用 MikTex 2.8 跟 Texworks 已用 XeLaTex。
一开始跑不过,因为少 expl3.sty 档。从 Package Manager 能找到它,但无法安装,
系统说:Unknown archive file size
後来安装:l3kernel 和 l3packages。
但还是编不过去:变成一开始的 \begin 有问题...
*geometry detected driver: pdftex*
! Undefined control sequence.
<argument> \textcentereddot
l.25 \begin{document}
?
麻烦板友解答,十分感谢!!
*****
模板
\documentclass[12pt,a4paper]{article}
\usepackage[top=4.5cm,bottom=2cm,left=3cm,left=3cm]{geometry}
\voffset=-2cm
\textwidth = 15cm
\linespread{1.5}
\usepackage{amsthm}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{fontspec}
\usepackage{xeCJK}
\setCJKmainfont{华康中黑体}
\setmainfont{新细明体}
%\XeTeXlinebreaklocale "zh"
%\XeTeXlinebreakskip = 0pt plus 1pt
\theoremstyle{plain}
\newtheorem{thm}{Theorem}[section]
\newtheorem{lem}{Lemma}[section]
\newtheorem{defn}{Definition}[section]
\newtheorem{rmk}{Remark}
\everymath{\displaystyle}
\begin{document}
新年快乐
\end{document}
佳佳
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 140.112.214.188
※ 编辑: tiwsjia 来自: 140.112.214.188 (01/11 19:36)
1F:→ freePrester:有更新过吗? 01/11 19:42
2F:推 LSC112233:请更新到MiKTeX 2.9 01/11 21:05
3F:→ tiwsjia:已安装 MikTex 2.9 但仍编不过。 01/11 23:50
4F:→ tiwsjia:我再尝试看看,谢谢大家! 01/12 00:02
5F:推 irotasi:看一下4821,我跟你类似问题,後来update(2次)後就行 01/12 12:05
6F:→ tiwsjia:感谢 irotasi 板友!总算解决这个问题! 01/13 19:34