previous Chapter I.4

Foreign languages

next


Selecting languages

The easiest way to select a main language in TeXmacs is using the language icon icon menu. For instance, when selecting French, TeXmacs will obtain the following appearance:

TeXmacs in french

Similarly, when selecting Russian, you would obtain the following result:

TeXmacs in french

Actually, foreign languages occur in four different ways in TeXmacs:

When selecting a language using the language icon icon menu, we use standard settings for these different issues. Nevertheless, it is possible to refine these settings using the Document->Language, Edit->Preferences->Language, Document->Font and Edit->Preferences->Keyboard submenus. Notice that the language and the font of a text may also be set locally using the Format->Language and Format->Font submenus. This allows the user to write multilingual texts.

Typing text

As soon as you selected a language environment, there will be natural keybindings for obtaining the special characters of that language. First of all, accented characters can be obtained by typing Escape, the accent, followed by the character. For instance, typing M-' e yields é and M-C c yields ç. Some foreign keyboards also provide so called dead keys with accents on them. Such keys allow you to omit the Escape in the above example. For instance, if you have a dead Umlaut key, then typing umlaut u yields ü.

In general, foreign languages also use other punctuation rules as english. For example, a quoted expression is written « Bonjour ! » in french, instead of ``Hello!'' in english. As a consequence, we provided the keyboard shorthands < < and > > in order to obtain « resp. ». Notice also that there is a little white space before the exclamation sign in french, contrary to english. We recommend you learn about such finer typographical rules in your language, which will enable you to write texts of a professional quality. Some more information for specific languages can be found below.


Dutch

Keyboard shorthand Yields
, , ,,
' ' ''

French

Keyboard shorthand Yields
< * single left quote
> * single right quote
< < «
> > »
A-o A-e oe ligature

German

Keyboard shorthand Yields
, , ,,
' ' ''
A-s ß

Spanish

Keyboard shorthand Yields
A-! or ! * or ! ` ¡
A-? or ? * or ? ` ¿

previous next


Copyright (C) 1999, 2000 by Joris van der Hoeven.

This webpage is part of GNU TeXmacs and the larger GNU project. Verbatim copying and distribution of it is permitted in any medium, provided this notice is preserved. For more information or questions, please contact Joris van der Hoeven.

Free Software Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111, USA