I am trying to use “Ⴒ” (Georgian capital "tar" {U+10b2}) and “ք” (Armenian "keh" {U+0584}) as special variable names in a document compiled with pdflatex on Overleaf. The document is 100% English. I chose those characters because they look like the superimposition of “P” + “L” → “Ⴒ”, and “p” + “f” → “ք”
I got the “ք” (Armenian) working with this [1]. Is there a similarly simple way to produce “Ⴒ” (Georgian)?
From what I've read [2, 3, 4], I think the problem is due to a lack of a native TeX font that supports Georgian. Those solutions appear to work for XeLaTeX and LuaLaTeX, because they are able to use TTF fonts. I don't understand any of this well, so I may be mistaken. Adding \usepackage[georgian]{babel}
caused undecipherable error messages.
This seems like a ridiculous amount of reading and digging to insert two standard unicode characters. Isn't there a simpler way?
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[OT6,T1]{fontenc}
%--------------------------------------------------------------------
% Credit: 'egreg' https://tex.stackexchange.com/a/443141/103622
\newcommand{\armenian}{\fontencoding{OT6}\fontfamily{cmr}\selectfont}
\DeclareTextFontCommand{\textarmenian}{\armenian}
%--------------------------------------------------------------------
\newcommand{\keh}{\textarmenian{ք}} ## WORKS
% \newcommand{\tar}{\▒▒▒{Ⴒ}} ## DESIRED
\begin{document}
keh: \keh{} ... in equation: $\keh{}^\keh{}$ %% WORKS
% Tar: \tar{} ... in equation: $\tar{}^\tar{}$ %% DESIRED
\end{document}
\usepackage[utf8]{inputenc}
, and obtain specific Unicode output by defining what TeX should do with that input. (See for example this answer or this one.) Also, nitpicking, but Unicode doesn't use 2 bytes to encode glyphs; Unicode only assigns codepoints in range 0–10FFFF to (roughly) abstract characters (encoded as 1–4 bytes with UTF-8) and glyphs are left to fonts.