您可以在任何位置通過在文字兩側加上 \it ...\it* 來標記斜體。
\it ...\it* 是字元層級標記(character-level markup)的範例(類似於 MS Word 或其他文字編輯器中的字元樣式)。這些標記始終需要開啟和關閉。在腳註中,由於後面緊接著下一個字元標記(如 \ft 或 \fr),您可能可以省略關閉標記,但在正常正文中,必須有關閉標記,否則斜體會一直持續到段落結束。
關於間距的說明:\it 標記後的空格是標記的一部分,因此為了在標記前保留空格,標記前必須有空格。\it* 標記後的空格不是標記的一部分(即它被格式化為真正的空格),因此 \it 前不需要空格。這允許您在標點符號前使用 \it* 標記。例如:
標記:\p Here is a properly formatted \it keyword\it*.
結果:Here is a properly formatted keyword.
標記:\p Here is a wrongly formatted\it keyword \it*.
結果:Here is a wrongly formattedkeyword .
另一點說明:\it ... \it* 表示特定的格式;它並不說明斜體文字的功能。通常建議不要使用格式標記,而是使用功能標記。例如,該關鍵詞可能是音譯詞(來自希臘文、英文等),此時您應使用 \tl ...\tl*;或者是聖經書卷名稱,此時您應使用 \bk ...\bk*。可用的標記列於 USFM 指南的此章節中: https://ubsicap.github.io/usfm/characters/index.html#. 話雖如此,有些情況下沒有合適的功能標記可用,因此直接格式化是唯一選擇。
Paulus
You can mark text as italics in any place by surrounding it with \it ...\it*.
\it ...\it* is an example of character-level markup (like a character style in MS Word or other text editor). These always need to be opened and closed. In footnotes, you may get away with not closing it because it is followed by the next character markup like \ft or \fr, but in normal text it does need a closing marker, or else the italics continue till the end of the paragraph.
A note about spacing: the space after the \it marker is part of the marker, so in order to have a space before the markup, there should be a space before the marker. The space after the \it* marker is not part of the marker (i.e. it is formatted as a real space), so there doesn't need to be a space before \it. This allows you to have \it* marker before punctuation. For example:
Markup: \p Here is a properly formatted \it keyword\it*.
Result: Here is a properly formatted keyword.
Markup: \p Here is a wrongly formatted\it keyword \it*.
Result: Here is a wrongly formattedkeyword .
Another note: \it ... \it* indicates a specific formatting; it doesn't tell anything about the function of the text in italics. In general, it is encouraged not to use formatting markers, but functional markers instead. For example, the keyword could be a transliterated word (from Greek, English etc.), in which case you use \tl ...\tl*; or a Bible book name, in which case you use \bk ...\bk*. The available markers are listed in this section of the USFM guide: https://ubsicap.github.io/usfm/characters/index.html#. That being said, there are cases where no suitable functional marker is available, so direct formatting is the only option.
Paulus
機器翻譯自 English