![使用 pdflatex 與 TeX Gyre 字型結合使用時有哪些選項?](https://rvso.com/image/420035/%E4%BD%BF%E7%94%A8%20pdflatex%20%E8%88%87%20TeX%20Gyre%20%E5%AD%97%E5%9E%8B%E7%B5%90%E5%90%88%E4%BD%BF%E7%94%A8%E6%99%82%E6%9C%89%E5%93%AA%E4%BA%9B%E9%81%B8%E9%A0%85%EF%BC%9F.png)
一切都始於我想在文件中使用 TeX Gyre Heros 字體。我需要將字體縮小一點,所以我發出了\usepackage[scaled=0.95]{tgheros}
引發錯誤的命令。我以前曾將scaled
-選項與helvet
-package 一起使用過,所以我花了一段時間才意識到我的錯誤。經過一番谷歌搜索後,我發現我需要使用[scale=0.95]
不帶d
.接下來我正在尋找一種使用舊式圖形的方法,但我也找不到。我什至不確定,是否有這樣的選擇。
這引起了我的問題:是否有一個清單或文件描述了我可以與字體結合使用的可能選項?雖然主要對 TeX Gyre 字體感興趣,但我也對可以與 pdflatex 結合使用的所有其他字體感興趣。我意識到我可以在相應字體包的文檔中找到這一點。但並非每個文件都列出了可用的選項。
我關於字體和 (pdf)LaTeX 的第一個地址通常是LaTeX 字型目錄。然而,它只說明如何使用預設選項載入字體(至少我認為這些是預設選項):
\usepackage[default,regular,black]{sourceserifpro}
\usepackage[T1]{fontenc}
理想情況下LaTeX 字型目錄還將列出可用的選項,因此不必通讀文檔字體候選清單中的每種字體的文檔。這將非常有幫助,因為例如該套件sourceserifpro
單獨支援以下選項(來自自述文件.md在 CTAN 上):
oldstyle, osf: use old style numbers.
lining, nf: use lining numbers.
tabular: use fixed-width numbers.
proportional: use normal numbers.
black: \bfseries is black.
semibold: \bfseries is semibold.
bold: \bfseries is bold.
light: \mdseries is light.
extralight: \mdseries is extra light.
regular: \mdseries is regular.
scale, scaled: set scaling for the font, eg: scale=.5
default: Source Serif Pro is set as default font family.
normdefault: Source Serif Pro is not set as roman (serif) family.
type1, t1: override detection and load the Type1 font family.
opentype, otf: override detection and load the OpenType font family.
TeX Gyre 字體有類似的東西嗎?