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

4
votes
1answer
2k views

Using ligatures as Unicode

I use TeX Live. See my example: \documentclass{article} \usepackage[utf8x]{inputenc} \usepackage[english]{babel} \begin{document} Check ligatures: first % here I have ligature for "fi" \end{document} ...
4
votes
2answers
631 views

Datatool, UTF8 and Export to a file

The title contains the problem: I have a datatool table, which contain accented characters (öäü) and I want to export the table into a CSV file : \documentclass{article} \usepackage[utf8]{inputenc} ...
16
votes
2answers
12k 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 ...
5
votes
1answer
2k 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 ...
6
votes
2answers
3k views

Error with inputenc and UTF-8 non-breaking space

This is a follow up to How to make non-breaking spaces (ties) in Org-mode that exports properly to LaTeX. One answer to the question is a solution that uses UTF-8 non-breaking spaces but these cause ...
2
votes
1answer
1k views

weird symbols when opening a file written in arabic

When I open a TeX file containing arabic letters, I only see weird letters. I tried WinEdt, Emacs, TeXMaker. But when I open the same file using Notepad, it looks OK. What shoud I do?
7
votes
1answer
310 views

How do I get guillemets in a listing?

I'm wondering if it's possible to use guillemets («») in a lstlisting block? I have seen some solutions for including it in the document, but none with the listings package.
7
votes
3answers
2k views

Bi-directional editor for LaTeX [duplicate]

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
3answers
3k views

An alternative to utf8 and arabtex under memoir documentclass

I'd like to use utf8 and arabtex packages under the memoir documentclass, but it seems unlikely to happen (previous discussion). What would be a good alternative, no transliteration and something that ...
8
votes
1answer
594 views

Problem with pst-barcode when using \usepackage[utf8]{inputenc}

I've tried to use the pst-barcode to generate QR codes, and ran into an issue with foreign characters. \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pst-barcode} \begin{document} ...
6
votes
2answers
370 views

Finding and displaying UTF-8 characters with xesearch

The xesearch package allows one to replace text with other text. E.g.: \documentclass{ctexbook} \usepackage{fontspec} \usepackage{xesearch} \SearchList{list1}{newspaper}{book} \begin{document} ...
8
votes
4answers
3k 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 ...
2
votes
1answer
437 views

How can I get a servicemark in latex?

I looked at Will Robertsons answer to Entering Unicode characters in LaTeX which explains how to enter a unicode character but it uses \textemdash and I don't know if a LaTeX command exists. The ...
7
votes
1answer
2k 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 ...
9
votes
3answers
8k views

encoding problem with \verbatiminput : Package inputenc Error: Unicode char \u8: not set up for use with LaTeX

I'm trying to import some logs files using \verbatiminput to do a automatic report from our logs. I got some encoding problem. My objective: import some logs files with various special char (included ...
4
votes
1answer
1k views

\SweaveInput{…} with UTF-8 encoding?

Some hack here. In ?RweaveLatex manual, I found only paragraph about encoding in UTF-8 but considering Windows users: The use of fancy quotes (see ‘sQuote’) can cause problems when setting R ...
9
votes
2answers
2k views

Package trackchanges: problem with UTF8

the package trackchanges doesn't seem to work with utf8 encoding. Did somebody encounter the same problem? Does anybody have a solution ? Minimal example : \documentclass[12pt]{article} ...
7
votes
2answers
3k views

How to import a text file (with accent, special chars)

I got some text file (logs) that I want to import I saw this post: How do I import a text file so that it becomes the body text of my LaTeX document? which work, but all the special chars (UTF-8) are ...
20
votes
3answers
3k 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 ...
6
votes
1answer
501 views

How to write infix macro/newcommand?

Is it possible to write a new command/macro in infix syntax instead of prefix syntax; especially I'd like to have this for $\frac{a}{b}$. I use LuaLaTeX and with \newunicodechar{‾}{\overline} I can ...
3
votes
1answer
647 views

LaTeX bibentry bug(?) and potential workaround: Multiple bibliography entries for single items?

As a preamble to all of this I am using tufte-latex, bibentry, inputenc with the utf8 option, and natbib packages with MikTeX 2.9. There seems to be a bug/incompatibility with bibentry and UTF8 ...
3
votes
1answer
610 views

minted chokes on umlauts

