<html><head><meta http-equiv="content-type" content="text/html; charset=us-ascii"></head><body style="overflow-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;"><br><div><br><blockquote type="cite"><div>On Apr 14, 2023, at 3:41 PM, Herbert Schulz via MacOSX-TeX <macosx-tex@email.esm.psu.edu> wrote:</div><br class="Apple-interchange-newline"><div><div><br><br><blockquote type="cite">On Apr 14, 2023, at 2:21 PM, Murray Eisenberg <murrayeisenberg@gmail.com> wrote:<br><br>Before I did a clean install of TeXShop 5.12, in earlier versions I was able to select some text, say "txt", press Cmd-i, and thereby replace that text with "\emph{txt}".<br><br>Where do I add that keyboard functionality back?<br><br>It doesn't seem to be accomplished by either an autocompletion entry or a CommandCompletion entry.<br><br>(I think I may have had a similar arrangement with Cmd-b, to replace selected text "txt" with "\textbf{txt}")<br><br></blockquote><br>That was probably a key assignment you did to a stadard macro supplied with TeXShop. Do you have an `emphasize' macro under Macros->Text Styles (I can't remember if I added that al LONG time ago or it come with default TeXShop)?<br><br>If you do you need to run the Macro Editor (Macros->Open Macro Editor), open the `Text Styles' "folder", choose that macro and assign `i' to the command (the Cmd key is assumed).<br><br>If the `emphasize' isn't define just define a new macro that has \emph{#SEL##INS#} as its content, call it emphasize, assign i to the shortcut (again Cmd is assumed) move it around to where you want it in the Macros Menu (initially it's at the bottom of the list) and Save it.<br><br>PS: I also have a macro under the Text Styles item called Bold which is assigned to Cmd-B (i.e. b in the Macro Edditor) and contains \textbf{#SEL##INS#}.<br><br></div></div></blockquote><br></div><div>I forgot about macros being the place to look! Yes, macros for both \emph and \textbf are, indeed, in the Text Styles section of the Macro Editor list. I just had to add the keyboard shortcuts for them.  Thank you.</div><div>
<div>---<br>Murray Eisenberg<span class="Apple-tab-span" style="white-space: pre;">               </span>murrayeisenberg@gmail.com<br>Mobile (413)-427-5334<br>503 King Farm Blvd #101<span class="Apple-tab-span" style="white-space: pre;">         </span><br>Rockville, MD 20850-6667<span class="Apple-tab-span" style="white-space: pre;">        </span></div><div><br></div><br class="Apple-interchange-newline">

</div>
<br></body></html>