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,461
questions
0
votes
0
answers
876
views
A question about Unicode character (U+0096)(inputenc)
I am using a LaTeX document which can be compiled without any problems. However, after copying some text into the document, I have got a large number of errors that say:
Package inputenc Error: ...
107
votes
4
answers
326k
views
"inputenc Error: Unicode char \u8" error while trying to write a degree symbol (invisible character)
No matter how I try to do it I always get the following error :
! Package inputenc Error: Unicode char \u8: not set up for use with LaTeX.
I have tried using $^{\circ}$, \deg, \textdegree, ...
2
votes
1
answer
75
views
Create a command to get the unicode hexadecimal number of its text / math input
Is it possible to create a command that accepts either text or math argument, then prints or typeouts its unicode hexadecimal number?
For example,
\documentclass{article}
\usepackage{fontspec}
\...
7
votes
2
answers
8k
views
Can't overwrite Unicode character definition
I want this Unicode symbol 〈, left-pointing angle bracket, to be interpreted as \langle.
On TeX Live on my Mac, I tried this:
\documentclass[11pt]{article}
\usepackage[utf8x]{inputenc}
\...
24
votes
5
answers
4k
views
Capital ẞ in LaTeX/XeTeX/lualatex/whatever
I am trying to get a ẞ in my LaTeX document. How can I do this? I already tried:
Using other fonts: dejavu and libertine
Using \MakeUppercase{ß}, which sometimes produces nothing, sometimes produces "...
1
vote
3
answers
494
views
Display ß in small caps [duplicate]
When I use ß in headings - which I want to be in small caps - it gets replaced by a double S. Is there a way to still have a ß there, which is also the same height as the other letters?
Just to ...
8
votes
1
answer
3k
views
LaTeX can't understand special characters in the bibliography
I apologise if I don't make sense but this is my first LaTeX document. Basically, I have been writing my thesis and included the bibliography today. I imported the bibliography using Mendeley as ...
2
votes
2
answers
320
views
Does unicode input slow down compilation?
I use a lot of unicode symbols, auto-inserted with a TeXStudio macro (e.g. "\alpha " --> "α"). This makes it easier for me to read my .tex file. These (~100) characters are declared in a .sty file ...
1
vote
0
answers
61
views
Rendering unicode theta (θ) in lstlisting [duplicate]
I am including some MATLAB code into my main document, using the listings package, which contains a unicode theta (θ). How can I render an actual unicode theta instead of using \theta. Here is a MWE:
...
11
votes
3
answers
5k
views
Package trackchanges: problem with UTF8
the package trackchanges doesn't seem to work with utf8 encoding. Did somebody encounter the same problem? Does anybody have a solution ?
Minimal example :
\documentclass[12pt]{article}
\...
1
vote
0
answers
95
views
Some characters have strange behaviour in listings with lualatex
The following MCE points out that some characters (for instance €, → or ←) have strange behavior (shifted on the left) in listings with lualatex (up to date TeX Live 2020). Do you know why?
\...
0
votes
0
answers
67
views
MikTeX: UTF8 errors for double hyphens between citation start and end page
In TexWorks (MikTek 2.9 - updated), I added some old chapters I wrote using LaTeX, and there are strange UTF8 errors where there are two hyphens between start page and end page.
Below is an example ...
0
votes
0
answers
164
views
How to call up characters of a font by their unicode number
I have a font here and I changed some letters with Fontforge.
I used the following code to call up the font.
What I should know:
How can I use the Unicode number instead of typing A or B or C, e.g. \...
0
votes
0
answers
82
views
Unicode issue in LateX [duplicate]
I want to enter unicode character U+F3D9 into a LaTeX document that encodes in UTF8.
I've tried \unicode{f3d9} and \symbol{F3D9} to no avail.
Thanks in advance for suggestions.
1
vote
1
answer
96
views
Not all UTF8 symbols work in lstlistings
I am on Linux and I have this document that I compile using xelatex main.tex:
\documentclass[12pt]{article}
\usepackage{color}
\usepackage{xcolor}
\definecolor{code_linenumbers_b}{RGB}{215,215,...
3
votes
2
answers
4k
views
Writing unicode characters in XeLaTeX using \char
I want to print some characters using the \char command. The Unicode is 2b45. I have already tried the code \char"2b45 but it prints some illegal character and b45. Variations with braces also don't ...
4
votes
2
answers
529
views
How to create multilingual (English, Japanese) html document with htlatex
Japanese html using htlatex [TexLive 2014 on Ubuntu 14.04]:
Using pdflatex/xelatex I can generated pdf document from the latex source but I have problem generating html document.
Note: I have ...
2
votes
1
answer
652
views
I am facing problem of U+FB00, U+FB02
I am using Texmaker for practicing, While practicing tex, I encountered 3 errors that are as follows:
! Package inputenc Error: Unicode character ff (U+FB00)(inputenc) not set up for use with LaTeX....
1
vote
0
answers
4k
views
Package inputenc Error: Invalid UTF-8 byte sequence using {lstlisting}
I have the next code error
codealcance.tex
58
Package inputenc Error: Invalid UTF-8 byte sequence.
See the inputenc package documentation for explanation.
Type H <return> for immediate help....
0
votes
0
answers
2k
views
Error: Unicode character (U+200B) [duplicate]
I'm getting this error
marcoteorico.tex
31
Package inputenc Error: Unicode character (U+200B)
(inputenc) not set up for use with LaTeX.
See the inputenc package documentation for ...
2
votes
1
answer
84
views
\tl_replace_all:Nnn breaking with certain unicode characters?
Certain sequences of Unicode characters, particularly involving Hebrew yud (י) seem to have strange behavior with \tl_replace_all:Nnn. In the following MWE for XeLaTeX, some of these sequences when ...
2
votes
0
answers
84
views
Interpretation of Devanagari characters in XeTeX
\documentclass{standalone}
\usepackage{fontspec,xstring}
\setmainfont[Script=Devanagari]{Shobhika}
\begin{document}
\StrChar{abcd}{1} % Returns a
\StrChar{क्ष}{1} % Returns क, but should ...
6
votes
1
answer
350
views
How do I stack accents in ancient Greek?
I want to type, in a XeLaTeX document, the following epigraph (https://epigraphy.packhum.org/text/145737?hs=50-58):
The problem is (for example) in the word inside the red rectangle, which is wrongly ...
7
votes
2
answers
2k
views
How do I convert a character to a numeric value?
Now that I've gotten Will Robertson's excellent unicode-math package working to change the colour and style of letters in my mathematics (trust me, there is a reason) thanks to his answer to my ...
4
votes
1
answer
981
views
UTF8-based plain TeX
Is there any option among all these LaTeX, XeTeX and so on, that processes input, which is formatted in just the same way, as for Knuth's TeX, but with UTF-8 encoding? I mean, I would like to take a ....
3
votes
1
answer
411
views
Umlaut in math font not supported automatically
I came across this umlauts in math mode question today. However I still do not understand the underlying mechanic why we need to use manual umlauts and do not have enough reputation to comment on the ...
0
votes
1
answer
275
views
Names in Bibliography with Cyrillic not displayed
I'm trying to include names of institutions written in Cyrillic in the bibliography list, with the following code:
main.tex
\documentclass{article}
\usepackage[T2A]{fontenc}
\usepackage[english,...
0
votes
0
answers
34
views
! Package inputenc Error: Unicode character ́ (U+301) [duplicate]
This error is related to my bibliography.
And even if I left de document of bibliography .bib blank it appears again and again.
I have checked it and I remove all the unicode character ́ (U+301), but ...
5
votes
1
answer
444
views
Unicode normalization and Hebrew in ConTeXt
I am typesetting a document in Hebrew that includes pointing (e.g., vowels, shin and sin dots, dagesh, etc.) using ConTeXt. The Hebrew text that I want to typeset has been normalized into Unicode's ...
0
votes
1
answer
153
views
Unable to insert some unicode characters in latex
I have to insert the following string in a my latex work: ˈtʃæptə(r)
I tried to switch from pdfLatex to LuaLatex and XeLatex but some characters are still not rendered. Any idea? Thanks
2
votes
2
answers
2k
views
Unicode characters in LaTeX
How do we display unicode characters in LaTex using the corresponding string?
I copied the following from an application:
I got this as the LaTex string:
\begin{equation}
\alpha \beta \unicode{...
0
votes
1
answer
234
views
glossaries: Setting unicode character as entry label
Why does the following compile with lualatex and fail with pdflatex when setting entry label to be Unicode character?
% arara: pdflatex: { options: [ '-synctex=1', '-shell-escape' ]}
% arara: ...
5
votes
2
answers
865
views
Automatic conversion from tex to unicode
I am increasingly working with XeLaTeX and stated using unicode characters instead of Latex command.
For instance, I use → instead of \to in my documents.
Now, I'd like my IDE to automatically ...
7
votes
2
answers
2k
views
How To Include a Reversed Angle Symbol (⦣) in LaTeX
I am creating a LaTeX document in Overleaf, and I need to include the reversed angle character, "⦣", as well as a few other symbols that LaTeX does not recognize.
Is there a way to include the ⦣ ...
0
votes
1
answer
248
views
How to use mmap in XeLaTeX?
I want to map math characters in my PDF output to Unicode characters. XeLaTeX already does this somewhat, but with very unsatisfactory results.
Just for comparison, consider the very simple example $\...
4
votes
2
answers
1k
views
Trouble with soul and utf8 [duplicate]
Here is a working example
\documentclass{book}
\usepackage[utf8]{inputenc}
\linewidth 150mm
\usepackage[spanish]{babel}
\usepackage{soul}
\sodef\secso{\scshape}{.125bp}{0.33em ...
2
votes
1
answer
338
views
Unicode characters misplaced within lstlistings environment
I am compiling with XeLaTex.
Within the lstlistings environment (provided by the listings package), special unicode characters appear to be misplaced.
This is a minimal demonstration. Code:
\...
1
vote
2
answers
374
views
problem table, multirow and UTF8 error
I am beginner with Latex (windows 10, Texmaker and Miktex) and I would like to reproduce this kind of table :
I thought that this question could help me : problem with Multirow. But when I tried to ...
0
votes
1
answer
1k
views
Package inputenc Error: Unicode character ِ (U+0650)
I used Overleaf for writing Latex document, but after compiling compete I got the following error
Package inputenc Error: Unicode character ِ (U+0650)
(inputenc) not set up for use ...
1
vote
2
answers
2k
views
How do you remove the Unicode character U+2B9 error?
Every time I try to compile and run my Latex document I get the following error:
! Package inputenc Error: Unicode character ʹ (U+2B9)(inputenc) not set up for use with LaTeX.See the inputenc package ...
0
votes
0
answers
68
views
Why the double quotes are not displaying correctly? [duplicate]
Double quotes in the following example are not displaying correctly. What I may be missing here and how can I make it look like "example"?
Environment: MikTeX on Windows 10.
\documentclass[11pt]{...
0
votes
2
answers
179
views
Why unicode symbols cannot be shown for XeTeX?
I have following example, which I would the unicode symbols to be shown automatically, how should I do? Please kindly help.
\documentclass{standalone}
\usepackage{xeCJK}
\begin{document}
你好! ⃝ ⃞
\...
3
votes
2
answers
744
views
Switch font for one character in xelatex
Currently working with a text that has a maltese cross character (U+2720) in a signature and my EBGaramond main font for this document does not provide the corresponding glyph. As expected I end up ...
2
votes
1
answer
1k
views
How to type hindi font with texmaker and miktex?
trying to type hindi font using Texmaker with Miktex. The hindi typing is done using hindi google input tools installed in the system. Please help in this regard.
\documentclass[12pt]{article}
\...
5
votes
2
answers
386
views
Alternative to detokenize working with special unicode characters
I have defined new command using \NewDocumentCommand which represents description of node in graph. This contains name (provided as argument), some text description (provided as argument) and links to ...
0
votes
0
answers
623
views
! Package inputenc Error: Unicode character (U+2003) [duplicate]
I am new to LaTeX. I am writing my thesis and it was working fine, until recently I got slide in LaTeX, to which I wanted to prepare. So long story short it wasn't able to open, so I was trying few ...
2
votes
0
answers
185
views
unicode-math: Understanding the application of external fonts to math text
For the following usage of Redacted-Font, I would like to understand
why I get an error when setting \setmathfont{redacted-script-regular.ttf} instead of another math font (e.g. \setmathfont{Cambria ...
7
votes
2
answers
2k
views
How do I make LaTeX understand Unicode characters ↔︎ and ↕︎
I understand that LaTeX has horrible Unicode support, and if I want Unicode I should be using XeTeX. And I have read Entering Unicode characters in LaTeX but it doesn't seem to do what I want.
What I ...
1
vote
1
answer
345
views
In a LaTeX document how can I map a unicode character to LaTeX code?
I must use PdfLaTeX to compile, so no XeLaTeX.
I have some unicode characters in the document. I want to somehow declare with a LaTeX command in the header that whenever PdfLaTeX meets a certain ...
0
votes
0
answers
861
views
! Help Package inputenc Error: Unicode character ´ (U+B4)
please help me.
when running my latex code, this error is appeared:
! Package inputenc Error: Unicode character ´ (U+B4)
(inputenc) not set up for use with LaTeX.