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

11
votes
1answer
154 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, ...
41
votes
5answers
63k views

inputenc Error: Unicode char \u8: not set up for use with LaTeX

This is with ref to my previous question Package clash in multilingual report. \documentclass[11pt,table,a4paper]{article} \usepackage{lmodern} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} ...
1
vote
3answers
57 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 ...
1
vote
1answer
21 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
29 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 ...
0
votes
1answer
47 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 ...
2
votes
3answers
63 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
68 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
3answers
113 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 ...
1
vote
0answers
28 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 ...
0
votes
0answers
14 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: ...
0
votes
0answers
26 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 ...
2
votes
1answer
29 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 ...
3
votes
1answer
25 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 ...
115
votes
6answers
56k views

utf8x vs. utf8 (inputenc)

I normally use \usepackage[utf8]{inputenc} for my latex document but on this site i saw a lot of code with \usepackage[utf8x]{inputenc}. What are the differences between the 2 options ? Is there one ...
9
votes
5answers
3k views

LaTeX/XeTeX setup Tamil/Indic languages

I use TexMaker and LyX in Ubuntu. I'd like to typeset Tamil/Telugu/Hindi text, and so far I've been unsuccessful. Please suggest me a working TeX/LaTeX/variants setup for Indic languages, especially ...
4
votes
1answer
437 views

ucs and biblatex incompatibility (mathletters and utf-8)

I have a document that I was writing with UTF-8 chars using TexStudio, MikTex (x64) and pdflatex. All updated and running on Window 7 SP1 x64. Then I decided to start using biblatex citations and now ...
0
votes
0answers
36 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
117 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
45 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 ...
4
votes
1answer
257 views

Typesetting phonetic symbols: Unicode or tipa?

On TeX.SX there are a lot of questions of the form "How do I typeset [some phonetic symbol]?" For example: Typesetting modifier letter U+02ED The near-close, near-front unrounded vowel symbol The ...
5
votes
1answer
1k views

How do I prevent LyX from loading inputenc?

In my (out of the box) configuration of LyX, the line \usepackage[latin9]{inputenc} is inserted in the generated .tex file by default. This makes it impossible for me to set different options ...
14
votes
4answers
1k 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} ...
0
votes
1answer
53 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 ...
14
votes
2answers
2k views

How to use phonetic IPA characters in LaTeX

I wish to write a paper about linguistics, so I thought about trying LaTeX. Sadly I couldn't figure out how to write the unique characters I need for my work, for example epsilon with a little tilde ...
1
vote
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 - ...
5
votes
1answer
86 views

What is the use case for the ucs package?

The ucs package (formerly aliased to unicode), provides support for Unicode as a input format, as I understand it. Under what circumstances should I be using that package, and unicode symbols? to my ...
0
votes
0answers
34 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 ...
9
votes
3answers
162 views

How to typeset Tibetan in XeLatex with correct linebreaks?

