→ andrew43: 接著你的寫$$\int_{0}^{\infty} 3xdx$$的內容,沒問題。 01/30 03:43
→ andrew43: sorry我看錯了。已重現你的問題,我再解解看。 01/30 03:46
→ andrew43: 當你指定xelatex為latex_engine時,生成的tex檔會採用 01/30 04:01
→ andrew43: unicode-math package的數學方案,所以你需要把有關數學 01/30 04:02
→ andrew43: 字體的設定改以 \setmathfont 的方式指定。 01/30 04:02
→ andrew43: 看來你和我一樣很喜歡palatino字,可以直接用 01/30 04:03
→ andrew43: TeX Gyre Pagella Math 這個OTF字體。 01/30 04:04
→ andrew43: 並且儘量不要再依賴傳統(pdflatex)時代的數學字 01/30 04:05
→ andrew43: 建議先在latex文稿先練一下fontspec+xeCJK+unicode-math 01/30 04:07
→ andrew43: 並預先了解unicode-math package的說明手冊 01/30 04:08
→ andrew43: 以上是用xelatex當engine的前題做說明。要用lualatex 01/30 04:09
→ andrew43: 就不一定了。 01/30 04:09
→ andrew43: 總之所以有關字體的事全靠fontspec+xeCJK+unicode-math 01/30 04:13
→ andrew43: 所附的命令去指定(請看package手冊;諸如那些\set...) 01/30 04:15
→ andrew43: 想在xelatex並採用OS中字體者,這才是「正統」做法。 01/30 04:16
→ MiddleRe: 感謝樓上大大,我的疑問是在原本的 latex 裡面是可以直 01/30 10:19
→ MiddleRe: 接用 package 換字型的(即使是用 xeLaTeX 編譯),但 01/30 10:19
→ MiddleRe: 還是感謝~~~~再改用 set... 01/30 10:19
推 andrew43: 因為現在預先載入了 unicode-math,但你過去並未使用這 01/30 13:04
→ andrew43: 個package,所以必須有所調整。 01/30 13:04
→ andrew43: 若可以取消自動預載unicode-math,可能你的舊方法也沒 01/30 13:06
→ andrew43: 問題。 01/30 13:06
→ MiddleRe: 感謝大大說明~~~ 01/31 02:35