Re: [問題] 關於用 Latex 打中文
※ 引述《tiwsjia (佳佳)》之銘言:
: 首先,不好意思,有點急,沒有閱讀全部的相關文章。
: 以下是我的模板。我使用 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}
^^^^^^^^^^^^^^^^^^^^^^
這個會和fontspec衝突。
: \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}
: 佳佳
數學符號的部份,既然已經改用XeLaTeX,
就請直接用 unicode-math 這個套件。
數學字型可以在 fonts\opentype\public\xits
找到 xits-math.otf 這個數學專用字型檔。
另外可以在 doc\latex\unicode-math 找到 unicode-math 的符號對照表。
所有Unicode標準裡有的數學符號,統統有。
--
※ 發信站: 批踢踢實業坊(ptt.cc)
◆ From: 111.255.41.120
※ 編輯: LSC112233 來自: 111.255.41.120 (01/11 21:14)
※ 編輯: LSC112233 來自: 111.255.41.120 (01/11 21:18)
討論串 (同標題文章)
本文引述了以下文章的的內容:
完整討論串 (本文為第 2 之 2 篇):
LaTeX 近期熱門文章
PTT數位生活區 即時熱門文章