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

7
votes
1answer
4k views

\DeclareUnicodeCharacter doesn't work for all characters

I am trying to incorporate some Unicode characters into my LaTeX files. All characters I added so far worked well, but when I use \DeclareUnicodeCharacter{211D}{{\mathbb R}} (211D is the Unicode ...
4
votes
2answers
672 views

Define spec symbol glyph's Unicode

Suppose I have: \documentclass{article} \begin{document} $1 \cdot{1}$ \end{document} I want to know the glyphs' Unicode for cdot special symbol. I followed such way. I've run latex command on my ...
3
votes
2answers
460 views

How to find the proper glyph name required by \pdfglyphtounicode

I am creating a PDF using pdfTeX. Alas, the publisher's requirement is that all glyphs therein are mapped to one or more Unicode code points. I got this working for most, but not all glyphs: \input ...
4
votes
1answer
2k views

Left outer join symbol (⟕) [duplicate]

Possible Duplicate: Symbols for Outer Joins I want to insert the Unicode symbol ⟕ (⟕ LEFT OUTER JOIN). Who can give me an minimal LaTeX example containing the character?
2
votes
1answer
361 views

Unicode works in mkii but not in mkiv

I have been using texexec which, as I understand it, is mkii. I have several documents that have unicode in them and typeset perfectly using texexec. However, texexec seems to have trouble with ...
14
votes
1answer
601 views

Command names with utf-8/special characters

Is it possible to define \newcommand{\√}[1]{\sqrt{#1}} as commands like this one would sometimes be easier to use.
8
votes
1answer
292 views

Unicode or control sequences?

What kind of troubles may occur if Unicode characters will be entered directly in the following situations (English, no math): Diacritics: for example, ö instead of \"{o}. Em, en dashes and minuses. ...
6
votes
1answer
1k views

How do I place a single character from unicode in a LaTeX document?

I want to place a character from several, non-Latin, languages. I guess I can do this using unicode, but how do I do that? Specificaly, I want to place the Hebrew Aleph and the digit currently used in ...
14
votes
3answers
2k views

How to use xindy with XeTeX/LuaTeX?

According to Xindy revisited: Multi-lingual index creation for the UTF-8 age (TUGboat), “if one has a raw index file that was produced by [XeTeX], one can use xindy; it will ‘just work’.” ...
14
votes
2answers
3k views

The 'listings' package and UTF-8

Please, do you know if there's any possibility how to use the listings package together with XeLaTeX? I have to use XelaTeX and therefore I have UTF-8 encoded files. This is not compatible with ...
27
votes
4answers
10k views

Having problems with listings and UTF-8. Can it be fixed?

I'm having some problems with listings and UTF-8 in my document. Maybe someone can help me? Some characters work, like é and ó, but á and others appear at the beginning of words... ...
5
votes
2answers
1k views

Full metal alchemist kanji in latex code.

I want to write 鋼の錬金術師 (aka "Alchemist of Steel") is latex. I have the CJK package but just a simple copy and paste of the above kanji to gvim does not do the trick. The code I have is ...
7
votes
2answers
1k views

Using hyph-utf8 with plain TeX

I want to use the UTF-8 hyphenation patterns (for Croatian) with plain TeX (pdftex). I've read the documentation on the hyph-utf8 package but I haven't found it very useful. There's mention of a ...
3
votes
1answer
1k views

How to add unicode (devanagari) text to a LaTeX document without using XeTeX or LuaTeX?

I am using an online LaTeX compiler(scribtex) so I dont have the luxury of using XeTeX and other LaTeX compilers. I tried to include unicode text into my document using the following syntax: ...
7
votes
1answer
770 views

Plain text for cut and pasting, ligatures for viewing (or, disabling ligatures)

One reason I switched to Xelatex was that I was interested in being able to create fully unicode documents (I'm a linguist, and often have linguistic symbols as well as Arabic text in my documents) ...
2
votes
2answers
2k views

Biber writes incorrect unicode encoding of \'\i

Biber seems to be writing some strange unicode characters when reading bib entries where the accented character í has been entered as \'\i. This causes compilation to break when using pdflatex (and ...
7
votes
1answer
824 views

Properly sort index containing utf8 characters?

If my input file is utf8 encoded, how to I create an index where the entries are properly sorted? Minimal example \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{makeidx} \makeindex ...
7
votes
1answer
1k views

BibLaTeX: sorting alphabetically with non-latin characters (Ś)

Biblatex indexing works very well with latin names. But when an author has foreign name (Łukasiewicz) the Ł letter is changed to \IeC {\L} and makeindex is not able to sort it well. In Polish it ...
12
votes
3answers
2k views

How to get accented unicode characters that can be copy-pasted?

The aim is to generate the .pdf with accented characters (the .tex file has mixed macro and unicode input), in a way that the .pdf text can be copy-pasted. An example: \documentclass{article} ...
3
votes
3answers
863 views

mathaccent skewchar with XeTeX

How can I get the dots in the correct position: \font\test="XITS Math:script=math;mapping=italic" \skewchar\test=127 \XeTeXmathchardef\beta="0"1`β \def\ddot{\XeTeXmathaccent"7"1"0308} ...
4
votes
1answer
889 views

Converting LaTeX commands in BibTeX title field to UTF-8?

I've been Googling and downloading different software for the last two days and I'm not getting very far. I was referred to this site and it looks like a great resource. Hopefully I can get the ...
6
votes
2answers
1k views

Change XeTeX fonts automatically depending on Unicode blocks

I would like to move from p(La)TeX (which was a TeX system specifically tailored to Japanese in a pre-Unicode era) to Xe(La)TeX, and I'm having a problem. In p(La)TeX, Japanese fonts are only used ...
3
votes
0answers
774 views

Is there an Unicode code point for umlauts marked with a small e instead of a diaresis? [closed]

The original way to denote an umlaut in German was to write a small e on top of the umlauted letter, like in the second row of the image below. Is this form of the umlaut availabe via Unicode? In ...
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 ...
57
votes
2answers
82k 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
254 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
1k 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
386 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
467 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
952 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
375 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} ...
116
votes
6answers
59k 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
663 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 ...
5
votes
2answers
479 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
793 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
3k 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
207 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 ...
2
votes
1answer
168 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
799 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 ...