[XeTeX] issue with HyphenChar and fontspec
Will Robertson
wspr81 at gmail.com
Sat Apr 14 04:05:44 CEST 2007
On 14/04/2007, at 10:19 , Pablo Rodríguez wrote:
> For some strange reason, the following document gives an extra blank
> space before those texts where the HyphenChar is defined:
What version of fontspec do you have?
It seems okay to me -- do you see the same problem with
\documentclass[a4paper,12pt,draft]{article}
\usepackage{fontspec}
\newcommand{\supertext}{\addfontfeature{HyphenChar="2013}}
\setromanfont{Hoefler Text}
\begin{document}
\rule{1ex}{1ex}\supertext\rule{1ex}{1ex}
\end{document}
for example?
> \newcommand{\supertext}{\addfontfeature{HyphenChar="2013}}
> metafísica: \supertext{idea} y la \supertext{energía}. Se trata de un
Careful, you either mean {\supertext idea} here or
\newcommand{\supertext}[1]{{\addfontfeature{HyphenChar="2013}#1}}
Hope this helps,
Will
More information about the XeTeX
mailing list