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}.

Filter by
Sorted by
Tagged with
3 votes
3 answers
1k views

How to insert Bengali text in IEEE conference paper?

I am writing a paper for an IEEE conference using IEEEtran.cls. The primary language of the paper is English but my work deals with Bengali language. I want to know how do I insert some Bengali words ...
2 votes
2 answers
76 views

Combining \newunicodechar with delimiter sizes \big, \left, \right, etc

\documentclass[11pt]{standalone} \usepackage[utf8]{inputenc} \usepackage{newunicodechar} \newunicodechar{‖}{\ensuremath{\|}} \begin{document} $$ ‖x‖ $$ $$ \big‖x\big‖ $$ % Error: Missing delimiter \...
2 votes
2 answers
60 views

Modifier letter capital H with the font Linux Libertine

I would like to be able to use the modifier letter capital H (Unicode code : U+ 1D34) in my thesis whose font is Linux Libertine. But it does not display well. I would like to have some help with that ...
3 votes
1 answer
8k views

Using ligatures as Unicode

I use TeX Live. See my example: \documentclass{article} \usepackage[utf8x]{inputenc} \usepackage[english]{babel} \begin{document} Check ligatures: first % here I have ligature for "fi" \end{document} ...
1 vote
2 answers
39 views

LaTeX Error: Unicode character

I've changed my OS (yesterday and I'm new to it) to Ubuntu 22.04, installed TeX Live and can't understand why it's not working with russian and ukrainian languages. I'm using Sublime Text as an editor ...
7 votes
3 answers
697 views

How can I show S-comma in LaTeX math mode?

I am writing my bachelor's thesis and it needs to be written in Romanian. While writing some math formula, I wanted to write "and". It translates to "și". As it turns out, my ...
278 votes
12 answers
273k views

Entering Unicode characters in LaTeX

How do I enter Unicode characters in LaTeX? What packages do I need to install and what escape sequence do I type to specify Unicode characters in an ASCII source file?
0 votes
1 answer
34 views

Problem compiling Arabic

When I write this code: \documentclass[a4paper,10pt]{article} \usepackage{arabtex} \usepackage{utf8} \setcode{utf8} \begin{document} Here is the word ``Arabic'' written in Arabic: \<...
1 vote
2 answers
80 views

After loading unicode-math, how do I remap one symbol (character) to another?

I specifically want "⦂" (U2982, Z NOTATION TYPE COLON) to appear as a colon with mathrel spacing (or better yet, the way amsmath redefines \colon) But redefining \typecolon with \...
6 votes
4 answers
689 views

What about "exotic" characters in xstring?

When I use the macro \StrLen on a string that contains one or more "exotic" characters, the value returned does not correspond to the actual number of characters in the string. I suspect ...
2 votes
1 answer
874 views

How can I use any Noto font with latex?

I have heard that XeTeX supports unicode, but in my futile attempts nothing comes about. \documentclass[12pt]{article} \begin{document} א בְּרֵאשִׁית, בָּרָא אֱלֹהִים, אֵת הַשָּׁמַיִם, וְאֵת הָאָרֶץ....
4 votes
0 answers
57 views

Spacing around "ê" is too compact

