[tex-live] Howto include unicode character?
George N. White III
gnwiii at gmail.com
Sun Mar 2 16:04:31 CET 2008
If you want to work with unicode, you should investigate xe(la)tex:
% -*- coding: utf-8-unix -*-
% format using xelatex
\documentclass{article}
\usepackage[no-math]{fontspec}
\usepackage{xunicode,xltxtra}
%\defaultfontfeatures{Mapping=tex-text}
%\setromanfont{Latin Modern Roman} % I don't get the pi
\setromanfont{STIXGeneral} % this works for me
%\setromanfont{Charis SIL} % this works for me
\begin{document}
What is π?
\end{document}
On Fri, Feb 29, 2008 at 10:22 AM, Neal Becker <ndbecker2 at gmail.com> wrote:
> I have recent texlive.
>
> \documentclass[10pt,a4paper,english]{article}
> \usepackage{ucs}
> \usepackage[utf8x]{inputenc}
> \begin{document}
> What is π
> \end{document}
>
> I get:
> ! Undefined control sequence.
> \u-default-960 #1->\textpi
>
> l.5 What is π
>
> ?
> ! Emergency stop.
> \u-default-960 #1->\textpi
>
> Any clues?
>
--
George N. White III <aa056 at chebucto.ns.ca>
Head of St. Margarets Bay, Nova Scotia
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://tug.org/pipermail/tex-live/attachments/20080302/c102ea4b/attachment.html
More information about the tex-live
mailing list