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

6
votes
2answers
2k views

How to use Unicode characters with Sphinx rst documents and properly generate PDF files?

I discovered that if I use some Unicode characters inside .rst files, I will loose them when I convert the documentation to pdf using Sphinx. Example chars: "șț". When I run make latexpdf I get a ...
7
votes
1answer
300 views

Search and find an old style numeral in a pdf

I am compiling this tex file \documentclass{article} \usepackage{hfoldsty} \begin{document} 1 $1$ \end{document} with pdflatex and open the resulting pdf with evince. If I search the digit one (1), ...
13
votes
4answers
2k views

Using package minted with non-english characters

I would like to use LaTeX package minted to colorize my c and Cuda code. I need to write comments in the code in czech. I use package inputenc with utf-8 and czech characters (ěščřžýáíé) work good in ...
55
votes
2answers
75k views

Which dot character to use in which context?

Wikipedia lists several dot characters in Unicode. These are the ones that are ambiguous to me: interpunct, middle dot (·) · · U+00B7 "midpoint (in typography)" ...
3
votes
1answer
253 views

Replacement for CJK's \Unicode macro

I need a replacement for the \Unicode macro from CJK. It takes two decimal numbers as arguments and inserts #1*256 + #2 into the token stream (or something like that; it's a way to write Unicode ...
11
votes
4answers
996 views

Replacing Unicode non-breakable spaces by normal spaces

I am using the Neo keyboard layout, which uses all kinds of modifier keys to input all kinds of characters (e.g. Greek letters and mathematical symbols). It also has shift+Mod3+space mapped to Unicode ...
8
votes
5answers
1k views

How do I use locale numbering for page numbers, footers etc.?

I am new to LaTeX and was wondering if it is possible to use another language for page numbers (and any other automatic numbering). I read here: http://www.personal.ceu.hu/tex/pagestyl.htm ...
2
votes
1answer
381 views

LaTeX and Glyph Scaling for Justified Text

I am very new to LaTeX - and I am not sure if Latex has the capability to do what I want, so I thought I would ask here. I am working with publishing books in Khmer (the language of Cambodia) in ...
3
votes
1answer
1k views

hyphenation and utf8

from Tex FAQ - hyphenation I see that trying to help Latex in correctly hyphenating words won't work when the utf8 encoding is used. Is there a work around?
5
votes
1answer
461 views

high and low CJK codepoints in a single XeLaTeX document

I often require a combination of CJK characters with both low and high codepoints in the same line of text. (Here "low" means "in the Basic Multilingual Plane" or BMP, with codepoint lower than hex ...
5
votes
1answer
938 views

UTF-8 (BMP character set) support in listings.

I'm submitting a paper to a journal using LaTeX, and I need to be able to write Unicode symbols into listings. So far, I've been able to get by with the moreverb package. It's listing environment is ...
12
votes
5answers
1k views

Editors supporting unicode

For some reason it seems that my favourite editor TeXnicCenter doesn't support unicode (correct me please if I'm wrong, which wouldn't be the first time). Can anyone recommend an editor which does, ...
1
vote
1answer
353 views

pdflatex.exe failed to compile an input file with BOM (Byte Order Mark) [duplicate]

Possible Duplicate: LaTeX baffled by BOM---Unicode's byte order mark. \documentclass[12pt,a4paper]{article} \usepackage{CJK} \usepackage{pinyin} \begin{document} ...
113
votes
6answers
54k 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 ...
18
votes
6answers
1k views

Converting LaTeX into Unicode for email

My standard procedure for writing mathematical email has been to use pidgin-LaTeX for some time now, and many of those I communicate with do the same. However, someone I know has recently started a ...
16
votes
2answers
639 views

How does one publish/promote a new package?

I just took all the wonderful information supplied here, and wrote a small package that makes it possible to use Unicode characters for section, subsection, subsubsection, paragraph, subparagraph and ...
4
votes
2answers
461 views

Fix nested section numbers in RTL languages with polyglossia.

The third subsection in the second subsection of the first section should be numbered 1.2.3. This holds also for RTL languages, since numbers, including Dewey numbering is still LTR even in an RTL ...
21
votes
3answers
2k views

LaTeX baffled by BOM---Unicode's byte order mark.

Unicode applies the convention of using a byte order mark as signature at the beginning of a text stream, identifying the encoding used within it. The following three bytes at the beginning of a file: ...
3
votes
1answer
769 views

Invoking a macro with arguments in the body of \DeclareUnicodeCharacter.

I would like to define the Unicode section character, U+00A7 to be equivalent to the \section macro. What I have now is: \DeclareUnicodeCharacter{167}{\csname section\endcsname} but this does not ...
13
votes
2answers
2k views

Mapping from Unicode character to LaTeX-Symbol for BibTeX?

I'm writing a little BibTeX exporter for the publication database of my institute. We do have a lot of authors with all kind of weird characters in their names, which get the "WTF is ...
3
votes
0answers
206 views

Font Appears different [closed]

Hi I am using Sanskrit2003 font and it appears with additional circle in TeXWorks, just to verify I copied it to MS Word & open office and it appeared fine in word. I am attaching an image to ...
1
vote
1answer
166 views

How to Use Unicode Font with \polter command

\documentclass{article} \usepackage{holtpolt} \begin{document} $\polter{abc}{def}$ \end{document} Hi, I have a need to produce something thats shown in the above example however I want to use ...
8
votes
4answers
791 views

The § character

I need information about § character. I have seen it used for numbering (equivalent to nº) and as a separator. Which is its name or code? Where can it be used?
2
votes
1answer
1k views

Use unicode font for cyrillic in gnuplot

Why I need to do this? I'n writting my diploma in laTeX and almost finish them, but I want to use in graph labels and legend the same font that LateX uses. As I know, the default LaTeX font in CM, so ...
3
votes
2answers
1k views

How to input foreign unicode characters into XeLaTeX?

Friends, I am working on a XeLaTeX document. I am almost done with my document, but I need to input text from a foreign language. I am running Mac OS X. I go to Preferences > Language & Text and ...
9
votes
5answers
3k views

No simple UTF8 support in latex?

The following should look good in your browser, AND compile in Latex looking beautiful right? \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} UTF-8 test: \begin{verbatim} logic: ...
14
votes
3answers
1k views

