
我沒有 Minion Pro 字體,所以這對我來說不是一個選項。但我有 Adobe Caslon Pro,這是我喜歡的襯線字體。
是否可以使用 classicthesis.sty 並使用 Caslon Pro 代替?目前我看不出有什麼方法可以做到這一點。
作為第二個選擇,我喜歡 Palatino 從包裝上看的樣子mathpazo
,但我更喜歡電腦現代襯線數學排版。是否可以使用 Palatino 書寫正文,同時使用計算機現代襯線書寫數學?
答案1
使用不同的字體並沒有真正的問題classicthesis
。只需加載相關字體包即可。
使用 XeLaTeX 或 LuaLaTeX 編譯
\documentclass{book}
\usepackage{classicthesis}
\usepackage{fontspec}
\usepackage{lipsum}
\setmainfont{BaskervilleF}
\renewcommand{\chapterNumber}{\fontsize{70}{0}\addfontfeatures{Numbers=OldStyle}}
\begin{document}
\frontmatter
\tableofcontents
\mainmatter
\chapter{Introduction}
\lipsum
\end{document}
我沒有 Adobe Caslon Pro,所以我使用了不同的字體。唯一的調整是要注意\chapterNumber
文字字體,否則就會使用 Palatino。
答案2
不是真正的答案,但這樣我可以用librecaslon
字體顯示計算機現代數學的一些輸出
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{librecaslon}
\usepackage{blindtext}
\begin{document}
\blindmathpaper
\end{document}
編輯 現在使用 Palatino 文字字體
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{newpxtext}
\usepackage{blindtext}
\begin{document}
\blindmathpaper
\end{document}
答案3
這是來自 classicthesis(LyX 版本)附帶的「某種手冊」:XeLaTeX 和 LuaLaTeX 透過套件 fontspec 使 Unicode 字體的使用成為可能。 classicthesis.sty 設定的全域字體選項是:
\setmainfont{TeX Gyre Pagella}
\setmathfont{TeX Gyre Pagella Math}
\setmonofont{Liberation Mono}
加載經典樣式後,可以透過發出這些命令來使用幾乎任何其他字體。