{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
96 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
413 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
67 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
79 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
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 ...
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?
3
votes
1answer
101 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
61 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
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
94 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
92 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
42 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
57 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
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
107 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
71 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
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 ...
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
74 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 ...
0
votes
0answers
17 views

How to get Unicode in code listings? [duplicate]

I want to use Unicode text (a mixture of cyrillic and japanese characters) in a code listing that uses default LaTeX fonts (in other words, source code fonts are left to default). However, for all ...
0
votes
0answers
40 views

removing linebreak listing (e-mail, eml)

I tried to use an eml-file as an listing but because the encoding doesen't really work I had to include some German Umlaute (ä,ö,ü), unfortunately there is still a problem with the line break symbol ...
1
vote
0answers
449 views

Package inputenc Error: Unicode char \u8:′ not set up for use with LaTeX. 3′ [closed]

I get the Package inputenc Error: Unicode char \u8:′ not set up for use with LaTeX. 3′ when I am adding new items to my bibliography. I am using TexStudio. I tried to use Biber or BibTeX as a default ...
3
votes
1answer
81 views

Character replacement in unicode string

I need a command to replace (erase) the characters · and | from a string. Consider the following naive code: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
0
votes
0answers
18 views

XeLaTeX: Create Special Characters NOT included in my main font [duplicate]

I am trying to compile a document in XeLaTeX which uses special characters (such as ā, ḍ, ī, ḷ, ṁ, ṅ, ṇ, ō, ṛ, ś, ṣ, ṭ, ū) but the main font that I prefer to use does NOT include these extended ...
1
vote
1answer
88 views

Bookmark showing a box for character

The following works on the computer that generated it. \documentclass{article} \usepackage[pdfencoding=auto,psdextra]{hyperref} \usepackage{bookmark} \usepackage{lipsum} \usepackage{fontawesome} ...
5
votes
0answers
69 views

ZWJ in LuaTeX prints a bar

The following document prints in XeTeX the medial form of the arabic letter, thanks to the two ZWJ characters ("200D). \documentclass{article} \usepackage{fontspec} ...
3
votes
1answer
157 views

'fj' ligatures are not correctly mapped with 'glyphtounicode' using Alegreya font

Inputting glyphtounicode when compiling with pdflatex makes sure that various ligatures in the output are copy- and searchable. With the Alegreya package, however, the ligatures for fj and ffj aren't ...
1
vote
0answers
104 views

Is UTF-8 and the Babel package sufficient for Swedish?

Me and a pal both have Macbooks with TeXShop. He writes to me in Swedish and when I render his code all the Swedish charachters go wrong on my preview PDF/screen. When I send him back the code and he ...
3
votes
1answer
62 views

Smashing diacritics on all uppercase characters

I need all uppercase letters with diacritics to have the same height (depth) of the corresponding naked uppercase letter. Motivation: obtaining a regular baseline grid when stretching the baseline is ...
2
votes
2answers
88 views

Reference order while using utf8 and biber

I have a problem with ordering of the references, while using utf8 with biber. I need utf8, because some surnames in Slovenian use Š, Č and Ž (I know I could use \v{} syntax, but biber complains ...
3
votes
1answer
126 views

Package inputenc error unicode char

Error with message Package inputenc Error: Unicode char \u8:<d0>. not set up for use with LaTeX occurs, when I compile (Ubuntu 14.04.1, texlive-full) the document: ...
2
votes
1answer
180 views

How to type hindi font with texmaker and miktex?

trying to type hindi font using Texmaker with Miktex. The hindi typing is done using hindi google input tools installed in the system. Please help in this regard. \documentclass[12pt]{article} ...
2
votes
1answer
48 views

Using utf8 inputenc package and answers package together

I'm trying to typeset using UTF8 and use the answers package. However, compilation halts on \begin{sol}, with Kapitola 1. ! Missing \endcsname inserted. <to be read again> ...
7
votes
1answer
124 views

LuaTeX unicode escape sequence in an ASCII file (for graceful degradation)

I have a reusable component in which I would like to include a few unicode symbols. I use LuaLaTeX. However, I want the file to fail gracefully (it should detect running under something else and e.g. ...
0
votes
1answer
36 views

How to insert unicode text in IEEE paper? [duplicate]

I am writing a paper for IEEE conference. I would like to know how to insert some unicode text into the paper. The primary language of the paper is English.
2
votes
1answer
107 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 ...
0
votes
2answers
90 views

Enconding conversion from Mac to Linux and viceversa [closed]

How could I use on Linux (utf-8) a previously created file on Mac using for example MacRoman as encoding and viceversa?
0
votes
0answers
36 views

Combining Diacritical Mark with Latex. Unicode Symbol 0364 [duplicate]

I have a bit of a Problem with editing an ancient german text, where they used a small e as Umlaut like this "aͤ". I looked it up, it's Unicode symbol 0364. I tried a lot and nothing worked out. ...
0
votes
0answers
73 views

Kerning when inserting symbols from another font

I have a METAFONT that implements the shavian alphabet mapping ASCII characters to shavian glyphs, for example the t is the shavian letter 'tot'. I have mapped the shavian letter's unicode ...
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 ...
4
votes
2answers
161 views

What is better math or text mode for special utf8 symbols

There are some utf8 symbols (ĉ ĝ ...) in the input for pdflatex and I use in preambula commands like \DeclareUnicodeCharacter{0109}{$\hat{c}$}, \DeclareUnicodeCharacter{011D}{$\hat{g}$} and so on ...