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

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: ...
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 ...
2
votes
0answers
30 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 ...
3
votes
1answer
36 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} ...
4
votes
2answers
82 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 ...
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: ...
0
votes
2answers
68 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} % ...
4
votes
1answer
24 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
275 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} ...
10
votes
1answer
443 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 ...
2
votes
2answers
67 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 ...
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
168 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
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} ...
1
vote
2answers
57 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 ...
2
votes
2answers
71 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 ...
4
votes
1answer
88 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 ...
5
votes
1answer
66 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 ...
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
63 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
105 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 ...
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
23 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
346 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
59 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 ...
2
votes
1answer
82 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 ...
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?
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 ...
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 ...
1
vote
1answer
71 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 ...
2
votes
0answers
59 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
75 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
32 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 ...
1
vote
0answers
53 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 ...
2
votes
0answers
46 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
186 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
77 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
54 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
0answers
20 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
71 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 ...
6
votes
1answer
78 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 ...