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

5
votes
2answers
467 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
781 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
180 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 ...
19
votes
3answers
34k 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
410 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
1k 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 \end{...
0
votes
1answer
298 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 like [...
4
votes
1answer
1k 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 ...
5
votes
3answers
591 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 \...
4
votes
2answers
1k 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, ...
14
votes
2answers
1k 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
441 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
732 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
933 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, ...
5
votes
1answer
3k 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. \...
15
votes
2answers
14k 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 ...
12
votes
3answers
2k 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 ...
6
votes
2answers
7k 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 ...
10
votes
2answers
4k 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). \...
4
votes
1answer
2k 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 ...
3
votes
1answer
3k 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} \begin{...
3
votes
2answers
3k 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 tex....
7
votes
1answer
3k 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} ...
15
votes
2answers
1k 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 correctly,...
3
votes
1answer
1k 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 \...
3
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
640 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 \usepackage[latin1]{...
6
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 (e.g....
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
316 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.
8
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
601 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
373 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 KOMA-...
2
votes
1answer
448 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
9k 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
2k 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
508 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
654 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
618 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, left=...
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
332 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} \usepackage[T1]{...
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 ...