[XeTeX] txfonts and XeLaTeX

Alejandro Pérez Carballo apca at mit.edu
Tue Jan 5 06:19:35 CET 2010


Thanks, Andrew. I realize now that the problem arises when I call
mathspec (it seems to work fine if I only use fontspec). Here's the
test file:

\documentclass{article}
\usepackage{mathspec}
\DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n}
\DeclareMathSymbol{\boxright}{\mathrel}{symbolsC}{128}
\begin{document}
$\boxright$
\end{document}

The error message I get is just this:


This is XeTeXk, Version 3.1415926-2.2-0.999.6 (Web2C 7.5.7

Processing: ./box.tex

Document Class: article 2005/09/16 v1.4f Standard LaTeX document class

Latex Error: ./box.tex:6 Undefined control sequence.

Output written on box.pdf (1 page).

Complete transcript is in box.log

Found 1 errors, and 0 warnings in 1 runs

/Applications/TextMate.app/Contents/SharedSupport/Bundles/Latex.tmbundle/Support/bin/latexmk.pl
-pdf -f -r /tmp/latexmkrc "box.tex" exited with status 12

Any thoughts?

Best,

APC



2009/12/20 Alejandro Pérez Carballo <apca at mit.edu>:
> Hi,
>
> Does anyone how to call a symbol from txftonts.sty for use with
> XeLaTeX? I'm trying to use the "\boxright" symbol from TX fonts. With
> LaTeX, I would just have this in my preamble:
>
> \DeclareSymbolFont{symbolsC}{U}{txsyc}{m}{n}
> \DeclareMathSymbol{\boxright}{\mathrel}{symbolsC}{128}
>
> Unfortunately, I get an error message when using this with XeLaTeX. Is
> there an equivalent to this for use with XeLaTeX?
>
> Best,
>
> APC
>


More information about the XeTeX mailing list