Questions tagged [unicode]

{unicode} is for questions about Unicode (an international standard for character encoding) and its implementations. For questions about input encodings use {input-encodings}.

Filter by
Sorted by
Tagged with
10
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
1answer
1k views

Country flags unicode char

I am trying to define new unicode chars for country flags. Unfortunately flags are encoded using two regional indicator symbols according to the ISO 3166-1 alpha-2 two-letter country codes. So 🇩🇪 ...
8
votes
3answers
15k views

How to solve the `Package inputenc Error: Unicode char not set up for use with LaTeX` problem?

NOTE : this problem is closely related to the one here, but I can't seem to adapt it to my situation, since I don't know where the names of these characters (e.g.,\textvisiblespace, \textcompwordmark ...
8
votes
1answer
1k views

BibLaTeX: sorting alphabetically with non-latin characters (Ś)

Biblatex indexing works very well with latin names. But when an author has foreign name (Łukasiewicz) the Ł letter is changed to \IeC {\L} and makeindex is not able to sort it well. In Polish it ...
7
votes
2answers
6k views

Packages CJK versus CJKutf8?

I read texdoc cjk and this CJK documentation recommends \usepackage{CJK} to enable CJK functionality. However, I see a lot of examples use \usepackage{CJKutf8}. The CJK package documentation doesn't ...
5
votes
2answers
1k views

Print box drawing characters with pdfLaTeX

I need to print some unicode characters (of box drawing family) in my document. I found this question that is very similar to mine but is valid only for XeLaTeX. There is a valid way to do this with ...
9
votes
1answer
808 views

Fontspec is giving me some absurd error

\documentclass{article} \usepackage{fontspec,lipsum,xltxtra} \begin{document} This is test \end{document} I get an error like this "Missing \endcsname inserted....\UnicodeEncodingName {}{"007E}". ...
6
votes
1answer
4k views

utf-8 characters in latex math mode

I'm using utf-8 characters like "ğ" or "ı" in math-mode in LaTex, but it does not render the characters as it should. Outside of math-mode I do not have this problem. My preamble with respect to font ...
6
votes
1answer
1k views

UTF-8 (BMP character set) support in listings.

I'm submitting a paper to a journal using LaTeX, and I need to be able to write Unicode symbols into listings. So far, I've been able to get by with the moreverb package. It's listing environment is ...
5
votes
1answer
355 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 --output-...
2
votes
1answer
935 views

Ignore UTF-8 BOM with csvsimple?

I am currently using csvsimple to include some external data in a document processed with pdfLaTeX. The entire project uses UTF-8 as encoding. The original data is maintained in an Excel 2010 file, ...
0
votes
1answer
334 views

!package inputenc error unicode character ​(u+200a)

im currently writing my bachelors thesis and while inserting some cites and adding something to my bib file the above mentioned error occured. i tried to "fix" it by removing all the steps prior to ...
113
votes
5answers
27k views

How to include a Lenny face in a LaTeX document? e.g. ( ͡° ͜ʖ ͡°)

How would one include a "classic" Lenny face in a LaTeX document? A paper is due tomorrow and I am curious. e.g. ( ͡° ͜ʖ ͡°) I have attempted to use the verbatim environment but it has proved ...
47
votes
5answers
53k views

Typeset the shrug ¯\_(ツ)_/¯ emoji

I'm completing a problem set, one problem for which I literally have no idea what to do on. The graders would prefer to have a physical copy of the problem so I thought it best to include the ¯\_(ツ)_/¯...
29
votes
4answers
31k views

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

