[XeTeX] No clipping support in XeTeX and \textcelsius

Peter Dyballa Peter_Dyballa at Web.DE
Tue Apr 13 11:15:08 CEST 2010

Am 13.04.2010 um 04:21 schrieb Tiandao Li:

> \usepackage{textcomp}
> \begin{document}
> Today is 25\textcelsius.

What you're using here is an emulation inside a 7- or 8-bit "plain  
old" LaTeX. It's based on the use of virtual fonts and very irregular  
font encodings. This should not be used with XeTeX.

The DEGREE CELSIUS character exists in hundreds of fonts, for example  
Latin Modern, Libertine, DejaVu, Free{Mono|Sans|Serif}, TeX Gyre...  
When it's not in your main font, serif or sans serif, you can make the  
℃ an *active* character which comes from an auxiliary font.

	\newfontfamily{\celsiusfont}{Free Serif}

or, more conservatively:

	\newfontfamily{\celsiusfont}{Free Serif}
	\newcommand{\cels}{{\celsiusfont ℃}}



If it does exist, it's out of date.
				– Arnold's Second Law of Documentation

More information about the XeTeX mailing list