{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
2answers
220 views

Math escape in listings and surround white space

I want to use the double right arrow for some Scala code in listings. I thought I'd use the mathescape option and $\Rightarrow$. However, this "eats" whitespace around it, e.g. if I have foo ...
3
votes
1answer
108 views

Problem with XeTeX normalization and \char [closed]

Is there any way in Xe(La)TeX to enter a unicode character by its code, but still have XeTeX perform normalization on the resulting string of characters? For example, the following code does not give ...
5
votes
1answer
194 views

Unicode characters in a listing environment are not colorized!

When using the package listing, colorized comments will not yield colorized exotic unicode characters. This is a minimal working example: \documentclass{minimal} \usepackage{ ...
14
votes
5answers
1k views

Using “◌” in Latex - “Unicode char \u8:Γùî not set up for use with LaTeX”

How can I use the character ◌ (25CC): http://www.fileformat.info/info/unicode/char/25cc/index.htm ? I am using MikTex (pdflatex) under Window; I am importing the following packages: ...
5
votes
1answer
114 views

Generating unicode hyphenation pattern

Is there a program that you can use to generate unicode hyphenation pattern? I already know about opatgen but I can not compile that program since it requires a very old version of gcc.
1
vote
0answers
158 views

Biber: Cannot decode string with wide characters (encode.pm)

I have ran into problems with biber and Xelatex, so I decided to test a working example and see what's up. I used the test files from this question, but the result I got was: INFO - This is Biber 1.7 ...
5
votes
1answer
117 views

getting unicode lower block series to appear

In contexts outside of LaTeX, I've found rectangles of increasing size very useful. I can enter these in UTF-8 in my text editor, but despite trying every font related fix I can find, I can't seem to ...
5
votes
1answer
721 views

Getting error when writing ÆØÅ character

I'm making a thesis in danish, which means I use the packages: \usepackage[utf8]{inputenc} \usepackage[danish]{babel} Now, I have split up my documents into chapters, and so far I have: ...
6
votes
1answer
371 views

Hyphenation of Russian text in utf8 encoding?

All my attempts to make hyphenation work in Debian Linux 6.0 for Russian text encoded in utf8 has failed. My search on internet indicates that hyphenation should work through babel at least with ...
3
votes
1answer
181 views

How can I show Unicode words in pdf

%% AMS-LaTeX Created by Wolfram Mathematica 9.0 : www.wolfram.com \documentclass{article} \usepackage{amsmath, amssymb, graphics, setspace} \newcommand{\mathsym}[1]{{}} \newcommand{\unicode}[1]{{}} ...
7
votes
2answers
234 views

Uniform Unicode for text, math and listings?

What should I put in the preamble (preferably packages) for this to work as expected with its unicode characters? \documentclass{article} \usepackage{listings} \begin{document} $α$ α ...
4
votes
1answer
227 views

How to have special characters (e.g. german umlauts) inside bibkeys?

I really like biblatex [backend=biber] to use with UTF8, as many citations I use will have some special characters esp. in the name field. This works totally great until I want to use e.g. german ...
7
votes
1answer
112 views

Why \@ifnextchar doesn't work correctly within of a unicodechar definition?

Consider the following code: \documentclass{article} \usepackage{amsmath} \usepackage{newunicodechar} \makeatletter \newunicodechar{∑}{\@ifnextchar_{\sum}{\@ifnextchar^{\sum}{\Sigma}}} ...
2
votes
1answer
192 views

ConTeXt: How to create nice-looking fractions

Background Looking to create vulgar fractions in the current font such those in Unicode. LaTeX has the nicefrac package that provides, as the name implies, fractions where the dividing line is a ...
5
votes
1answer
1k views

Error message about an invalid utf-8 sequence (LuaLaTeX on a Mac)

I am using LuaLaTeX on a Mac and I want to have my PDF in Calibri font. I have issues with Umlauts. \documentclass{minimal} \usepackage{fontspec} \setmainfont{Calibri} \begin{document} äöüß ...
5
votes
2answers
545 views

Displaying the 64 hexagrams of the Yi Jing (using Unicode range 4DC0 up 4DFF)

I'm writing a book and I need to include the range of Unicode characters 4DC0 - 4DFF up to display the hexagrams of the Chinese book Yi Jing http://en.wikipedia.org/wiki/I_Ching I've used the ...
7
votes
2answers
381 views

How to insert a specific unicode character (such as the ZWNJ symbol) into the text stream via lua code compiled by Lua(La)TeX?

How does one instruct Lua(La)TeX -- specifically, the lua code invoked via a \directlua directive -- to insert a non-ASCII unicode symbol, such as a "zero width non-joiner" symbol (code U+200C), into ...
3
votes
1answer
132 views

Searchable text and math, encoding

Im running into a problem with text and math font encoding. First off, the goal at the end of the day is to have a .pdf and .tex which can be searched and copied. The document is compiled in XeTex, ...
5
votes
1answer
190 views

What controls the encoding of the LaTeX log file – and how to change it?

I have a LaTeX document in UTF-8 encoding: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \begin{document} ...
5
votes
1answer
362 views

Unicode symbols in hyperref links

EDIT: It looks like this solution \detokenize{} is working in my situation. Mark it for answered. I've searched all over Internet including Stackoverflow, but I can not found a solution in this ...
2
votes
0answers
239 views

How to make listings display characters special characters

I am trying to show a directory structure of a tree using the listings package like so: ├── controllers │   ├── application_controller.rb what I get looks like this: controllers ...
1
vote
0answers
136 views

Fontspec package makes font weird compiling with XeLaTeX [closed]

I'm new to LaTeX. I'm using the 'fontspec' package and compiling the document with XeLaTeX (xetex), but when I use the package: \usepackage{fontspec} The font is all weird, not behaving like it ...
10
votes
1answer
362 views

XeTeX UNICODE Table

I would like to try to write a minimal XeTeX source that generates a comprehensive UNICODE table, substituting in local fonts as required by the current plane. I made the attached code as an MWE for ...
8
votes
1answer
332 views

Change Enumerate Items to Khmer Unicode Alphabet

Here is my code that change default enumerate item to roman number \documentclass{article} \def\theenumi{\roman{enumi}} \def\theenumii{\roman{enumii}} \begin{document} \begin{enumerate} ...
5
votes
2answers
138 views

ucs clashes with DeclareUnicodeChar?

I'm forced to work with latex, and want to make use of unicode chars in math. So I write: \documentclass{article} \usepackage[utf8]{inputenc} \DeclareUnicodeCharacter{B7}{\cdot} ...
7
votes
2answers
716 views

How to input characters into XeLaTeX

How do I input the non-keyboard characters into TeXShop? My minimum working example: \documentclass{book} % Font Settings \usepackage{fontspec} \newfontfamily\myfont{C64 Pro Mono} \begin{document} ...
2
votes
0answers
324 views

using special characters in csv file imported by pgfplotstable [closed]

I'm using pgfplotstable to render CSV-files as tables in my document: \documentclass{article} \usepackage[utf8]{inputenc} \usepackage{pgfplotstable} \begin{document} ÄÖÜ! \pgfplotstabletypeset[col ...
4
votes
0answers
1k views

Unicode char \u8:â not set up for use with LaTeX [closed]

Somewhere in my Bib file this character is used. I havo no clue what character this is and cannot find the corresponding 'real' one. My typestting aborts on this character. I do use ...
2
votes
1answer
106 views

The unicode character U+2C7A

I already asked how to embed fonts from Dejavu Sans Extralight in Lates documents. This is the link to my original question : DejaVu Sans Light with XeLaTeX? None the less, the character U+2C7A (an O ...
2
votes
1answer
209 views

dealing with strange characters in a bib file

I use mendeley to generate my bib file so I have a very large list of items (3000+) and since mendeley collects the bibliography information sometimes from the pdf file, there may be errors and ...
2
votes
1answer
149 views

How can one make RStudio pass options to Sweave()?

I'm trying to use a UTF-8 encoded .Rnw file in combination with xelatex in RStudio. Since xelatex uses native UTF-8 support i cannot use \usepackage[utf8]{inputenc} in my .Rnw file, which would ...
3
votes
2answers
294 views

Add an exit sign / running person?

What is the simplest way to add a running person, similar to the one to the right in this image in my body text? I cannot find any appropriate unicode glyph or LaTeX symbol. Do I need to include a ...
9
votes
2answers
274 views

Giving arbitrary unicode characters, passed as arguments, a math-active definition?

I've been trying to write a LaTeX3 function to make arbitrary unicode characters math active and give them a definition. I'm using XeLaTeX. My solution inexplicably works for some examples but not for ...
4
votes
1answer
273 views

Can't overwrite Unicode character definition

I want this Unicode symbol 〈, left-pointing angle bracket, to be interpreted as \langle. On TeX Live on my Mac, I tried this: \documentclass[11pt]{article} \usepackage[utf8x]{inputenc} ...
5
votes
1answer
185 views

Monospaced font with U+1D400..U+1D7FF range (for editing)?

The goal of this question is to find an appropriate font for the editor in which I input TeX, rather than a font for use in the output. I hope this is sufficiently on-topic for TeX.se. I recently ...
2
votes
1answer
162 views

Glottal Stop in latex and LyX

I am trying to type some text in LyX. The text is in Word and full of glottal stops, especially the one with the UTF code "U+02C1", namely this: ˁṬL LaTeX prints it very differently than it is in ...
13
votes
3answers
441 views

How does XeTeX typeset (math) symbols which are input as unicode?

I'm considering moving to Xe(La)TeX for the main reason that it allows me to use unicode in my LaTeX code, making said code easier to read, especially the math. But I'm confused on how XeTeX typesets ...
3
votes
1answer
114 views

ConTeXt: arbitrary Unicode code point

How to print a glyph by Unicode code point? i.e. what is the ConTeXt equivalent of the following LaTeX (displaying a capital Alpha): \symbol{"0391} % hex \symbol{913} % dec \symbol{'1621} % oct
8
votes
1answer
172 views

Write18: LuaTeX has an encoding problem, where XeLaTeX does not

xelatex (with option --shell-escape) compiles this document fine: \documentclass{article} \usepackage{fontspec} \begin{document} LuaTeX is not \immediate\write18{echo uber | sed y/u/ü/ > inc.tex} ...
28
votes
1answer
1k views

xelatex problem: Missing chars in TeXLive 2013 / \textfont XXX is undefined errors in miktex

I'm trying to track down the source of a problem with the new xetex binary in miktex. I think it is related to the following problem in TeXLive 2013: \documentclass{article} \usepackage{unicode-math} ...
4
votes
1answer
347 views

Use of unicode-math results in “unprintable” PDF

In the following example, if I uncomment the inclusion of unicode-math, I still get an PDF that shows up fine in my PDF Viewer (Evince), but none of the equation shows up in print. Why is that? ...
2
votes
1answer
462 views

unicode-math and tex4ht with utf-8 input

I have a document which I'm compiling to PDF using LuaTeX, and I want to create an HTML version from the same sources. The text is german with umlauts, and for convenience I'm using some unicode-math ...
4
votes
1answer
248 views

How to create the character Д for math mode? [duplicate]

In my research I'm using results of the paper Vinogradov A. M., - The logic algebra for the theory of linear differential operators, - Soviet Math. Dokl., 13 (1972), 1058-1062. The paper uses the ...
4
votes
1answer
179 views

How can I use unusual non-English characters individually?

I would like to user very unusual characters and after some research I still have no idea how it is done. I want, for example the write the word Shīʿah, as in Shīʿah Islam in my dissertation (Note ...
5
votes
1answer
127 views

How to produce ũ in my bibliography

I am trying to produce Dũng as a name in my bib. I do use \~u for this. I am loading inputenc with the utf8 option. the final result is "Dng (2012)" in the text and "Dng, N. V. (2012)." in my Bib. ...
2
votes
1answer
366 views

error on generating pdf by Latex with CJK support

After adding unicode characters to \title{} micro: \title{标题} the following error occurs when running make all-pdf with a .tex file: Writing index file mybook.idx No file mybook.aux. ...
2
votes
1answer
781 views

Seqsplit problems with UTF8

I'm using seqsplit to split long words within cells of a longtable. I'm using utf8x and ucs packages too. I'm generating PDFs out of those .tex files. When words have UTF-8 characters, the first one ...
5
votes
1answer
272 views

Can't Use 'ŋ' In My LaTeX Document

I am creating a textbook for a constructed language of mine. It's alphabet contains the letter 'ŋ', which LaTeX does not seem to like. For example: \ae{}r\ng{} & past participle & He had ...
7
votes
1answer
276 views

why “ff” displays strange using unicode encoding vs. iso-8859-1 in HTML output from tex4ht?

I understand that one should (?) be using UNICODE for html. But using this with tex4ht, always makes "ff" look strange. Why does this happen for "ff"? and based on this test below, should one instead ...
6
votes
1answer
7k views

Problem after copying text: inputenc Error: Unicode char \u8:‭ not set up for use with LaTeX

I have a LaTeX document, that can be compiled without any problems, but after copying some text into the document, I'm getting a huge amount of errors that say: ! Package inputenc Error: Unicode ...