{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
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} ...
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} ...
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 ...
10
votes
3answers
1k 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} ...
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
334 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} ...
10
votes
1answer
722 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} ...
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
723 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} ...
12
votes
3answers
864 views

Redefine apostrophes to prevent bad kerning

The apostrophe in Adobe’s Minion Pro font has a kerning that is much too tight for typesetting French, where sequences of letters like l’a or d’e or j'a are common. One solution I found is to wrap ...
2
votes
1answer
159 views

How can I make German characters from \input file display correctly?

I'm working with a Rnw file in RStudio and knitr. Everything works correctly so far, but I stumbled upon a problem when I included a chapter to the report that is written in German. I wrote the ...
5
votes
1answer
274 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
294 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 ...
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} ...
4
votes
1answer
296 views

Batch generated file produces encoding error with latex

The goal: This is for an exam. I have a program which should be compiled and executed by batch script. Another batch script calls that first batch an writes the output to a .txt file. Then the ...
2
votes
2answers
532 views

How to make a given thesis template compatible with German umlauts (error with Unicode char)

To Thesis.tex (of Sunil Patel's Thesis Template.zip) I added these two lines (to allow for German special characters): \usepackage[utf8]{inputenc} % my edit \usepackage[T1]{fontenc} % my edit in ...
7
votes
1answer
816 views

Can I make LuaLaTeX use \input files that are ANSI encoded?

I include/\input automatically generated files (tables generated by Stata) into my main document. I would like to compile that document with LuaLaTeX. Unfortunately the generated files are ...
4
votes
1answer
364 views

UTF-8 characters not displayed with xelatex (pandoc)

I'm using XeLaTeX with pandoc to generate PDFs from markdown files: but the "⇒" character (UTF8) does not get correctly generated (it's not show in the output file). Is it possible to get the "⇒" ...
1
vote
1answer
256 views

copy/pastes odd chars from a document written using hangul package

Recently i've been involved in writing document in Korean. I've managed to install the hangul package and write the following statement : \usepackage{hangul} % pretty simple everything was fine ...
8
votes
3answers
2k views

OS X: umlauts in UTF8-NFD yield “Package inputenc Error: Unicode char \u8:̈ not set up for use with LaTeX”

After switching to OS X one of the first things I had to learn the hard way is that many non-ASCII characters, such as the German ü can be encoded in (at least) two different forms in UTF8: U+00FC ...
11
votes
1answer
701 views

How to change a .tex file's input encoding system (preferably to UTF-8)?

I've been trying to use the hyphenation patterns embedded in the file dehyphtex.tex, which is part of the hyphen-german package. Unfortunately, the file seems to be encoded in a system that's neither ...
5
votes
2answers
502 views

Why can't I use 𝔽?

I can't figure out why LaTeX won't let me use the 𝔽 symbol (U+1D53D, mathematical double-stuck capital F). When I try, I get the error Package inputenc Error: Unicode char \u8:𝔽 not set up for use ...
8
votes
2answers
894 views

Pi, Kappa, Latin Small Letter Long S: problems with UTF8

I'm using Springers svmono for a book with many mathematical symbols and special characters. There are quite a few problems with characters that are simply not printed (using pdfLatex), so I tried ...
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
0answers
325 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
2k 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} ...
8
votes
3answers
5k 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 ...
4
votes
1answer
260 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} ...
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 ...
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 ...
11
votes
1answer
248 views

Encoding of non-ASCII characters (Umlauts) in \jobname

I need to parse \jobname to extract some metadata (such as the subject of a letter) that is encoded in the filename of the .tex file. The filenames are not restricted to ASCII, but maybe any UTF8 ...
13
votes
4answers
2k views

Using package minted with non-english characters

I would like to use LaTeX package minted to colorize my c and Cuda code. I need to write comments in the code in czech. I use package inputenc with utf-8 and czech characters (ěščřžýáíé) work good in ...
3
votes
2answers
298 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 ...
14
votes
2answers
6k 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 ...
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 ...
13
votes
1answer
588 views

How to work with two encodings?

I'll try to explain my problem here. I know that there are many posts dealing with this but I'm still confused. We have many files from different machines with different systems. The important is: ...
19
votes
7answers
17k views

utf8 or latin1 encoding - german

\usepackage[utf8]{inputenc} or \usepackage[latin1]{inputenc} I write in german if that matters. pro and contra?
9
votes
2answers
275 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
275 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} ...
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
115 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
11
votes
2answers
2k 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 ...
6
votes
1answer
523 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 ...
2
votes
1answer
465 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
249 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 ...