Fonts & Character SetsWhat is   (hexdump: C2 A0) in the input tex file?

Information and discussion about fonts and character sets (e.g. how to use language specific characters)
Post Reply
user49915
Posts: 81
Joined: Wed Apr 17, 2019 12:51 pm

What is   (hexdump: C2 A0) in the input tex file?

Post by user49915 »

Consider the following input:

Code: Select all

Code, edit and compile here:
\documentclass{standalone}
\begin{document}
$(\sigma_i,·a_{i+1})$
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
All the chars are pure ASCII except the char right after the comma: it is not space, but the byte sequence C2 A0 and is shown in emacs as a kind of an underscore. I discovered it in a source latex file at several places but do not know the purpose of it. pdflatex seems to make a horizontal space, whereas xe|lua latex seem to ignore it. Any idea what was intended and why?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p

Stefan Kottwitz
Site Admin
Posts: 10335
Joined: Mon Mar 10, 2008 9:44 pm

What is   (hexdump: C2 A0) in the input tex file?

Post by Stefan Kottwitz »

That is a non-breaking space.

Perhaps an editor inserted it or it was copied with code from the Internet. I would replace it to be a normal space, such as via a script.

Stefan
LaTeX.org admin
Post Reply