Characters words and fonts/Combining characters

Unofficial ConTeXt Wiki mirror

Last modified: 2025-01-12

Beginning with LuaMetaTeX (LMTX) versions after January 2021, there is a new mechanism for typing some composed characters, that is characters with some sort of diacritic signs, such as \'e in order to obtain « é », or \c c to obtain « ç ». Actually most of these characters have a UNICODE definition and can be typed directly from some keyboard configurations. But in order to have backward compatibility, and at the same time allow the user to type them through a command, the following commands are made available.

First of all the command \chr creates the specified composed character: for instance \chr{a acute} results in « á ». The same can be obtained with {\withacute a}

Here are a few of them, the complete list can be seen by typesetting the file s-characters-combinations.mkxl, or by copying the code below and typesetting it with LMTX.