{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
0answers
21 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
16 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
28 views

How should I include unicode characters in LaTeX? Is XeTeX better? I am using Ubuntu 14.04, do i need to install additional font package?

When I use pdflatex or xelatex, all the unicode special characters are not printed. The output only prints the normal ANSI characters.
0
votes
0answers
14 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
17 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
81 views

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

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
34 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
17 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
33 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
55 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
63 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 ...
0
votes
0answers
45 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
48 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
67 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
63 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
86 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
34 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
107 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
26 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
60 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
43 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
35 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
31 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 ...
2
votes
1answer
45 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
118 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 ...
1
vote
1answer
46 views

“Missing \begin{document}” after DeclareUnicodeCharacter

When compiling this file: \documentclass{article} \usepackage[utf8]{inputenc} \DeclareUnicodeCharacter{27e3}{somereplacement} \begin{document} Hi, world! P ⟣ Q \end{document} I get the following ...
3
votes
3answers
126 views

ConTeXt: Using Unicode symbols for bullets

I'm having trouble figuring out how to use ▸ (AKA BLACK RIGHT-POINTING SMALL TRIANGLE) as the bullet in my itemized lists in ConTeXt. My first thought is that this should work: ...
4
votes
2answers
144 views

To input symbols with utf8 codes beyond the standard utf8 packet in Latex

I have input text for Latex with symbols like Ẃ ẃ Ẅ ẅ Ỳ ỳ and so on and must translate it into pdf. The task came from the whole work of export from Library of Congress catalog to prepare article in ...
16
votes
1answer
375 views

Unicode in PDF Metadata

There are several ways of setting PDF meta data when compiling LaTeX documents. The two most popular ways are arguably via pdfinfo, \pdfinfo{ /Author (Erwin Schrödinger) } and hyperref, ...
1
vote
1answer
41 views

LaTeX and Unicode within verbatim environment

I am really, really hoping someone has a neet trick for my problem. I have three Unicode symbols I need to put inside my verbatim environment ├ ─ └ all others are not important to me and most ...
0
votes
0answers
56 views

How does one prepare---on TEXLIVE— OpenType, Unicode based, fonts for use with Xe(La)Tex

I downloaded the Cree syllabics font pitabek from: http://www.languagegeek.com/font/fontdownload.html According to the information this font is opentype and follows the Unicode coding for Cree ...
1
vote
0answers
84 views

! Package inputenc Error: Keyboard character used is undefined

I'm new to Latex espacially Beamer, I am working on my Thesis presentation in French and these letters always give me a hard time since yesterday when I compile that error in the title occurs, I ...
2
votes
3answers
127 views

Enabling UTF-8 file encoding in various text editors [closed]

Many IDE / text editors used by latex community do not encode tex files into utf-8 by default. When trying to use diacritics, various issues may arise. Example code: \documentclass{article} ...
1
vote
1answer
78 views

Keeping beamer in English while supporting Chinese characters

\documentclass{beamer} \usepackage{ctex} \begin{document} \title{Test} \author{My name (我的名字)} \date{\today} \begin{frame} \titlepage \end{frame} \end{document} Here is the current output: ...
3
votes
1answer
152 views

how to use truetype fonts in (La)Tex, no map/encodinggiven, but they follow Unicode

Consider:http://www.languagegeek.com/algon/cree I know all about \XeTex, but that is for inputting the actual glyph (i.e. typing the Cree gylph for ¨ma¨). Rather at ...
0
votes
0answers
52 views

Using a specific font for bold greek characters in maths

I'm writing a document involving some maths in which I use lots of greek letters. I would like to write some of them in bold, and the whole document is written in Linux Libertine font. Finally, I'm ...
4
votes
1answer
54 views

Relax a command inside minted

I'm using rich unicode in LaTeX as specified here. However I also use unicode in Julia language, so when I input Julia code in XeLaTeX I get an error because √ is bound to \sqrt in LaTeX, but is a ...
0
votes
0answers
40 views

Getting back a previous encoding of a file

So i had an important tex file in UTF-8 containing polish symbols which are not in the latin alphabet. Then for unrelated reasons i changed the default encoding of my editor to windows 1250 and opened ...
1
vote
2answers
133 views

utf8x character fails in the table of contents every second time i compile

\documentclass[a4paper]{report} \usepackage[utf8x]{inputenc} \begin{document} \tableofcontents \chapter{ø} \end{document} First time I compile this, I get an ø in the table of contents. Second time ...
2
votes
1answer
51 views

Disable some xunicode macros in case of T1 font encoding?

I was hoping that, except for inputenc/fontenc versus fontspec, old .tex files encoded in UTF-8 could be used without changing anything with either pdftex, xetex or luatex engines. But the following ...
0
votes
1answer
67 views

Does UTF8 add right-quote and left-quote recognition to LaTeX, XeTeX? [duplicate]

I've got a LaTeX novel writing project with lots of character quotations. I use Focuswriter to create chapter text files (ASCII, UTF-8). There is no LaTeX markup in the chapter files. A LaTeX ...
0
votes
1answer
94 views

how to create article with multiple (unicode) languages

I want to create a book that will help Asian people learn English. The requirements are - the book should contain text from 2 different languages, say, Hindi and English. I tried this multi-lingual ...
2
votes
0answers
36 views

How to write the | (pipe) character without interpreting it? [duplicate]

I'm writing a LaTeX document in which I have to write many "|" characters which are not part of a mathematical formula. Simply writing test | test gives me something like (after compilation) : test - ...
0
votes
1answer
93 views

Inputenc error: unicode char u8 - texstudio

I started write some TeX document, but I have problem with special characters (polish characters like (ś, ć, ę etc.). It's my error message package inputenc error: unicode char u8: not set up ...
2
votes
1answer
76 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 ...
2
votes
1answer
74 views

Is this the best way to put unicode in a non-UTF-8 source?

I want to put the following phrase into a book. Khabarovsk (Russian: Хабаровск) is located 30 kilometers (19 mi) from the Chinese border. The source is NOT UTF-8 and I don't have the option to ...
3
votes
1answer
101 views

How can I extract a character code (code point) from a character slot in a given font? [XeTeX]

Question I am wondering if there is a way to provide the \XeTeXglyph as input and get the the character code (preferably in hexidecimal) as output. Situation I've been doing many experiments with ...
3
votes
2answers
241 views

Why are some Unicode characters missing when using XeTeX and Ubuntu Mono?

I'm trying to typeset a document using minted code listings that contain quite some amount of non-standard Unicode characters. I'd like to use Ubuntu Mono as a monospaced font. The following supresses ...
1
vote
3answers
70 views

Long i (ī) in XeLaTeX if one cannot use xunicode

I am working on an article for which I need to use the package amsmath and several newcommands defining logic variables, e.g., \newcommand{\nec}{\mathsf{nec}}. Since the topic of the article is ...
2
votes
0answers
103 views

Highlighting words with special characters using \hl (soul)

I am using xelatex, polyglossia and the document is in UTF-8 encoding. I use the soul package to highlight words (using soulutf8 makes no difference). The problem is really weird, so I will go ...