{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}.

learn more… | top users | synonyms (1)

13
votes
2answers
390 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 ...
6
votes
1answer
135 views

Fix all quotes in a document (pasted from another)

I'm translating some documents from MS Word (written by someone else) to TeX for my own uses. There are quotation marks all over the place, some of which are "weird" (e.g., unicode character 201c “ ...
1
vote
1answer
410 views

utf-8 characters in latex math mode

I'm using utf-8 characters like "ğ" or "ı" in math-mode in LaTex, but it does not render the characters as it should. Outside of math-mode I do not have this problem. My preamble with respect to font ...
4
votes
2answers
176 views

biblatex-apa and Unicode characters

When I use one of the default styles in biblatex, Unicode characters are correctly printed in the bibliography. When I use the biblatex-apa package, on the other hand, (adding the option style = apa ...
8
votes
1answer
455 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 ...
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
1answer
365 views

Computer Modern in XeLaTeX

I love XeLaTeX for things like $a≠b$ ⇔ $ a⊧a↑Ω$ All days before I used DejaVu fonts and Asana-Math for unicode-math. But today I have to get visual compability with LaTeX. So I installed Computer ...
5
votes
2answers
179 views

\@startsection, hyperref and newunicodechar; protection needed?

When working with custom defined environments using \@startsection I found, after switching to newunicodechar for defining my unicode characters, that the sectioning headings give this peculiar ...
5
votes
1answer
391 views

How to make latex recognize tick and cross symbols

I'm looking for a way of making latex recognize the tick and cross symbols as apposed to having to use commands in latex code to make these symbols. Is there anything you can add in the preamble that ...
9
votes
3answers
473 views

Diereses (German Umlauts) in math?

Is it possible to enter Umlauts directly in math? I would like to do something like the following (using XeLaTex): \documentclass{article} \usepackage{amsmath} \usepackage[silent,no-math]{fontspec} ...
3
votes
3answers
431 views

Converting greek utf letters to latex symbols

I have a collection of notes on my iPad, written using a markdown editor/viewer (trunk notes) that does not understand latex, but does display greek. Is there a simple way to convert the greek letters ...
6
votes
0answers
139 views

How can I write $_{\text{s}}$ in a bookmark? [closed]

I need to write $E_{\text{s}}$ in a pdf-bookmark, but \documentclass{article} \usepackage[T1]{fontenc} \usepackage{amsmath} \usepackage[unicode]{hyperref} %209B ;LATIN SUBSCRIPT SMALL LETTER ...
5
votes
2answers
226 views

Spacefactor & Unicode Curly Quotes

Unicode curly quotes seem not to have the correct space factor. Consider the following minimal example (not using french spacing): \documentclass[12pt]{minimal} \usepackage[utf8]{inputenc} % Or ...
4
votes
2answers
309 views

Accent characters incorrectly written external file

I tried to write some strings in an external file for use in a special type of index, but using utf8 accented characters appear wrong. In my external file, those characters appear in the same way as ...
1
vote
0answers
128 views

Imported PDF figure special character problem [closed]

I am importing a PDF figure using \includegraphics. This PDF figure contains a greek sigma and a greek Delta capital. In my PDF output, the sigma is output correctly, however instead of a capital ...
0
votes
0answers
195 views

Curly end-quote (”) not working in xetex? [closed]

I'm using xetex with unicode quotes (“ and ”), along with the mla.sty style for MLA papers. The opening quotation mark works (“) but not the ending (”). I can't figure out whether this is because of ...
13
votes
3answers
902 views

'Not element of' in Latin Modern

In the following example, the ∉ symbol does not look good. \documentclass{article} \usepackage{unicode-math} \setmainfont{Latin Modern Roman} \setmathfont{Latin Modern Math} \begin{document} This ...
12
votes
1answer
190 views

Remapping LaTeX symbol to another unicode value

When compiling the following piece of LaTeX code, the ∖ symbol does not show up. \documentclass{article} \usepackage{unicode-math} \setmainfont{Latin Modern Roman} \setmathfont{Latin Modern Math} ...
14
votes
2answers
585 views

How to insert Greek letters directly in math environment?

Why are non-Latin characters not displayed in formulas, even when using XeLaTeX? \documentclass{article} \usepackage{xltxtra} \begin{document} $\omega$ %displyed $ω$ %not displyed ...
0
votes
1answer
170 views

Converting Doc file with wsW2LTX 1.1 GUI [duplicate]

Possible Duplicate: Converting MS Word .doc to LaTeX by command line I want convert a word file to .tex (XeTeX) with wsW2LTX 1.1 GUI But converted file is full of unknown numerical code ...
4
votes
1answer
391 views

Using another font for a glyph that is not available in the current font

I want to declare more than one font so XeTeX can use other fonts when first font did not have a specific glyph. How can I do that? In windows when the current font does not have a glyph, other font ...
4
votes
3answers
247 views

English minitoc entry within a Greek utf8 document

In a document set up as shown in the question Greek pdf bookmarks, the interesting bits are: \documentclass[greek,english]{scrbook} \usepackage[LGRx,T1]{fontenc} % define LGR and T1 encodings ...
3
votes
2answers
539 views

In WinEdt 7: How to typeset Arabic, Persian and Urdu properly? [closed]

WinEdt 7 has been released with a claimed support of UTF8. It is true that now the arabic letters are showing correctly, but the default setting are still far from being useful. first, the arabic, ...
11
votes
1answer
477 views

From LaTeX with pdflatex to plain TeX

I've always wanted to try plain TeX instead of LaTeX. I can use plain but I'm not able to use correctly the fonts and I'm not able to use the french hyphenation. I would to know how to do this with ...
6
votes
1answer
246 views

Hyphenation patterns / lccode / “.dat” format of hyph-utf8

I have made a new encoding for "modern" greek based on ISO 8859-7. Now I'd like to create hyphenation patterns for it, to use with pdftex (that is, 8 bit based). If I understand correctly, I can do ...
3
votes
2answers
261 views

How to insert these unicode symbols u2400 to u2421?

Please how can I insert these unicode symbols in the range u2400 to u2421. They are names of control characters. You can see them here: http://unicode.org/charts/PDF/U2400.pdf I could find the ...
7
votes
2answers
358 views

How do I put a musical clef in a memoir-class document?

I've got a lot of questions about preparing a book layout, but as I'm slowly going through the various books and other documents out there, I think most of the questions are being answered. However, ...
3
votes
1answer
702 views

Missing \endscname inserted citation

I am new to LaTeX, and I have encountered an error that I couldn't fix myself. Error: "Missing \endcsname inserted Три \cite{Бідюк2009}" Неre is a simple document to recreate an error. ...
2
votes
2answers
2k views

Use biblatex and utf8

For my thesis, I use biblatex for the bibliography. As seen here, biblatex is not compatible, with \usepackage[utf8x]{inputenc}. It was reported as close but I still have the same problem with my ...
0
votes
0answers
186 views

Croatian characters not printing in xelatex/biblatex-biber [closed]

The following minimal example omits the Croatian accented z/c from the author name in the compiled PDF. \documentclass{article} \usepackage{fontspec} \usepackage[T1]{fontenc} ...
11
votes
3answers
540 views

How do I print a beta in TeX Gyre Termes text mode?

I have to write a document in Times. Therefore I started writing it in TeX Gyre Termes, based on the note on Time's font page. However, I use PDFLaTeX, so I can't directly type Greek characters. So if ...
4
votes
2answers
1k views

Angle brackets in non-math-mode text

Is there a way to directly input angle brackets into text without resorting to math-mode symbols? I'd like to correctly indicate orthography in a linguistics paper, and have been resorting to single ...
7
votes
2answers
836 views

Error “Please insert PRERENDERUNICODE”

I meet a subtle problem. My simplest code is as follows. I am working in Win 7-32bit, my editor is WinEdt 7.0 (Build: 20120125 (v. 7.0)), saved as UTF-8, compiled with pdflatex(MiKTeX2.9). ...
3
votes
1answer
1k views

inputenc error with unicode chars and verbatim

I am writing a package where I need to save the contents of several environments in verbatim mode to an auxiliary file. Then the auxiliary file is processed by an external program. In the next ...
2
votes
1answer
688 views

Extended ASCII characters in LaTeX document

I need to display a few extended ASCII characters and this is what I have coded so far. \documentclass[a4paper , 12pt]{report} \usepackage[mathletters]{ucs} \usepackage[utf8x]{inputenc} ...
2
votes
2answers
768 views

Using both unicode and russian in tex source

EDIT: In the end I ended up using XeTeX (with auto-refreshing Evince viewer) - as suggested by @Andrey Vihrov. I am, however, accepting the most upvoted answer. I am lost. Looked all over ...
6
votes
1answer
682 views

Unicode characters not displaying in XeTeX

I am trying to get Unicode characters to compile into a PDF file using XeLaTeX. My MWE looks like this: \documentclass[11pt]{article} \begin{document} Here is α, β, and finally γ. \end{document} ...
6
votes
2answers
469 views

Unicode in XeTeX with automatic font substitution?

I've got a word processor (WordGrinder) which supports Unicode. It can export LaTeX files, which then get run through XeTeX. Unfortunately, it seems that while XeTeX understands the Unicode ...
3
votes
1answer
455 views

Double-struck unicode chars in \texorpdfstring

Consider the following example (PDFLaTeX, TeXLive 2011): \documentclass{article} \usepackage{xspace,amssymb,mathtools,fixltx2e} % This isn't *stricly* necessary, of course... \ifdefined\TextOrMath ...
4
votes
1answer
490 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
394 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} ...
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 ...
5
votes
2answers
2k 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
341 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
211 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.
4
votes
3answers
485 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.
1
vote
1answer
275 views

using texlive:latex/pdflatex/xelatex and shebang (jobname)

I'm wondering, why my minimal example (in file shebang.tex) %& -job-name=test \listfiles \documentclass{article} \begin{document} Hidiho \end{document} will always (no matter if using latex, ...
3
votes
3answers
929 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 ...
6
votes
1answer
332 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} ...
5
votes
2answers
205 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} ...