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
0
votes
0answers
30 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 ...
0
votes
0answers
30 views

Making the unicode combining dot work in mathmode

I'd like to be able to use the Unicode combining dot in math mode; however, it doesn't seem to render correctly. For an input to mathmode ṙ, I would expect a rendered \dot r, but instead I just get ...
1
vote
0answers
44 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 ...
1
vote
1answer
43 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
0answers
40 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.
3
votes
2answers
69 views

How can I typeset CJK strokes in LaTex file?

I am writing a thesis on Chinese handwriting. I need to typeset some special characters(㇀ ㇁ ㇂ ㇃ ㇄ ㇅ ㇆ ㇇ ㇈ ㇉ ㇊ ㇋ ㇌ ㇍ ㇎ ㇏ etc. ) (they are CJK strokes) I want to use ...
1
vote
0answers
53 views

How to display UNICODE fraction characters in verbatim?

I have the following snippet in my document, but the ⅔ is not displaying: \begin{verbatim} This is not displayed: ⅔ \end{verbatim} The rendered version looks like this: Is there any document ...
0
votes
0answers
28 views

PdfLatex Xelatex Ascii

I have extracted the following code from the awesome-cv cls: \documentclass{article} \usepackage{xcolor} \def\sectionstyle#1#2#3{% \textcolor{red}{#1#2#3}% } \begin{document} \sectionstyle ...
1
vote
1answer
48 views

how the set glyph names in virtual fonts

I have created a virtual font which contains some non-standard characters (made up of superimposed characters from other fonts). I would like to use the pdftex command \pdfglyphtounicode to make ...
0
votes
0answers
33 views

Easiest way to write the single char よ in math mode [duplicate]

I'm looking forward to use よ (Hiragana Letter Yo) in math mode, to denote the Yoneda embedding.. Is there a way to typeset just this char, without importing a whole Japanese font?
0
votes
0answers
29 views

Input Encoding error: Unicode not setup with Latex [duplicate]

I have a problem with the encoding of my .bib file. It is most definitely related to this question, however the proposed solution does not work for me and the error message (see below) is slightly ...
2
votes
2answers
64 views

Add historic cyrillic letters as Unicode to latex in Overleaf

I have tried to add the unicode symbol for the russian "yat" symbol in my document and used this website to find out it's unicode, yet I have trouble adding it to the code. \DeclareUnicodeCharacter{...
2
votes
1answer
126 views

Turkish dotless i appears as number

On CV class fortyseconds, when the document is compiled, there is a problem with the dotless i, that it appears as 5. I am compiling the document on Overleaf website, using Chrome. More clearly when ...
2
votes
2answers
48 views

PDF bookmark involving Unicode “combining accents”

I have some section/subsection titles with partial italicised text. With the hyperref and bookmark packages I get the required bookmarks, but the style for these partial italicised text disappears. ...
0
votes
0answers
50 views

xparse: inputenc error from unicode character in package description

I am developing a couple of LaTeX packages for my university. They should be easy to use and widely applicable. Of course, the packages provide many new macros which I define using xparse's interface ...
0
votes
4answers
103 views

Korean symbols in Latex

I'm writing an article in english but I should add some Korean symbols. E.g., 아스트로 in a sentence. Latex returns an error: package inputenc error: unicode character 아스트로 How can I fix this problems?...
0
votes
0answers
22 views

How to copy code chunk containing unicode character in verbatim environment? [duplicate]