Hyperref: Scandinavian characters (æø) don't work in \url, hyperlink is wrong

Background A while ago it became possible to use the letters æ, ø and å in URLs, and some websites, like the encyclopaedia Store Norske Leksikon, has made use of this. Recently, a question was ...
3
votes
2answers
2k views

XeLaTeX, WinEdt 6.0 and UTF-8

I'm using WinEdt 6.0 and need to write German umlaute. Using XeLaTeX, i need to save the tex-file in utf-8 to have native support for this - does anyone know how to tweak WinEdt so that it saves in ...
4
votes
2answers
2k views

LaTeX: UTF8 and algorithm2e clash

I have this input file in utf8 encoding: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{algorithm2e} \begin{document} \begin{procedure} foo \caption{ö()} \end{procedure} ...
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
792 views

Arrows with Text (Using Unicode Devanagari fonts)

\documentclass[fleqn,12pt,a4paper]{article} % normal \usepackage[utf8x]{inputenc} \usepackage{fontspec,xltxtra,xunicode} \usepackage{fontenc} \usepackage{fancyhdr} \pagestyle{fancy} \usepackage{color} ...
8
votes
3answers
894 views

Asana Math Oversized “Big operators”

I am having this problem when using Asana Math with XeLaTeX + unicode-math, if you see the pdf found in the download link AsanaProb.zip you can see that \bigcap produces much bigger character than it ...
47
votes
4answers
84k views

“inputenc Error: Unicode char \u8” error while trying to write a degree symbol (invisible character)

No matter how I try to do it I always get the following error : ! Package inputenc Error: Unicode char \u8:­ not set up for use with LaTeX. I have tried using ­­­$^{\circ}$, \deg, \textdegree, ...
5
votes
2answers
878 views

Math italics with unicode-math.

I'm using Tex Live 2010. Here's the example I want to discuss. \documentclass{article} \RequirePackage{amsmath} \RequirePackage{unicode-math} \setmainfont{Linux Libertine O} ...
5
votes
1answer
698 views

How do I convert a character to a numeric value?

Now that I've gotten Will Robertson's excellent unicode-math package working to change the colour and style of letters in my mathematics (trust me, there is a reason) thanks to his answer to my ...
11
votes
3answers
830 views

unicode \begin{verbatim} with cmtt?

A lot of leading-edge programming languages (like Coq and Agda) allow nearly unrestricted use of unicode symbols in program text, so you can have math characters like $\otimes$ (Unicode U+2A02) as ...
19
votes
7answers
19k views

utf8 or latin1 encoding - german

\usepackage[utf8]{inputenc} or \usepackage[latin1]{inputenc} I write in german if that matters. pro and contra?
8
votes
3answers
703 views

Glyph insertion

I use Linux and have available to me the "compose" key, and thus can type characters like '°', 'ß', 'ï', 'į', 'ḯ', etc. Is it inherently "bad" to use the compose key to insert the characters, should ...
8
votes
4answers
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 ...
108
votes
8answers
51k views

Entering Unicode characters in LaTeX

How do I enter Unicode characters in LaTeX? What packages do I need to install and what escape sequence do I type to specify Unicode characters in an ASCII source file?