您可以在任何位置通过用 \it ...\it* 包围文本来将其标记为斜体。
\it ...\it* 是字符级标记的一个示例(类似于 MS Word 或其他文本编辑器中的字符样式)。这些标记始终需要开始和结束。在脚注中,由于后面紧跟下一个字符标记(如 \ft 或 \fr),您可能可以省略结束标记,但在正文中,必须使用结束标记,否则斜体效果将持续到段落末尾。
关于间距的说明:\it 标记后的空格是该标记的一部分,因此,如果要在标记前有一个空格,应在标记前添加空格。\it* 标记后的空格不是标记的一部分(即它被格式化为真正的空格),因此 \it 前不需要有空格。这使得您可以在标点符号前使用 \it* 标记。例如:
标记:\p 这是一个格式正确的 \it 关键词\it*。
结果:这是一个格式正确的 关键词 。
标记:\p 这是一个格式错误的\it 关键词 \it*。
结果:这是一个格式错误的关键词 。
另请注意:\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 显示原文