Difference between revisions of "Documentation/How Tos/Inserting En and Em Dashes with Keyboard"

From Apache OpenOffice Wiki
Jump to: navigation, search
m
m
 
(11 intermediate revisions by 6 users not shown)
Line 1: Line 1:
The {{OOo}} help describes two ways to enter en and em dashes: using the ''Replace dashes'' option under '''Tools > AutoCorrect > Options''' and through the '''Insert > Special Characters''' menu (selecting the '''U+2013''' or '''U+2014''' character, respectively).  
+
The {{AOo}} help describes two ways to enter en and em dashes: using the ''Replace dashes'' option under {{menu|Tools|AutoCorrect Options}} and through the {{menu|Insert|Special Characters}} menu (selecting the '''U+2013''' or '''U+2014''' character, respectively).  
  
 
Many people prefer to use keyboard shortcuts, especially when copyediting.
 
Many people prefer to use keyboard shortcuts, especially when copyediting.
Line 5: Line 5:
 
The required shortcuts depend on your operating system.
 
The required shortcuts depend on your operating system.
  
{{Documentation/Tip| You can also record macros to insert en and em dashes and assign those macros to unused key combinations, for example ''Ctrl+Shift+N'' and ''Ctrl+Shift+M''. For more information, see Chapter 17 (Customizing Writer).}}
+
{{Tip| You can also record macros to insert en and em dashes and assign those macros to unused key combinations, for example {{key|Ctrl|Shift|N}} and {{key|Ctrl|Shift|M}}.}}
  
'''Windows'''
+
{{Win|'''Windows'''}}
 +
Hold down one of the {{key|Alt}} keys and type on the numeric keypad: 0150 for an en dash or 0151 for an em dash. The dash appears when you release the {{key|Alt}} key.
  
Hold down one of the ''Alt'' keys and type on the numeric keypad: 0150 for an en dash or 0151 for an em dash. The dash appears when you release the ''Alt'' key.
+
{{Tip| On a keyboard with no numeric keypad, use a {{key|Fn|Function}} key combination to type the numbers. (The {{key|Fn}} key is usually to the right of the left-hand {{key|Ctrl}} key on the keyboard.)
  
{{Documentation/Tip| On a keyboard with no numeric keypad, use a ''Fn'' (''Function'') key combination to type the numbers. (The ''Fn'' key is usually to the right of the left-hand ''Ctrl' key on the keyboard.)
+
For example, on a US keyboard layout, the combination for an en dash should be {{key|Alt|Fn|mjim}} and for an em dash it should be {{key|Alt|Fn|mjij}}.}}
  
For example, on a US keyboard layout, the combination for an en dash should be ''Alt+Fn+mjim'' and for an em dash it should be ''Alt+Fn+mjij''.}}
+
{{Lin|'''Linux'''}}
 +
Hold down the {{key|Compose}} key and type two hyphens and a period for an en dash, or three hyphens for an em dash. The dash appears when you release the {{key|Compose}} key.
  
'''Linux'''
+
{{Tip| The key that operates as a {{key|Compose}} key varies with the Linux distribution. It is usually one of the {{key|Alt}} or {{key|Win}} keys, but may be another key, and should be user-selectable.}}
  
Hold down the ''Compose'' key and type two hyphens and a period for an en dash, or three hyphens for an em dash. The dash appears when you release the ''Compose'' key.
+
{{Mac|'''macOS'''}}
 
+
Hold down the {{key|Option}} ({{key|Alt}}) key and type a hyphen for an en dash. For an em dash, the combination is {{key|Shift|Option|Hyphen}}.
{{Documentation/Tip| The key that operates as a ''Compose'' key varies with the Linux distribution. It is usually one of the ''Alt'' or ''Win'' keys, but may be another key, and should be user-selectable.}}
+
 
+
'''Mac OS X'''
+
 
+
Hold down the ''Option'' (''Alt'') key and type a hyphen for an en dash. For an em dash, the combination is ''Shift+Option+Hyphen''.
+
  
  
 
{{CCBY}}
 
{{CCBY}}
[[Category:How to]]
+
[[Category:Documentation/How Tos/Writer]]
[[Category:Writer]]
+

Latest revision as of 10:14, 2 September 2022

The Apache OpenOffice help describes two ways to enter en and em dashes: using the Replace dashes option under Tools → AutoCorrect Options and through the Insert → Special Characters menu (selecting the U+2013 or U+2014 character, respectively).

Many people prefer to use keyboard shortcuts, especially when copyediting.

The required shortcuts depend on your operating system.

Tip.png You can also record macros to insert en and em dashes and assign those macros to unused key combinations, for example  Ctrl  +  ⇧ Shift  +  N  and  Ctrl  +  ⇧ Shift  +  M .


Documentation windows.png Windows

Hold down one of the  Alt  keys and type on the numeric keypad: 0150 for an en dash or 0151 for an em dash. The dash appears when you release the  Alt  key.

Tip.png On a keyboard with no numeric keypad, use a  Fn  +  Function  key combination to type the numbers. (The  Fn  key is usually to the right of the left-hand  Ctrl  key on the keyboard.)

For example, on a US keyboard layout, the combination for an en dash should be  Alt  +  Fn  +  mjim  and for an em dash it should be  Alt  +  Fn  +  mjij .


Documentation linux.png Linux

Hold down the  Compose  key and type two hyphens and a period for an en dash, or three hyphens for an em dash. The dash appears when you release the  Compose  key.

Tip.png The key that operates as a  Compose  key varies with the Linux distribution. It is usually one of the  Alt  or  Win  keys, but may be another key, and should be user-selectable.


Documentation Mac Logo 40.png macOS

Hold down the  ⌥ Opt  ( Alt ) key and type a hyphen for an en dash. For an em dash, the combination is  ⇧ Shift  +  ⌥ Opt  +  Hyphen .


Content on this page is licensed under the Creative Common Attribution 3.0 license (CC-BY).
Personal tools