{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
128 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
655 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
303 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
914 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
100 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
188 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
136 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
2answers
265 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
262 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
242 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
163 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
150 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
422 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 ...
2
votes
1answer
108 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
168 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} ...
3
votes
1answer
322 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
427 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
223 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
174 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
124 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
341 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
642 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
253 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
249 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 ...
5
votes
1answer
6k 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 ...
2
votes
1answer
931 views

How to get UTF-8 output with tex4ht under MikTeX 2.9? (`Illegal storage address` error)

Compiling this MWE (mwe.tex) \documentclass{article} \usepackage[greek,italian]{babel} \usepackage[utf8x]{inputenc} \begin{document} \latintext chars with àccéènts greek chars \greektext ασδφγη ...
8
votes
1answer
110 views

Declare additional Unicode characters in verbatim environments in a Pandoc-generated file

I generate a PDF document via LaTeX with Pandoc. I want to use some additional characters in verbatim environments that are not available by default. Here's a sample input: Math: $\downarrow$ ...
6
votes
1answer
144 views

Are true glyphs used for accented characters, when input as escaped codes?

I know that in the early days of TeX, some characters outside the standard ascii where typeset by quite dirty hacks. For example, in my language (Polish), we have an "a with a downward hook" (ą) and ...
4
votes
0answers
233 views

Sage + Latex - How to change a font for axes label? [closed]

I use Sage and LaTeX and when I do this: \begin{sagesilent} p2 = list_plot(zip(H, f(5)), True, color='blue', axes_labels=[u'$H,$ км',u'$\mu, c$']) p2.fontsize(14) \end{sagesilent} and run sage ...
6
votes
2answers
248 views

Problem with character placement (XeLaTeX, Linux Libertine and Unicode)

The following test document: \documentclass{article} \usepackage{fontspec} \setmainfont{Linux Libertine O} \begin{document} aɻ \end{document} displays the second character above, instead of after ...
6
votes
1answer
233 views

“č” character in the word “Koláč” is not output

I am having problems with the "č" character in the word "Koláč" when typesetting cooking recipes. I am using XeTeX right now. Here is my MWE: \documentclass[]{article} \usepackage[T1]{fontenc} ...
20
votes
3answers
960 views

Which Unicode fonts are available with grades/optical sizes comparable to Donald Knuth's awesome eight grades in Computer Modern Roman?

Which Unicode fonts are available with grades/optical sizes comparable to Donald Knuth's awesome eight grades in Computer Modern Roman? It would be great to get at least 3 options! This question is ...
4
votes
2answers
511 views

LaTeX-Font with all UTF8 symbols defined

I'm writing a program in Java which generates a PDF for something using LaTeX. In this PDF I have to include arbitrary Unicode Characters which I get from a File. ...
2
votes
1answer
148 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 ...
7
votes
1answer
353 views

How can I 'compile' LaTeX snippets to (unicode) plain text?

I have a bunch of LaTeX snippets which I'd like to convert, as faithfully as possible, to Unicode strings. (In fact, these are title of papers from a bibliographic database, which I'd like to use as ...
0
votes
1answer
147 views

How to use a ballot character instead of a bullet? [duplicate]

I want to use the ballot box character instead of a bullet in an itemize environment. How many wives did Henry VIII had? ☐ 3 ☐ 6 ☐ 8
5
votes
2answers
172 views

using CJK text inside mecard produces errors

I am trying to use \psbarcode to generate a MECARD QR code with CJK characters in the name field. tex: \documentclass[12pt]{memoir} \usepackage{CJKutf8} \usepackage{pstricks} ...
1
vote
1answer
155 views

unicode char causing troubles within subfiles [duplicate]

I have an issue that only happens when I try to sepparate my latex code in many subfiles. If I let all the "special characters" in the main file, there's no problem, but if I move them to a subfile ...
2
votes
0answers
79 views

How set hyphen (divis) to specific unicode char [duplicate]

I need a specific divis / hyphen character or more than one randomly show This code is not working at the present. Does anyone have any suggestions? \documentclass{minimal} \usepackage{blindtext} ...
6
votes
2answers
196 views

How do I type a Chinese dash in XeLaTex

How do I write a Chinese dash, a two-fullwidth-character long dash? 「——」 looks ugly typset with XeLaTex and the font that I am using (The two parts are not connected and there is a gap in the ...
4
votes
1answer
267 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 ...
4
votes
2answers
291 views

Error while printing chinese character

I am printing a document with Chinese and getting some errors. Below is a MWE with the character causing problems. \documentclass[11pt,table,a5paper]{article} \usepackage[T1,T2A]{fontenc} ...
2
votes
2answers
453 views

How do I typeset unicode characters with TexShop?

I've tried pasting "圍棋 (wéiqí)" into my editor, but after typesetting I see only "?? (wiq)" in the PDF. What do I need to change to fix these characters?
0
votes
1answer
160 views

Error with ASCII characters [closed]

I have an apostrophe as in educator's, which is displayed as eductaor's and prevents TeX from generating a pdf. I have used this as well: \usepackage[utf8]{inputenc} how can I fix that? ...
4
votes
1answer
174 views

getting rid of unicode character 200F

I typeset Arabic text with LuaLaTeX and recognised that quite often a character occurs in the resulting pdf that is invisible in the sourcetext -- it is unicode character 200f: the right-to-left mark. ...
8
votes
1answer
108 views

How to typeset Tibetan in XeLatex with correct linebreaks?

I am trying to typeset Tibetan language in a document, but the text does not wrap at the margin. I think this could be easily fixed if I tell XeLaTeX to recognise the Tibetan tsheg character ('TIBETAN ...
2
votes
1answer
106 views

Syriac Abbreviation Mark

I'm trying to implement in XeLaTeX the Syriac Abbreviation Mark (see here: http://en.wikipedia.org/wiki/Syriac_Abbreviation_Mark). The code I came up with is the following: \catcode`^^^^070f=13 ...
4
votes
1answer
501 views

Using Greek letters in LaTeX tables

I have the following Rnw document which I intend should produce a small table with "a b c" and "α β γ". At the moment, the encoding seems to be causing problems. The funny thing is that the output in ...
1
vote
0answers
187 views

bookmarks: diacritics, umlauts and special characters [closed]

Why are the bookmarks in my pdf documents (created by LuaLaTeX) not correct? E.g., I get Faḫr al-DÄ«n al-RĆzÄ« instead of Faḫr al-Dīn al-Rāzī. In general diacritics, umlauts and special characters ...