MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Printing "Alias" Definitions

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45296] Re: Printing "Alias" Definitions
  • From: Tom Burton <tburton at brahea.com>
  • Date: Mon, 29 Dec 2003 00:22:05 -0500 (EST)
  • Sender: owner-wri-mathgroup at wolfram.com

My help on OSX says that, but also says that Alias is undocumented and not
fully supported. Why not use instead the fully supported options
InputAliases and InputAutoReplacements. Both can be set within the Options
Inspector. Neither does exactly what you want, but they may be better:
immediately after you type, e.g., ff, the Front End replaces that with
FullForm. That way, not only does someone else not have to look at the
nonstandard abbreviation ff, but you don't either.

The difference between the two is that the InputAliases (like other aliases)
is bracketed by escapes. Escapes are not easy to type, so I prefer the
InputAutoReplacements, where the substitution occurs on the first keystroke
after "ff". If "ff" are the final characters, hit the space bar.

Tom Burton

On 12/27/03 12:08 AM, in article bsjlm8$259$1 at smc.vnet.net, "Harold Noffke"
<Harold.Noffke at wpafb.af.mil> wrote:

> 
> If I write code like this (faster to type "ff" than "FullForm"), and
> show the Notebook to someone else, I want "ff" changed to "FullForm"
> in In[2] before Mathematica prints Out[2].
> 
> Can anyone suggest a way to modify Alias to accomplish this?
> 
> I have tried text replacement utilities (e.g. QuicKeys, RoboType) to
> automatically convert text aliases to Mathematica-known strings, but
> the Front End always chokes on the alias replacement string, and
> produces unpredictable results.
> 
> Thanks.
> Harold
> 


  • Prev by Date: Displaying NotebookML Using CSS
  • Next by Date: Re: WinXP and Mathematica 2.2.3.2
  • Previous by thread: Printing "Alias" Definitions
  • Next by thread: Re: Printing "Alias" Definitions