Characters words and fonts/Combining characters
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.
\usemodule[characters-combinations] \setupbodyfont[dejavu] \starttext \showcharactercombinations \page \startlines \chr {a acute } á \withacute a \chr {o double acute } ő \withdoubleacute o \chr {a grave } à \withgrave a \chr {o double grave } ȍ \withdoublegrave o \chr {a circumflex } â \withcircumflex a \chr {e circumflex below} ḙ \withcircumflexbelow e \chr {a diaeresis } ä \withdiaeresis a \chr {a tilde } ã \withtilde a \chr {i tilde below } ḭ \withtildebelow i \chr {a macron } ā \withmacron a \chr {k line below } ḵ \withlinebelow k \chr {c cedilla } ç \withcedilla c \chr {s comma below } ş \withcommabelow s \chr {z hook below } ȥ \withhookbelow z \chr {a hook } ả \withhook a \chr {a ring } å \withring a \chr {a ring below } ḁ \withringbelow a \chr {m dot } ṁ \withdot m \chr {l middle dot } ŀ \withmiddledot l \chr {m dot below } ṃ \withdotbelow m \chr {a breve } ă \withbreve a \chr {a inverted breve } ȃ \withinvertedbreve a \chr {k caron } ǩ \withcaron k \chr {o stroke } ø \withstroke o \stoplines \chr{a double grave} \withdoublegrave{i} \stoptext
- internal error: copy error jnyjVW/cropped.pdf