[問題] 關於用 Latex 打中文

看板LaTeX (論文排版)作者 (佳佳)時間13年前 (2012/01/11 19:36), 編輯推噓2(204)
留言6則, 4人參與, 最新討論串1/2 (看更多)
首先,不好意思,有點急,沒有閱讀全部的相關文章。 以下是我的模板。我使用 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)

01/11 19:42, , 1F
有更新過嗎?
01/11 19:42, 1F

01/11 21:05, , 2F
請更新到MiKTeX 2.9
01/11 21:05, 2F

01/11 23:50, , 3F
已安裝 MikTex 2.9 但仍編不過。
01/11 23:50, 3F

01/12 00:02, , 4F
我再嘗試看看,謝謝大家!
01/12 00:02, 4F

01/12 12:05, , 5F
看一下4821,我跟你類似問題,後來update(2次)後就行
01/12 12:05, 5F

01/13 19:34, , 6F
感謝 irotasi 板友!總算解決這個問題!
01/13 19:34, 6F
文章代碼(AID): #1F3NGeR4 (LaTeX)
文章代碼(AID): #1F3NGeR4 (LaTeX)