From: Bernard D. <bde...@us...> - 2020-05-26 05:03:47
|
In fact, I agree with Vittorio that the deletion of empty `\label{}` macros is quite useful inside math environment templates: if you don't want the label, just press Tab instead of removing it manually. So, there is now a new preference in LaTeX mode called *Tab Deletes Empty Labels* to control this behavior. For compatibility, it is activated by default. It can be unset in the *Electrics* panel of the *Alpha ↣ TeX Mode Setup ↣ Mode Preferences* dialog. --- ** [tickets:#233] tab after \label{}• in TeX mode** **Status:** fixed **Created:** Wed May 20, 2020 03:32 PM UTC by Laurent PRALY **Last Updated:** Fri May 22, 2020 10:39 AM UTC **Owner:** nobody In TeXmode, if after typing \label{}• I move the cursor back to put it between { and } and then I use the key TAB, then \label{}• is removed. If follow the same steps with say ref, i.e. \ref{}• , back between { and } and TAB, I jump to the next stop, i.e., I get \ref{} with the cursor after } Actually this strange behavior seems to occur only with \label. I understand that a "label" should be entered between { and }. But I want to be free to do it rigth away or later. Question: is there a way to disable this feature. Note that, on purpose, I am not using the binding (and proc) which creates \label{}• . In doing so, I want to argue that the problem is not with this proc, but seems to be in the proc elec::nextStopOrIndent given by Tab. But why is the behavior different between \label{}• and \ref{}• --- Sent from sourceforge.net because alp...@li... is subscribed to https://sourceforge.net/p/alphacocoa/tickets/ To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/alphacocoa/admin/tickets/options. Or, if this is a mailing list, you can unsubscribe from the mailing list. |