The Stack Overflow podcast is back! Listen to an interview with our new CEO.

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
9
votes
3answers
454 views

input tokens through the unicode position

With luatex I can inject tokens with a command through their unicode positions (see the following example). I'm wondering if this could be done with pdflatex too. It doesn't need to have all the ...
0
votes
2answers
50 views

Is it possible to get the unicode – to compile in verbatim mode?

I'm writing about common BibTeX errors. One example is using the unicode – in the pages field, such as: Pages = {790–799}, from this question: How to solve this bibliography error? I ...
1
vote
1answer
761 views

Convert LaTex accented characters to UTF8 equivalent with Python

I think this should be something standard, but I'm having hard finding anything that works. Given a plain string containing LaTeX accented characters, does anyone know of a python library which can ...
1
vote
0answers
210 views

how do I fix this error [closed]

in this section latex says that there is package inputenc:Unicode character×(U+7D). how should I fix this. this is the section of text where latex throws the error: humans have tried to help mother ...
2
votes
1answer
113 views

lost my smilies: it is worth the effort to make Unicode work?

I made some LyX Beamer slides with smiley faces and I found they do not survive the transition to utf-8. I've fiddled with this quite a bit. Right now, it appears that, at least for miscellaneous ...
2
votes
0answers
46 views

Turkish characters do not appear end of the word

I am preparing a latex document which should use Times New Roman font and should support Turkish characters. In the pre-toc part of document there are some kind of title pages and i had to use red, ...
2
votes
0answers
53 views

Accented characters in a hyperlink, and problems with opening a new window

With this MWE, I have different results depending on the pdfviewer on linux box : Evince dosen't find the link because of the é, but opens a new window on a non-accented link Okular finds the link ...
4
votes
1answer
836 views

Emoji in pdflatex?

Update: By adding \def\emojione{\scalerel*{\includegraphics{1F4D5.pdf}}{X}} in the preamble with the respective PDF file, I am able to use emoji in the body text. However, if I put \emojione{} in the ...
3
votes
2answers
298 views

LuaTeX won't end a line at Unicode emdash

I'm using LuaLaTeX instead of XeLaTeX for my book, mainly because it supports microtype's expansion feature, to produce the optimal word spacing and line breaking that will result in the most uniform ...
1
vote
1answer
277 views

How do I insert a japanese character with unicode?

I want to insert a handful of Japanese (katakana) characters in a latex document. I am using texlive and pdflatex. I know I can use a Japanese typesetting package, such as CJK, and do something like ...
2
votes
1answer
475 views

Hindi text does not show using Beamer

I am trying to write an example of using unicode font in Latex Beamer. The resulting pdf does not show the Hindi characters, rather shows blank spaces in that place. However, when I use the same code ...
22
votes
1answer
12k views

How do I enter an arbitrary Unicode code point into my document?

I want to enter a GREEK CAPITAL LETTER ALPHA (U+0391) into my LaTeX document. I do not want a LATIN CAPITAL A. How do I do this?
3
votes
2answers
791 views

Neo Euler won't display greek letters

I'm trying to use the Neo Euler math font in a document, compiled using XeLaTeX: \documentclass{scrartcl} \usepackage{amsmath} \usepackage{blindtext} \usepackage{unicode-math} \setmainfont{Palatino ...
4
votes
1answer
818 views

Alternative sum symbol for Neo Euler

I love the (unicode) Neo Euler font from Hermann Zapf & Khaled Hosny. The only caveat is the \sum symbol, which is in my opinion just ugly: I hear it also from other people, therefore I wonder if ...
1
vote
0answers
30 views

languages: Inability to display one chunk of Mandarin characters, XeLaTeX

I'm using a résumé template which I found online, but am having trouble displaying one short chunk (a company name) of Mandarin characters. I've tried using CJKutf8, as well as xeCJK, without success. ...
0
votes
1answer
172 views

Unicode character ſ (U+17F) in LyX 2.3

How to use the following character ſ (U+17F) in LyX? Setting the UTF8 encoding does not work: Package inputenc Error: Unicode character Ĺż (U+17F) The complete source code of the document is: \...
12
votes
1answer
720 views

How to produce unicode copyable alternative text? (with accsupp)

In the following example, I can't manage to make accsupp store the unicode alternative text. The resulting PDF looks as expected but the copyable text is not the correct one. I tried this with ...
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.
1
vote
1answer
170 views