In Julia programming language, one can type Unicode character such as If I want to copy paste a chunk of code in a tex file. What should I do? Here is an unsuccessfule attempt: \documentclass[...
6
votes
2answers
1k 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
0answers
67 views

XeTeX: Exclude characters from being rendered as italics in math mode (unicode-math)

So I'm relatively new to TeX in general and decided to go with XeTeX, mainly because I really like the approach to render the characters and symbols as actual Unicode-chars, so that you can expect ...
4
votes
0answers
56 views

Fontspec shifts some diacritics marks when LetterSpacing

The fontspec feature LetterSpacing does not give the same result with a letter typed in ASCII form (e.g. \^E ) that when it is typed in UTF-8 form (e.g. Ê). The log file of the joined ECM shows that ...
0
votes
1answer
26 views

Why does memoir class encode the contents of .idx file and how can it still be used to produce a properly sorted Russian index?

When using the answer I faced the following error message on the 2nd pass (with pdflatex): Undefined control sequence. \item \T It originates from the entry in the .ind file: \item \T2A\CYRD \T2A\...
3
votes
2answers
65 views

Unicode text in minted source-code listing fails on certain characters

I'm currently writing a small mathematical paper and have lots of unicode in my source-code - e.g.: function y( 𝐰::Vector{<:Number}, Φ::(T where T <: Function), 𝐱::Vector{<:...
0
votes
0answers
38 views

How can I typeset a lowercase circled r (Unicode character U+24E1)? [duplicate]

I would need to typeset in LaTeX the following symbol: ⓡ, which is described here: https://www.compart.com/en/unicode/U+24E1 This symbol can be of general use for referring to a randomized order of ...
1
vote
0answers
54 views

Fontspec package creates composite character that consists of a separate symbol and accent

I have simple code, which have strange behavior. When I compile this code by command lualatex test.tex or xelatex test.tex and look into the generated pdf file, the glyphs with accents are two symbols ...
0
votes
0answers
25 views

Turkish S's unicode packages

I am following this answer Latex in Turkish but I cannot seem to get my Turkish S's to appear. I have tried copying and pasting the letters/symbols as well as using \char" Any advice?
0
votes
0answers
62 views

Package inputenc Error: Unicode character ´ (U+00B4)(inputenc) not set up for use with LaTeX

I just started using LaTeX (with texstudio). I have never worked on LaTeX before. I faced this error and I don't know how to solve it. I tried to look at this website (tex.stackexchange). There are ...
0
votes
1answer
43 views

Box-drawing characters cause error - Package inputenc: Invalid UTF-8 byte sequence

I have a code snippet wrapped inside a listings: \documentclass{article} \usepackage{listings} \begin{document} \begin{lstlisting} printf("┏━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━┓\n"); printf("┣━━━━━━━╋━━━━...
0
votes
1answer
207 views

Package inputenc Error: Unicode char not set up for use with LaTeX

I am generating latex expressions with Unicode characters with code and they don't show up in the formula. I am using LaTeXiT to get equations with \usepackage[utf8]{inputenc} in the header and ...
0
votes
0answers
33 views

Changing font within verbatim to allow unicode character

I am using XeLaTeX with Ubunto Mono as the mono font. I would like to include a ␣ character, either directly as a unicode character or using \textvisiblespace. The character doesn't print, which I ...
1
vote
0answers
26 views

Special characters in formatted code [duplicate]

I want to show some nicely formatted source code, e.g.: er ist ein bisschen ein ötto geworden My document: \documentclass[a4paper,10pt,ngerman]{scrartcl} \usepackage{babel} \usepackage[T1]{fontenc} ...
5
votes
2answers
132 views

Define fallback font for missing glyphs in LuaLaTeX

I want to use "Hack" as the default font for source code. Unfortunately the font is missing some glyphs I use. If I use a glyphs that is missing in "Hack", I want it to be displayed automatically in ...
3
votes
0answers
39 views

Ipe - vektor drawing - i cannot write æ,ø,å, - danish symbols - need help with preamble

in Ipe (The Ipe extensible drawing editor) i am not able to write å or (æø). i am aware there is a preamble settup in EDIT-> Document properties. the problem is i set the preamble up to danish, as ...
0
votes
1answer
36 views

inputenc, Sanskrit/Pali, transliteration and utf8 4-byte encoding

For a Dharma playing card project I created a database (charset utf8mb4) that stores (among other things) Pali/Sanskrit terms and their transliteration. The goal is to have an easy web interface to ...
0
votes
0answers
70 views

Defined a character with \DeclareUnicodeCharacter - “Undefined control sequence” when I use it

I'm trying to define some unicode characters to add a halloween theme to my upcoming homework, but I'm getting "Undefined control sequence" when I try to use a character that I've declared. Here is ...
1
vote
0answers
38 views

How do I mix ö with \hl{} using [utf8x]{inputenc} [duplicate]

Say I'm writing about Schrödinger's cat. I would like to be able to put use soul's \hl{} function to make the cat yellow. This should work, but it doesn't: % Minimum working example of UTF-8 ö ...
2
votes
1answer
100 views

XeLaTeX: unicode characters not in PDF

This question is related to this one: XeLaTeX - special unicode characters I've got the same problem of missing unicode characters in my PDF when generated with XeLaTeX. I used the following example ...
4
votes
1answer
44 views

Inserting unicode symbol through glyph code in math

I realise many similar questions have been made but, after two weeks googling the net and searching on this site without results, I too must ask about this. I have a document, to compile in XeTeX, ...
2
votes
1answer
119 views

Inserting _any_ unicode character in Latex document

I am totally new to XeLaTex and LuaLaTex, but I have read that both allow to write LaTeX documents in UTF-8. That actually works for some unicode characters, but not for all. See the following ...
14
votes
1answer
370 views

Typesetting smileys in the input

I'm inputting a file into LaTeX (in verbatim mode) that contains a unicode smiley character, code 128512. I thought declaring \DeclareUnicodeCharacter{128512}{\smiley} would do the trick, but: ...
1
vote
0answers
65 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} א בְּרֵאשִׁית, בָּרָא אֱלֹהִים, אֵת הַשָּׁמַיִם, וְאֵת הָאָרֶץ....
2
votes
1answer
33 views

Using a Unicode Character in the Document [duplicate]

I would like to use star and crescent (U+262A) emoji in my document, even though I have read several articles in this environment, I couldnt realize how to do it. Please can anyone give me a hand? ...
0
votes
0answers
20 views

Empty box instead of hieroglyphic numeral

Why starting from line 70 the \hgnum yields an empty box rather than hieroglyphic numeral? Mypackage.sty is included below. \documentclass{article} \usepackage{amssymb,amsmath} \usepackage{tikz-...
2
votes
1answer
43 views

Wrong interpretation of - - in the enumerate enviroment

Why the following code right before --\hgnum{\theenumi}] doesn't yield dash but rather two -- For easy compilation mypackage.sty is included below the code. \documentclass{article} \...
0
votes
0answers
19 views

Babylonian numbers 1-9 in Unicode [duplicate]

Can someone explain this piece of Unicode to me at some detail? It is supposed to print the numbers 1-9 in Babylonian notation, but I do not follow the carrets ^ and the syntax ^^^^^^0133fa\or \...
0
votes
1answer
31 views

\newunicodechar fails for PRIME only

I'm using Beamer with the XeTeX backend and initially I got lots of warnings of the following form: [WARNING] Missing character: There is no ∙ in font [lmmono10-regular]:! So I went and added \...
0
votes
1answer
25 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
0answers
27 views

Item enviroment with \hgnum command [duplicate]

I need to complete this numbering item enviroment from roman arabic to \hgnum in this \begin{enumerate}[ label=\roman{enumi}--\arabic{enumi}--\!\!\!\!\!\babyloniannum{\value{enumi}}\!\!\!--\large\ngg\...
1
vote
1answer
45 views

Render unicode subscripts

Does anybody have any ideas how to get the following to render properly? \documentclass[a4paper,10pt]{article} \begin{document} \begin{verbatim} [Objective[|Ψ₀(2)⟩ to |Ψ₁(2)⟩ via [H₀[2,2], [H₁[2,2],...
3
votes
2answers
133 views

Hieroglyphs in Unicode-in a reasonably simple way

I need to extend the following sequence of roman,arabic,babyloniannum to hieroglyphs. The solution for LaTeX has been given elsewhere but is very cumbersome. Also, it doesn't do the grouping of ...
2
votes
2answers
109 views

Why can’t I get unicode characters?

I’m trying to typeset the unicode dice character in LaTeX. I’m using emacs, on Ubuntu 18.04. I’ve tried manually setting my TeX-engine to xelatex and lualatex, and I get the same thing. \usepackage{...

1 2 3 4 5 21