From: Alexander Stippler on
Hi,

I'm just starting to write my first package in Mathematica 7.
Now I want to have an Array named \Overtilde[m]. How can I get this to
work? Is it allowed at all?
I also would like to have a symbol \Subscript[j,x]. Are these names
allowed at all and how can I realize them if yes? To say it once more in
other words, I want variables which would be the follwing in Tex:

\tilde{m}
j_{x}

Thanks.

From: George Woodrow III on
Hi --

It is 'best' if your function names contain only ASCII characters. If you plan to use Wolfram Workbench or use a 'code' cell designation, you would have to constantly type in \Overtilde[m], for example.

I have tried using fancy formatting in the past, and it turned out to be more trouble than it is worth. Use the fancy formatting in notebooks where showing a real theta instead of a variable named theta is important. You can think of it this way: you should use descriptive variable names, rather than just x, y, z, n, etc. It is easier to track a variable named 'theta' than it is to track one named \[Theta]. Better to use the programming constructs internally, and typeset the output if needed at the end.

george woodrow III


On Feb 27, 2010, at 3:15 AM, Alexander Stippler wrote:

> Hi,
>
> I'm just starting to write my first package in Mathematica 7.
> Now I want to have an Array named \Overtilde[m]. How can I get this to
> work? Is it allowed at all?
> I also would like to have a symbol \Subscript[j,x]. Are these names
> allowed at all and how can I realize them if yes? To say it once more in
> other words, I want variables which would be the follwing in Tex:
>
> \tilde{m}
> j_{x}
>
> Thanks.
>


From: Bill Rowe on
On 2/27/10 at 3:15 AM, alexander.stippler(a)uni-ulm.de (Alexander
Stippler) wrote:

>I'm just starting to write my first package in Mathematica 7. Now I
>want to have an Array named \Overtilde[m]. How can I get this to
>work? Is it allowed at all? I also would like to have a symbol
>\Subscript[j,x]. Are these names allowed at all and how can I
>realize them if yes? To say it once more in other words, I want
>variables which would be the follwing in Tex:

>\tilde{m} j_{x}

It is possible to create almost any notation you would like to
use. Details can be found in various tutorials shown at the
bottom of the page that comes up when searching on

Notation/guide/NotationPackage

in the Documentation Center

But, while this is possible, this is not something I would
recommend. I don't see enough benefit to compensate for the
effort needed to make this work.


From: AES on
In article <hmdebf$p0c$1(a)smc.vnet.net>,
George Woodrow III <georgevw3(a)mac.com> wrote:

> Better to use the programming constructs
> internally, and typeset the output if needed at the end

. . . using an application designed and optimized for
typesetting, such as one of the many excellent
implementations of TeX.

From: Kevin J. McCann on
This is straight forward with the Notation Package and Palette. Note
that to consider something like x-tilde as a single entity, it is
necessary to use Symbolize. Others have responded that this sort of
thing is "not worth it", but I totally disagree. There is nothing more
mind numbing to me than to look at code for a physics equation that is
all ASCII rather than looking at code that is in the "textbook style".
It does take a little more work, but the visual clarity it affords is
well worth it.

Kevin

Alexander Stippler wrote:
> Hi,
>
> I'm just starting to write my first package in Mathematica 7.
> Now I want to have an Array named \Overtilde[m]. How can I get this to
> work? Is it allowed at all?
> I also would like to have a symbol \Subscript[j,x]. Are these names
> allowed at all and how can I realize them if yes? To say it once more in
> other words, I want variables which would be the follwing in Tex:
>
> \tilde{m}
> j_{x}
>
> Thanks.
>