5.4 Deprecated Commands
The following commands are no longer supported in this version of NCAlgebra.
5.4.1 SeeTeX[] or SeeTeX[anInteger]
-
- Aliases: None
-
- Description: SeeTeX[] tells Mathematica that you would always like to have your outputs
displayed in TEX. Inputting SeeTeX[] gives you additional displays which accompany
the rest of your Mathematica session unless you turn off SeeTeX using the NoTeX[] (see
below). Each output in your session causes a seperate window to open on the screen
and this window displays the TEX version of the output. When too many TeX displays
are present, Mathematica automatically makes the oldest display disappear. One can
set the maximum number of TEX windows to be N which appear using SeeTeX[N].
SeeTeX[] is the same as SeeTeX[5] the first time that it is called. See also NoTeX,
KillTeX and Keep.
-
- Arguments: anInteger is an integer.
-
- Comments / Limitations: Not available before NCAlgebra 2.1. At this time, SeeTeX is
implemented by creating a directory called TeXSession. The directory TeXSession is
filled with files as the session continues. The files corresponding to the k-the output
are masterk.tex and outk.tex. The file masterk.tex is boring. The file outk.tex contains
the TEX for the output Out[k]. See also the command SeeTex. These files are kept
until the KillTeX[] command (§5.4.3) is invoked or until you reload NCAlgebra.m.
BEWARE LOADING NCAlgebra.m AUTOMATICALLY DELETES THE
DIRECTORY Also, the directory contains a few dvi files and the windows are
produced automatically by running xdvi on masterk.dvi. When the TeX windows
are removed automatically, the corresponding dvi file is automatically removed. The
function Keep[k] (§5.4.5) prevents masterk.dvi and the associated window from being
deleted.
5.4.2 NoTeX[]
-
- Aliases: None
-
- Description: NoTeX[] tells Mathematica to stop putting windows on the screen.
-
- Arguments: None
-
- Comments / Limitations: Not available before NCAlgebra 2.1. The command NoTeX[] stops
TeX files from being added to the directory TeXSession. It does not remove any files
from the directory TeXSession. BUG: If one does SeeTeX[4], then puts up 4 windows,
then NoTeX[], then SeeTeX[], the program forgets that the 4 windows are there.
5.4.3 KillTeX[]
-
- Aliases: None
-
- Description: KillTeX[] removes all of the files in the directory TeXSession. See also
SeeTeX(§5.4.1)
-
- Arguments: No arguments
-
- Comments / Limitations: Not available before NCAlgebra 2.1
5.4.4 See[aListOfIntegers]
-
- Aliases: None
-
- Description: See[aListOfIntegers]
-
- Arguments: See[aListOfIntegers] allows one to create a TEX file which displays multiple
Out statements. For example, See[{5,14,9}] creates a window with Out[5]=, followed
by the TEX form of Out[5],Out[14]=, followed by the TEX form of Out[14], Out[9]=,
followed by the TEX form of Out[9]
-
- Comments / Limitations: aListOfIntegers is a list of integers
Not available before NCAlgebra 2.1 If the See[{5,14,9}] command is invoked as the 19th command
(e.g., In[19] := See[{5,14,9}]), then the TeXed formulas Out[5], Out[14] and Out[19] will be in the
file master19.tex. This might help a user in writing a paper based on the session, since it can be
used to bring together important formulas. This command requires that the SeeTeX be called
before the use of See.
5.4.5 Keep[anInteger]
-
- Aliases: None
-
- Description: Keep[anInteger] tells Mathematica that it should not automatically destroy
the window corresponding to the anIntegerth output.
-
- Arguments: anInteger is an integer.
-
- Comments / Limitations: Not available before NCAlgebra 2.1. The file masterk.dvi is also
kept. The TeX files are always kept whether or not you invoke Keep (WARNING: See
KillTeX (§5.4.3)).. This command requires that the SeeTeX be called before the use of
“See”.
5.4.6 Kill[anInteger]
-
- Aliases: None
-
- Description: Kill[anInteger]
-
- Arguments: Kill[k] removes the window and the dvi file corresponding to Out[k].
-
- Comments / Limitations: Not available before NCAlgebra 2.1. The file masterk.dvi is
deleted. This command requires that the SeeTeX be called before the use of the
command “See”.
The following two commmands require the loading of the file Extra.TeXForm.
5.4.7 LookAtMatrix[aMatrix]
-
- Aliases: None
-
- Description: LookAtMatrix[aMatrix] takes the Mathematica matrix aMatrix, converts it to
TEX outputs the string and surrounding LATEXto a file, TeXs the file and displays
the TeXed output to the screen using the program dvipage (this can be easily changed
to other previewers such as xdvi or xpreview).
-
- Arguments: aMatrix is a matrix.
-
- Comments / Limitations: Must have loaded the file Extra.TeXForm
5.4.8 LookAtLongExpression[anExpression]
-
- Aliases: None
-
- Description: LookAtLongExpression[anExpression] takes the Mathematica expression
anExpression, converts it to TEX outputs the string and surrounding LATEXto a file,
TeXs the file and displays the TeXed output to the screen using the program dvipage
(this can be easily changed to other previewers such as xdvi or xpreview).
-
- Arguments: anExpression is an expression
-
- Comments / Limitations: Must have loaded the file Extra.TeXForm