{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
1answer
23 views

User UTF-8 string in ConTeXt

I need to use input from a JSON inside my text. Sometimes it contains UTF-8 code. For example: Belgi\u00e cre\u00ebren How can I use such string in ConTeXt LuaTeX, so the result is a correctly ...
8
votes
2answers
544 views

How to add utf-8 symbols correctly?

I want to add these two utf-8 symbols ☐ , ⌧ in my latex document, I also added \usepackage[utf8]{inputenc}. How can I do that? My input should look like this:
9
votes
1answer
433 views

Loading index package with memoir

The standard makeidx package writes ind/idx in LaTeX's internal representation file. The index package writes in utf-8 and works fine with the book, article, report standard classes. But when trying ...
56
votes
8answers
91k views

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

This is with ref to my previous question Package clash in multilingual report. \documentclass[11pt,table,a4paper]{article} \usepackage{lmodern} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
1
vote
1answer
29 views

Backticks versus real quote marks

So, I'm a Mac user, and a little bit of a type nut (probably not compared to many users on here, though! :P) I've been happily typing emdashes and curly-quotes on my keyboard for years, and years: ...
2
votes
2answers
69 views

Insert unicode character in auctex math mode

I use emacs with auctex to run lualatex. Is there a way to modify the math input of auctex, e.g. modify LaTeX-math-zeta, bound to the keystroke <`z>, so the unicode character ζ instead of \zeta is ...
2
votes
1answer
142 views

CJKutf8 font usage changes if using with precompiled format?

Consider the MWE posted below (based on How does one type Chinese in LaTeX?) - you will need the simsun.ttc font in the same directory. First, in the MWE below (call it test.tex) uncomment the ...
0
votes
2answers
69 views

Sans serif font with unicode support in xelatex

I am trying to find a sans serif font that has unicode support (free or paid). The following works unless I set the family to sans by un-commenting the first line: \documentclass[english]{article} % ...
2
votes
0answers
31 views

Fixing the matching between combining accents and capital cyrillic letters [duplicate]

This question, which is a prosecution of the debate in Misplaced Accents in Cyrillic Text answered by @egreg, wishes to focus on the mechanism of combination of a combining accent (e.g. combining ...
1
vote
1answer
45 views

Accented letters, Unicode and LaTeX accents

So, there are three kinds of entities: accented Latin letters Unicode code points representing them Standard TeX/LaTeX commands that represent them. Of these, Unicode code points are defined ...
4
votes
2answers
83 views

How to type Unicode in plain TeX

In plain TeX, \char<int> produces character with decimal code <int>. Similarly, \char'<oct> \char"<hex> produce character with octal code<oct>, and hexadecimal code ...
3
votes
1answer
37 views

How to go for Unicode substitution in plain TeX in the code below?

Backdrop : I am trying to generate some fonts. 1) In an .mf file, I have the following assignments. c_a := ASCII "a"; %%\def\odvowela{a} ...
1
vote
0answers
15 views

superscripting\stacking in hebrew text within a unicode aramaic font

I am trying to reproduce this in latex: and eventually this: I know that it has got to do with \stackengine, I tried it but it gave me nothing in pdf output. Here is what I did: ...
4
votes
1answer
25 views

Declaring Unicode characters for Imperial Aramaic through hebrew keyboard in a non hebrew document

I have very limited experience with regard to .tex, and I am writing this after 6 hours of independent research, the solution might be something very simple, but I just can't find it. Here is the ...
10
votes
2answers
277 views

Stylesheet does not capitalize Polish letters correctly

I'm using SIAM's stylesheet (siamart.cls), and the stylesheet doesn't seem to correctly capitalize the Polish ł to an Ł. \documentclass{siamart} \usepackage[utf8]{inputenc} \title{Title Łitłe} ...
1
vote
1answer
24 views

ucharclasses.sty not found

I've installed MikTex2.9 32 bit and my IDE is TexnicCenter. When I try to compile following code, "ucharclasses.sty not found" error comes. \documentclass{article} \usepackage{ucharclasses} ...
1
vote
1answer
17 views

hypertarget with accents

with XeLaTeX (so native Unicode input), I would like to create a macro which, from a string, will create an hypertarget which anchor's name contain string. \documentclass{article} ...
1
vote
1answer
33 views

Use of Unicode strings as tags and group names

Is it possible to define non-ASCII tags? I'm looking to stuff like \начать{стих} некоторые \акцент{вещи} и другие \конец{стих} Which is: \begin{verse} some \emph{stuff} and other \end{verse} ...
2
votes
2answers
72 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
448 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
25 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
170 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
59 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
89 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
698 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
90 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
67 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
51 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
383 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
30 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
64 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
106 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
443 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
941 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 ...
21
votes
1answer
159 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
59 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
29 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
350 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 ...
31
votes
5answers
5k 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
64 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
47 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
60 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
83 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
24 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
60 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
52 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
73 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 ...
1
vote
1answer
86 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 ...