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,483
questions
1
vote
1
answer
24
views
the czech letters are not correctly displayed at pdf level of generation
Can someone kindly help me to understand why most of the czech letters like "čšě" are not correctly displayed
after the generation of pdf ? E.g. "č" is simply omitted at the pdf ...
9
votes
1
answer
213
views
How do I input box-drawing characters?
I'm writing something where I want to show lsblk output, such as
NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINTS
sda 8:0 0 1.2T 0 disk
├─sda1 8:1 0 5G 0 part
└─sda2 ...
3
votes
2
answers
125
views
How may a Unicode Block font be invoked locally, e.g. by adjusting the following Unicode preamble?
\documentclass{article}
\usepackage{amsmath,amsthm}
\usepackage{unicode-math}
\DeclareMathAlphabet{\CMcal}{OMS}{cmsy}{m}{n}
\SetMathAlphabet{\CMcal}{bold}{OMS}{cmsy}{b}{n}
\DeclareMathAlphabet{\...
4
votes
2
answers
431
views
How to insert � (U+FFFD) without getting the error "String contains an invalid utf-8 sequence."
I would like to insert the replacement character (�), unfortunately I get an error that this char is invalid. Indeed, this is the replacement character...
But what if I would like to insert it without ...
0
votes
1
answer
55
views
How to render special unicode chars?
I have converted a large web document into a LaTeX. The document builds successfully, but there are numerous Unicode characters that are not supported by the LaTeX fonts.
I build by document with:
...
0
votes
0
answers
20
views
How high and low surrogates and type it out with the command on latex?
Because I can’t type characters above U+10000 using Overleaf. If I type them directly, they will turn into question marks. If you know, can you teach me?
4
votes
1
answer
70
views
Hyperref doesn't work with filename including Chinese characters
I want to insert a hyperlink to a local file, but the name of the file includes Chinese characters and \href could not identify it. For example, if I try the following:
\documentclass{article}
\...
0
votes
0
answers
57
views
Compiling multi-script unicode LaTeX documents
I'm trying to write a latex document that supports arbitrary utf-8 encoded scripts. This is turning out to be surprisingly difficult. A key point is that I want to get this working without specifying ...
2
votes
0
answers
93
views
Latex text reversing with Babel package
I am using the babel package, which causes text-reversal when combined with amsmath.
The exact list of packages I use is:
\usepackage[utf8x]{inputenc}
\usepackage[hebrew,english]{babel} % Workaround ...
3
votes
1
answer
318
views
XeLaTeX+polyglossia+french+biblatex complain about missing character (U+200B)
Note to inattentive users: please stop asking if Unicode char {U+200B} answers my question.
When using biblatex with XeLaTeX and polyglossia-french, I get the following error which seems to come from ...
4
votes
1
answer
228
views
Unicode character └ (U+2514) not set up with LaTeX (when using) pandoc with markdown text file
I am trying to compile in a pdf the following markdown file (ex.md):
Some text
```text
folder1/
└── folder2/
├── folder3/
│ ├── file1
│ └── file2
└── folder4/
├── file3
...
0
votes
0
answers
24
views
Use babel language selector in biblatex/biber URL
In an English document with occasional Thai words, I've been able to use babel's Thai language selector to good effect, including in citations, but not in URL citations (which are unicode-encoded ...
0
votes
0
answers
35
views
LaTeX Error when arxiv processing my article [duplicate]
I have a paper to be uploaded on Arxiv, but the following error occurs while processing the files:
LaTeX Error: Unicode character \xe2\x80\x89 (U+2009)
not set up for use with LaTeX.
I tried these ...
0
votes
0
answers
34
views
Does wasysym supports Unicode characters?
Just want to know that whether the wasysym.sty supports Unicode characters? I'm using XeLaTeX in Win10 system, please advise.
Also, if possible, kindly advise the advantage and disadvantage using ...
1
vote
0
answers
29
views
how to use characters like ℝ in lyx listings package (in 2024)
I know there have been historic challenges with unicode characters in program listings (listings package).
Many of questions on this site are from about 10 years ago.
My question is - is it now ...
11
votes
3
answers
463
views
Circled numbers ❶, ❷, etc. as bullets and in paragraphs
I'm trying to use circled numbers (❶, ❷, etc.) as bullets and generally in text.
I'm using XeLaTeX from Pandoc, but I'm not afraid of some inline TeX expressions or editing the template that Pandoc ...
1
vote
2
answers
88
views
How to include arabic Unicode Point in Overleaf
So I am fairly new to overleaf and I am using it to write my master's thesis. How would I include the arabic phrase "BISMILLAH AR-RAHMAN AR-RAHEEM" in overleaf as part of my acknowledgements?...
3
votes
1
answer
103
views
Hide text from displaying using nonprintable unicode characters visible to ChatGPT
I don't know if this is possible so this question might be quickly closed. Related to the questions here, here, and here.
When text is hidden but selectable and searchable, once it is copy pasted the ...
1
vote
0
answers
54
views
How do I locate the problems when my TexStudio compile is showing row upon row of unicode problems? [closed]
I got up this morning to work on my PhD dissertation, to be faced with:, .The file looked fine when I went to bed. I can't locate the problem.
The start of the lines are:
I'm working in TexStudio. How ...
0
votes
0
answers
53
views
Changing the directionality of Private User Area characters in the bidi code
I'm building a Hebrew font with about 9,000 additional glyphs. I first wanted to keep them without Unicode assignment and call them through OpenType features, but sadly, their number exceeds Adobe's ...
1
vote
1
answer
47
views
undefined control sequence. \unicode{f80d} how to workaround it
This is Latex auto-generated by Mathematica. It fails to compile under lualatex in TL 2023.
Is there a workaround to make it compile or is this is a bug in the generated Latex.
First will show screen ...
1
vote
1
answer
55
views
pdftex: uncopyable math symbols, \pdfglyphtounicode doesn't help
With TeX Live 2021 and pdftex, this MWE renders correctly but I cannot copy the ≪ sign out of the PDF.
\pdfminorversion=7
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\...
-1
votes
1
answer
75
views
How to insert Unicodes in Overleaf, as in TexStudio?
In TexStudio I just click Edit => Insert Unicode Character to get 0x...., and after filling in with 03D8 to get 0x03D8, and compiling, I obtain archaic Greek Koppa. Similarly, 0x2289 gives me the ...
2
votes
2
answers
216
views
Vietnamese and Cantarell
I'm using Cantarell font to write an article in Vietnamese. However, if I use \usepackage[utf8]{vietnam} then the font was automatically changed into normal LaTeX font. The same thing happened when I ...
0
votes
0
answers
33
views
Is the package xunicode still needed with XeLaTeX? [duplicate]
I searched all over and could not find a proper answer for this. If my document only uses OpenType fonts (e.g., NewCM10-Book, NewCMMono10-Book, NewCMMath-Book and Roboto), with fontspec and unicode-...
2
votes
1
answer
168
views
LuaLaTeX bugged out with unicode in supplementary planes?
MWE:
\documentclass[margin=0pt, 12pt]{standalone}
\usepackage{fontspec}
\usepackage{unicode-math}
\setmonofont{FiraCodeNerdFontPropo}[
Extension = .ttf,
Path = ../../../fonts/FiraCodeNerdFont/,
...
0
votes
1
answer
149
views
! LaTeX Error: Invalid UTF-8 byte sequence (�ti) in arxiv
I have the following LaTeX, with errors like ! LaTeX Error: Invalid UTF-8 byte sequence (�ti). If I put \UseRawInputEncoding at the beginning of the document, it then compiles without errors locally, ...
4
votes
1
answer
317
views
Bolding IPA symbols with tipa
I am using the tipa package for IPA in my dissertation. I would like to bold certain symbols, and have tried, e.g.: \textbf{\textipa{\!d}}. However, they do not bold in Latex's default font (computer ...
0
votes
1
answer
61
views
How to write the characters in Unicode block "Miscellaneous Technical"
I want to include some special Unicode string to my overleaf report. In particular the Straightness ⏤ (U+23E4), Cylindricity ⌭ (U+232D), Symmetry ⌯ (U+232F), and Electrical Arrow ⌁ (U+2301). However, ...
3
votes
2
answers
972
views
The U+0126 problem
See, I wanted to type Ħ but I couldn't find any command so please can you find a command except Ħ as a Unicode character. I'm also using XeLaTeX, but the viewers aren't so please help me and those ...
0
votes
2
answers
175
views
invalid utf-8 sequence error from .bib file despite valid character in main document
I'm working on a paper main.tex with a separate Bibtex file references.bib. I compile with:
lualatex main
bibtex main
lualatex main
(Note that I must use bibtex because the journal style is not ...
2
votes
1
answer
206
views
Unicode character U+1E2B
Is there a plain TeX way to to to enter the unicode U+1E2B character? Some fonts have this character, for example Libertine, and some don't. (I am working with Minion Pro, and it does not have it.) Is ...
0
votes
0
answers
98
views
Alleged missing character in IBM Plex
I'm having an issue getting some special characters to work when using LuaLaTeX and the IBM Plex fonts. Here's a minimal example:
\documentclass{article}
\usepackage{plex-serif}
\usepackage{plex-sans}...
0
votes
2
answers
58
views
How to use "\textstrokecapitalt"
I am using Overleaf to create a report, and I have to use some Latin characters in the text.
For the word "SȾÁUTW̱", the unicodes are:
(U+023E) \textstrokecapitalt for "Ⱦ"
(U+00C1)...
0
votes
0
answers
38
views
`\futurelet` how to get the replacement macro for `\UTFviii@three@octets`?
I want to use \futurelet to test the following token. Towards this end I have a setup that looks like the following:
\makeatletter
\def\@ExpandSub{%
\typeout{Given Input: \meaning\@input}%
\...
1
vote
1
answer
267
views
Latex errors at special character
I have a special unicode character "𝌠" in LyX. When language is set to czech (as is the actual text) and encodung set to "standard for given language" and "standard" ...
2
votes
0
answers
81
views
Sort greek and latin letters in one symbol glossary
I am writing my PhD thesis and create a list of symbols with glossaries and xindy. Here, latin and greek letters are used. The problem is the correct sorting with xindy. If I use english for sorting, ...
0
votes
0
answers
59
views
glyphtounicode incompatible fonts with TeX Live 2021 and later: What does = do in \pdfmapline? What difference does subsetting make?
The following MNWE fails with TeX Live 2021 onwards.
\documentclass{article}
\usepackage{dictsym}
\begin{document}
\dsbiological
\end{document}
Compilation ends with
<</usr/local/texlive/2023/...
4
votes
1
answer
189
views
Command to remove diacritics
I would like a command that removes diacritics. I can write such a function in Python:
import unicodedata
def dediacritic(word):
result = u"".join([unicodedata.normalize("NFD",...
1
vote
0
answers
106
views
XeLaTeX + fontspec + StylisticSet changes underlying Unicode characters in the text
I have recently played a bit with OpenType features in some fonts for Insular variants of certain characters – and when I make a document containing characters like s, t, g and set the appropriate ...
1
vote
1
answer
58
views
Vietnamese alphabetical sorting with glossaries-extra
I've got a problem with sorting glossary entries in my paper as follows: đ is supposed to come before p, but glossaries-extra doesn't recognize that.
Here is my MWE:
\documentclass[12pt, a4paper, ...
3
votes
1
answer
122
views
LaTeX displays (replaces? shows?) combining comma above right (U+315) as a backtick/grave accent (U+0060)
I am using Overleaf to write a grammar of Lushootseed (a native language) and I need to use the symbol ƛ̕, which is composed of ƛ and ̕ (a combining diacritic). I've been able to get other characters ...
3
votes
2
answers
129
views
Double hyphen in Taiwanese language carries grammatical function
In the Taiwanese language, double hyphen carries grammatical function and is used frequently. Example:
Āu--ji̍t chiah koh lâi. (Come again the day after tomorrow.)
Āu-ji̍t chiah koh lâi. (Come again ...
2
votes
2
answers
237
views
Upsilon with hook symbol
I'm looking for symbol which looks like this:
https://graphemica.com/%CF%92
I also found ϒ in UTF, but I'm not able to compile file and I don't find \Upupsilon satisfying. Thanks in advance.
3
votes
2
answers
212
views
A simple UTF-8 adaption partially works in Knuth's TeX and do nothing in LuaTeX
Once more time I am (frustratingly losing time: true joke!) trying to use better TeX primitives. The next snippet doesn't work as expected in Knuth's Tex. The lower case version simply swallow the ...
0
votes
0
answers
15
views
Identifying location on unicode error [duplicate]
I am knitting my document using bookdown in rmarkdown. I'm getting this error
LaTeX Error: Unicode character ; (U+037E)
I've tried searching the .tex file but not found where this is in my document....
2
votes
3
answers
459
views
Make LaTeX directly recognize unicode symbol [duplicate]
I want to write the document in English, and copy-paste some text from online sources, where unicode symbols are usually used, for example:
$\frac{dω(τ)}{dτ}$
The letter tau is compilable in many ...
1
vote
0
answers
91
views
Automatically converting XeLaTeX document to work with pdflatex
I've got a Literate Agda document, which contains a large number of unicode characters. It builds nicely with XeLaTeX and life is good.
The problem is that arxiv only supports pdflatex, and I'd like ...
0
votes
1
answer
91
views
How can I arrange it so that I can use Greek characters directly in my LaTeX sources?
Support for non-ASCII characters has come a long way since the 1980s, and today we are accustomed, as users of computing devices, to be able to insert arbitrary Unicode characters via differing ...
2
votes
2
answers
287
views
Use unicode text in tex document
I try below sample but can not pass compile:
\documentclass{article}
\begin{document}
├── version.txt
└── visible_windows.zip
\end{document}
Error:
! Missing $ inserted.
<inserted text>
...