How to use UTF8 in the Metropolis theme?

I want to make a presentation with Metropolis in the SharedLatex but I want to use utf8 so I can use the symbols from the PT-BR language. But when I try \usepackage[utf8]{inputenc} it changes the ...
1
vote
1answer
203 views

Using Biblatex with utf8x

I'm trying to write a thesis proposal which includes a sentence in Hebrew. I use the following: \documentclass[a4paper, 12pt]{article} \usepackage[top=1in, bottom=1in, left=1in, right=1in]{geometry} ...
0
votes
1answer
187 views

unicode with plain xetex [duplicate]

Related to this xelatex question. I get Missing character: There is no π in font cmr10!. So I set the unicode font to cmu (computer modern unicode) as advised by this question for xelatex \font\cmu=...
3
votes
1answer
120 views

How do I convert LaTeX containing arbitrary Unicode to XHTML?

I was reading this question(How to get Unicode characters into HTML output) and because his intent is simply to ouput the text to HTML, I was wondering if there is a command that simple does binary ...
14
votes
2answers
474 views

ſ (long s) and hyphenation

I'm using UTF-8 so it is – if one is using the right font – no problem to implement the different types of s in older German texts (s, ſ, ß). Unfortunately the hyphenation breaks because LaTeX does ...
0
votes
0answers
106 views

How LaTeX builds the large horizontal/vertical brackets

