I would like to include a special character in my LaTex document : Ꝃ
(it is used in breton for an abbreviation for "kêr", which means "place" or "house", and used in the naming of locations)
Here are its technical specifications, quoted from the ubuntu 14.04 documentation (in french) :
U+A742 LATIN CAPITAL LETTER K WITH DIAGONAL STROKE
Propriétés générales du caractère
Présent dans Unicode depuis : 5.1 Catégorie Unicode : Lettre, majuscule
Diverses représentations utiles
UTF-8 : 0xEA 0x9D 0x82 UTF-16 : 0xA742
UTF-8 en C octal échappé : \352\235\202 Entité décimale XML : Ꝃ
If I copy / paste the character directly, I get an error message (! Package inputenc Error: Unicode char \u8:ê‚ not set up for use with LaTeX.
). I guess there is something to do, or some special code to write, to be able to insert it. I only need to insert it ONCE, in a very long and already complex document, so I am looking for a simple solution with as few new packages or heavy changes as possible. I am wondering why I should convert the document to XeLatex or LuaLatex, for this single character, and which kind of changes it would make to my document if I'm doing that.
In the doc of inputenc (v1.1d 2008/03/30, p.3), I found the command :
\DeclareUnicodeCharacter{code}{def}
So I guess I could make something like :
\DeclareUnicodeCharacter{A742}{…}
but I don't know what goes in the "def
" place. I have made a few tries without success.
Or then, change something in my preamble to get a wider pre-loaded list of characters, including the one I need ?
Here is a M(not)WE, taken from the very begining of my preamble :
\documentclass[12pt,a4paper,titlepage,oneside]{book} % il faudra ajouter [final] à la fin
\usepackage[utf8]{inputenc}
\usepackage[ibycus,frenchb]{babel}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
%\DeclareUnicodeCharacter{A742}{???}
\usepackage{cjhebrew}
\begin{document}
k
Ꝃ
\end{document}
Comments : The error message is on line 13. On line 7 I have commented the command because it is not complete. I'm using ibycus
& cjhebrew
because the authors I'm studying sometimes make comparisons with some words in ancient greek or hebrew.
I have also tried a few things with ucs
package, but it didn't work properly.
I've read a few questions (here, here, here), but the solutions I tried from them didn't fit.
Thank you,
Malo