{unicode} is for questions about Unicode (an international standard for character encoding) and its implementations. For questions about input encodings use {input-encodings}.

learn more… | top users | synonyms (1)

2
votes
2answers
113 views

How to get Unicode characters into HTML output

I am trying to make a book in both print and ebook. To make the print book I generate a PDF with xelatex. I have reconstructed all the source files to be encoded in UTF-8 and the Cyrillic and ...
10
votes
1answer
450 views

How to be able to use ∞ in latex document?

I would like to use the unicode character ∞ in a LaTeX document. I use the default font. If this character is not defined in this font, I can replace it by $\infty$. How can I do that? I tried to ...
1
vote
0answers
26 views

Writing graphical characters (unicode U+2500 to U+25E7) [duplicate]

Hi I'm writing a report for a project. It's about a ship war game with an old school terminal interface and I'd like to write my grid like in my program to be able to copy-paste screens from my ...
6
votes
1answer
212 views

Proper typewriter font for math symbols (∀, ∃, →), e.g. in verbatim environment

I have a listing to be used in verbatim (acutally Verbatim) that uses unicode characters such as ∀, ∃, →, ∨. Using \DeclareUnicodeCharacter{2203}{\ensuremath\exists} they do appear in the listing, ...
1
vote
2answers
74 views

Incomplete generation of Greek letters with Unicode and XeLaTeX

If I try to copy and paste text from Wikipedia with Greek letters into my LaTeX files in the resulting PDF files only about 70% of the Greek letters are visible. I am using XeLaTeX. E.g., If I have ...
4
votes
1answer
164 views

Difficulties with Minted and UTF-8

I'm trying to typeset Python programs with LaTeX and the Minted package. I'm under Ubuntu 15.10, with TeXlive installed from Ubuntu standard repositories. The python-pygment package is at version ...
13
votes
2answers
786 views

How to input accents in PlainTeX with UTF-8 encoding?

