{unicode} is for questions about Unicode (an international standard for character encoding) and its implementations. For questions about input encodings in general, use {encodings}. For questions specifically about the `inputenc` package, use {inputenc}.
63
votes
4answers
17k 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 ...
14
votes
3answers
1k 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: ...
11
votes
5answers
807 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, ...
80
votes
9answers
22k 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?
14
votes
7answers
7k 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
2answers
286 views
How to get devanagari numerals in latex or xetex
How to get devanagari numerals in xetex or latex - especially in enumerate environment?
I can use unicode to write devanagari text but I am unable to get devenagari numerals in section numbers, ...
27
votes
4answers
32k 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, ...
11
votes
3answers
1k 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’.”
...
6
votes
1answer
829 views
How do I enter an arbitrary Unicode code point into my document?
I want to enter a GREEK CAPITAL LETTER ALPHA (U+0391) into my LaTeX document. I do not want a LATIN CAPITAL A. How do I do this?
16
votes
3answers
923 views
Using unicode Roman numerals in XeTeX
As mentioned in How can I get Roman numerals in text?, there are several ways in which one can add Roman numerals to text in TeX. However, these solutions all seem to use three I's to make a roman ...
12
votes
3answers
266 views
How can I access a specific glyph in LuaLaTeX/Fontspec?
The OTF version of Minion Pro contains several Dingbats glyphs I would like to access. Some of them are not unicode, so I can not just copy the specific unicode character I want to access into my text ...
6
votes
4answers
1k views
Greek pdf bookmarks
I am puzzled with sections titled with Greek characters. They do appear in the pdf's Content list, though not correctly.
For example, in my thesis--written in English with LyX, based on the ...
4
votes
1answer
365 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 ...
6
votes
2answers
798 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 ...
13
votes
2answers
393 views
How to fix missing or incorrect mappings from glyphtounicode.tex
glyphtounicode.tex has been described as the best solution for generating copy-and-pasteable symbols. However, I find that various symbols that I need to use do not paste as the appropriate Unicode ...
9
votes
1answer
198 views
Entering unicode math symbols into LaTeX, direct from keyboard, on a Mac
I would like my LaTeX files to contain Unicode characters. For instance, I want to see
∃x.x ⟶ β
in my text editor, rather than
\exists x\ldotp x\longrightarrow\beta
Also, I would like to ...
11
votes
3answers
1k 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}
...
10
votes
2answers
1k 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 ...
9
votes
4answers
3k 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...
...
14
votes
2answers
466 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 ...
7
votes
5answers
2k 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: ...
1
vote
1answer
945 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 ...
6
votes
2answers
1k 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 ...
5
votes
3answers
2k 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
2answers
324 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 ...
12
votes
1answer
246 views
Hyphens at end of line disappear upon pasting, even if they were present in the input
When I paste text from pdflatex output, there are two things about hyphens that I would like to change:
Hyphens paste as "hyphen-minus" (U+002D, "-"), but I would prefer the newer Unicode character ...
11
votes
3answers
691 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 ...
10
votes
3answers
2k 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, ...
8
votes
2answers
219 views
How to write properly an accent in a web address?
I'm trying to write a hyperlink for a DjVu document that includes Latin accent, but for some reason, it only displays properly for the PDF one. Specifically, on my list of references (bibliography), I ...
6
votes
0answers
128 views
UTF8 for listings
With German umlauts I have to define these characters (Typesetting UTF8 listings with German Umlaute) and the following MWE is working:
\documentclass{article}
\usepackage[utf8]{inputenc}
...
6
votes
1answer
786 views
Getting (Xe)LaTeX to display accents and characters not included with the font
The font I'm using (Adobe Garamond Premier Pro) does have certain precomposed glyphs with diacritics, so I'm having (Xe)LaTeX add them in. I found this post and used the method described there for ...
3
votes
1answer
90 views
odd displays of accentuated characters in lstlisting environment
when i try to write accentuated characters (éà...) in a lstlisting environment,
hence :
\documentclass{article}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{xcolor}
...
14
votes
1answer
412 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.
19
votes
3answers
644 views
Unicode character look-up
Now that I have switched to primarily using XeTeX, I find I do not use Detexify or the The Comprehensive LaTeX Symbol List to find symbols very much. However, I often still need to locate symbols. ...
9
votes
2answers
476 views
How can I get utf8 character
I want to make cross references for sections to be symbols but after using the description given I got error report saying keyboard character used is undefined in inputencoding 'utf8'. What might be ...
19
votes
1answer
276 views
Unicode in the equations: pros and cons
Is there any pros and cons for using of Unicode (and vice versa) in LaTeX equations?
Consider two examples:
\lim_{h→0}∫_{x_0}^{x_0 + h}\frac{f(t)}{h} = f(x_0)
x_0 ⇔ ∀ 𝜀 > 0, ∃ 𝛿 > ...
13
votes
4answers
628 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 ...
8
votes
1answer
461 views
Migrating from pdfTeX to LuaTeX: Problems with reproducing output for legacy projects
I'm currently analyzing and evaluating a migration process from pdfTeX to LuaTeX for our current TeX workflow. With LuaTeX being a fork of pdfTeX and packages like luainputenc at hand it seemed ...
5
votes
2answers
2k views
Insert unicode symbol
I need to insert a ⚓ into my latex document. (More info about the symbol can be found here)
I have tried to use some other answers here but I have not been successful, including the question Entering ...
15
votes
1answer
403 views
listings package changes hyphens to minus signs
The listings package transforms source-code hyphens (-, U+002D) into minus signs (−, U+2212) when using the default proportional fonts, though not when using the default monospaced typewriter font. A ...
10
votes
2answers
2k views
How can I tell LaTeX that an \input file is in a different encoding from inputenc?
I'm currently writing a .tex report with my wife. She's on a Windows machine and I'm running Linux over here; we've decided to encode our report in ISO-8859-1 (i.e., we use ...
7
votes
3answers
476 views
Glyph insertion
I use linux and have available to me the "compose" key available and thus can type characters like °, ß, ï, į, ḯ, etc.
Is it inherently "bad" to use the compose key to insert the characters, should I ...
5
votes
1answer
364 views
How to make slash (/) paste with correct Unicode codepoint depending on context?
Unicode offers different characters for the slash:
U+002F (/) for the ordinary slash
U+2215 (∕) for the mathematical division operator
U+2044 (⁄) to designate vulgar fractions
How can I have these ...
4
votes
3answers
487 views
Bi-directional editor for LaTeX
I am new here. I am looking for a bi-directional editor that works with LaTeX system and supports Unicode. I need it in order to write Hebrew, Arabic, etc.
4
votes
1answer
573 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 ...
3
votes
4answers
723 views
Kile document doesn't work well in WinEdt. How do I convert it?
If I save a document in Kile (on Linux) and and open it in WinEdt (Windows) my text is in a bad format.
For example:
If I have a kile document named main.tex (saved using the UTF-8 encoding) with:
...
10
votes
2answers
552 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
4answers
511 views
Fun unicode characters with pandoc
Silly question: I want to use a heart (♥) character in my presentation.
I'm already using xelatex as engine so it doesn't complain for the character itself but it doesn't render it. Just a blank ...
8
votes
3answers
689 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 ...
7
votes
3answers
3k views
Error: Unicode char \u8:φ not set up for use with LaTeX
I have the following LaTeX document:
\documentclass{article}
\usepackage[utf8]{inputenc}
\begin{document}
φΔδ汉
\end{document}
But I get the following error:
$ latex foo
This is pdfTeX, Version ...
