The Stack Overflow podcast is back! Listen to an interview with our new CEO.

Questions tagged [ucharclasses]

{ucharclasses} should be used for questions related to the `ucharclasses` package that allows executing commands when changing from one Unicode block to another .

Filter by
Sorted by
Tagged with
5
votes
2answers
259 views

Is there a way to speed up the use of ucharclasses?

The ucharclasses package is very helpful for automatic font switching based on Unicode blocks. However, it is very, very slow. One way to speed it up is to restrict its scope on certain Unicode ...
5
votes
3answers
145 views

How to use different font families for the same unicode block in ucharclases?

Here is an MWE: \documentclass{article} \usepackage{fontspec} \usepackage[Sinhala,Latin]{ucharclasses} \newfontfamily\FooBarr{Noto Sans} \newfontfamily\sinhala{Noto Sans Sinhala} \newfontfamily\...
5
votes
1answer
50 views

What does ucharclasses do here?

I'm trying to understand how to use the ucharclasses package. See this example: \documentclass{article} \usepackage{fontspec} \usepackage{ucharclasses} \newfontfamily\latinfont{Arial} \newfontfamily\...
5
votes
2answers
329 views

Get ucharclasses transitions right for Unicode symbols

I am trying to come up with a universal-ish boilerplate that will let me use as many weird Unicode symbols as I like in my plaintext documents, and handle font fallback on those symbols gracefully ...
5
votes
1answer
256 views

ucharclasses package does not work with TeX Live 2014's fontspec

With full TeX Live 2014 ucharclasses package no longer works with fontspec. It works with BasicTeX 2014 because BasicTeX 2014 uses old version of font spec from 2013. Here is an example document ...
4
votes
2answers
758 views

How can I use ucharclasses to change the font for a special script and then restore to what it was before?

I would like to change the font in XeLaTeX when I enter a new Unicode block with a certain Script (e.g. Devanagari for Hindi languages). The ucharclasses package seems to do exactly that. However, ...
4
votes
2answers
295 views

Is the package ucharclasses not included in TeX Live?

I have completed the net install of TeX Live 2011 on Linux. I am trying to install the ucharclasses package through tlmgr but it seems that the package is missing. I am using this mirror. According ...
4
votes
1answer
215 views

how to specify font for superscripts using ucharclasses with xelatex

Lohit Tamil Classical font that I am using with Xelatex does not have a glyph for superscript 4. (please see https://github.com/pravins/lohit/issues/68) I have tried using ucharclasses for automatic ...
4
votes
3answers
637 views

XeLaTeX with ucharclasses and Greek Support

ucharclasses and Greek I find that the package ucharclasses cannot correctly identify all the Unicode Greek. e.g. if I use \usepackage{fontspec} \usepackage[Greek]{ucharclasses} \...
3
votes
2answers
333 views

fontspec has no effect on changing English font after using \setTransitionsForLatin

I want to write a paragraph with two languages, Khmer and English. And I want to change font sometimes. Here is the code: \documentclass{article} \usepackage[no-math]{fontspec} \setmainfont[Script=...
3
votes
1answer
154 views

Conflict between polyglossia and ucharclasses

I have an issue with the following (Xe)LaTeX code where I want to get proper French spacing around the punctuation. Here goes: \documentclass{standalone} \usepackage{polyglossia} \setmainlanguage{...
2
votes
1answer
85 views

How do I apply boldface to multiple Khmer words in tabular environment?

I create documents that include both Latin and Khmer (Cambodian) characters. To type in Unicode, I use the fontspec package and typeset using XeLaTeX. To move between the two scripts I use the package ...
2
votes
1answer
173 views

Khmer script fails to render in parentheses

I'm creating a document where the main script is Roman but I switch inline to Khmer (Cambodian) using \ucharclasses. (Typesetting with XeLaTeX.) This works charmingly, unless I put the Khmer text in ...
2
votes
1answer
168 views

TypeWriter font have no effect with polyglossia package

Using XeLaTeX engine, MWE1 works fine with fontspec and ucharclasses package. But when I change fontspec to polyglossia (MWE2), there is no TypeWriter font effect. Moreover, the first sentence of ...
1
vote
1answer
175 views

Spacing around CJK text with ucharclasses package

I'm modifying a .sty file that's used with documents that includes Latin, Arabic and Japanese text intermingled without specific markup. I am using xeCJK to identify the Japanese text and ...
1
vote
0answers
114 views

Hyphenation problems when switching languages with ucharclasses

TL;DR version: How can I write a bilingual document, where the two languages use different scripts, such that (1) I don't need to manually set the font and language every time the document switches ...
0
votes
0answers
81 views

LuaLaTeX æquivalent to ucharclasses [duplicate]

I am using the XeLaTeX ucharclasses package to switch language and font features on transition into the Greek and Latin unicode ranges. Is there a LuaLaTeX compatible alternative?