We need to use regular expressions (regex) to differentiate between an opening and closing quotation mark since they are the same actual character. Do the same for the closing ones using Option+Shift+ ( ’) to search for the closing smartquotes and replace with Option+Shift+\ ( ») (prepend a space as needed) for the closing guillement.įor situation two: use the advanced find and replace dialog and enable the "use wildcards" checkbox. This will take care of the opening quotes. You could also copy and paste from the document to get these special characters. If you do not have a numeric keypad, use the character map utility (search for charmap in the start menu) In a Linux/Mac terminal, you can generate all these characters with printf '\u201c\n\u201d\n\u2018\n\u2019\n\uab\n\ubb\n'įor situation one: in the find and replace dialog, type Option+ for opening single smartquote ( ‘) and then in the replace field type Option+\ for opening guillement ( «), appending a space as needed. For the guillements, use Alt+174 for ( «) and Alt+175 for ( »). On Windows, to type the special characters, hold down the Alt key and type a number on the numeric keypad: Alt+0145 and Alt+0146 for opening ( ‘) and closing ( ’) single-quotes, and Alt+0147 and Alt+0148 for opening ( “) and closing ( ”) double-quotes. I am using Word 2019 on the Mac so will use the mac's Option-key method to input the special characters in the instructions. In either case, ensure that the options to ignore punctuation and whitespace are not enabled in the find and replace dialog! There are two situations: you are using so-called “smart quotes” (default) or you have "regular quotes" (you disabled Word's automatic replacement of quotes for smartquotes).
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |