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
1answer
776 views

Entering Unicode Character [closed]

Despite related questions and answers, I am still confused. In xelatex, how do I insert a unicode character like, http://unicode.scarfboy.com/?s=U%2bfdfb ? (In my workflow I need to insert the ...
0
votes
1answer
263 views

Print any utf-8 character to copy-paste from pdf

I have this code: \documentclass[varwidth,border=10pt]{standalone} \usepackage{graphicx} \newcommand{\MyBrand}{% \includegraphics[width=3em]{myBrand}% } \begin{document} I always use \MyBrand , ...
2
votes
1answer
141 views

Substitute missing fonts in ConTeXt

I am writing some notes using ConTeXt, with the Palatino font. The notes include verbatim Coq code containing Unicode characters. The problem is that some of these characters don't show up in the ...
3
votes
1answer
122 views

How are charcodes categorized in LaTeX3/expl3?

I don't understand the following part from this solution: \peek_charcode:NTF ^^f0 What does the '^^f0' mean? Where does it come from? I looked into interface3.pdf and couldn't find anything. The ...
22
votes
2answers
3k views

How to find this unicode character U+202F in your LaTeX documents?

I get the following error but I cannot locate the unicode character Package inputenc Error: Unicode char   (U+202F) TeXLive: 2017 OS: Linux Debian Stretch 9.1
1
vote
1answer
448 views

Usable XeLaTeX file for every Editor/TeX front-end program

The problem: Some times we have to prepare a LaTeX project on our linux and to give it to another person to run it on Windows or mac. We don't really know what TeX front-end program will the other ...
0
votes
0answers
201 views

How to sort umlauts in bibliography correctly

I have a bibliography problem in Lyx or more generally in Latex, the sorting of names having "umlauts", i.e. especially Å, Ä and Ö is wrong, so e.g. "Gödel" should come after "Gzdel". I need sorting ...
2
votes
1answer
123 views

`lstlisting` confused by `ucharclasses` (monospace code and unicode emojis) with xelatex

I need to have Unicode emojis in text dealing with code and Unicode. When I include the ucharclasses and the correct incantation, I can get the Unicode emojis, but any monospaced text appears to ...
1
vote
1answer
465 views

Insert an emoticon using xelatex

I would like to insert an emoticon (Unicode 10. code point 1F600) into my document. Mine just shows a tofu box. Here is my failing example: \documentclass[9pt]{memoir} \usepackage[Latin,Greek,...
3
votes
2answers
191 views

How do I get datatool to play nicely with utf8 inputenc and non-ASCII in the incoming CSV?

If I try to compile the following LaTeX file: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{datatool} \begin{document} \tableofcontents \appendix \section{Bill of Materials} \...
2
votes
0answers
444 views

Unicode characters with XeLaTeX without changing the font

I need to write a document using a given template (with specific fonts and font sizes for title, headers, body etc.). The document is in English, but I need to type some Unicode characters (for ...
0
votes
1answer
3k views

Package inputenc Error: Unicode char \u8:ónpr not set up for use with LaTeX

I recently changed from texmaker to texstudio and i'm facing this ugly problem that doesn't leave to split my text into several files. Here's my main file: \documentclass{article} \usepackage[...
1
vote
1answer
68 views

Compatibility issues between `[utf8]{inputenc}` and certain macros of `tkz-base`

\usepackage{tkz-base} after \usetikzlibrary{babel} overcomes compatibility problems between tkz-base and babel, but if [utf8]{inputenc} is used tikzpicture 1. compiles OK, while tikzpicture 2., unless ...
2
votes
1answer
3k views

How can I use unicode symbols in TeX source?

I've tried using \usepackage[utf8]{inputenc}, but that throws an error: Package inputenc Error: Unicode char µ (U+B5) (inputenc) not set up for use with LaTeX. Whatever I do, unicode ...
2
votes
1answer
313 views

Bounding box and umlaut issue in text decoration

In the above TikZ picture, how can I extend the bounding box to include the text decoration without manual tinkering (the only solution I was able to find is fiddle with the border or margin class ...
1
vote
1answer
67 views

Dynamically generated .tex file with unpredictable UTF-8 strings

I'm developing an application that uses pdflatex with a dynamically generated .tex file to output pdf reports. In this .tex file, I'm embedding UTF-8 strings from a database, which can contain ...
0
votes
2answers
589 views

Package inputenc Error: Unicode char èse (U+E0)

I'm writing a report on Latex and when I build my file, I got 1 error and I have no idea what the problem is. Here the package that I load at the beginning of the document and all my files are save ...
0
votes
1answer
235 views

Bibtex and abbreviation of author names with non-latin first letter

The following code produces wrong bibliography: \documentclass[final,5p,times,twocolumn, sort&compress]{elsarticle} \journal{FGCS} \usepackage[utf8]{inputenc} \usepackage[british]{babel} \begin{...
1
vote
1answer
128 views

Either batch transcode (character sets) a whole list of image filenames … or use a character encoding conversion function within the main Tex file?

I am very excited about this code by User @egreg which I will be using to display images of the stroke order of a Chinese character whenever you hover over a certain character. I changed the code a ...
2
votes
1answer
131 views

tex4ht and theorem style in bold face and small caps

I am attempting to create a custom theorem style where the header is simultaneously in bold face and in small caps. (I know that "double emphasis" is something to be avoided.) This, however, produces ...
2
votes
1answer
279 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
302 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
569 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-...
6
votes
1answer
389 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
344 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
121 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
3k 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
346 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
94 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
112 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
79 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
133 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
232 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
383 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
60 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
427 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
10k 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
205 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
130 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
730 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
577 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
140 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
480 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
630 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
917 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
96 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[...