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
0 votes
2 answers
56 views

Unicode character ✰ (U+2730) not set up for use with LaTeX

I faced the error "Unicode character ✰ (U+2730) not set up for use with LaTeX." in my latex document. However, I didn't find the "shadowed star" in my code even though I didn't ...
user avatar
0 votes
1 answer
19 views

Problem compiling Arabic

When I write this code: \documentclass[a4paper,10pt]{article} \usepackage{arabtex} \usepackage{utf8} \setcode{utf8} \begin{document} Here is the word ``Arabic'' written in Arabic: \<...
user avatar
3 votes
2 answers
195 views

How to use U+1F54A (DOVE OF PEACE) with pdfLaTeX?

How can I use U+1F54A DOVE OF PEACE in my document, especially with pdfLaTeX and not LuaLaTeX?
user avatar
  • 151
1 vote
0 answers
26 views

Using TexStudio with unicode - incorrect cursor position

I find myself becoming a fan of using more and more unicode as it make source files way more readable. In my favourite editor TexStudio I am facing a slight annoyance: some unicode characters are ...
user avatar
1 vote
3 answers
106 views

UTF-8 issue with Soft Hyphen (U+00AD) in both LuaLaTeX and XeLaTex

I have a very simple test case that displays all of the Latin-1 printable characters (U+0021 - U+007e, U+00A1 - U+00ff). It works correctly for every UTF-8 character except U+00AD. It fails with both ...
user avatar
5 votes
2 answers
293 views

Some Unicode characters successfully displayed, but some are not

I am trying to display some non-latin characters, such as ɩ LATIN SMALL LETTER IOTA (U+0269), ʋ LATIN SMALL LETTER V WITH HOOK (U+028B), and ɔ LATIN SMALL LETTER OPEN O (U+254). I tried almost every ...
user avatar
  • 53
1 vote
0 answers
42 views

How to create an alphabetical attachment list that supports unicode characters?

I would like to be able to create a list of attachments similar to the list of figures or tables. However, since it makes little sense to sort the attachments by page number, I would like to sort them ...
user avatar
  • 281
0 votes
1 answer
22 views

Error use maketitle with Vietnamese