Wondering about how LaTeX implements the vertical and horizontal brackets [{(⟨. I saw these unicode characters which could potentially be used for vertical brackets: ⎡ ⎢ ⎣ ⎤ ⎥ ⎦ ⎧ ⎨ ⎩ ⎪ ⎫ ⎬ ⎭ But ...
9
votes
3answers
2k views

An extensive list of LaTeX symbols and Unicode equivalents?

The first two columns of the table here (partly reproduced below) is exactly what I'm looking for, but I'd like a more extensive list. I want the unicode symbols to be in unicode symbols, and not ...
2
votes
1answer
236 views

Remove particular characters from some string

Consider this code: \documentclass[12pt]{article} \usepackage{arabxetex} \usepackage{newunicodechar} \begin{document} \begin{arab} إِبرٰهۦمَِ \end{arab} \end{document} Output: The arabic ...
1
vote
0answers
169 views

using utf-8 characters in listing code snippets

I have some code snippets in which I'd like to use the characters ĉ,ĝ,ĥ,ĵ,ŝ,ŭ. However the listings package is unable to process them well, resulting in compilation errors or other oddities. my MWE ...
0
votes
0answers
62 views

Get line number for Missing Character

I do conversion of many documents from XML (Unicode) to XeLaTeX. I stumbled upon x≠5, in one document, for which my Software failed to translate the character to \neq (due to Unicode composite ...
0
votes
1answer
244 views

Defining a replacement of a unicode character in lualatex

In the past I asked a question about a replacement character for a unicode character (FFFD) in case of and xelatex (Defining a replacement of a unicode character), this works nicely. Now I need it for ...
1
vote
2answers
127 views

Cyrillic letters in command names with PDFLaTeX

I would like to know an efficient way to use Cyrillic characters in command names (macro names) with PDFLaTeX (XeLaTeX being unavailable). I discovered that I can define commands with Cyrillic ...
2
votes
1answer
132 views

Export BibLaTex format collection from Zotero to use in LyX

I'm trying to use a collection from Zotero in a LyX file as a reference database. I export the Zotero collection as a BibLaTeX format database with unicode encoding. I've also tried using unicode ...
0
votes
0answers
20 views

Error using º and ' in bibliography entry title [duplicate]

I have been trying for a while to incorporate a bibliographic entry (Escartin et. al 2010: Globally aligned photomosaic of the Lucky Strike hydrothermal vent field (Mid‐Atlantic Ridge, 37°18.5′N): ...
2
votes
1answer
72 views

Spurious characters in Lua string

I'm trying to generate a section title programatically from some constituent strings. The simplified MWE just concatenates them (the live system will do more complex processing) but I get a leading ...
14
votes
2answers
921 views

Is direct utf8 input of combining diacritics in math mode possible with lualatex?

I am trying to typeset a document with combining diacritics directly input in it. I use LuaLaTex. Here is a minimal example illustrating the original issue: \documentclass{minimal} \usepackage{...
0
votes
1answer
132 views

How to reanimate combination of mathtext (T2) with UTF-8 in pdflatex stopped working after recent updates? [closed]

A minimal example: \documentclass[a4paper,12pt,notitlepage]{article} \usepackage[warn]{mathtext} \usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[russian,english]{babel} \begin{...
4
votes
1answer
438 views

How to \input{} files with Unicode names?

I work in Linux with the latest TeX Live. The system encoding is UTF-8. It is also the default editor encoding in my TeXstudio 2.12.8. I have figures in files like σ_1_μ_02_per_5.tikz, and I included ...
1
vote
0answers
61 views

Disable sorting in texindy

I'm trying to establish a workflow for a LaTeX project and haven't figured out how to use makeidx or imakeidx packages to sort UTF-8 encoded index by languages not covered in the section supported ...
1
vote
1answer
77 views

TeXShop console (not log) contains entire LuaLaTeX file

I tried the example of "von" in the post Is direct utf8 input of combining diacritics in math mode possible with lualatex? regarding the use of a Lua script to allow TeX commands for combining ...
0
votes
0answers
68 views

Biber + classicthesis: Package inputenc Error: Unicode char ́ (U+301): How to find symbol [duplicate]

My problem develops as following. I delete the .bbl .bcf .blg files. I run pdflatex without errors. I run biber without errors. I run pdflatex again, and I get the error "Package inputenc Error: ...
13
votes
3answers
6k views

Why does XeTeX not display basic Unicode characters?

I have a document like this, but when I render it by invoking xelatex on it, the π character is displayed as a blank space: \documentclass[13pt,oneside]{scrbook} \usepackage{fontspec} % the problem ...
0
votes
1answer
4k views

lstinline has Invalid UTF-8 byte 167

Possible duplicate of this question MWE: \documentclass[% parskip=full,% empty line after each paragraph. twoside=false% not a 2-sided print for a book. ]{scrbook} % \usepackage[utf8]{inputenc} ...
8
votes
3answers
4k views

How to use Unicode characters with Sphinx rst documents and properly generate PDF files?

I discovered that if I use some Unicode characters inside .rst files, I will loose them when I convert the documentation to pdf using Sphinx. Example chars: "șț". When I run make latexpdf I get a ...
0
votes
1answer
320 views

Biber changing \u{\i} to some strange value

Biber changes ASCII-TeX accents into their respective Unicode characters and while this works wonderfully well for most letters and accents -- it is a problem for accents on the "dotless i". The ...
2
votes
3answers
550 views

Printing rare characters

I need to run LaTeX on a file that contains, for example, the following words: ḥarain [unicode 1E25] and Amaziɣ [a Berber word]. These paste OK into my .tex file as they do here, but when I run the ...
24
votes
2answers
1k views

Unicode in the equations: pros and cons

Is there any pros and cons for using of Unicode (and vice versa) in LaTeX equations? Consider two examples: \lim_{h→0}∫_{x_0}^{x_0 + h}\frac{f(t)}{h} = f(x_0) x_0 ⇔ ∀ 𝜀 > 0, ∃ 𝛿 > 0,(|x-x_0|...
0
votes
1answer
238 views

It's a bad practice to use unicode in math? [duplicate]

Recently, I discovered the unicode-math package that permits to insert unicode characters inside math environment. This permits, even in its basic configuration, to use all the greek letters and most ...
1
vote
1answer
118 views

Wrong order of references in bibliography with diacritical characters

I see incorrect order of references in the bibliography. I use UTF-8 (xelatex) and all names are inputet directly in UTF-8 in the literatura.bib file. Language of the work is English, but referenced ...
2
votes
1answer
261 views

Extract a substring from a Chinese string variable

Looks like the stringstrings package can do this: \substring{This is a string.}{1}{4} gives This, but it seems to be failed for non-ASCII characters: \substring{这是一个句子。}{1}{4} cannot give 这是一个. ...
0
votes
2answers
391 views

How to include utf8 symbols by number?

I would like to add utf8 symbol 8962 in pdflatex. So that My code will have \symbol{8962} My text will show ⌂ . I am using the compilation sequence pdflatex biber pdflatex pdflatex
6
votes
1answer
15k views

How to make slash (/) paste with correct Unicode codepoint depending on context?

Unicode offers different characters for the slash: U+002F (/) for the ordinary slash U+2215 (∕) for the mathematical division operator U+2044 (⁄) to designate vulgar fractions How can I have these ...