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
1answer
271 views

Defining a replacement of a unicode character in lualatex

In the past I asked a question about a replacement character for a unicode character (FFFD) in case of and xelatex (Defining a replacement of a unicode character), this works nicely. Now I need it for ...
1
vote
2answers
138 views

Cyrillic letters in command names with PDFLaTeX

I would like to know an efficient way to use Cyrillic characters in command names (macro names) with PDFLaTeX (XeLaTeX being unavailable). I discovered that I can define commands with Cyrillic ...
0
votes
0answers
20 views

Error using º and ' in bibliography entry title [duplicate]

I have been trying for a while to incorporate a bibliographic entry (Escartin et. al 2010: Globally aligned photomosaic of the Lucky Strike hydrothermal vent field (Mid‐Atlantic Ridge, 37°18.5′N): ...
2
votes
1answer
139 views

Export BibLaTex format collection from Zotero to use in LyX

I'm trying to use a collection from Zotero in a LyX file as a reference database. I export the Zotero collection as a BibLaTeX format database with unicode encoding. I've also tried using unicode ...
2
votes
1answer
78 views

Spurious characters in Lua string

I'm trying to generate a section title programatically from some constituent strings. The simplified MWE just concatenates them (the live system will do more complex processing) but I get a leading ...
4
votes
1answer
479 views

How to \input{} files with Unicode names?

I work in Linux with the latest TeX Live. The system encoding is UTF-8. It is also the default editor encoding in my TeXstudio 2.12.8. I have figures in files like σ_1_μ_02_per_5.tikz, and I included ...
1
vote
1answer
81 views

TeXShop console (not log) contains entire LuaLaTeX file

I tried the example of "von" in the post Is direct utf8 input of combining diacritics in math mode possible with lualatex? regarding the use of a Lua script to allow TeX commands for combining ...
1
vote
0answers
66 views

Disable sorting in texindy

I'm trying to establish a workflow for a LaTeX project and haven't figured out how to use makeidx or imakeidx packages to sort UTF-8 encoded index by languages not covered in the section supported ...
0
votes
0answers
70 views

Biber + classicthesis: Package inputenc Error: Unicode char ́ (U+301): How to find symbol [duplicate]

My problem develops as following. I delete the .bbl .bcf .blg files. I run pdflatex without errors. I run biber without errors. I run pdflatex again, and I get the error "Package inputenc Error: ...
0
votes
1answer
4k views

lstinline has Invalid UTF-8 byte 167

Possible duplicate of this question MWE: \documentclass[% parskip=full,% empty line after each paragraph. twoside=false% not a 2-sided print for a book. ]{scrbook} % \usepackage[utf8]{inputenc} ...
0
votes
1answer
141 views

How to reanimate combination of mathtext (T2) with UTF-8 in pdflatex stopped working after recent updates? [closed]

A minimal example: \documentclass[a4paper,12pt,notitlepage]{article} \usepackage[warn]{mathtext} \usepackage[T1,T2A]{fontenc} \usepackage[utf8]{inputenc} \usepackage[russian,english]{babel} \begin{...
2
votes
3answers
559 views

Printing rare characters

I need to run LaTeX on a file that contains, for example, the following words: ḥarain [unicode 1E25] and Amaziɣ [a Berber word]. These paste OK into my .tex file as they do here, but when I run the ...
0
votes
1answer
254 views

It's a bad practice to use unicode in math? [duplicate]

Recently, I discovered the unicode-math package that permits to insert unicode characters inside math environment. This permits, even in its basic configuration, to use all the greek letters and most ...
3
votes
1answer
122 views

Combining multiple diacritics from unicode input

I have trouble combining multiple diacritics in this example: \documentclass{article} %\usepackage[utf8]{inputenc} %\usepackage{fontspec} \begin{document} Ā́ Łōgī́ zǭ́ze \end{document} ...
1
vote
1answer
126 views

Wrong order of references in bibliography with diacritical characters

I see incorrect order of references in the bibliography. I use UTF-8 (xelatex) and all names are inputet directly in UTF-8 in the literatura.bib file. Language of the work is English, but referenced ...
2
votes
1answer
275 views

Extract a substring from a Chinese string variable

Looks like the stringstrings package can do this: \substring{This is a string.}{1}{4} gives This, but it seems to be failed for non-ASCII characters: \substring{这是一个句子。}{1}{4} cannot give 这是一个. ...
0
votes
1answer
192 views

unicode with plain xetex [duplicate]

Related to this xelatex question. I get Missing character: There is no π in font cmr10!. So I set the unicode font to cmu (computer modern unicode) as advised by this question for xelatex \font\cmu=...
1
vote
1answer
50 views

{newunicodechar} + \chapter{} produces two font-related warnings

I get 2 warnings when I compile the MWE. The warnings are: Warning 1: ./cuba.tex:13: Font shape `EU1/EversonMono(0)/bx/n' undefined(Font) using `EU1/EversonMono(0)/m/n' instead on input line 13.Font ...
4
votes
1answer
344 views

microtype warning about “slots” and “text commands”

I’m writing a multilingual document using XeLaTeX, the scrreprt document class, and the XeCJK and microtype packages (loaded in that order). MWE (with the font properly installed on my system): \...
7
votes
1answer
301 views

Why doesn't LaTeX use unicode characters for subscripts and superscripts in the context of math?

I'm very new to LaTeX but have found it to be enjoyable to work with. Lately I've been focusing on how to get output that will copy/paste well from PDF with special characters. Currently, XeLaTeX with ...
1
vote
1answer
1k views

! Package inputenc Error: Unicode char ▁ (U+2581) (inputenc) not set up for use with LaTeX

I get this error, although I'm not able to find the correspondent LaTeX character to declare. ! Package inputenc Error: Unicode char ▁ (U+2581) (inputenc) not set up for use with ...
0
votes
0answers
35 views

Unicode char not set up for use with latex [duplicate]

I am trying to display something like ó í ö ß ... basicalliy European alphabet Italy, France, Spain, Portugal, Germany. Should not be too hard. I load this package \usepackage[utf8]{inputenc}. As ...
1
vote
1answer
96 views

ASCII-TeX to Unicode conversion - possibly using Biber

Writing a converter from ASCII-TeX to Unicode accents is not an easy task. Most converters I have seen fail terribly in not following macros, nested macros, or bear on unmaintainability due to the ...
0
votes
1answer
343 views

Biber changing \u{\i} to some strange value

Biber changes ASCII-TeX accents into their respective Unicode characters and while this works wonderfully well for most letters and accents -- it is a problem for accents on the "dotless i". The ...
0
votes
0answers
92 views

How to use \newunicodechar for a character combined with a diacritical mark?

I replace some commands with unicode characters to make my code more readable. Using \newunicodechar, it works fine with single unicode characters but fails with character combined with diacritics. ...
0
votes
2answers
533 views

Defining a replacement of a unicode character

In my, automatically generated tex files there quite a few 'Replacement characters' 0xEFBFBD (see: http://www.utf8-chartable.de/unicode-utf8-table.pl?start=65280). I have the following code: \...
1
vote
0answers
98 views

problem with underline using babel [closed]

My latex document is in hebrew and english those are my headers : \documentclass[greek, english, hebrew]{article} % <- here \usepackage{ucs} \usepackage[utf8x]{inputenc} \usepackage[greek, ...
2
votes
1answer
189 views

Text Justification right is Missing - Cyrillic Alphabet

I have a problem concerning the vertical alignment of text (containing macedonian cyrillic alphabet) at the right side using sharelatex. I also included \selectlanguage{macedonian} in the preamble, ...
4
votes
1answer
356 views

Monokai minted theme annoyingly highlighting unicode caracters

I recently started using the monokai theme with minted which I use because it works well with XeLaTeX. I found that when using unicode characters in code they get highlighted is red. This behaviour is ...
6
votes
2answers
1k views

How To Include a Reversed Angle Symbol (⦣) in LaTeX

I am creating a LaTeX document in Overleaf, and I need to include the reversed angle character, "⦣", as well as a few other symbols that LaTeX does not recognize. Is there a way to include the ⦣ ...
20
votes
4answers
4k views

How to enter 🅱 in latex

I need to enter the 🅱 sign in LaTeX for a paper I'm writing. I tried compiling my paper using XeLaTeX, but it just ignores 🅱. Is there perhaps a way to enter the 🅱's Unicode code point itself into ...
0
votes
2answers
447 views

How to include utf8 symbols by number?

I would like to add utf8 symbol 8962 in pdflatex. So that My code will have \symbol{8962} My text will show ⌂ . I am using the compilation sequence pdflatex biber pdflatex pdflatex
4
votes
3answers
444 views

How to use the non-unicode glyphs

In some OpenType fonts e.g. XITS Math, there are some non-unicode glyphs. For example, the "display integral" glyph has the same code point (U+222B) as the normal integral. Although the big int can be ...
0
votes
0answers
468 views

Slow Compilation with Texmaker

When I open a texmaker file in my mac, it asks me: "It seems that this file can not be correctly decoded with the default encoding system (System). Use this encoding: UTF-8". When I do this, my ...
2
votes
1answer
140 views

Multibyte StrLen? (StrLen for chinese characters)

I am currently using \StrLen{#1} inside my \newcommand. This works flawlessly for any common string written in latin alphabet. "Hello" has string length of 5 for example. Problem is with chinese ...
0
votes
1answer
542 views

Can't get LyX-generated file to handle umlaut properly

The code below is generated by LyX. I trimmed down the original in order to make a MWE. No matter what I do with this, I keep getting an error message when the file tries to compile with pdflatex. \...
2
votes
2answers
71 views

Yet another glyph problem with Unicode

I have a tricky problem with combined diacritics and the CMU font family (CMU Serif). There seems to be no simple way to get the correct .pdf-output for a character like å̄, i.e. a + ring above (U+...
4
votes
1answer
254 views

Harnessing the TeX compiler to write a TeX to UTF8 converter

Dealing with most of one's text in UTF-8 rather than TeX-strings has many advantages, it is not only easy on the eyes, fingers and editors, but also it becomes real easy to feed your text to spellers, ...
2
votes
2answers
301 views

Why does utf8 not allow Cyrillic letters in listings when utf8x does?

Answers in utf8x vs. utf8 (inputenc) say that utf8x shouldn't generally be used. However, with listings, \documentclass[12pt]{beamer} \usepackage{ucs} \usepackage[utf8]{inputenc} \usepackage[T1,T2A]{...
3
votes
1answer
219 views

Automatically substitute missing glyph with another in LuaLaTeX

For some reason the russian letter ё is missing in some fonts, which leads to warning (file c:/Users/mishk/OneDrive/Stuff/fonts/PTSerifPro-Regular.otf) (cff ): 'seac' character deprecated in type 2 ...
2
votes
1answer
193 views

Problems with diacritics in Ancient Greek

I need to type a special Greek character in LaTeX (I use XeLaTeX), but I don't know how do it. \documentclass[14pt]{book} \usepackage[a4paper,left=0.5cm,right=0.5cm,top=0.8cm,bottom=0.5cm,footskip=0....
1
vote
1answer
103 views

Printing the character ⱱ (U+2C71 = labiodental flap)

I need to print the IPA symbol for the labiodental flap ⱱ (Unicode U+2C71) and it is not available in the tipa package for phonetic symbols. Is there a way I can use the Unicode hex in the input so I ...
0
votes
2answers
155 views

Changing unknown characters into known ones in Latin1

I'm currently trying to create a problem set for some students, so it involves copy-pasting from several places. But, for instance, for geometry problems, when I copy a gamma, I get "Γ", which isn't ...
3
votes
1answer
112 views

listings package rearranges (Emoji) characters

When I render the following document with xelatex... \documentclass{scrbook} \usepackage{fontspec} \usepackage{listings} \newfontface{\emojifont}{Symbola_hint.ttf} \begin{document} \emojifont{The ...
6
votes
2answers
1k views

Do I need to use \usepackage[T1]{fontenc} if I use lualatex?

When producing documents with pdflatex that may contain special utf-8 characters, it is recommended to add the following to the preamble \usepackage[utf8]{inputenc} \usepackage[T1]{fontenc} I know ...
0
votes
0answers
136 views

How to define hyphenation for different languages in LuaLaTeX?

I want to define additional hyphenation rules for different languages in LuaLaTeX. How should the hyphenation for English and German be defined in myhyphenations.tex in the following minimal working ...
1
vote
0answers
22 views

\edef with accent breaks List of Tables [duplicate]

Foreword: I'm aware that I'm doing unusual stuff with LaTeX :P I noticed that when I use \edef in something that contains an unicode (non-ASCII) character, TeX not only expands the macros, but also ...
2
votes
1answer
2k views

Latex graphviz package does not accept umlauts

Though graphviz' generic dot routine accepts UTF8 and in that respect also umlauts, the latex graphviz package does not. It always generates an error if an umlaut is included in a label (See https://...
4
votes
4answers
379 views

How do I get a (xe)Latex symbol equivalent to unicode character U+15D0?

Unicode character U+15D0 is found to be an ancient form to represent the value 50, later on associated to "L" in the Roman system, something like \|/. I am preparing a historical text about numbers ...
1
vote
1answer
144 views

How do I set up an environment for multiple languages?

been trying to set up a real multilangual environment for year. Now finally I would like to get it done. Why does the following mwe not work?: \documentclass[a4paper, twoside]{book} \usepackage{...