[OS X TeX] how to correct a mistaken commmand

Herbert Schulz herbs2 at mac.com
Fri Jun 6 14:18:23 EDT 2025



> On Jun 6, 2025, at 10:42 AM, Nitecki, Zbigniew H. <Zbigniew.Nitecki at tufts.edu> wrote:
> 
> This is a stupid questioon about a stupid mistake, luckily one with minor consequences.
> 
> While trying to make some order changes in a large block of text (in source code) Iinadvertently hit shift-option-% instead of shift-option-} (for commenting out).  This appeared to change the interline spacing in my source file.
> Realizing my mistake, I went to  “Edit” (at the top of my screen—is that the toolbar?) and the option at the top
> of the pulldown menu that appeared was “Undo raise baseline…..[command] Z” (I quote from slightly unreliable memory). So I hit that a few times, something changed, but I never got back to the original spacing.
> I have no idea what raisning the baseline is supposed to do, but my question is:  how do I simply restore to the
> original setting?  This only seems to affect the appearance of text in my source file, not the .pdf file, so it is an 
> annoyance rather than an emergency.

Howdy,

The source file is purely a text file and contains no embedded information about font, line spacing, font size, and other formatting. It is a setting in your editor how to display your file. You should be able to quit your editor (TeXShop?) and then re-open the file to get back to your editor's default display.

Good Luck,

Herb Schulz
(herbs2 at mac dot com)



More information about the MacOSX-TeX mailing list