LibreOffice Writer:如何将下划线改为粗体?

huangapple go评论49阅读模式
英文:

lilbreoffice writer: How to change underline to bold?

问题

先生:

我使用LibreOffice Writer,想知道是否可以将所有斜体文本更改为粗体?

胡萝卜

变成

胡萝卜

在标记语言规则中,将所有[B]文本[/B]更改为[I]文本[/I],在整个文档中。

我还想更改其他属性(上标/下标)。编辑富文本文件并不像我想象的那么简单。

有谁知道如何做吗?

提前感谢。

英文:

Sir:

I use libreoffice writer and am wondering if it is possible to change all italic to bold?

> There are bird, dog and carrot.

to
> There are bird, dog and carrot.

in a markup language rule, change all [B]text[/B] to [I]text[/I] throughout the document.

I also want to change other attributes (super/subscript). Editing rich text file is not as easy as I thought.

Does anybody know how?

thank you in advance

答案1

得分: 0

使用AltSearch,从属性菜单中选择搜索Bold。在替换中,指定\A{CharPosture=2}\A{CharWeight=0},可以通过键入或在按下Pick Properties后选择这些属性来完成。

您也可以在不使用AltSearch的情况下使用常规的搜索和替换来查找属性,然后选择所有结果。然后关闭对话框,手动更改格式,这将应用于所有选择(希望没有太多,否则可能会变慢!)。详细步骤请参见https://ask.libreoffice.org/t/how-do-i-replace-underlined-text-with-italics/45195/2。

也许使用字符样式而不是直接格式化会更值得,这样您可以立即更改为不同类型的格式,而不需要搜索和替换。仅对于粗体和斜体而言,可能不值得,但听起来您的文档可能比这复杂得多。

英文:

Using AltSearch, select to search for Bold from the Properties menu. In the replacement, specify \A{CharPosture=2}\A{CharWeight=0}, either by typing that in or by selecting those properties after pressing Pick Properties.

It is possible to do this without AltSearch by using normal Search & Replace to find the attributes and then selecting all results. Then close the dialog and manually change the formatting, which will apply to all selections (hopefully there aren't too many or it may be slow!). Detailed steps are at https://ask.libreoffice.org/t/how-do-i-replace-underlined-text-with-italics/45195/2.

It may also be worth using character styles instead of direct formatting so that you can instantly change to a different type of formatting instead of requiring search and replace. For bold and italics alone it may not be worth it, but it sounds like your document may have more complexity than that.

huangapple
  • 本文由 发表于 2023年5月17日 08:54:26
  • 转载请务必保留本文链接:https://go.coder-hub.com/76267926.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定