Tagged Questions

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

15
votes
5answers
4k views

How to print a warning sign (triangle with exclamation point)?

I am interested in including a triangle with an exclamation point (unicode #9888: ⚠) in a tex document. I've looked in the usual places (detexify, etc.) and not found this symbol. The document should ...
2
votes
1answer
143 views

Problem with composite letters in section labels

Although there are some advices that deal with the warning message: Composite letter `\textasciicaron+c'not defined in PD1 encoding See here, for example: Problem with UTF-8 in meta data It ...
0
votes
0answers
150 views

Accents generate errors with moderncv class

When using accented characters (e.g. ë) I get the following error: Package inputenc Error: Unicode char \u8:ële not set up for use with LaTeX. A minimal working example is given below. To the best ...
1
vote
0answers
38 views

List of unicode symbols and TeX equivalents [duplicate]

I am looking for a simple table with two columns: One column has unicode symbols (not images or anything else) (example: ∞) and another column has the TeX equivalent (example: \infty). The table here ...
4
votes
2answers
132 views

An extensive list of LaTeX symbols and Unicode equivalents?

The first two columns of the table here (partly reproduced below) is exactly what I'm looking for, but I'd like a more extensive list. I want the unicode symbols to be in unicode symbols, and not ...
3
votes
0answers
172 views

Difficulty with icelandic characters in bibliography/apacite [closed]

I have a problem with getting my icelandic characters to show up when I compile. I´m using texstudio and I used jabref for being the reference manager and I´m using apacite for the citing "system" ...
2
votes
1answer
178 views

How to output any unicode character?

I have used a hack to output €: % WTF: LaTeX has no € symbol! % See here: http://en.wikibooks.org/wiki/LaTeX/Special_Characters#Euro_.E2.82.AC_currency_symbol \usepackage[utf8]{inputenc} ...
11
votes
1answer
117 views

Detect if a character is Chinese character

(XeLaTeX + XeCJK) I am trying to translate an English document. I need to convert all '.' to '。' if the antecedent character is a Chinese character. I am using xstring to accomplish this object but I ...
3
votes
1answer
76 views

Quotes are not formatted correctly

Here is data about my problem that I consider relevant: a) I'm using lualatex b) Here is my prelude: \documentclass[b5paper,twoside]{memoir} \usepackage{graphicx} \usepackage{polyglossia} ...
3
votes
1answer
472 views

Problem with Unicode in LaTeX editor (LEd)

I have an UTF-8, polish text in .tex file. When I open it with my LEd (LaTeX editor), it shows ok (all characters can be seen). But when I try to compile it, I get error: Package inputenc Error: ...
15
votes
2answers
222 views

biber eating \langle and \rangle commands

I have some entries in my reference list that contain \langle and \rangle signs in their title like the one in the following MWE: \begin{filecontents}{\jobname.bib} @BOOK{test, author = {A. Uthor}, ...
2
votes
1answer
71 views

Dynamic macros with csname and utf-8

I wrote the following commands for dynamic variable names and assignment % in class file \RequirePackage[ngerman]{babel} \RequirePackage[T1]{fontenc} \RequirePackage[utf8]{inputenc} % in latex file ...
1
vote
1answer
63 views

Index sorting problem with Vietnamese

I use Texmker 4.1 and Texlive 2013 in my Xubuntu. I use this system to write my teacher's book with the AMS package (gsm in fact), which is in Vietnamese. There is a problem in sorting the index, it ...
10
votes
1answer
217 views

What benefits can I get from using utf-8 encoding instead of cp1251 for Russian?

I'm preparing to make a small package for typesetting math textbooks in Russian, under Windows (MikTeX distribution). What input encoding should I prefer? I've always been using cp1251, but as I ...
12
votes
1answer
216 views

dealing with thin spaces in XeLaTeX and LuaLaTeX

In the following small example I get unexpected but different results in XeLaTeX and LuaLaTeX: \documentclass{article} \usepackage{fontspec} \setlength\parindent{0pt} \newcommand*\x{\rule{1cm}{1cm}} ...
3
votes
1answer
129 views

Strange character changes (Xe(La)TeX or pdf(La)TeX, it's irrelevant)

A friend of mine uses pdfLaTeX for her university notes just like me. She uses the inputenc package, since on her Windows that allows characters with diacritics such as è or ò to by correctly ...
0
votes
0answers
254 views

How to replace (unicode) characters by ü,ğ,ş etc.?

\documentclass[11pt,a4paper]{article} \usepackage[utf8x]{inputenc} \usepackage{ucs} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage[T1]{fontenc} ...
8
votes
1answer
229 views

Problem with UTF-8 in meta data

my problem is the following, when I use UTF-8 in meta data is not working \documentclass[10pt,a4paper]{article} \usepackage[slovene]{babel} \usepackage[utf8]{inputenc} %Meta data \pdfinfo{ /Author ...
4
votes
1answer
160 views

LuaTeX won't end a line at Unicode emdash

I'm using LuaLaTeX instead of XeLaTeX for my book, mainly because it supports microtype's expansion feature, to produce the optimal word spacing and line breaking that will result in the most uniform ...
17
votes
2answers
469 views

Why characters UTF-8 encoded are ISO-8859-1 encoded when written in an external file

For an UTF-8 encoded file as follows: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} % \newwrite\outtmp \immediate\openout\outtmp=out.tmp % \begin{document} ...
1
vote
1answer
112 views

excel2latex leads to the error: “Unicode char 8… not set up for use with LaTeX”

Compiling LaTeX to pdf worked fine until I used code generated by excel2latex. Now I'm getting the error "Unicode char 8… not set up for use with LaTeX". \documentclass{scrartcl} ...
2
votes
1answer
160 views

Yes, another “Package inputenc error” question

I'm trying to figure out why LaTeX behaves this way. So, I have this project: https://dl.dropboxusercontent.com/u/12774331/latex.zip which is a perfectly working project, with lots of é and other ...
1
vote
0answers
1k 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 ...
9
votes
1answer
130 views

Using non-standard characters for accent marks

I have a text of poems (psalms) that will be sung or chanted. To indicate the word where there's a change in the music, an accent is placed above the syllable in that word. Then the singers know ...
6
votes
1answer
119 views

Parsing utf8 problems

There are a number of questions relating to problems when using utf8 input encoding, and the closest I found to my problem is, I think, What characters in a normal text document will screw up LaTeX?. ...
4
votes
1answer
295 views

inputenc[utf8] error with input-function of external tex files

I got a problem with inputenc[utf8]. My document is in German and uses 'ä, ö, ü' which usually works fine with the following preamble: \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
6
votes
2answers
716 views

How can i use fonts other than gbsn/gkai for CJK Chinese?

The standard CJK package only provides 2 fonts for simplified Chinese, as described here. My question is how to create more fonts for it? I'm using MacTeX 2013 and UTF8 + CJK + pdflatex is the ...
1
vote
0answers
137 views

Input Encoding bugged on Windows 7 WinEdt?

When my girlfriend processes her code in WinEdt on Windows 7, she gets awkward looking "special" letters. (Precisly, these are Serbian letters -- from our home country.) She used: \usepackage[T1, ...
8
votes
4answers
313 views

Verbatim, wrappable and Unicode text included from a file

I am trying to output several megabytes of UTF8 text into a printable format. As enscript and friends don't like Unicode, this Unix SE question soon turned to LaTeX. Summary of requirements: ...
3
votes
1answer
191 views

Problems with documentclass{book} and utf8, prerenderunicode

I'm trying to write a book-like report in Greek, so at the beginning of every even page the name of the chapter is appeared and at the beginning of every odd page the name of the section is appeared. ...
9
votes
1answer
83 views

Encoding of written out files

I have a tex file with: \usepackage[utf8]{inputenc} The file calls a macro that saves the content between and \begin{something} and \end{something} to a file. But the encoding of the file is not ...
5
votes
1answer
111 views

Is there a tool for cleaning BibTeX source from LaTeX style escapes?

I have a BibTeX file which uses the old style LaTeX escapes, for example author = {Fjeld, Morten and Sch\"{a}r, Sissel Guttormsen} I want to read the file with a Scala script using jbibtex and ...
10
votes
1answer
354 views

How can I write an English document with a few words of Thai, Japanese, and Chinese?

I'm writing a document which is 99% English but needs a few words of other languages, including Thai, Japanese, and Chinese. I've had success with the latter two, but I'm stuck on Thai. Here's a MNWE: ...
0
votes
1answer
170 views

Use cmbright with unicode text under XeLaTeX

XeLaTeX has been my preferred LaTeX engine because it straightforwardly handles text in Unicode (UTF-8 encoding). I know this can be done using \usepackage[utf8]{inputenc} with other engines, too, but ...
4
votes
1answer
93 views

Error when using endfloat with unicode characters

I have a problem with the endfloat package and unicode characters. When I compile the following, everything works as expected: \documentclass{article} \usepackage[utf8]{inputenc} ...
5
votes
2answers
363 views

Accents and unicode-math

Why are certain accents in math mode invisible? I am using unicode-math and compile with XeLaTeX. Here is a MWE: \documentclass{scrartcl} \usepackage{unicode-math} \begin{document} x̃ŷz̄ $x̃ŷz̄$ ...
3
votes
2answers
104 views

Acronym package and UTF-8

Are there support of UTF-8? I'm trying to write \ac{ОС} (Russian acronym inside) but got strange error Missing \endcsname inserted Here is what in my header: \usepackage[english,russian]{babel} ...
4
votes
2answers
203 views

Math escape in listings and surround white space

I want to use the double right arrow for some Scala code in listings. I thought I'd use the mathescape option and $\Rightarrow$. However, this "eats" whitespace around it, e.g. if I have foo ...
3
votes
1answer
103 views

Problem with XeTeX normalization and \char [closed]

Is there any way in Xe(La)TeX to enter a unicode character by its code, but still have XeTeX perform normalization on the resulting string of characters? For example, the following code does not give ...
5
votes
1answer
183 views

Unicode characters in a listing environment are not colorized!

When using the package listing, colorized comments will not yield colorized exotic unicode characters. This is a minimal working example: \documentclass{minimal} \usepackage{ ...
14
votes
5answers
1k views

Using “◌” in Latex - “Unicode char \u8:Γùî not set up for use with LaTeX”

How can I use the character ◌ (25CC): http://www.fileformat.info/info/unicode/char/25cc/index.htm ? I am using MikTex (pdflatex) under Window; I am importing the following packages: ...
5
votes
1answer
110 views

Generating unicode hyphenation pattern

Is there a program that you can use to generate unicode hyphenation pattern? I already know about opatgen but I can not compile that program since it requires a very old version of gcc.
1
vote
0answers
152 views

Biber: Cannot decode string with wide characters (encode.pm)

I have ran into problems with biber and Xelatex, so I decided to test a working example and see what's up. I used the test files from this question, but the result I got was: INFO - This is Biber 1.7 ...
5
votes
1answer
112 views

getting unicode lower block series to appear

In contexts outside of LaTeX, I've found rectangles of increasing size very useful. I can enter these in UTF-8 in my text editor, but despite trying every font related fix I can find, I can't seem to ...
5
votes
1answer
636 views

Getting error when writing ÆØÅ character

I'm making a thesis in danish, which means I use the packages: \usepackage[utf8]{inputenc} \usepackage[danish]{babel} Now, I have split up my documents into chapters, and so far I have: ...
6
votes
1answer
345 views

Hyphenation of Russian text in utf8 encoding?

All my attempts to make hyphenation work in Debian Linux 6.0 for Russian text encoded in utf8 has failed. My search on internet indicates that hyphenation should work through babel at least with ...
3
votes
1answer
175 views

How can I show Unicode words in pdf

%% AMS-LaTeX Created by Wolfram Mathematica 9.0 : www.wolfram.com \documentclass{article} \usepackage{amsmath, amssymb, graphics, setspace} \newcommand{\mathsym}[1]{{}} \newcommand{\unicode}[1]{{}} ...
7
votes
2answers
219 views

Uniform Unicode for text, math and listings?

What should I put in the preamble (preferably packages) for this to work as expected with its unicode characters? \documentclass{article} \usepackage{listings} \begin{document} $α$ α ...
4
votes
1answer
217 views

How to have special characters (e.g. german umlauts) inside bibkeys?

I really like biblatex [backend=biber] to use with UTF8, as many citations I use will have some special characters esp. in the name field. This works totally great until I want to use e.g. german ...
7
votes
1answer
110 views

Why \@ifnextchar doesn't work correctly within of a unicodechar definition?

Consider the following code: \documentclass{article} \usepackage{amsmath} \usepackage{newunicodechar} \makeatletter \newunicodechar{∑}{\@ifnextchar_{\sum}{\@ifnextchar^{\sum}{\Sigma}}} ...