I have the following LaTeX document, saved in the UTF-8 character set encoding: \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} φΔδ汉 \end{document} (it has 3 Greek characters ...
10
votes
5answers
7k views

No simple UTF8 support in latex?

The following should look good in your browser, AND compile in Latex looking beautiful right? \documentclass{article} \usepackage[utf8]{inputenc} \begin{document} UTF-8 test: \begin{verbatim} logic: ...
23
votes
3answers
32k 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 ...
26
votes
10answers
3k views

Converting LaTeX into Unicode for email

My standard procedure for writing mathematical email has been to use pidgin-LaTeX for some time now, and many of those I communicate with do the same. However, someone I know has recently started a ...
15
votes
1answer
1k views

Command names with utf-8/special characters

Is it possible to define \newcommand{\√}[1]{\sqrt{#1}} as commands like this one would sometimes be easier to use.
13
votes
1answer
657 views

Sanitize U+301 infection and others in references

Too often I messed with bad formated BibTeX files from references databases that are infected with active characters as % or & (usually in the abstract, that is not printed but produce an error ...
12
votes
2answers
14k 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 ...
11
votes
2answers
3k 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 ...
21
votes
2answers
1k views

How does one publish/promote a new package?

I just took all the wonderful information supplied here, and wrote a small package that makes it possible to use Unicode characters for section, subsection, subsubsection, paragraph, subparagraph and ...
19
votes
2answers
2k 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,...
13
votes
3answers
6k views

Why does XeTeX not display basic Unicode characters?

I have a document like this, but when I render it by invoking xelatex on it, the π character is displayed as a blank space: \documentclass[13pt,oneside]{scrbook} \usepackage{fontspec} % the problem ...
9
votes
3answers
2k views

An extensive list of LaTeX symbols and Unicode equivalents?

The first two columns of the table here (partly reproduced below) is exactly what I'm looking for, but I'd like a more extensive list. I want the unicode symbols to be in unicode symbols, and not ...
8
votes
2answers
18k 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 ...
6
votes
1answer
2k 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 ...
9
votes
1answer
570 views

Lualatex rendering of Zalgo text

There are many question about rendering unicode in latex that are subject to interpretation, I would like to ask how to properly render Zalgo text with lualatex (or any other tex; just to specify a ...
9
votes
2answers
3k views

Unicode emoticons with pdflatex

Following this answer, I tried to use Unicode emoticons with pdflatex like so: {\fontfamily{DejaVuSans-TLF}\selectfont 😎} The font is selected but the emoticon does not show. There are some TTF ...
9
votes
1answer
1k views

How can I write an English document with a few words of Thai, Japanese, and Chinese?

I'm writing a document which is 99% English but needs a few words of other languages, including Thai, Japanese, and Chinese. I've had success with the latter two, but I'm stuck on Thai. Here's a MNWE: ...
6
votes
1answer
591 views

Typsetting the Ponny

Today, once again, the ultimate [X]HTML parser using regular expressions answer came to my attention and I have decided to try to typset it using XeLaTeX. The result is far from perfect, worse even ...
5
votes
1answer
3k views

Insert Unicode private char

How I type the unicode char  in latex?
15
votes
2answers
546 views

biber eating \langle and \rangle commands

I have some entries in my reference list that contain \langle and \rangle signs in their title like the one in the following MWE: \begin{filecontents}{\jobname.bib} @BOOK{test, author = {A. Uthor}, ...
14
votes
1answer
1k views

Hyphens at end of line disappear upon pasting, even if they were present in the input

When I paste text from pdflatex output, there are two things about hyphens that I would like to change: Hyphens paste as "hyphen-minus" (U+002D, "-"), but I would prefer the newer Unicode character "...
11
votes
1answer
383 views

Is it possible to combine version and range when specifying a maths font with unicode-math?

[Note that I am using LuaTeX for all compilations.] Consider the following MWE which sets up several versions for maths using unicode-math's version key. \documentclass{article} \usepackage[math-...
8
votes
4answers
4k 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 (...
6
votes
3answers
1k views

Why can't my build produce certain Greek symbols?

I'm trying to use the β character in a LaTeX document, but the output PDF never shows it. I am building with xelatex. From the following code: \documentclass{article} \usepackage{fontspec,xltxtra,...
21
votes
2answers
21k 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]{...
12
votes
1answer
635 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} \...
12
votes
3answers
11k views

Unicode characters in pdflatex output using hexcode without UTF-8 input

I want to use Unicode characters (for Korean language, i.e. Hangul: U+AC00 - U+D7A3; maybe also U+1100 - U+11FF) in the output of latex(/pdflatex) while the LaTeX source file should be coded in 7 bit ...
12
votes
3answers
1k 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 ...
9
votes
3answers
788 views

Can I include Chinese characters in listings? If so, how?

I'd like to include Chinese characters in listings. Can it be done, and, if so, how?
9
votes
1answer
3k views

How do I place a single character from unicode in a LaTeX document?

I want to place a character from several, non-Latin, languages. I guess I can do this using unicode, but how do I do that? Specificaly, I want to place the Hebrew Aleph and the digit currently used in ...
8
votes
2answers
3k 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} \...
8
votes
2answers
1k views

The abbreviation “viz.”

The word viz. that is often met in English texts, is an abbreviation for videlicet, a latin word meaning namely or as follows. It is constructed from the first letters vi and an symbol for the suffix -...
8
votes
1answer
3k 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
1answer
494 views

Mapping ‘space + character’ into ‘non-breaking space + character’

I have files containing fragments of Old English texts. These files use the letter wynn (ƿ (U+01BF) and Ƿ (U+01F7)) which I want to print as modern w (U+0077) and W (U+0057). This I have no problem ...
6
votes
2answers
16k views

how to solve a Unicode char' (U+301) error?

I have a problem within ShareLaTex. I copied a reference from biblatex and pasted it into my bib file and the ignored command is author={Ran{\v{n}}ik, Jk{\v{r}}{\n}́} which should generate I get ...
5
votes
3answers
933 views

UTF-8 error with verbments

I'm writing a book using Latex in what I want to write code in Python. My operating system is Linux and my editor is Kile with: \usepackage[T1]{fontenc} \usepackage[utf8]{inputenc} \usepackage{...