Hot answers tagged

7

A current LaTeX format will input omsenc.dfu, ot1enc.dfu, t1enc.dfu and ts1enc.dfu (this is new in a current latex compared to the answer you linked too). You can find all four files in tex/latex/base and check which unicode input they support. As the names imply their support range is related to output encodings but can there is no strict 1-1 relationship. ...


5

Your question is rather undefined as "minimal preamble" can be interpreted to mean "the minimal required to support the Unicode Characters needed" which is somewhat circular. The example preamble posted produces the following if I add Cyrillic text ! Package inputenc Error: Unicode character П (U+041F) (inputenc) not set up ...


5

New Answer You clarified in the comment that you are using v13.00 of the font and want the second variant of CV06. You can get that by loading aegean.otf with the options [Script=Lycian, CharacterVariant={6:2}]. \documentclass{article} \tracinglostchars=2 % Warn if the font does not contain a character! \usepackage{fontspec} \pagestyle{empty} \...


3

U+0300 is a combining grave accent. PDFTeX and the 8-bit inputenc package cannot handle combining Unicode characters, only precomposed characters (NFC form). The following MWE will reproduce your bug, if compiled in PDFTeX: \documentclass{article} \tracinglostchars=2 \usepackage[T1]{fontenc} \begin{document} à \end{document} This is because à is in ...


3

See https://w3c.github.io/xml-entities/unicode-names.html?%CE%A4he You have written "The" with a Greek Tau instead of a Latin T, just delete the word and retype it.


3

You would really want to change the font inside a group, so the font change doesn’t bleed through to the text after it. So, \newcommand{\xmark}{{\xmarkfont\char"2718}} You would define \xmarkfont as you did in your MWE, to a font that has it, probably scaled with Scale=MatchUppercase. In math mode with unicode-math, you can set the font for a specific ...


2

If for some reason you have TIPA commands such as \textturnscripta in your LaTeX document but you are using an Unicode-compliant TeX engine and your current font contains all necessary glyphs (e.g., the FreeSerif font family), then here are some redefinitions of TIPA (and other similar LaTeX) commands that produce the corresponding Unicode characters: \def\...


1

In text mode, load a font that contains the characters. You should also put the command \tracinglostchars=2 in your source file, so TeX will warn you if your current font lacks a character. If you want to load a symbol from a font other than your main font, you can set the Unicode character active. For example, let’s say you want to use the “tombstone” ...


1

You can open up any font in a character map and check. If you want it to be scriptable, the command otfinfo -g will display a list of the glyphs in any given font. Typically, these are the Adobe font names or names like uni1234. If you want to check whether a font you already loaded has it, check \iffontchar. There are various websites where you can look it ...


1

Here is my solution which is partially based on another post from tex.sx I am afraid I cannot find again: In a nutshell: Download SVG from a database like twemoji (used by Twitter), convert it and scale it appropriately. Pros: Looks exactly like on Twitter or any other platform you desire. Does not require XeLaTeX. Con: Does not work completely automated. We ...


1

As of 2020, Arthur Reutenauer says that XeTeX has “gone into maintenance mode,” and the future of TeX development is LuaTeX. I would therefore recommend using LuaTeX when you can, then XeTeX if you have to, and PDFTeX if it’s all that your publisher supports. Now that LuaTeX supports complex scripts, the main XeTeX feature I use that LuaTeX does not have (...


1

If you are looking for unicode characters defined in a standard font, you can do: Use either XeLaTeX or LuaLaTeX. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{fontspec} \begin{document} Print some leaves: {\fontspec{Symbola} %the font name \symbol{"1F343}} %unicode symbol code \...


Only top voted, non community-wiki answers of a minimum length are eligible