ma-cb-en-composedcharacters.tex /size: 2453 b    last modification: 2020-07-01 14:35
1\startcomponent ma-cb-en-composedcharacters
2
3\enablemode[**en-us]
4
5\project ma-cb
6
7\startchapter[title=Composite characters]
8
9\index{accents}
10\index{foreign characters}
11
12In \in{chapter}[special chars] you have already seen that you have to type more
13than one token to obtain special characters like \# \$ \% \& \_ $\{$ and $\}$.
14
15Characters with accents for example can be composed or coded with specific
16\CONTEXT\ commands in order to display them on paper. In case you have a text
17editor that can display utf8 you can type the composed characters directly.
18
19It is not within the scope of this manual to go into accented characters in math
20mode. See the {\TEX Book} by Donald E. Knuth on that subject.
21
22\in{Table}[tab:composed-characters] shows a few examples and the way you can code
23composed characters.
24
25\placetable
26  [here,force]
27  [tab:composed-characters]
28  {Composed characters.}
29  {\starttable[|c|l|l|c|]
30   \HL
31   \NC \bf Character \NC \bf Composed \NC \bf \CONTEXT\ command \NC \bf UTF8 \NC\SR
32   \HL
33   \NC ü            \NC \type{\"u}	     \NC \type{\uacute}        \NC \type{ü} \NC\FR
34   \NC é            \NC \type{\'e}	     \NC \type{\egrave}        \NC \type{é} \NC\MR
35   \NC â            \NC \type{\^a}       \NC \type{\acircumflex}   \NC \type{â} \NC\MR
36   \NC ä            \NC \type{\"a}       \NC \type{\aacute}        \NC \type{ä} \NC\MR
37   \NC à            \NC \type{\`a}	     \NC \type{\agrave}        \NC \type{à} \NC\MR
38   \NC å            \NC \type{\aa}       \NC \type{\aring}         \NC \type{å} \NC\MR
39   \NC ç            \NC \type{\c{c}}     \NC \type{\ccedilla}      \NC \type{ç} \NC\MR
40   \NC ï            \NC \type{\"{\i}}    \NC \type{\idiaeresis}    \NC \type{ï} \NC\MR
41   \NC î            \NC \type{\^{\i}}    \NC \type{\icircumflex}   \NC \type{î} \NC\MR
42   \NC Ä            \NC \type{\"A}       \NC \type{\Adiaeresis}    \NC \type{Ä} \NC\MR
43   \NC Å            \NC \type{\AA}       \NC \type{\Aring}         \NC \type{Å} \NC\MR
44   \NC É            \NC \type{\'E}       \NC \type{\Egrave}        \NC \type{É} \NC\MR
45   \NC æ            \NC \type{\ae}       \NC \type{\aeligature}    \NC \type{æ} \NC\MR
46   \NC Æ            \NC \type{\AE}       \NC \type{\AEligature}    \NC \type{Æ} \NC\MR
47   \NC ÿ            \NC \type{\"y}	     \NC \type{\ydiaeresis}    \NC \type{ÿ} \NC\LR
48   \HL
49   \stoptable}
50
51The character you want to display should be in the font.
52
53\stopchapter
54
55\stopcomponent
56