{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
0answers
68 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
285 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
139 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
79 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 --output-...
0
votes
0answers
26 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
82 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
70 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
88 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 non-...
0
votes
0answers
43 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
466 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
92 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
100 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
72 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} \setmainfont[Script=Arabic]{...
3
votes
1answer
183 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
113 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
67 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
95 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
160 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: \documentclass[a4paper]{...
2
votes
1answer
219 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
49 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
45 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
118 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
117 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
80 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
64 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
172 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 ...
2
votes
1answer
96 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
232 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: \setupitemize[1][...
4
votes
2answers
255 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 ...
17
votes
1answer
657 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, \...
2
votes
1answer
100 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 ...
1
vote
0answers
98 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
220 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
429 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} \...
3
votes
1answer
341 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
169 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 :http://www.languagegeek.com/...
4
votes
1answer
118 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
49 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
165 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 ...
3
votes
1answer
67 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
105 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
219 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
38 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 - ...
2
votes
1answer
179 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 \begin/...
2
votes
1answer
105 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 ...