Skip to main content

Questions tagged [newunicodechar]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
0 votes
1 answer
53 views

How to write the characters in Unicode block "Miscellaneous Technical"

I want to include some special Unicode string to my overleaf report. In particular the Straightness ⏤ (U+23E4), Cylindricity ⌭ (U+232D), Symmetry ⌯ (U+232F), and Electrical Arrow ⌁ (U+2301). However, ...
John's user avatar
  • 5
0 votes
0 answers
37 views

`\futurelet` how to get the replacement macro for `\UTFviii@three@octets`?

I want to use \futurelet to test the following token. Towards this end I have a setup that looks like the following: \makeatletter \def\@ExpandSub{% \typeout{Given Input: \meaning\@input}% \...
Hyperplane's user avatar
0 votes
1 answer
72 views

Define "Macron below" / combining low line (U+0332) as a unicode character to underline text

Consider the following (compile with xelatex): \documentclass{article} \usepackage{fontspec} \usepackage[verbose]{newunicodechar} % List of symbols supported by Symbola at % https://www.fileformat....
Clément's user avatar
  • 5,651
1 vote
1 answer
105 views

Increase size of superscript letter diacritics

I'm working with transcriptions of medieval texts and so have to deal with diacritic craziness while also being limited to the Libertinus Serif font which has dismal support for superscript letters. ...
Jipí's user avatar
  • 1,037
2 votes
1 answer
288 views

Use \DeclareUnicodeCharacter with combined Unicode characters

How is it possible to use combined Unicode characters (such as x̃, x̅, X̅, f̅, f᷉, f̂) in a definition of \DeclareUnicodeCharacter? So something like \newunicodechar{x̃}{\tilde{x}} (using the package ...
Alois Pichler's user avatar
4 votes
2 answers
172 views

Automatically combine unicode double subscripts aᵢⱼ = a_{i}_{j} as a_{ij}

I want to use unicode subscripts. How can I make it so that double subscripts are automatically combined into a single one? \documentclass{standalone} \usepackage{newunicodechar} \newunicodechar{ᵢ}{_{...
Hyperplane's user avatar
2 votes
2 answers
119 views

Combining \newunicodechar with delimiter sizes \big, \left, \right, etc

\documentclass[11pt]{standalone} \usepackage[utf8]{inputenc} \usepackage{newunicodechar} \newunicodechar{‖}{\ensuremath{\|}} \begin{document} $$ ‖x‖ $$ $$ \big‖x\big‖ $$ % Error: Missing delimiter \...
Hyperplane's user avatar
6 votes
1 answer
2k 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?...
TiMauzi's user avatar
  • 851
0 votes
0 answers
42 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 ...
Erran's user avatar
  • 1
1 vote
1 answer
180 views

Type ⟨ and ⟩ inside a \lstinline command

I want to type the angle bracket inside a listings inline code. like ⟨this⟩ I set up listings to be (globally) typed in the Latin Modern Mono. With the following % !TEX TS-program = xelatex % !TEX ...
tush's user avatar
  • 1,147
2 votes
0 answers
4k views

Inputenc Error: Invalid UTF-8 byte "FC

When compiling my code in Texmaker I get this error: Error Package inputenc Error: Invalid UTF-8 byte "FC. I don't know why. Can somebody help me? \documentclass[11pt,a4paper,oneside,titlepage]{...
Jasmin Niederbacher's user avatar
4 votes
0 answers
158 views

Set fallback font without having to declare every missing character

I have the following code in my preamble to handle missing unicode characters in my CJKmainfont. % Set Font. \setsansfont{Noto Sans} \setmainfont{Noto Serif} % Set serifed font to Calibri. Originally ...
Sati's user avatar
  • 167
4 votes
2 answers
101 views

How to forbid a certain character from starting a line of output text? Specifically concerning Tibetan text

I am typesetting texts in Tibetan, and I am trying to replicate a traditional Tibetan typesetting convention (they mostly used handwritten manuscripts or xylographs/wood-block prints). There is a ...
Paul's user avatar
  • 417
1 vote
1 answer
558 views

Unicode characters from Julia website

In this link https://docs.julialang.org/en/v1/manual/unicode-input/ there is a list where you can directly use the unicode symbols: Code point(s); Character(s); Tab completion sequence(s); ...
Sebastiano's user avatar
  • 56.7k
5 votes
2 answers
9k views

How to print Unicode characters in LaTeX by its code? (For example \U0001316E)

For example, the character [ \U0001316E ] in Unicode is 𓅮. How could I transform it into a LaTeX command. I tried to use XeLaTeX compiler and directly copy the symbol into Overleaf, but is became �� ...
Zizheng Yang's user avatar
7 votes
2 answers
3k views

How do I make LaTeX understand Unicode characters ↔︎ and ↕︎

I understand that LaTeX has horrible Unicode support, and if I want Unicode I should be using XeTeX. And I have read Entering Unicode characters in LaTeX but it doesn't seem to do what I want. What I ...
vy32's user avatar
  • 4,810
0 votes
1 answer
92 views

\newunicodechar fails for PRIME only

I'm using Beamer with the XeTeX backend and initially I got lots of warnings of the following form: [WARNING] Missing character: There is no ∙ in font [lmmono10-regular]:! So I went and added \...
Cactus's user avatar
  • 1,117
3 votes
1 answer
505 views

U+21B3 UTF8 character failure with \newunicodechar

the following % file testbismon.tex %% see https://github.com/bstarynk/bismon/ for more about Bismon \documentclass[11pt,a4paper,svgnames]{article} \usepackage[T1]{fontenc} \usepackage[utf8x]{...
Basile Starynkevitch's user avatar
4 votes
2 answers
348 views

Fallback for mathcal unicode characters in lualatex with proper height

Very few monospace fonts support unicode characters like U+1D4AA (Mathematical Script Capital O). I'm using DejaVu Sans Mono, and I'd like to define a fallback. Right now I have this: \documentclass{...
ipswitch's user avatar
  • 137
1 vote
0 answers
404 views

Defining fallback fonts for entire Unicode ranges

Is it possible to automatically define fallbackfonts for specific Unicode ranges? I know there are packages to do this such as xeCJK for CJK fonts as in this answer But that's limited to those ...
jan's user avatar
  • 2,266
0 votes
1 answer
3k views

Package inputenc error unicode character − (u+200E)

Two of my tables in TexStudio are having the error: package inputenc error unicode character − (U+200E)not set up for use in LaTeX. Anybody knows what the exact problem is? SOLVED: invisible ...
Jana's user avatar
  • 1
0 votes
2 answers
479 views

Using the unicode prime character outside math mode with unicode-math and newunicodechar

I am trying to use unicode-math, newunicodechar and LuaLaTeX/XeLaTeX to write my LaTeX code making use of unicode characters in the source text. This works fine, except for the prime character; if I ...
Mark Armstrong's user avatar
3 votes
2 answers
716 views

Caron Accent \v{a} doesn't render without \usepackage{xeCJK}

I am encountering an odd problem. I want to create composite characters such as ǎ using the newunicodechar package. However, it only yields a result in combination with the xeCJK package. This code ...
Paul's user avatar
  • 336
0 votes
0 answers
1k views

Unicode to CP 0 conversion in Winedit

I am writing a report in latex using Winedt 7.0 editor. The language of the write-up is in two languages, in English and in Chinese. For the English there is no problem and it compiles well. But when ...
ms110400027's user avatar
2 votes
1 answer
350 views

lost my smilies: it is worth the effort to make Unicode work?

I made some LyX Beamer slides with smiley faces and I found they do not survive the transition to utf-8. I've fiddled with this quite a bit. Right now, it appears that, at least for miscellaneous ...
pauljohn32's user avatar
2 votes
2 answers
955 views

Unicode character error (inputenc package)

I'm trying to compile a file, but its returning an error about inputenc package. MVE: \documentclass[ 12pt, % tamanho da fonte a4paper, % tamanho do papel hidelinks, % esconder links english, % ...
P. Passos's user avatar
1 vote
1 answer
110 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 ...
Gula Kapas's user avatar
1 vote
0 answers
462 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. ...
sfx's user avatar
  • 93
0 votes
1 answer
816 views

Package newunicodechar Error: ASCII character requested

I've tried using the newunicode, but I've fallen on this problem: \documentclass[11pt]{article} \usepackage[utf8]{inputenc} \usepackage{newunicodechar} \newunicodechar{Γ}{\ensuremath{\Gamma}} \...
Daniel Cortild's user avatar
3 votes
1 answer
956 views

Add unicode character to document

I'm trying to enter two Unicode characters in my document. The first is 「 and the second is 」. However, none of the solutions I've seen thus far have been able to help me implement these two ...
Skip's user avatar
  • 33
3 votes
1 answer
233 views

Generating underaccents for Romanized Tamil

ISO 15919 requires two Tamil letters, ற and ழ, to have lines below the letters like ṟ and ḻ in Romanized transliteration. I want to use Minion Pro for this document because it is used elsewhere but ...
chandra's user avatar
  • 3,104
3 votes
1 answer
775 views

\usepackage{newunicodechar} loads but commands have no effect

Trying to use plaintext Unicode (UTF-8-encoded) symbols in a LaTeX source code. Made own definitions of the symbols in question, ASCII-only, just to prove the concept. \documentclass[12pt]{article} \...
Incnis Mrsi's user avatar
1 vote
1 answer
283 views

Replace brackets by Chinese brackets

We are typesetting a document in Chinese. We are using gb4e and bibtex and want all brackets (and ) to appear as Chinese brackets: ( and ). I already found Replace certain Unicode character with ...
Stefan Müller's user avatar
3 votes
1 answer
2k views

Redefine a symbol with \newunicodechar and pdflatex

EDIT: @egreg. but how do I change the single quote ›, for instance, I want this in the whole document, \newunicodechar{›}{\unskip\,›} except where, in a precise environment, it becomes \...
user1283885's user avatar
9 votes
1 answer
4k 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 🇩🇪 ...
Benjamin's user avatar
  • 4,811