嗨 @kentS - 是的,當然有。不過我剛才還得停下來想一下我們最近把它藏在哪裡!
它以前是「書寫系統」選項中「字型與文字」分頁上的一個全域設定,但現在已改為字型屬性,以便在任何層級啟用或停用此功能:
a) 若要全域變更,請選取主要字型(Body Text),並變更字型選擇對話方塊底部出現的選項:
b) 若要變更段落(甚至字元)樣式層級的數字對應(Digit mapping),請使用「設定字型」(Set Font)按鈕,然後僅針對該特定樣式變更數字對應。順帶一提 - 此功能是應某些人的要求而新增的,他們希望標題使用多種語言 - 每種語言使用不同的數字,因此我們必須能夠在樣式層級以及全域層級開啟/關閉此功能。
哦,如果這些對話方塊中沒有出現該選項,這意味著您正在使用 Mini View 或 Basic View ;這些進階設定僅在 Full View (主對話方塊左下角)中可用。
既然我們在這個對話方塊裡,我也可以分享一個較少為人知的字型功能,稱為 extend,可用於水平拉伸或縮小字型。例如,這裡字型將縮小至正常寬度的 85%:
若要放大字型,請使用 extend=1.05,它將被拉伸至 105%
附註。似乎存在一個回歸問題(regression)。我自己無法讓 \h1 數字以不同的樣式顯示。我們會盡快修復並推出更新(DV 今天稍後)。
Hi @kentS - Yes, of course there is. But I had to pause for a moment to remember where we hid it recently!
It used to be a global setting in the Writing System options which was available on the Fonts+Scripts tab, but has now been made a font property so that the feature can be enabled/disabled at any level:
a) To change it globally, select the primary font (Body Text) and change it in the option that appears at the bottom of the Font picker dialog:
b) To change the Digit mapping at the Paragraph (or even Character) style level, use the Set Font button, and then change the Digit Mapping just for that particular style. BTW - this feature was added because certain people asked for headers in multiple languages - each with different digits, so we had to be able to turn this on/off at the style level as well as globally.
Oh, and if it doesn’t appear on either of these dialogs, it just means that you’re using at the Mini View , or the Basic View ; and these advanced settings are only available in the Full View (bottom left of main dialog).
And while we’re in this dialog, I might as well share that there is a lesser-known font feature called extend which can be used to stretch or shrink a font horizontally. So, for example, here the font will shrink to 85% of its normal width:
To grow the font, use extend=1.05 and it will be stretched to 105%
PS. There seems to be a regression. I can’t get the \h1 digits to style differently myself. We’ll fix it ASAP and push an update out (DV later today).
機器翻譯自 English 顯示原文