Tag Info

Accepted

How can I show S-comma in LaTeX math mode?

Words, even without accents should not be in math italic, so \text{unde} and \text{și}
• 668k

What about "exotic" characters in xstring?

In UTF-8, non-ASCII characters take several bytes, and xstring's \StrLen might be counting these bytes... however, it seems to be something entirely different, as @SandyG noted. The following example ...
• 22.6k

What about "exotic" characters in xstring?

When dealing with -- as you put it -- "exotic" (but still single-glyph and utf8-encoded, right?) characters at a low level, it's best not to work with pdf(La)TeX; instead, do work with a TeX ...
• 439k

What about "exotic" characters in xstring?

As other answers wrote, counting characters in Unicode is somewhat ill-defined. While other answers showed how to count Unicode codepoints, this can lead to rather unexpected results. E.g. ä might be ...
• 30.5k

How can I use any Noto font with latex?

I will assume you want a mainly English document with other scripts and languages. Here is my solution. I use LuaLaTeX with fontspec and babel, and I define the font for every script. This is nice ...

How can I show S-comma in LaTeX math mode?

If you really want larger font size in the display, you can avoid \mathlarger, but I'd not do it: a math display is already prominent enough. In any case, you need \text for textual parts in math ...
• 992k

How can I show S-comma in LaTeX math mode?

In addition to rendering text-type words that may appear in a math expression in text mode (via a \text directive, say), you may want to execute a single \large instruction before entering math mode ...
• 439k

What about "exotic" characters in xstring?

This is not a general issue with accented ("exotic") characters, only with some characters, notably ā and other "overlined" characters such as ē, ī, etc, and "caroned" ...
• 21.4k
Accepted

Compilation Failure of Minimal Test Chinese Document with TeX Live 2022

You have a rather old version of ctex installed under /home/yang/texmf/tex/latex/ctex. This version overwrites the much newer version installed with TeX Live 2022 but it is not compatible with the ...
• 30.5k

Encoding error in LaTeX - all umlauts, etc. are correctly presented

One simple way to find out which entry is responsible for the error is to give the Unicode character in question a definition that can easily be searched for in the output. For example something like \...
• 159k
Accepted

Encoding error in LaTeX - all umlauts, etc. are correctly presented

(Converting Comment to Answer) This is likely a case in which a "weird invisible character" is in your bib file, probably from copying and pasting stuff from the internet (e. g. author ...
• 20.3k
Accepted

Testing bookmark glyphs (testbmgl.tex) fails

The test file assumes that the option unicode is set to false -- this is no longer the case in hyperref as it now uses unicode always. You can force it back by adding unicode=false (we do that in the ...
• 294k
Accepted

After loading unicode-math, how do I remap one symbol (character) to another?

Assigning a \mathcode of "8000 makes a character “math active”. When used in math mode, such a 〈character〉 is replaced by an active character token having the original character code (TeXbook p. ...
• 22.6k
1 vote

LaTeX Error: Unicode character

Thanks to @DavidCarlisle suggestion "I had to install babel russian" and also thanks to @Rmano suggestion about "switch T2A,T1 to T1, T2A" (it really works). So my solution is: ...
• 2,134
1 vote

After loading unicode-math, how do I remap one symbol (character) to another?

Just to point out the "internal unicode-math API" option, which the OP appears to prefer: \documentclass{article} \usepackage[math-style=ISO, partial=upright]{unicode-math} \setmainfont{STIX-...
• 1,976

Only top scored, non community-wiki answers of a minimum length are eligible