I'm using TeX with the plain format. On my keyboard there is the 'è' character (as well as é, ò, à, ù, ì). I'd like to make it work so that, when put è in the input file, TeX transforms it into \`e, ...
2
votes
1answer
109 views

How to insert Bengali text in IEEE conference paper?

I am writing a paper for an IEEE conference using IEEEtran.cls. The primary language of the paper is English but my work deals with Bengali language. I want to know how do I insert some Bengali words ...
17
votes
4answers
2k views

Emoji Characters

I'm trying to display Emoji Characters inside my XeLaTeX Document. It seems to work for some glyphs like the numbers and pound sign but not for all. Here is a MWE: \documentclass{scrartcl} ...
5
votes
1answer
92 views

Connecting vertical box drawing characters

I've been working on some diagrams for a slide deck using beamer and minted (and buliding the PDF with Xelatex). When using the Unicode box-drawing characters, the vertical bars are not actually ...
3
votes
1answer
63 views

compile latex source into unicode string

I have a bunch of one-line LaTeX strings which I would like to compile into unicode strings (preferably using Python, but any solution will do). Specifically achieve in: '\"o{A}c' out: 'öAc' (I ...
12
votes
1answer
453 views

Is there any sans-serif font that fully supports unicode-math?

As stated in the question title, is there any sans-serif font that fully supports the unicode-math package? Alternatively, is there a list that shows the different levels of support for (preferably ...
2
votes
1answer
45 views

cyrillic letters in mathmode using pdfx

I want to convert a latex document into a pdf/a document. The latex document contains cyrillic letters as in the following example and compiles well without using the package {pdfx}. \documentclass ...
5
votes
1answer
81 views

Accumulative subscript/superscripts?

With the objective of writing a textual aliasing package that would make it possible to write input that better approximates the output, I encountered the following problem: create a control sequence, ...
8
votes
1answer
124 views

How are non-unicode glyphs referenced in LuaTeX .dvi files?

Dvi files reference glyphs by their unicode number. However, a document often contain some unencoded glyphs, such as large math symbols. By inspecting dvi files containing such glyphs, I conclude that ...
6
votes
2answers
476 views

WriteLatex utf-8 ģ symbol problem

I need to use ģ symbol in my presentation. This symbol has 0123 utf-8 code. But when I am typing it in writeLatex it compiles with error: Package ucs Error: Unknown Unicode character 291 = U+0123, ...
13
votes
1answer
1k views

utf8 inputenc vs. babel

I'm using TeXLive 2014 on FreeBSD. Every LaTeX-files produce the following warning: LaTeX Warning: Please use \usepackage[latin2]{inputenc} with \usepackage[magyar]{babel}. "Magyar" is ...
23
votes
1answer
167 views

Why is the fraction off the math axis in XeTeX?

The fraction in textstyle is off the math axis in XeTeX when I use a Unicode math font. In LuaTeX, though, it aligns nicely with the math axis. The follwing MWE should illustrate this. Also, in ...
2
votes
1answer
98 views

Print box drawing characters with pdfLaTeX

I need to print some unicode characters (of box drawing family) in my document. I found this question that is very similar to mine but is valid only for XeLaTeX. There is a valid way to do this with ...
0
votes
1answer
47 views

How to enable unicode within comment section? (package “comment”) [duplicate]

In following MWE, letters with an accent that are within the personalized comment environment are generating following errors while compiling with pdflatex: ! Package inputenc Error: Unicode char ...
7
votes
1answer
418 views

How to get Unicode characters U+2713 and U+2717 to display in pdfLaTeX?

My document has \usepackage[utf8]{inputenc} in its preamble. I am trying to use the characters U+2713 (check mark) and U+2717 (ballot X), but I get the error: ! Package inputenc Error: Unicode char ...
33
votes
5answers
6k views

Typeset the shrug ¯\_(ツ)_/¯ emoji

I'm completing a problem set, one problem for which I literally have no idea what to do on. The graders would prefer to have a physical copy of the problem so I thought it best to include the ...
2
votes
1answer
68 views

« and » characters not correctly displayed

The usual way to type the « and » characters in LaTeX is to use the commands "<, for «, and ">, for », while using the babel package with the italian option, and the inputenc package with the ...
1
vote
1answer
52 views

Unicode character in listings

I need to insert character "└" in lstlisting and compile it with pdflatex. Other unsupported characters like "ě" I am handling via literate option in \lstset{}. Is there any way how to insert it? ...
2
votes
1answer
81 views

Unicode greek letter or new greek letter

I need chi letter as the one to the right: My issue is that when I either use $\chi$ or \textgreek{q} I don't get what I wish to. I would also be happy with U+03C7 unicode character, but I don't ...
9
votes
5answers
4k views

No simple UTF8 support in latex?

The following should look good in your browser, AND compile in Latex looking beautiful right? \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} UTF-8 test: \begin{verbatim} logic: ...
2
votes
1answer
112 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 ...
0
votes
0answers
27 views

Khmer Unicode Enumeration

I saw two posts related to my question. And I tried to merge the two but my limited understanding of Latex does not allow me to do so... I want to use first level enumeration like 1. 2. 3. , which ...
3
votes
1answer
104 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 ...
0
votes
3answers
59 views

how to insert any utf-8 char in lstlisting? especially '⮀', a character without LaTeX equivalent

I need to insert a text with ⮀character (u+2b80), in a document. Is there any way? I've tried: \literate {⮀}{{???}}1 but can't find what to write instead of ???. Any suggestions?
1
vote
1answer
99 views

What UNICODE characters should I use to write LaTeX?

Assume I write something about LaTeX in email. I use UTF-8 so I can use any UNICODE character I want. Which characters should I technically use for name "LaTeX"? I believe that LaTeX originally did ...
2
votes
1answer
96 views

Problem with utf8 adding color headers with fancyhdr

I'm making a book of poems and I'd like to add some specif style to the pages. So I use fancyhdr And everything goes right until I add \usepackage[utf8]{inputenc} This is the code I use ...
2
votes
0answers
95 views

What hyperref options should be used for correct Unicode output?

I am trying to work out which hyperref options allow all Unicode characters to display properly, and whether XeLaTeX, LuaLaTeX, and pdfLaTeX have different configuration requirements. The hyperref ...
3
votes
0answers
35 views

Unrecognized special character with comment package [duplicate]

Why are the character with accent not recognized ? \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[french]{babel} \usepackage{comment} ...
2
votes
1answer
92 views

How can i type hindi matras only in Latex?

I am dealing with suffix of the hindi words. so i want something like this ाऊंगी in hindi to be printed. For uni character of hindi language is here. I have tried this code: ...
3
votes
1answer
44 views

How to get correct htlatex output with lithuanian letters?

My example \documentclass{article} \usepackage[T1,L7x]{fontenc} \usepackage[utf8x]{inputenc} \begin{document} ąčęėįšųūĄČĘĖĮŠŲŪžŽ \[ \alpha + \beta = \gamma \] \end{document} produces incorect ...
19
votes
5answers
11k views

How to print a warning sign (triangle with exclamation point)?

I am interested in including a triangle with an exclamation point (unicode #9888: ⚠) in a tex document. I've looked in the usual places (detexify, etc.) and not found this symbol. The document should ...
1
vote
0answers
58 views

EINVAL Error in Lyx

When I am typing text in the Lyx main editor window the following message keeps appearing in the Progress/Debug Message pane: Error returned from iconv_open EINVAL The conversion from UCS-4LE to UTF8 ...
12
votes
1answer
360 views

Encoding of non-ASCII characters (Umlauts) in \jobname

I need to parse \jobname to extract some metadata (such as the subject of a letter) that is encoded in the filename of the .tex file. The filenames are not restricted to ASCII, but maybe any UTF8 ...
2
votes
0answers
62 views

Small-caps special character “ḫ”

I have been trying for some time to get the symbol "ḫ" to play nice with XeLaTeX. However, I'm now having trouble using it inside of a chapter title using the book class. Here's an MWE: ...
3
votes
2answers
247 views

UTF-8 characters in math mode

I'm new to this forum and to LaTeX. It's the first time I use use it and I really like it. I have a problem with it, though, I have looked for solution on this forum but I haven't found anything (or I ...
2
votes
1answer
110 views

Using a specified font in textgreek

I am trying to use Computer Modern Bright in greek text. The otf version of the font has specific upright characters for greek that can be used in other applications, so I am assuming the afm/pfb ...
4
votes
1answer
72 views

Is it expected that Biber converts escape sequences into non-processable Unicode representations?

I am trying to compile a document using BibLaTeX and Biber that references a document by a Latvian author whose surname contains an a with a macron diacritical mark (ā). Without the ...
0
votes
1answer
358 views

How can I make the copied-pasted text from an pdflatex output still readable/compilable by pdflatex?

The issue I compile a latex document which contains accents ("é" for instance), then I copy the text from the pdf generated by pdflatex. Then, I paste this text to my latex file. The resulting file ...
0
votes
0answers
24 views

How do I enter an arbitrary Unicode code point, with pdfTeX?

I've just found How do I enter an arbitrary Unicode code point into my document? but I want to do the same with pdfTeX, not LuaTeX. Is this possible?
1
vote
0answers
73 views

Typeset “parsing HTML the Cthulhu way” in LaTeX [duplicate]

There’s a famous answer on Stack Overflow in which the user argues that regular expressions cannot be used to parse HTML … while his sanity slowly slips out of his grasp. Unfortunately, the insane ...
3
votes
1answer
63 views

Input unicode/diacritics into package options

I would like to define a new set of labels for my pictures like this: \usepackage{newfloat} \DeclareFloatingEnvironment[listname={Seznam grafů}]{Graf} However, latex refuses to recognize "ů" in the ...
6
votes
1answer
80 views

Print unicode glyph together with its codepoint

Is it possible to define a macro, call it charwithcodepoint, such that \charwithcodepoint{A} emits an equivalent of \texttt{A} (U+0041) And similar for other codepoints as well. If not, can I do ...
1
vote
0answers
63 views

Hyperref: Danish ø in `\url` or `\href` doesn't work (appears as \T1\)

Refer to this question and answer. When I compile the file below (encoded in utf-8) with pdflatex, only the middle option produces a working link as opposed to all three in the linked question. In ...
1
vote
1answer
76 views

XeLaTeX Unicode symbols do not show up in verbatim

The following snippet produces the desired result outside of the verbatim block, but not within the verbatim block. I guess I have to specify a font for verbatim mode that contains support for the ...