Questions tagged [unicode]
{unicode} is for questions about Unicode (an international standard for character encoding) and its implementations. For questions about input encodings use {input-encodings}.
1,510 questions
1
vote
1
answer
52
views
How can I add or modify symbol definitions in ConTeXt's `char-def.lua`?
I have noticed several areas in ConTeXt's char-def.lua that seem to need improvements, but I'm not sure how to correctly modify this file. Can you show me some examples of how I can make changes to ...
0
votes
1
answer
35
views
Use an empty space instead of a missing unicode character
I copy-pasted some text inside a verbatim environment. Some of the characters aren't recognized:
Unicode character ... not set up for use with LaTeX
It's not a big deal, and I don't want to define the ...
2
votes
1
answer
77
views
Assign a custom symbol to a letter for purposes of copy/paste
Sometimes in LaTeX one may define some new image or collection of symbols, using tikz or any other means. Is there a way to have the code recognise that symbol as a 'letter' for the purposes of copy/...
2
votes
4
answers
278
views
How can I write this unicode character ſ in Latex?
How can I write this Unicode character, ſ (U+017F), in Latex? Here is the character's information.
Using \char"017F gives this error:
Bad character code (383).
<to be read again>
...
4
votes
2
answers
114
views
How to obtain Unicode value of vertical variant
This is a follow-up question to Is there a command like \left that does not require a \right?. I believe that I see a way to accomplish what I am trying to do, but it hinges on being able to obtain ...
2
votes
3
answers
123
views
Text equivalent of unicode-math in Lualatex/Xelatex
Unicode-math can be used to specify ranges of characters to use from different fonts. Is there any such package that allows us to do the same for non-math texts? For example, I have this font https://...
3
votes
2
answers
160
views
writing unicode characters LuaLaTex
I'm having troubles using unicode characters
U+023A and
U+A7CC.
\documentclass[12pt,a4paper]{report}
\usepackage[italian]{babel}
\usepackage{fontspec}
\usepackage[T1]{fontenc}
\usepackage[utf8]{...
4
votes
1
answer
166
views
Getting wrong characters using UTF codes with Aegyptus font
I am trying to insert characters with their UTF codes and display them using the Aegyptus font, but it doesn't work for all the characters. Some of them display correctly, some of them are not found, ...
4
votes
1
answer
70
views
With {realscripts} package, when I copy/paste footnotemark's ¹ (U+00B9) from pdf into a text editor, it is 1 (U+0031); font: Adobe Minion Pro 2.113
I am using XeLaTex, texlive 2024, MS Windows 10.
I am writing a book with Minion Pro 2.113 font, which has glyphs for superscripts ¹ (U+00B9), ² (U+00B2), ³ (U+00B3). The realscripts package uses ...
0
votes
0
answers
21
views
Texnicenter does not recognize greek characters in its editor in win11
After installation of texnicenter in win11, i uploaded an existed tex file for testing. The texnicenter editor does not recognize greek characters,so i cannot develope something there. Nevertheless, ...
2
votes
1
answer
158
views
How to allow (Lua)Tex to allow hyphenation when a unicode-encoded m-dash is present?
I would like to have LuaTex to allow hyphenation of words starting with or ending with a Unicode m-dash (i.e. not '---' but '—' (U+2014)), because it is common (and Chicago-style recommended) NOT to ...
2
votes
0
answers
37
views
Adobe Reader: wrong Unicode code point for INCREMENT glyph
Consider the following MWE:
\documentclass{article}
\usepackage{unicode-math}
\begin{document}
\(\increment\)
{\fontspec{latinmodern-math.otf}
\symbol{"2206}}%
\end{document}
compiled with ...
5
votes
2
answers
203
views
Writing ancient Complex Text Layout (CTL) text using Latex (the case of old Uyghur)
I want to write something in the Old Uyghur script. Unicode supports this script, and there is a well-developed font for this purpose: Noto Serif Old Uyghur. However, when I try to write using local ...
0
votes
1
answer
112
views
LaTeX Error: Invalid UTF-8 byte "AB
I encountered this error when compiling my Tex file, the compiler used was pdfLaTex:
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
... ...
3
votes
3
answers
229
views
How to obtain Cyrillic letters with polyglossia and main font TeX Gyre Pagella?
I use LuaLaTeX with
\DeclareMathAlphabet{\CMcal}{OMS}{cmsy}{m}{n}
\SetMathAlphabet{\CMcal}{bold}{OMS}{cmsy}{b}{n}
\DeclareMathAlphabet{\CMbfcal}{OMS}{cmsy}{b}{n}
\setmainfont{TeX Gyre Pagella}
\...