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

3
votes
0answers
35 views

Unrecognized special character with comment package [duplicate]

Why are the character with accent not recognized ? \documentclass[a4paper]{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage[french]{babel} \usepackage{comment} ...
2
votes
1answer
75 views

How can i type hindi matras only in Latex?

I am dealing with suffix of the hindi words. so i want something like this ाऊंगी in hindi to be printed. For uni character of hindi language is here. I have tried this code: ...
3
votes
1answer
32 views

How to get correct htlatex output with lithuanian letters?

My example \documentclass{article} \usepackage[T1,L7x]{fontenc} \usepackage[utf8x]{inputenc} \begin{document} ąčęėįšųūĄČĘĖĮŠŲŪžŽ \[ \alpha + \beta = \gamma \] \end{document} produces incorect ...
19
votes
5answers
10k views

How to print a warning sign (triangle with exclamation point)?

I am interested in including a triangle with an exclamation point (unicode #9888: ⚠) in a tex document. I've looked in the usual places (detexify, etc.) and not found this symbol. The document should ...
1
vote
0answers
53 views

EINVAL Error in Lyx

When I am typing text in the Lyx main editor window the following message keeps appearing in the Progress/Debug Message pane: Error returned from iconv_open EINVAL The conversion from UCS-4LE to UTF8 ...
12
votes
1answer
346 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 ...
2
votes
0answers
46 views

Small-caps special character “ḫ”

I have been trying for some time to get the symbol "ḫ" to play nice with XeLaTeX. However, I'm now having trouble using it inside of a chapter title using the book class. Here's an MWE: ...
3
votes
2answers
187 views

UTF-8 characters in math mode

I'm new to this forum and to LaTeX. It's the first time I use use it and I really like it. I have a problem with it, though, I have looked for solution on this forum but I haven't found anything (or I ...
2
votes
1answer
77 views

Using a specified font in textgreek

I am trying to use Computer Modern Bright in greek text. The otf version of the font has specific upright characters for greek that can be used in other applications, so I am assuming the afm/pfb ...
4
votes
1answer
55 views

Is it expected that Biber converts escape sequences into non-processable Unicode representations?

I am trying to compile a document using BibLaTeX and Biber that references a document by a Latvian author whose surname contains an a with a macron diacritical mark (ā). Without the ...
0
votes
1answer
313 views

How can I make the copied-pasted text from an pdflatex output still readable/compilable by pdflatex?

The issue I compile a latex document which contains accents ("é" for instance), then I copy the text from the pdf generated by pdflatex. Then, I paste this text to my latex file. The resulting file ...
0
votes
0answers
20 views

How do I enter an arbitrary Unicode code point, with pdfTeX?

I've just found How do I enter an arbitrary Unicode code point into my document? but I want to do the same with pdfTeX, not LuaTeX. Is this possible?
1
vote
0answers
71 views

Typeset “parsing HTML the Cthulhu way” in LaTeX [duplicate]

There’s a famous answer on Stack Overflow in which the user argues that regular expressions cannot be used to parse HTML … while his sanity slowly slips out of his grasp. Unfortunately, the insane ...
3
votes
1answer
56 views

Input unicode/diacritics into package options

I would like to define a new set of labels for my pictures like this: \usepackage{newfloat} \DeclareFloatingEnvironment[listname={Seznam grafů}]{Graf} However, latex refuses to recognize "ů" in the ...
6
votes
1answer
78 views

Print unicode glyph together with its codepoint

Is it possible to define a macro, call it charwithcodepoint, such that \charwithcodepoint{A} emits an equivalent of \texttt{A} (U+0041) And similar for other codepoints as well. If not, can I do ...
1
vote
0answers
48 views

Hyperref: Danish ø in `\url` or `\href` doesn't work (appears as \T1\)

Refer to this question and answer. When I compile the file below (encoded in utf-8) with pdflatex, only the middle option produces a working link as opposed to all three in the linked question. In ...
1
vote
1answer
51 views

XeLaTeX Unicode symbols do not show up in verbatim

The following snippet produces the desired result outside of the verbatim block, but not within the verbatim block. I guess I have to specify a font for verbatim mode that contains support for the ...
0
votes
0answers
17 views

How to get Unicode in code listings? [duplicate]

I want to use Unicode text (a mixture of cyrillic and japanese characters) in a code listing that uses default LaTeX fonts (in other words, source code fonts are left to default). However, for all ...
0
votes
0answers
29 views

removing linebreak listing (e-mail, eml)

I tried to use an eml-file as an listing but because the encoding doesen't really work I had to include some German Umlaute (ä,ö,ü), unfortunately there is still a problem with the line break symbol ...
1
vote
0answers
427 views

Package inputenc Error: Unicode char \u8:′ not set up for use with LaTeX. 3′ [closed]

I get the Package inputenc Error: Unicode char \u8:′ not set up for use with LaTeX. 3′ when I am adding new items to my bibliography. I am using TexStudio. I tried to use Biber or BibTeX as a default ...
1
vote
2answers
123 views

How can I typeset this particular Devnagari character?

I am comfortable with using all of the Devnagari script. However, I'm finding it difficult to use the letters "श" and "श्री"; the former is present in Devnagari, whereas the latter isn't. How can I ...
15
votes
4answers
471 views

How to find characters that LaTeX doesn't like?

I use exported .bib entries with biber, biblatex and \usepackage[utf8]{inputenc}, in my literature reports for my group. This means most standard annoying characters (à, etc) are handled ...
3
votes
1answer
66 views

Character replacement in unicode string

I need a command to replace (erase) the characters · and | from a string. Consider the following naive code: \documentclass{article} \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} ...
0
votes
0answers
18 views

XeLaTeX: Create Special Characters NOT included in my main font [duplicate]

I am trying to compile a document in XeLaTeX which uses special characters (such as ā, ḍ, ī, ḷ, ṁ, ṅ, ṇ, ō, ṛ, ś, ṣ, ṭ, ū) but the main font that I prefer to use does NOT include these extended ...
5
votes
0answers
68 views

ZWJ in LuaTeX prints a bar

The following document prints in XeTeX the medial form of the arabic letter, thanks to the two ZWJ characters ("200D). \documentclass{article} \usepackage{fontspec} ...
1
vote
1answer
73 views

Bookmark showing a box for character

The following works on the computer that generated it. \documentclass{article} \usepackage[pdfencoding=auto,psdextra]{hyperref} \usepackage{bookmark} \usepackage{lipsum} \usepackage{fontawesome} ...
3
votes
1answer
127 views

'fj' ligatures are not correctly mapped with 'glyphtounicode' using Alegreya font

Inputting glyphtounicode when compiling with pdflatex makes sure that various ligatures in the output are copy- and searchable. With the Alegreya package, however, the ligatures for fj and ffj aren't ...
21
votes
4answers
16k views

Error: Unicode char \u8:φ not set up for use with LaTeX

I have the following LaTeX document: \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} φΔδ汉 \end{document} But I get the following error: $ latex foo This is pdfTeX, Version ...
1
vote
0answers
78 views

Is UTF-8 and the Babel package sufficient for Swedish?

Me and a pal both have Macbooks with TeXShop. He writes to me in Swedish and when I render his code all the Swedish charachters go wrong on my preview PDF/screen. When I send him back the code and he ...
3
votes
1answer
59 views

Smashing diacritics on all uppercase characters

I need all uppercase letters with diacritics to have the same height (depth) of the corresponding naked uppercase letter. Motivation: obtaining a regular baseline grid when stretching the baseline is ...
2
votes
2answers
80 views

Reference order while using utf8 and biber

I have a problem with ordering of the references, while using utf8 with biber. I need utf8, because some surnames in Slovenian use Š, Č and Ž (I know I could use \v{} syntax, but biber complains ...
1
vote
1answer
436 views

Accents generate errors with moderncv class [closed]

When using accented characters (e.g. ë) I get the following error: Package inputenc Error: Unicode char \u8:ële not set up for use with LaTeX. A minimal working example is given below. To the best ...
2
votes
2answers
788 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 ...
3
votes
1answer
98 views

Package inputenc error unicode char

Error with message Package inputenc Error: Unicode char \u8:<d0>. not set up for use with LaTeX occurs, when I compile (Ubuntu 14.04.1, texlive-full) the document: ...
11
votes
3answers
2k 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} ...
2
votes
1answer
144 views

How to type hindi font with texmaker and miktex?

trying to type hindi font using Texmaker with Miktex. The hindi typing is done using hindi google input tools installed in the system. Please help in this regard. \documentclass[12pt]{article} ...
2
votes
1answer
47 views

Using utf8 inputenc package and answers package together

I'm trying to typeset using UTF8 and use the answers package. However, compilation halts on \begin{sol}, with Kapitola 1. ! Missing \endcsname inserted. <to be read again> ...
7
votes
1answer
120 views

LuaTeX unicode escape sequence in an ASCII file (for graceful degradation)

I have a reusable component in which I would like to include a few unicode symbols. I use LuaLaTeX. However, I want the file to fail gracefully (it should detect running under something else and e.g. ...
1
vote
1answer
69 views

“Missing \begin{document}” after DeclareUnicodeCharacter

When compiling this file: \documentclass{article} \usepackage[utf8]{inputenc} \DeclareUnicodeCharacter{27e3}{somereplacement} \begin{document} Hi, world! P ⟣ Q \end{document} I get the following ...
0
votes
1answer
34 views

How to insert unicode text in IEEE paper? [duplicate]

I am writing a paper for IEEE conference. I would like to know how to insert some unicode text into the paper. The primary language of the paper is English.
0
votes
2answers
65 views

Enconding conversion from Mac to Linux and viceversa [closed]

How could I use on Linux (utf-8) a previously created file on Mac using for example MacRoman as encoding and viceversa?
8
votes
1answer
581 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} ...
0
votes
0answers
35 views

Combining Diacritical Mark with Latex. Unicode Symbol 0364 [duplicate]

I have a bit of a Problem with editing an ancient german text, where they used a small e as Umlaut like this "aͤ". I looked it up, it's Unicode symbol 0364. I tried a lot and nothing worked out. ...
0
votes
0answers
58 views

Kerning when inserting symbols from another font

I have a METAFONT that implements the shavian alphabet mapping ASCII characters to shavian glyphs, for example the t is the shavian letter 'tot'. I have mapped the shavian letter's unicode ...
15
votes
3answers
2k views

How to use xindy with XeTeX/LuaTeX?

According to Xindy revisited: Multi-lingual index creation for the UTF-8 age (TUGboat), “if one has a raw index file that was produced by [XeTeX], one can use xindy; it will ‘just work’.” ...
1
vote
1answer
314 views

Turkish Character Problems

The code below works but Turkish characters do not appear. I tried adding \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} \usepackage[turkish]{babel} but this time the code does not work. ...
4
votes
1answer
320 views

XeLaTeX, xindy, imakeidx “Could not find file ”tex/inputenc/utf8.xdy"

I'm trying to use XeLaTeX, imakeidx and xindy for a german book with multiple indexes. Based on an answer on this page, (which works) I tried to switch to xelatex and imakeidx. Calling xelatex ...
0
votes
0answers
614 views

How to replace (unicode) characters by ü,ğ,ş etc.?

\documentclass[11pt,a4paper]{article} \usepackage[utf8x]{inputenc} \usepackage{ucs} \usepackage{amsmath} \usepackage{amsfonts} \usepackage{amssymb} \usepackage{graphicx} \usepackage[T1]{fontenc} ...
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 ...
3
votes
3answers
176 views

ConTeXt: Using Unicode symbols for bullets

I'm having trouble figuring out how to use ▸ (AKA BLACK RIGHT-POINTING SMALL TRIANGLE) as the bullet in my itemized lists in ConTeXt. My first thought is that this should work: ...