I have code: \documentclass{article} \usepackage{spconf,amsmath,graphicx} \usepackage[utf8]{vietnam} \title{BÁO CÁO TÌM HIỂU THÔNG SỐ TRONG DATASHEET CỦA DIODE} \name{Name} \address{\textbf{...
user avatar
  • 103
0 votes
1 answer
29 views

How to locate the line of "Invalid UTF-8 byte or sequence at line ..."?

In my report.log I have plenty of these messages: (/usr/share/texlive/texmf-dist/tex/generic/xstring/xstring.sty (/usr/share/texlive/texmf-dist/tex/generic/xstring/xstring.tex \integerpart=\count405 ...
user avatar
  • 1,009
5 votes
1 answer
131 views

Redefining IPA glyphs without tipa

I am preparing a paper containing a few IPA characters to submit to a journal and would like to find glyphs that match the font of the journal. The ones generated by tipa don't match: And from this ...
user avatar
  • 2,174
8 votes
3 answers
271 views

How can I assign a math code to a symbol from a non-math font?

I want to use phoenician letters (unicode range 0x10900 to 0x1091F) as variable names. (If your browser font supports them, these are the characters: 𐤂,𐤁,𐤀, and so on.) I am using LuaTeX with ...
user avatar
0 votes
2 answers
48 views

Using Gentium Plus glyphs in XeLaTex

I am trying to type PUA characters (such as omicron with perispomeni) using the Gentium Plus font on macOS. I have tried setting Gentium Plus as the font for Greek using babel and fontspec but it ...
user avatar
  • 3
1 vote
3 answers
40 views

\newunicodechar only if undeclared?

I am using LuaLaTeX. Some of the source files I receive contain Unicode characters that are not universally supported. So far, so common: \documentclass{article} \usepackage{newunicodechar} \...
user avatar
  • 4,805
0 votes
0 answers
30 views

Mathematical Unicode characters in verbatim using XeLaTeX:

The alltt environment interprets backslashes literally, and my input text is full of them, so I use the verbatim environment for typesetting code. It goes fine but it does not typeset a universal ...
user avatar
  • 747
5 votes
2 answers
248 views

No U+2003 in Latin Modern Roman 12 Regular

I am using the OTF variant of the Latin Modern Fonts on my system (Linux Ubuntu) with XeLaTex. http://www.gust.org.pl/projects/e-foundry/latin-modern I cannot set an Em Space : https://www.compart.com/...
user avatar
  • 1,534
1 vote
1 answer
32 views

Package alltt does not typeset double quoting marks

For a report I would like to typeset HOL4 code in tt font with the alltt environment. My code includes U+201C Left Double Quotation Mark and U+201D Right Double Quotation Mark. The alltt environment ...
user avatar
  • 747
0 votes
1 answer
61 views

Non-ascii characters in label with cleveref in Overleaf

I'm collaboratively working in a LaTeX document in Overleaf and some team members use German umlauts (ä, ö, ü, Ä, Ö, Ü) in their labels. It works with \ref: \documentclass{scrartcl} \usepackage[utf8]{...
user avatar
  • 103
5 votes
2 answers
378 views

A collection of LaTeX commands with the corresponding symbols in unicode?

The best collection of LaTeX symbols which can be copy/pasted I have found so far in my search is here, very short. Is there a comprehensive list of LaTeX symbols in copy/pastable format, where I can ...
user avatar
  • 1,687
0 votes
1 answer
33 views

Specific Unicode Symbols not appearing

Any suggestions why some Unicode symbols appear and not others? Specifically, I want to use the ue ligature (https://www.fileformat.info/info/unicode/char/1d6b/index.htm), but this does not appear but ...
user avatar
2 votes
1 answer
66 views

Defining a fallback font for all missing characters

I need access to Emoji characters for a little package I am currently writing. Is there a way of having a fallback font in XeLaTeX for whenever a random character is not available in the standard font?...
user avatar
  • 749
3 votes
1 answer
70 views

ConTeXt: Typeset emojis and regular text

Background Using LMTX to typeset an XML document that has been converted from Markdown. Users may type emojis directly into the document without using TeX macros. Problem The emojis don't appear when ...
user avatar
  • 10.9k
0 votes
0 answers
39 views

How to make LaTeX ignore specific unicode characters? [duplicate]

I want to write LaTeX where the main body of text is in Hebrew. The example here works fine. In fact, this is the only way I managed writing in Hebrew so far. If I want the source code to present ...
user avatar
  • 1
2 votes
1 answer
43 views

Swedish characters (åäö) in glossaries entries breaks because the file is not saved as utf-8

This error is driving me insane because I cannot find a fix for it. The package glossaries works fine, except when the entries have Swedish characters (åäö) in them. I have found the root cause, and ...
user avatar
  • 275
0 votes
0 answers
32 views

Using combining accents as an automatic fallback?

I am using lots of diacritics (mostly accents and diareses/umlauts, the occasional cedilla or ogonek) in my documents. Almost all of them are supported fine: I enter them directly using Unicode and ...
user avatar
  • 4,805
2 votes
3 answers
403 views

How to input ⍻(not check mark) in latex?

I want to know how to input not check mark in LaTeX. Information of this symbol: https://www.compart.com/en/unicode/U+237B
user avatar
0 votes
2 answers
84 views

Write n with tilde above, as in El Nino

I'm trying to write "El Niño" in text mode within a paragraph. I'm currently doing it like El Ni$\mathrm{\tilde{n}}$o, which is frankly ridiculous. Can anybody explain how to do this more ...
user avatar
1 vote
3 answers
86 views

unicode-math: How to include multiple font styles and Unicode symbols in a font range?

I need to include multiple Unicode symbols and font styles to be written in the Redacted Script font. However, this code \documentclass{article} \tracinglostchars=3 % Make it an error if a glyph is ...
user avatar
  • 8,759
1 vote
1 answer
53 views

fontspec + JuliaMono: missing glyphs in LuaLaTeX compared to XeLaTeX

I am trying to typeset a document that contains monospaced text with Greek-letter Unicode glyphs, e.g. alpha, beta, etc. To do so, I'm using the JuliaMono font, which has extensive support for mathy ...
user avatar
  • 195
5 votes
0 answers
47 views

LuaLaTeX font chainsubstitution works only for the first font loaded

Here is an extremely simplified version of my code from this answer, where I finally found a workaround to this problem: \documentclass{article} \tracinglostchars=3 % Panic if a font does not contain ...
user avatar
  • 37.4k
3 votes
3 answers
131 views

Expandable macro that extracts the first character of UTF-8/cyrillic string without additional packages

I would like to have an expandable macro that extracts the first (and sometimes the second) character of UTF-8/Cyrillic text strings without using additional packages. No simple solutions from TeX or ...
user avatar
0 votes
0 answers
71 views

Case changing and detecting with expl3 that works for all engines

As noted in interface3.pdf, commands such as \str_case_e:nn are engine-related. Thus \str_case_e:nnF {\text_titlecase:n {a}} { {A} {true} } {false} will result in true for all engines, while \...
user avatar
  • 4,662
0 votes
0 answers
31 views

Running pdftex in a »for loop« over many *.tex files, using a format, and hitting file names with umlaut and / or spaces

This is a follow up to this question: mylatex.ltx and a file name with an umlaut and / or spaces I'm producing 50 *.tex files by using a template engine (jinja2), a python script, a *.csv file with ...
user avatar
  • 28.7k
2 votes
1 answer
60 views

mylatex.ltx and a file name with an umlaut and / or spaces

I'm producing lots of documents by using a template engine (jinja2), a python script (courtesy of a helpful soul) and a template, which is a tex file. Compiling 50 documents takes some minutes and ...
user avatar
  • 28.7k
11 votes
4 answers
1k views

Thích Nhất Hạnh in LaTeX tufte-book class

I am very new to LaTeX and am wanting to use the OVERLEAF.com template found here: https://www.overleaf.com/latex/templates/book-design-inspired-by-edward-tufte/gcfbtdjfqdjh I am using MiKTeX. I am ...
user avatar
  • 143
0 votes
1 answer
36 views

Inputenc error when unicode greek letters mapped to commands: Argument of \UTFviii@two@octets@combine has an extra }

I use inputenc to be able to write unicode in the source code and have it translated to LaTeX commands. For instance \usepackage[utf8]{inputenc} \DeclareUnicodeCharacter{221A}{\sqrt} \...
user avatar
  • 235
0 votes
0 answers
16 views

Is it possible to use unicode symbols from the block Block 'CJK Strokes' in Overleaf?

I've been using the following font specifications in my packages on Overleaf: \usepackage{arsclassica} \usepackage{fontspec} \newfontfamily\abr{Noto Serif}[Scale=0.9] \newfontfamily\og{Noto Sans Ogham}...
user avatar
  • 115
2 votes
1 answer
82 views

pigpen on macOS

Under macOS Big Sur using LaTeX the following document does not compile: \documentclass[]{article} \usepackage{pigpen} \begin{document} {\pigpenfont L} \end{document} It produces the following ...
user avatar
0 votes
0 answers
29 views

Can't use available font in xelatex

I'm using gnome-terminal 3.28.2 (on an Ubuntu 18.04 computer) with the font 'DejaVu Sans Mono Book'. In the terminal, the character '𝟆' is rendered okay. But when I use it in a tex document compiled ...
user avatar
  • 189
5 votes
4 answers
204 views

Unicode compatible version of \filename@parse?

LaTeX contains an internal macro \filename@parse that decomposes a filename into path and basename. Applying it to a filename that contains unicode characters, in conjunction with pdflatex, does not ...
user avatar
  • 44.4k
0 votes
1 answer
62 views

What font do I need to use for arrows?

What Unicode fonts allow you to input unicode characters like for example arrows? And how do you make it work with another font like tex-gyre-schola Example code: \usepackage{fontspec} \setmainfont{...
user avatar
  • 83
1 vote
0 answers
207 views

Cannot open Miktex: Invalid or unsupported charset:utf-8.utf-8

I've been using miktex for months without "unsolvable" problems. However, now, unexpectedly, when I open the MiKTeX Console it appears the following error message: Invalid or unsupported ...
user avatar
0 votes
1 answer
19 views

Display property keys containing unicode characters

Given a property list with a key containing a unicode character, for example % !TeX program=lualatex \documentclass{standalone} \RequirePackage{unicode-math} \begin{document} \noindent \ExplSyntaxOn \...
user avatar
1 vote
1 answer
77 views

unicode degree symbol from siunitx

I'd like the unicode "degree sign" ° from siunitx's \ang and \SI{10}{\celsius}. But, from this code \documentclass{article} \listfiles \usepackage{siunitx} \sisetup{ text-degree=°, math-...
user avatar
  • 515
3 votes
1 answer
56 views

Accessing characters with \symbol

I'm trying to use the \symbol{} command to output UTF8 haracters, but I can't get access any characters higher than 0x7E The following code just outputs a tilde. \documentclass[a4paper,10pt]{article} \...
user avatar
4 votes
3 answers
189 views

Does XeLaTeX have something like DeclareUnicodeCharacter but supporting Unicode grapheme clusters (i.e. units of multiple of code points)?

I’d like to use \DeclareUnicodeCharacter to define mappings of Unicode characters, represented in decimal or hexadecimal form, with alternative expressions or graphics that should replace the Unicode ...
user avatar
  • 308
1 vote
0 answers
53 views

How to use non-ascii characters in hyperref's pdftitle option?

I'm trying to use non-ascii characters via hyperref's pdftitle option. I've read a similar question, but its solution isn't working for me. I'm working on Overleaf and when I download the PDF, a new ...
user avatar
0 votes
1 answer
57 views

Using the helvet package with UTF-8 source

I'm trying to use a Helvetica clone in a document I'm creating using XeLaTeX, and I need to be able to use a variety of fairly basic Unicode characters in my document (particularly the 'vulgar' ...
user avatar
  • 550
1 vote
2 answers
77 views

How to use Russian letters inside custom environments?

I have created the following file \documentclass[11pt]{article} \usepackage{amsmath} \usepackage[utf8]{inputenc} \usepackage[T2A]{fontenc} \usepackage{graphicx} \usepackage[dvipsnames]{xcolor} \...
user avatar
  • 153
0 votes
1 answer
69 views

Persian letters do not work

I'm trying to use Persian letters. How can I add a Persian word now ? I do not follow the doc here. \documentclass{article} \usepackage{xepersian} \settextfont{XB Niloofar} \begin{document} \begin{...
user avatar
  • 1,838
4 votes
1 answer
185 views

Latex rendering unicode plus minus (±) symbol incorrectly

From what I understand modern latex programs should be able to render unicode characters without any issue. However, the following MWE renders the ± (ord 177 PLUS-MINUS SIGN) character as the ś ...
user avatar
  • 252

1
2 3 4 5
26