With the font Palatino Linotype, when typing the character ê, the spacing around it is quite compact (see the picture below). Does this mean that I have to change my font? (This font was distributed ...
1 vote
2 answers
68 views

Encoding error in LaTeX - all umlauts, etc. are correctly presented

Suffering with compilation using TeXMaker. I added an external .bib file to add to my thesis, and the resulting changes give me the following error upon compilation (PdFLaTeX + quick view): ! Package ...
0 votes
1 answer
32 views

Testing bookmark glyphs (testbmgl.tex) fails

After installing TeX Live 2022, I pdflatexed (twice) a local copy of https://github.com/latex3/hyperref/blob/main/test/testbmgl.tex. The resulting bookmarks are quite different to the one created by ...
0 votes
0 answers
26 views

Mixing main Myanmar unicode fonts with other English fonts and achieving consistency across title, headers, and ToC

I am trying XeLaTex to write a book on programming in Myanmar. So far the result is pretty satisfying. But I have a few concerns regarding mixing Myanmar fonts and English fonts in the following area. ...
1 vote
1 answer
52 views

Compilation Failure of Minimal Test Chinese Document with TeX Live 2022

I have a fresh installation of TeX Live 2022 and I am trying to write documents in Chinese. But the compilation failed on the following minimal test document: \documentclass{article} \usepackage[UTF8]{...
0 votes
0 answers
25 views

"Package inputenc Error: Unicode character ^^S (U+0013)" while citing an article

I am getting the error Package inputenc Error: Unicode character ^^S (U+0013) while citing an article in overleaf. The minimal code and the bibliography are provided underneath: \documentclass{revtex4-...
1 vote
2 answers
42 views

Textsymbol in mathmode

I need to be able to use unicode symbol #643 (or something very similar) in mathmode. It looks like a small integral sign and is contained as \textesh in the tipa package, but I can't use it in ...
0 votes
1 answer
89 views

Persian letters do not work

I'm trying to use Persian letters. How can I add a Persian word now ? I do not follow the doc here. \documentclass{article} \usepackage{xepersian} \settextfont{XB Niloofar} \begin{document} \begin{...
1 vote
1 answer
37 views

Package alltt does not typeset double quoting marks

For a report I would like to typeset HOL4 code in tt font with the alltt environment. My code includes U+201C Left Double Quotation Mark and U+201D Right Double Quotation Mark. The alltt environment ...
0 votes
2 answers
84 views

Unicode character ✰ (U+2730) not set up for use with LaTeX

I faced the error "Unicode character ✰ (U+2730) not set up for use with LaTeX." in my latex document. However, I didn't find the "shadowed star" in my code even though I didn't ...
1 vote
3 answers
120 views

UTF-8 issue with Soft Hyphen (U+00AD) in both LuaLaTeX and XeLaTex

I have a very simple test case that displays all of the Latin-1 printable characters (U+0021 - U+007e, U+00A1 - U+00ff). It works correctly for every UTF-8 character except U+00AD. It fails with both ...
3 votes
2 answers
205 views

How to use U+1F54A (DOVE OF PEACE) with pdfLaTeX?

How can I use U+1F54A DOVE OF PEACE in my document, especially with pdfLaTeX and not LuaLaTeX?
25 votes
8 answers
4k views

How can I access a specific glyph in LuaLaTeX/Fontspec?

The OTF version of Minion Pro contains several Dingbats glyphs I would like to access. Some of them are not unicode, so I can not just copy the specific unicode character I want to access into my text ...
5 votes
2 answers
399 views

Some Unicode characters successfully displayed, but some are not

I am trying to display some non-latin characters, such as ɩ LATIN SMALL LETTER IOTA (U+0269), ʋ LATIN SMALL LETTER V WITH HOOK (U+028B), and ɔ LATIN SMALL LETTER OPEN O (U+254). I tried almost every ...
1 vote
0 answers
30 views

Using TexStudio with unicode - incorrect cursor position

I find myself becoming a fan of using more and more unicode as it make source files way more readable. In my favourite editor TexStudio I am facing a slight annoyance: some unicode characters are ...
1 vote
1 answer
413 views

Problems with unicode text in TexText extension for Inkscape

I'm trying to embed unicode text inside LaTeX in Inkscape using the TexText extension. Latin text looks fine, but when I apply this preamble: \usepackage[russian]{babel} \usepackage[utf8]{inputenc} ...
1 vote
0 answers
48 views

How to create an alphabetical attachment list that supports unicode characters?

I would like to be able to create a list of attachments similar to the list of figures or tables. However, since it makes little sense to sort the attachments by page number, I would like to sort them ...
1 vote
1 answer
4k views

Conversion from UTF-8 byte sequence to wide character string did not succeed

MiKTeX (on windows) stopped working. It gives this message: "Conversion from UTF-8 byte sequence to wide character string did not succeed." launching the wizards.
0 votes
1 answer
29 views

Error use maketitle with Vietnamese

I have code: \documentclass{article} \usepackage{spconf,amsmath,graphicx} \usepackage[utf8]{vietnam} \title{BÁO CÁO TÌM HIỂU THÔNG SỐ TRONG DATASHEET CỦA DIODE} \name{Name} \address{\textbf{...
0 votes
1 answer
67 views

How to locate the line of "Invalid UTF-8 byte or sequence at line ..."?

In my report.log I have plenty of these messages: (/usr/share/texlive/texmf-dist/tex/generic/xstring/xstring.sty (/usr/share/texlive/texmf-dist/tex/generic/xstring/xstring.tex \integerpart=\count405 ...
5 votes
1 answer
137 views

Redefining IPA glyphs without tipa

I am preparing a paper containing a few IPA characters to submit to a journal and would like to find glyphs that match the font of the journal. The ones generated by tipa don't match: And from this ...
8 votes
3 answers
291 views

How can I assign a math code to a symbol from a non-math font?

I want to use phoenician letters (unicode range 0x10900 to 0x1091F) as variable names. (If your browser font supports them, these are the characters: 𐤂,𐤁,𐤀, and so on.) I am using LuaTeX with ...
0 votes
2 answers
55 views

Using Gentium Plus glyphs in XeLaTex

I am trying to type PUA characters (such as omicron with perispomeni) using the Gentium Plus font on macOS. I have tried setting Gentium Plus as the font for Greek using babel and fontspec but it ...
1 vote
3 answers
42 views

\newunicodechar only if undeclared?

I am using LuaLaTeX. Some of the source files I receive contain Unicode characters that are not universally supported. So far, so common: \documentclass{article} \usepackage{newunicodechar} \...
0 votes
0 answers
33 views

Mathematical Unicode characters in verbatim using XeLaTeX:

The alltt environment interprets backslashes literally, and my input text is full of them, so I use the verbatim environment for typesetting code. It goes fine but it does not typeset a universal ...
5 votes
2 answers
256 views

No U+2003 in Latin Modern Roman 12 Regular

I am using the OTF variant of the Latin Modern Fonts on my system (Linux Ubuntu) with XeLaTex. http://www.gust.org.pl/projects/e-foundry/latin-modern I cannot set an Em Space : https://www.compart.com/...
0 votes
1 answer
76 views

Non-ascii characters in label with cleveref in Overleaf

I'm collaboratively working in a LaTeX document in Overleaf and some team members use German umlauts (ä, ö, ü, Ä, Ö, Ü) in their labels. It works with \ref: \documentclass{scrartcl} \usepackage[utf8]{...
5 votes
2 answers
384 views

A collection of LaTeX commands with the corresponding symbols in unicode?

The best collection of LaTeX symbols which can be copy/pasted I have found so far in my search is here, very short. Is there a comprehensive list of LaTeX symbols in copy/pastable format, where I can ...
3 votes
1 answer
85 views

ConTeXt: Typeset emojis and regular text

Background Using LMTX to typeset an XML document that has been converted from Markdown. Users may type emojis directly into the document without using TeX macros. Problem The emojis don't appear when ...
2 votes
1 answer
112 views

Defining a fallback font for all missing characters

I need access to Emoji characters for a little package I am currently writing. Is there a way of having a fallback font in XeLaTeX for whenever a random character is not available in the standard font?...
0 votes
1 answer
38 views

Specific Unicode Symbols not appearing

Any suggestions why some Unicode symbols appear and not others? Specifically, I want to use the ue ligature (https://www.fileformat.info/info/unicode/char/1d6b/index.htm), but this does not appear but ...
0 votes
1 answer
41 views

Item enviroment with \hgnum command 2

There 2 packages from my last example: ideje.tex and mypackage.tex I need to complete this enumerate enviroment from arabic, roman to include hgnum begin{enumerate}[label=\roman{enumi}--\arabic{...
0 votes
0 answers
40 views

How to make LaTeX ignore specific unicode characters? [duplicate]

I want to write LaTeX where the main body of text is in Hebrew. The example here works fine. In fact, this is the only way I managed writing in Hebrew so far. If I want the source code to present ...
2 votes
1 answer
57 views

Swedish characters (åäö) in glossaries entries breaks because the file is not saved as utf-8

This error is driving me insane because I cannot find a fix for it. The package glossaries works fine, except when the entries have Swedish characters (åäö) in them. I have found the root cause, and ...
14 votes
2 answers
15k views

Unicode char {U+200B}

When I try to cite more than two authors, I got this: ! Package inputenc Error: Unicode char ​ (U+200B) (inputenc) not set up for use with LaTeX. \documentclass[a4paper,oneside,BCOR=...
0 votes
1 answer
149 views

Converting a Hebrew LyX file to PDF

I am trying to convert a mathematical hebrew file to PDF. I made this change below and the converting Ctrl+R succeeds, but if I write italics in the document the PDF does not read it as italics. What'...
0 votes
0 answers
33 views

Using combining accents as an automatic fallback?

I am using lots of diacritics (mostly accents and diareses/umlauts, the occasional cedilla or ogonek) in my documents. Almost all of them are supported fine: I enter them directly using Unicode and ...
2 votes
3 answers
466 views

How to input ⍻(not check mark) in latex?

I want to know how to input not check mark in LaTeX. Information of this symbol: https://www.compart.com/en/unicode/U+237B
1 vote
2 answers
167 views

Cyrillic letters ACM template

I'm trying to use Cyrillic letters in the ACM Official Master Template. To use Cyrillic letters it is necessary to use the T2A font encoding, so I set \usepackage[T1, T2A]{fontenc} because I use both, ...

1
2 3 4 5
26