[問題] 關於用 Latex 打中文
首先,不好意思,有點急,沒有閱讀全部的相關文章。
以下是我的模板。我使用 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
01/11 21:05, 2F
→
01/11 23:50, , 3F
01/11 23:50, 3F
→
01/12 00:02, , 4F
01/12 00:02, 4F
推
01/12 12:05, , 5F
01/12 12:05, 5F
→
01/13 19:34, , 6F
01/13 19:34, 6F
討論串 (同標題文章)
以下文章回應了本文:
完整討論串 (本文為第 1 之 2 篇):
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章