博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
如何在Google文档中创建连字符,连字符和Em连字符
阅读量:2512 次
发布时间:2019-05-11

本文共 4499 字,大约阅读时间需要 14 分钟。

google docs logo

Standard keyboards don’t have dedicated keys for special punctuation marks, such as an en or em dash, if you want to use them in Google Docs. Here’s how you can create hyphens and dashes in your documents.

如果您想在Google文档中使用标准键盘,则没有特殊的标点符号,例如en或破折号。 这是在文档中创建连字符和破折号的方法。

As we are a technology website, we won’t go into detail about when and how to use each form of punctuation. Instead, you can check out what a , , and  are if you’re unsure when to use each punctuation mark. Essentially, a hyphen is a dash (-), an en dash is the length of two dashes (–), and an em dash is the length of three dashes (—).

由于我们是一个技术网站,因此我们不会详细介绍何时以及如何使用每种形式的标点符号。 相反,如果不确定何时使用每个标点符号,可以检查 , 和是什么。 本质上,连字符是破折号(-),破折号是两个破折号(-)的长度,而破折号是三个破折号(-)的长度。

手动创建连字符和破折号 (Manually Create Hyphens and Dashes)

The first thing you’ll need to do is fire up your browser and open a file to get started.

您需要做的第一件事是启动浏览器并打开文件以开始使用。

A hyphen is the easiest punctuation mark to create in Google Docs. Likely, your keyboard already has a key just for this purpose. Depending on the layout of the keyboard, the hyphen key is at the top and beside the zero (0) key. All you have to do is press it, and that’s it. Hyphen created.

连字符是在Google文档中创建的最简单的标点符号。 您的键盘可能已经有一个用于此目的的键。 根据键盘的布局,连字符键位于顶部(在零(0)键旁边)。 您所要做的就是按下它,仅此而已。 连字符已创建。

En and em dashes are a little more tricky to find. Keyboards don’t have keys that are dedicated to these punctuation marks. Unless you’re a professional writer, you probably aren’t going to be using them that often.

破折号和破折号很难找到。 键盘没有专用于这些标点符号的键。 除非您是专业作家,否则您可能不会经常使用它们。

Although you could enter the corresponding for either en or em dash, you have an easier way to insert them into your document. Docs has a Special Characters tool that lets you add them without having to remember their codes.

尽管您可以为en或em破折号输入相应的 ,但是您可以使用更简单的方法将其插入文档中。 文档具有特殊字符工具,可让您添加它们而不必记住其代码。

Click on your document where you want to insert the dash, open the “Insert” menu, and then click “Special Characters.”

单击您要在其中插入破折号的文档,打开“插入”菜单,然后单击“特殊字符”。

Click "Insert" and then click "Special Characters."

After the tool opens, type “em dash” or “en dash” into the search bar and then click the symbol from the results on the left.

工具打开后,在搜索栏中键入“破折号”或“破折号”,然后单击左侧结果中的符号。

Type em dash into the search bar, and then click on the character to insert it into your document.

Note: Several types of en and em dashes show up in the search results. To be sure you choose the right one, hover the mouse over each one before you click on it.

注意:搜索结果中会显示几种类型的en和em破折号。 为确保选择正确的鼠标,请将鼠标悬停在每个鼠标上,然后再单击它。

Hover over each one to make sure you insert the right type of dash.

When you click on the dash you want, it gets inserted directly into the file where the cursor is in your document.

当您单击所需的破折号时,它将直接插入到光标在文档中的文件中。

the dash gets inserted in the spot your input cursor is located.

If you rarely use en and em dashes, this method is excellent. However, if you use them a lot, you can tell Docs to automatically format hyphens into en or em dashes.

如果您很少使用en和em破折号,则此方法非常有用。 但是,如果您经常使用它们,则可以告诉Docs自动将连字符格式设置为en或em破折号。

自动创建短划线 (Automatically Create Dashes)

Microsoft Word has a built-in function—AutoFormat—that automatically converts hyphens into en and em dashes when you type -- and --- , respectively. Google Docs doesn’t replace them by default. However, you can tell it to convert strings of characters into whatever you want, such as special characters like en and em dashes.

Microsoft Word具有内置函数AutoFormat,当您分别键入----- ,该函数会自动将连字符转换为en和破折号。 默认情况下,Google文档不会替换它们。 但是,您可以告诉它将字符串转换为所需的任何字符,例如en和em破折号之类的特殊字符。

From your Google Docs file, use the method above to insert an en dash or em dash into your document, highlight the dash character, right-click it, and then click “Copy.” Alternatively, press Ctrl+C on Windows or Command+C on macOS to copy the symbol.

在您的Google文档文件中,使用上述方法在文档中插入一个破折号或短破折号,突出显示破折号,右键单击该字符,然后单击“复制”。 或者,在Windows上按Ctrl + C或在macOS上按Command + C来复制符号。

Highlight the dash, right-click it, and then click "Copy."

Next, select the “Tools” menu and then click “Preferences.”

接下来,选择“工具”菜单,然后单击“首选项”。

Click "Tools" and then click "Preferences."

In the Automatic Substitution section, type either two or three hyphens into the “Replace” field. Next, paste the copied dash into the “With” field by right-clicking the box and selecting “Paste” or by pressing Ctrl+V on Windows or Command+V on macOS. Click “OK” to save the changes and close the window.

在“自动替换”部分,在“替换”字段中键入两个或三个连字符。 接下来,通过右键单击框并选择“粘贴”,或者在Windows上按Ctrl + V或在macOS上按Command + V,将复制的破折号粘贴到“有”字段中。 单击“确定”保存更改并关闭窗口。

In the sections below, type either two or three hyphens in the "Replace" field, and then paste the corresponding dash you copied into the "With" field, using Ctrl+V.

Now, repeat these steps for the other type of dash and that’s it. The next time you need to insert a dash, just type either two or three hyphens for an en or em dash. Docs does the rest and automatically converts them without the Special Characters tool.

现在,对其他类型的破折号重复这些步骤,仅此而已。 下次需要插入破折号时,只需为en或em破折号键入两个或三个连字符即可。 Docs会完成剩下的工作,并自动将其转换,而无需使用特殊字符工具。

翻译自:

转载地址:http://cpkwd.baihongyu.com/

你可能感兴趣的文章
【Java学习笔记之九】java二维数组及其多维数组的内存应用拓展延伸
查看>>
C# MySql 连接
查看>>
网络抓包分析方法大全
查看>>
sql 数据类型
查看>>
android 截图
查看>>
WebServicer接口类生成方法。
查看>>
POJ 1740
查看>>
【翻译】火影忍者鸣人 疾风传 终级风暴2 制作介绍
查看>>
http和webservice
查看>>
hdu1879------------prim算法模板
查看>>
jdbc之二:DAO模式
查看>>
MySQL性能优化方法一:缓存参数优化
查看>>
如何捕获 System.loadLibrary 产生的异常?(转)
查看>>
Jmeter4.0安装
查看>>
Angular2 - 概述
查看>>
正则表达式tab表示\t
查看>>
NodeJS+Express+MongoDB 简单实现数据录入及回显展示【Study笔记】
查看>>
随心-随想 -谁是我的女主角 -《我的女主角是你》
查看>>
session使用
查看>>
公益筹模板
查看>>