I am trying to typeset Tibetan language in a document, but the text does not wrap at the margin. I think this could be easily fixed if I tell XeLaTeX to recognise the Tibetan tsheg character ('TIBETAN ...
2
votes
1answer
65 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 ...
12
votes
2answers
363 views

LuaLaTeX and hyperref ate my document (properties). How do I get them back?

I use hyperref for a number of reasons, but among other things it sets up the document properties up well. As long as I compile with XeLaTeX that is. As soon as I compile with LuaLaTeX, everything is ...
9
votes
2answers
1k views

Pi, Kappa, Latin Small Letter Long S: problems with UTF8

I'm using Springers svmono for a book with many mathematical symbols and special characters. There are quite a few problems with characters that are simply not printed (using pdfLatex), so I tried ...
8
votes
4answers
3k views

OS X: umlauts in UTF8-NFD yield “Package inputenc Error: Unicode char \u8:̈ not set up for use with LaTeX”

After switching to OS X one of the first things I had to learn the hard way is that many non-ASCII characters, such as the German ü can be encoded in (at least) two different forms in UTF8: U+00FC ...
26
votes
5answers
29k views

Unicode degree symbol ° in math formulas: \textdegree invalid in math mode

I'd like to be able to simply input a degree symbol as ° in my source code. German keyboards have a key for this, and it makes the source so much more readable. I'm using pdflatex from TeXLive 2012, ...
3
votes
2answers
165 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
1answer
2k views

Package inputenc Error: Unicode char \u8:�\expandafter not set up for use wit h LaTeX

I'm having problem with generating pdf file from my tex file. When I use \documentclass with draft option, it generates pdf file with images as boxes without errors, so it's fine. But when I change ...
2
votes
0answers
53 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 ...
1
vote
0answers
34 views

Is it possible to type easily polytonic greek in XeTeX? [duplicate]

Some years ago, I used polutonikogreek option of the babel package to insert acutes, graves and other symbols in the text. For example, with \textgreek{fu/sis} => φύσις. The problem is that I cannot ...
3
votes
1answer
138 views

Render utf8 characters in pdf

I have a *.tex document encoded in UTF-8 which includes these characters: ⎡6 1⎤ ⎢ ⎥ ⎣5 3⎦ I'm having troubles reproducing such characters (apart from the numbers of course). I tried the ...
9
votes
1answer
253 views

Typesetting the Kvanta journal (Задачник «Кванта» по математике)

I've visited a colleague of mine, Karel Horák, a Czech TeXist, in Prague and he presented/gave me a nice TeX problem. He wishes to get PDF file from TeX file. It sounds easy! Issues of the Kvanta ...
4
votes
1answer
61 views

Problems with pdfcomments and Unicode characters in XeLaTeX

I'm trying to use the pdfcomment package in XeLaTeX. I can't seem to be able to use Unicode characters such as Czech ň or ě properly in \pdfmarkupcomment. Usually any such trailing characters of the ...
4
votes
2answers
198 views

Unicode support for em-dash

I am using XeLaTeX. My goal is to display a Unicode em dash in my PDF file. The \dash will not compile, below: it says ! Undefined control sequence. Here is the minimal (non)-working example: ...
1
vote
2answers
88 views

Certain unicode chars are skipped

\documentclass{article} \begin{document} Test⁉ \end{document} Note that the 5th character is "⁉︎" (see http://www.ltg.ed.ac.uk/~richard/utf-8.cgi?input=%E2%81%89%EF%B8%8E&mode=char for info). ...
4
votes
2answers
78 views

Pdflatex is not printing unicode characters

This is the code: \documentclass[oneside, pdftex, a4paper, 12pt]{scrbook} \usepackage[left = 1cm, right = 1cm, top=2cm, bottom = 2cm]{geometry} \usepackage{microtype} \usepackage{alltt} ...
2
votes
1answer
70 views

Why does bibencoding influence normal text outside bibliography? Character ß becomes SS in pdf file!

My .tex files use textencoding latin1. For some practical reason I wanted to switch my bibliography .bib files to UTF8. I tried that and (as the bibliography now was not typeset correctly) found the ...
5
votes
2answers
172 views

pdflatex suddenly takes much longer to compile document - how to find the reason?

I've done some major changes in my document (dissertation, nearly 300 pages) and now compiling time has increased nearly by factor 3! One pdflatex run took normally less than 3 minutes before and now ...
0
votes
1answer
113 views

How do I redefine the QED symbol to be a Unicode character?

I want to redefine the default QED symbol to be some Unicode character from the big list, e.g. 26C4, a snowman. I wrote this MWE: \documentclass[12pt]{article} \usepackage{amsmath, amsthm, amssymb} ...
15
votes
1answer
256 views

XeLaTeX, LuaLaTeX, fontspec, unicode and normalization

I am troubled by the way LuaTeX and XeLaTeX normalize unicode composed character. I mean NFC / NFD. See the following MWE \documentclass{article} \usepackage{fontspec} \setmainfont{Linux Libertine ...
13
votes
2answers
3k views

UTF8 not working in LuaTeX in TeXLive 2010

I've been trying to set a document using lualatex in my TeXLive 2010 installation. Unfortunately, the non-ASCII characters are left out from the output. In the following minimal document produces a ...
2
votes
1answer
87 views

Writing Unicode in pdfLatex [closed]

It should be something like \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[spanish]{babel} \usepackage{CJKutf8} \begin{document} \begin{CJK}{UTF8}{megafont} ...