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
2
votes
1answer
265 views

UTF-8 in Tikz-UML class names

I have a problem using UTF-8 characters in the names of classes in TikZ-UML. This code works: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[english]{babel} \usepackage{tikz} \...
2
votes
2answers
273 views

make4ht, tikz and utf-8 encoding question

Consider the following simple latex file: \documentclass{article} \ifdefined\HCode\def\pgfsysdriver{pgfsys-tex4ht-alt.def}\fi \usepackage{tikz} \usepackage{filecontents} \begin{document} % see https:...
4
votes
1answer
531 views

Why isn't my biblatex document accepting UTF-8 in the bibliography?

After the questions: How to set the english option to abntex2cite bibliography package? What is the difference between bibtex and biblatex? I am trying to migrate to biblatex as it seems more up-to-...
5
votes
1answer
365 views

how to access unicode-encoded characters beyond the utf8 range, e.g., \symbol{"110367}?

Some OpenType fonts provide several of their most intriguing glyphs in slots that cannot be accessed in Unicode (which is limited to 0x10FFFF). An example: the EB Garamond font family provides glyphs ...
1
vote
0answers
1k views

How to change to unicode utf-8 in LyX

I have an error In LyX, the error is in Hebrew language, it says that I need to change the unicode to utf-8, how can I do that in LyX? Edit, this is the error:
2
votes
1answer
323 views

Using the PragmataPro font in ConTeXt

I am trying to use the beautiful PragmataPro font in a ConTeXt document. My font setup is the following. \definefontfamily [mainface] [serif] [Baskerville] \definefontfamily [mainface] [sans] [Open ...
0
votes
2answers
109 views

Can't copy certain characters (inverted commas) from pdf

I am using knitr to compile an rnw document containing both R and latex code, though it seems to also be a problem with the verbatim environment in general. The pdf looks fine, but when I try to copy ...
1
vote
0answers
2k 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.
3
votes
1answer
1k views

utf8x.def not found Mac [duplicate]

I'm trying to compile a latex file from coq on Mac and get the following error: File utf8x.def not found. Where can I find utf8x.def? Most of the other answers pertain to ubuntu and don't work on ...
1
vote
1answer
316 views

Why is CJK not supported by default?

It is possible to process Chinese, Japanese and Korean text using the xeCJK package or the xtexart document class, as shown in the Q&A “How does one type Chinese in LaTeX?”. But why are these ...
2
votes
2answers
88 views

How to properly insert Ɐ (2C6F) or any undefined unicode

using xelatex I tried this: \usepackage{graphicx} \newcommand{\Vol}{\rotatebox[origin=c]{180}{\ensuremath{A}}} \begin{document} \Vol \end{document} I know there is \forall but that's obviously not ...
2
votes
1answer
103 views

Change XeTeX Glyph Size

How would you increase the size of the following glyph? \documentclass{article} \usepackage{ifthen} \font\myfont = "Wingdings" \begin{document}% \raggedright \myfont\XeTeXglyph190 \end{document}
1
vote
2answers
74 views

Unicode Three-D top-lighted rightwards equilateral arrowhead Symbol XeLaTeX

How would you typeset the ⮚ character in XeLaTeX (Unicode character 11162)?
1
vote
0answers
121 views

What about \textthreequartersemdash in TU encoding?

Is there an equivalent of \textthreequartersemdash in TU encoding? As far as I know, \textthreequartersemdash is provided by textcomp package and TS1 encoding. In TS1 encoding, \...
2
votes
1answer
215 views

TeX file corrupted (wrongly coded/decoded) while compiling

I was compiling my .tex file using pdflatex on an external hard drive, while the compilation took very long (the HDD got super slow from then on), I pulled the drive out. Now, the .tex file seems to ...
2
votes
1answer
364 views

Minted: Is there a Unicode/non-ASCII character that works for escapeinside?

Documentation for fancyvrb and minted warn that users should not expect any character to work in a listing that would not work in verbatim. But they don't foreclose on the possibility, and the idea of ...
1
vote
0answers
55 views

× vs \times, or unicode characters vs commands in general: Which one is the better practice? [duplicate]

When I enter a multiplication sign, I can either use \times or use the unicode character × (U+00D7) directly. Which one should I use? How about less common things like ∞ (infinity, U+221E)? I really ...
2
votes
1answer
395 views

\usepackage{newunicodechar} loads but commands have no effect

Trying to use plaintext Unicode (UTF-8-encoded) symbols in a LaTeX source code. Made own definitions of the symbols in question, ASCII-only, just to prove the concept. \documentclass[12pt]{article} \...
3
votes
1answer
3k views

Undefined control sequence error at \DeclareUnicodeCharacter

I am trying to write a file using the document class file provided by the journal Semantics and Pragmatics at http://info.semprag.org/style. However, I can't even compile the example template they ...
2
votes
1answer
1k views

Unicode characters in lstlisting

I need to include code in the appendix of my thesis. The code contains comments and the compilation instantly breaks returning: Unicode char �\lst@FillFixed@ (U+5A8) (inputenc) not set ...
2
votes
2answers
8k views

solve “Unicode char is not set up for use with LaTeX” without special handling of every new interesting UTF-8 character [duplicate]

on topic of duplicate claims - I tested Tell Latex to ignore ALL unicode errors? - "solution" it resulted in LaTeX displaying "?" rather than ​"⌀". Thanks to people who provided high quality and very ...
2
votes
1answer
193 views

setmainfont in Latex and mix of scripts

I have a document with a mix of Latin and African (Tifinagh) scripts. \documentclass{book} \usepackage{fontspec} \setmainfont{Ebrima} \begin{document} ⵖⵉⴽⴽⴰⴷ ⵙ ⵎⵔⴰⵡ ⵉⵙⴳⴳⵯⴰⵙⵏ, ⵔⴰⴷ ⵢⵓⵜⵉ ⵍⵍⴱⴰⵙⵜⵉⴽ ...
0
votes
1answer
124 views

Problem with a damaged .tex file

Yesterday a failed USB extraction damaged an important .tex file for me, I attached the file in a Dropbox link. When I try to open the .tex in Texmaker a message suddenly appears that says something ...
5
votes
2answers
586 views

Capital Ezh (U+01B7)

What is the easiest way to obtain the capital version of tipa's letter \textyogh (which is apparently LATIN CAPITAL LETTER EZH U+01B7, Ʒ)?
4
votes
4answers
545 views

Full-width characters with latex

I'm actually writing some article about vaporwave and aesthetic for a school project. As I used to write all kind of report with latex, I wanted to write this with latex as well. In this article, I ...
3
votes
1answer
125 views

Punycode (unicode) in domain names is not converted properly

What is the proper way to generate punycode URIs using either \url or \href? MWE using lualatex: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[unicode=true]{hyperref} \begin{...
1
vote
1answer
447 views

Non-ASCII characters in TexPad desktop in XeLaTex

I am using Texpad 1.7.42 (Desktop, not cloud or iOS), to edit locally TeX documents produced originally in the cloud (on Overleaf). My documents contain many Unicode characters, and use XeLaTex with ...
1
vote
1answer
608 views

How can I use new unicode characters?

I know, there are lots of questions about Unicode and I've read a lot of these. But I wasn't able to solve my problem: I have to use the characters ↊ and ↋ (U+218A and U+218B) in my text. I tried ...
3
votes
1answer
817 views

Can't get unicode to work in \title (inputenc: Unicode char not set up for use with LaTeX)

I want to use bottom bracket ⎵ in a title: \documentclass[11pt,a4paper]{article} \usepackage[utf8]{inputenc} \usepackage{titling} \usepackage[lf]{venturis} \usepackage[T1]{fontenc} \title{Foo⎵Bar} ...
0
votes
3answers
91 views

Cyrillic text in ngerman document

I have a long German text that contains cryillic. Up until this point I had this and it worked fine, allowing me to write umlauts etc: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[...
1
vote
1answer
154 views

Length of sty file not displayed correctly

After building this code: % !TeX program = xelatex \documentclass{report} % or some other class \usepackage{algorithm2e} \begin{document} some text \end{document} I get the following warning ...
0
votes
2answers
5k views

! Package inputenc Error: Unicode char ​ (U+200B)?

\begin{description} \item[Public : ] Dans les clouds ​​publics, \item[Privé : ] Dans les clouds ​​privés, \end{description} I don't know why I got the error mentioned in the question knowing that ...
0
votes
1answer
190 views

Error caused by a non-ASCII character in the presence of inputenc + listings

Processing the following .tex file with LaTeX: \documentclass{amsart} \usepackage[utf8]{inputenc} \usepackage{listings} \begin{document} \begin{lstlisting}[float,caption=example] ë \end{lstlisting} ...
1
vote
0answers
317 views

Can't compile a PDF with UTF-8 in Sweave [duplicate]

I try to compile in Sweave (R Studio) a PDF which contains cyrillic characters. The PDF-file looks nice, and the cyrillic characters display correctly. But when I try to copy some text from the PDF to ...
13
votes
1answer
641 views

Sanitize U+301 infection and others in references

Too often I messed with bad formated BibTeX files from references databases that are infected with active characters as % or & (usually in the abstract, that is not printed but produce an error ...
6
votes
1answer
63 views

Looping over macro arguments with spaces and building partial commands

Please consider the following code: \documentclass{article} \usepackage{ruby} \newcommand{\strsymbol}{\large\bfseries∗} \newcommand{\unssymbol}{\large·} \newcommand{\str}[1]{\textbf{\ruby{#1}{\...
4
votes
0answers
202 views

How do I render (╯°□°)╯︵ ┻━┻ and other exotic Unicode? [duplicate]

I want to insert a flipping tables and some Emoji in a LaTeX document on ShareLaTeX. I did some research, and came up with the following. First of all, XeLaTeX needs to be used for best Unicode ...
3
votes
1answer
422 views

Computer Modern Unicode

I'm wondering whether there is way to get combined diacritics like oͮ, i.e. o + u+036E with the CMU font family (CMU Sans Serif}. It doesn't seem to work. Here's an example: \documentclass{article} \...
1
vote
1answer
2k views

List of Currency Symbols in Listings

I'm getting unicode errors when using currency symbols in a listing environment. I tried to add \usepackage{textcomp} but then I'm getting other (bibtex) errors. So maybe there is a cleaner option? \...
3
votes
1answer
300 views

How to support unicode characters in metapost?

I have a metapost file which I compile via mpost . This file contains special characters which cannot be displayed when I include the file in latex. I have required inputenc utf8 in latex. Does ...
6
votes
1answer
3k views

Unicode with PdfLaTeX

I would like to get Alchemy symbols working in PdfLaTeX. I do not have access to XeTeX or LuaTex as I am using Tex Writer on the iPad. Here are two minimal examples. The first one works. \...
1
vote
1answer
462 views

How to use non ASCII chars

How to compile a tex file with this kind of chars (note that they have the same width): ██╗███████╗█ I tried to find about non ASCII chars but no success (I found no related with this chars).
1
vote
0answers
273 views

Error in LyX when including ≥ symbol: Unicode char \u8:≥ not set up for use with LaTeX

I know many questions already relate to this problem in LaTeX. However, I'm using LyX classicthesis and included the character ≥ by Insert > special character > symbol, and got this error Unicode char ...
1
vote
1answer
117 views

How can I find out which letter the command {\char28} creates in my PDF?

I found a lot of answers to my questions in this forum but this time I have to create a new question. I wanted to use the letter ø in my document, and because there was no easy solution for this, ...
4
votes
1answer
329 views

Treat Macro Argument as Hex Number

I’m writing a macro to output Unicode codepoints in the U+1F642 🙂 SLIGHTLY SMILING FACE format. To do this, I need to print an argument as a hex number as well as pass it to \symbol. Minimal non-...
0
votes
1answer
194 views

Identifying French character in Winedt

I've encountered a problem with my LaTeX file, I asked to change my work from English to French language so this is what I've changed: \usepackage[latin1]{inputenc} to \usepackage[UTF-8]{inputenc}...
1
vote
1answer
353 views

How do i convert from LaTeX, to XeLaTeX for better Unicode listings [duplicate]

I have these as my LaTeX Code: \usepackage{geometry} % Packet für Seitenrandabständex und Einstellung für Seitenränder \usepackage[ngerman]{babel} % deutsche Silbentrennung \usepackage{booktabs} %...
1
vote
1answer
2k views

Correct diameter symbol needed without stix package (pdflatex)

I have drawn a custom diameter symbol in TikZ and now I need the correct unicode glyph (U+2300 ⌀) in my document (pdftex) to provide the right copy-paste text in the pdf. I've found that the \diameter ...
2
votes
1answer
441 views

Cannot copy and paste Korean text from a PDF file compiled with Latex

I have prepared a document in Korean language using Latex. The PDF file looks really good, but when ever I copied a text from that PDF file and paste it to another application such as note pad, it ...
0
votes
1answer
85 views

How to put a latin1 file inside utf8 file, using the input comand

I have a latex file that have been written using: \usepackage[utf8]{inputenc} In this file, there are few external files also written using this package. Now I need to put a external file that was ...