<\body> <\explain> <|explain> This very important environment variable determines the . There are four possible values: (text mode), (mathematical mode), (programming mode) and (source mode). The behaviour of the editor (menus, keystrokes, typesetting, ) depends heavily on the mode. For example, the following code may be used in order to include a mathematical formula inside text: <\tm-fragment> The formula +b=c> is well known. <\tm-fragment> +b=c> is well known.> Some other environment variables (mainly the language and the font) also depend on the current mode (in this context, the source mode always behaves in a similar way as the text mode). During copy&paste and search&replace operations, tries to preserve the mode. <\explain> <|explain> A second major environment variable is the . In fact, there are three such environment variables: one for each mode. The language in which content is written is responsible for associating a precise semantics to the content. This semantics is used for different purposes: <\itemize> The language may specify rules for typesetting content. For instance, the text language specifies punctuation and hyphenation rules. Similarly the mathematical language containns spacing information for mathematical operators. Several editing operations depend on the current language: when performing a search or replace operation, is both mode and language sensitive. Similarly, the text language determines the dictionary to use when spell-checking the document. The language controls (among other parameters like the mode and the document format) the way content is being converted from one context to another. Currently, no real language-dependent conversions have been implemented yet. But in the future one may imagine that copying a piece of English text to a document written in French will perform an automatic translation. Similarly, a mathematical document might be converted from infix to postfix notation. The programming language determines the current scripting language in use. Other scripting languages than are currently only used for interactive sessions, but primitives like might become language-sensitive in the future. At the moment, the current language is mainly used as a hint for indicating the semantics of text: it is not required that a text written in English contains no spelling errors, or that a formula written in a mathematical language is mathematically or even syntactically correct. Nevertheless, the editor is intended to enforce correctness more and more, especially for mathematics. The language may be specified globally for the whole document in and locally for a piece of text in . <\explain> <|explain> This environment variables is used in addition to the variable in order to determine a concrete implementation as well as a particular instance of the current programming language. For instance, in case of the |../../../main/interface/cas/man-maxima.en.tm> language, different implementation may be used fooor the underlying . Similarly, one may wish to run two different instances of in parallel. <\explain> <|explain> This variable determines the magnification which is applied to all content. Magnifications bigger than one are typically useful for presentations (from slides or from a laptop): <\tm-fragment> normal <\tm-fragment> > The magnification should not be confused with the : contrary to the magnification, the font size may also affect the shapes of the glyphs. The magnification is usually specified for the entire document in . <\explain> <|explain> The background color for your document, as specified in . <\explain> <|explain> The current foreground color of text and graphics, as specified in or . Named colors, like ``'', are supported for different color charts: |https://en.wikibooks.org/wiki/LaTeX/Colors#The_68_standard_colors_known_to_dvips>, |https://en.wikipedia.org/wiki/X11_color_names#Color_name_charts> and |http://www.w3schools.com/html/html_colornames.asp>. <\explain> <|explain> This flag determines whether we are editing normal text or a style-sheet. The source tree or preamble mode may be selected in . <\explain> <|explain> This variable controls the rendering of informative flags, which are for instance used to indicate the locations of otherwise invisible labels or typesetting directives. The may take the values , and : <\tm-fragment> >, >, >. <\tm-fragment> >, >, >.> Usually, the rendering of informative flags is specified document-wide in .