[texpoint-users] Newcommand in initialization code

TexPoint Service texpoint at necula.org
Thu Nov 11 22:19:49 PST 2010


The correct syntax is:

 \newcommand{la}{0}\leftarrow}

I have just tried this and it worked for me. However, keep in mind
that these commands are only available in the inline mode for
texpoint.

George.


On Fri, Nov 5, 2010 at 11:13 AM, Hogan, Thomas A
<thomas.a.hogan at boeing.com> wrote:
>
> Has anyone ever had any luck using macros in the inline mode?  I believe I am doing exactly as in the manual, but cannot get TexPoint to recognize my macro.
>
> For example, I go to TexPoint->Configuration->Preferences; select the "TexPoint initialization code" variable and type something like:
>
>   \newcommand{la}{0}\leftarrow}
>
> Into the "TexPoint initialization code" window.  I click "Apply".  Then I try using something like:
>
>   Y\la X
>
> In a "LaTeX equation" and I am told that "\la" is an "Undefined control sequence".
>
> I've also tried putting the newcommand line into a text file and setting the filename as the "global" value of the "TexPoint initialization code" variable.
>
> I've tried other syntaxes, such as: "\newcommand{\la}{\leftarrow}" but nothing seems to work for me.
>
>
>
> _______________________________________________
> users mailing list
> users at lists.texpoint.necula.org
> http://lists.texpoint.necula.org/listinfo.cgi/users-texpoint.necula.org
>



More information about the users mailing list