I would like to use ü in the caption of my listings. It works with the lstinputlisting command, but not with inputminted: \documentclass[11pt]{report} \usepackage{geometry} \geometry{a4paper, ...
3
votes
4answers
1k 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: ...
4
votes
1answer
326 views

How to highlight a non-ascii keyword using the listings package? [duplicate]

I'm trying to highlight a couple of keywords which contain non-ASCII characters using the listingsutf8 package. This is the relevant part of my document: \usepackage[brazilian]{babel} ...
7
votes
2answers
10k 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 ...
21
votes
2answers
4k 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 ...
21
votes
3answers
1k 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. ...
10
votes
2answers
790 views

Do XeTeX and LuaTeX always use Unicode?

I am writing some functions to manipulate strings. A typical way to produce a character with a given character code is the \lowercase primitive. The following code produces a character with code 234, ...
5
votes
1answer
3k views

Unicode “undefined control sequence” in XeLaTeX

I have got a TeXLive 2011 on an Apple Time Machine and TeXShop on my local MacBook. When I try to typeset the XeLaTeX template from TeXShop, I get “undefined control sequence” for some of the Unicode ...
7
votes
1answer
768 views

How do I enter Unicode characters in TeX?

I need to write a few Unicode characters (e.g. Л) into a text without using e.g. XeTeX, LuaTeX or inputencoding with UTF-8 (please assume as little as possible about the typesetting system). I have ...
7
votes
1answer
1k views

LuaLaTeX and algorithm2e [closed]

The algorithm2e package seems to be not compatible with LuaLaTeX. For example, compiling the following code produces an error. \documentclass{article} \usepackage{fontspec} \usepackage{algorithm2e} ...
1
vote
0answers
194 views

Two Unicode fonts Mapping [closed]

I have certain text that I typed using Unicode (Devanagri input) I want to get output to a different unicode (Telugu) output. I created a ".map" file and complied it with "teckit_compile". I created ...
17
votes
1answer
1k 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 ...
13
votes
1answer
5k 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?
2
votes
1answer
384 views

How do I embed Unicode G Cleff in a Verbatim environment?

I am writing a chapter on Unicode. I'm using LaTeX using the fancyvrb chapter and inputenc, which lets me type most unicode characters without problem. Problem: I want to include a character from the ...
3
votes
0answers
1k views

UTF8 Encoding/Mapping in the pdf with PdfTeX (Application to Fourier Font) [closed]

After many search, I have found how to have a pretty good UTF8 mapping (which give no bad result on Acrobat Pro accessibility checking) for lmodern and amsfonts. The code needed is in the minimal ...
6
votes
2answers
615 views

my french é is being shown as a weird Ãl’

I'm writing a Dutch / French document, so I defined \usepackage[dutch,french,british]{babel} in my headers, but my french é is being shown as a weird Ãl’. I tried changing the encoding in ...
15
votes
2answers
2k views

Option unicode=true with hyperref

Is there a drawback when using the option unicode=true with the package hyperref and the engines PDFTeX, XeTeX and LuaTeX? In other words, can a portable document always have ...
4
votes
2answers
657 views

Can you translate utf8 file to ascii with non-ascii characters replaced by tex-macro?

The title says it all. I have a unicode (utf-8) file which contains some non-ascii characters, e.g. "ö" and translate it into an ascii-file where the non-ascii characters are replaced with ...
3
votes
2answers
564 views

Half Brackets Not Showing in XeLaTeX

I have a XeLaTeX document with lower half brackets ⸤⸥ (U+2E24,U+2E25) and upper half brackets ⸢⸣ (U+2E22,U+2E23). In the log file I get the complaint like Missing character: There is no ⸤ in font... ...
6
votes
1answer
327 views

Uralic phonetic alphabet or UPA – unusual diacritics

I am writing a linguistics MA thesis in LaTeX, and I will possibly need to use the Uralic Phonetic Alphabet, for example in glossing environments. What would be the best way to do this? I've seen ...
7
votes
1answer
708 views

Proper way to use greek letters in an English document

I typically use LaTeX to write chemistry & physics documents with a lot of equations. I often will reference terms and variables and such in the text of my document. Typically I just do this by ...
7
votes
1answer
5k 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
743 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
502 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
380 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
667 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.
10
votes
1answer
341 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
2k 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 ...