如何在word中粘贴代码_如何在Microsoft Word中更改默认粘贴设置

如何在word中粘贴代码

如何在word中粘贴代码

00_lead_image_default_paste_option

By default, when you paste text copied from elsewhere into Word, you automatically get all the formatting with it. This formatting most likely does not match the rest of the content of your document and may not come in neatly.

默认情况下,将从其他位置复制的文本粘贴到Word中时,会自动获得所有格式。 这种格式很可能与文档的其余内容不匹配,并且可能不整齐。

You can choose to only keep the plain text every time you paste; however, this can be annoying to do manually every time. We will show you how to change the paste settings so anything pasted into Word will only be pasted as plain text.

您可以选择在每次粘贴时仅保留纯文本; 但是,每次手动执行都会很烦人。 我们将向您展示如何更改粘贴设置,以便粘贴到Word中的所有内容都将仅粘贴为纯文本。

To manually paste text without formatting, you can click Paste in the Clipboard section of the Home tab and select the Keep Text Only option.

若要手动粘贴文本而不设置格式,可以单击“主页”选项卡的“剪贴板”部分中的“粘贴”,然后选择“仅保留文本”选项。

01_selecting_keep_text_only

If you want to use Ctrl + V to paste text, the text will be pasted with the formatting by default. To change this default, and paste plain text without formatting automatically when using Ctrl + V, click Paste in the Clipboard section of the Home tab and select Set Default Paste.

如果要使用Ctrl + V粘贴文本,则默认情况下将使用格式粘贴文本。 要更改此默认设置,并在使用Ctrl + V时粘贴纯文本而不自动设置格式,请单击“主页”选项卡的“剪贴板”部分中的“粘贴”,然后选择“设置默认粘贴”。

03_selecting_set_default_paste

The Advanced screen on the Word Options dialog box displays. In the Cut, copy, and paste section, select Keep Text Only for any of the first four “Pasting” options. For example, if you are copying and pasting text from another program such as a web browser, change the Pasting from other programs option. Click OK to save your changes and close the Word Options dialog box.

显示“ Word选项”对话框上的“高级”屏幕。 在“剪切,复制和粘贴”部分中,为前四个“粘贴”选项中的任何一个选择“仅保留文本”。 例如,如果您要从另一个程序(如Web浏览器)复制和粘贴文本,请更改“从其他程序粘贴”选项。 单击“确定”保存更改,然后关闭“ Word选项”对话框。

04_selecting_keep_text_only

Now, when you copy and paste text into Word from other programs, it will automatically be pasted as plain text only and you can easily format it any way you want.

现在,当您从其他程序复制文本并将其粘贴到Word中时,它将仅被自动粘贴为纯文本,并且您可以轻松地以任何所需的格式对其进行格式化。

05_text_pasted

When you paste text only, any images, links, or other text formatting in the original text will not be included in the pasted text. If all you want is the text, now you can easily get just the text without having to take the time to tweak the formatting.

仅粘贴文本时,原始文本中的任何图像,链接或其他文本格式都不会包含在粘贴的文本中。 如果只需要文本,现在就可以轻松获取文本,而无需花时间调整格式。

翻译自: https://www.howtogeek.com/155803/how-to-change-the-default-paste-setting-in-microsoft-word-2013/

如何在word中粘贴代码

### 如何在 Microsoft Word 中使用 LaTeX 进行公式编辑 #### 安装 LaTeX 插件 为了能够在 Microsoft Word 中高效地利用 LaTeX 编辑公式,可以采用特定的插件。例如,“LaTeX in Word”是一个遵循GPL许可协议的选择[^3]。 #### 更改公式输入模式至 LaTeX 当首次配置环境时,默认情况下Word可能设定为Unicode编码方式来处理数学表达式。要切换成LaTeX风格,则需通过如下路径操作:`公式 → 转换 → LaTeX`。一旦完成此设置,后续再插入新公式时就无需重复这一步骤了[^2]。 #### 输入与转换 LaTeX 公式 对于希望以LaTeX语法编写公式的用户来说,在创建一个新的公式对象后可以直接键入相应的命令符串。完成后,可通过点击右上角的小箭头展开更多选项,并从中选取【专业】视图以便即时预览渲染效果[^4]。 ```latex \begin{equation} E=mc^2 \end{equation} ``` 上述代码展示了爱因斯坦著名的质能方程如何被表示出来。将其粘贴Word文档内的公式区域,随后按照前述方法调整显示样式即可获得理想的呈现形式。 #### 配置 COM 加载项(可选) 如果选择了基于COM加载项类型的第三方解决方案,则还需要进一步定制软件环境。具体而言就是访问“文件”菜单下的“选项”,接着定位到“加载项”。在这里指定管理目标为“COM加载项”,并通过“转到...”按钮引入所需的外部组件[^5]。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值