{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)

8
votes
2answers
610 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
453 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 ...
1
vote
1answer
43 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
95 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 ...
0
votes
2answers
122 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
91 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
103 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 ...
2
votes
1answer
47 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
18 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
49 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 ...
11
votes
2answers
298 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
31 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
36 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
129 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
452 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
233 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
80 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
203 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
810 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
113 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
3k 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
96 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
66 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
463 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 ...
5
votes
1answer
86 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
130 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
486 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
172 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
112 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
51 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
444 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
7k 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
53 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
85 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
119 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
29 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
111 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
70 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
105 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
97 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
102 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
97 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 ...
21
votes
5answers
12k 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 ...