The following document renders fine with XeLaTeX...
\documentclass[12pt]{standalone}
%\usepackage{dejavu-otf}
\usepackage[all]{xy}
\newcommand*{\point}[1]{*+[F.]{\makebox[2.8em]{$#1\mathstrut$}}}
\newcommand*{\dotsitem}{*+[F.]{\makebox[2em]{\ldots\mathstrut}}}
\begin{document}
\xy
\xymatrix @C=0pt @R=0pt{
*++{\textbf{mz\mathstrut}} &
\point{0} & \point{1} & \dotsitem & \point{n - 1} &
\point{n} & \point{n + 1} & \dotsitem & \point{2n - 1} &
\dotsitem & \dotsitem & \point{l - 2} & \point{l - 1}\\
*++{\textbf{scan\mathstrut}} &
\point{0} & \point{1} & \dotsitem & \point{n - 1} &
\point{n} & \point{n + 1} & \dotsitem & \point{2n - 1} &
\dotsitem & \dotsitem & \point{l - 2} & \point{l - 1}\\
*++{\textbf{intens\mathstrut}} &
\point{0} & \point{1} & \dotsitem & \point{n - 1} &
\point{n} & \point{n + 1} & \dotsitem & \point{2n - 1} &
\dotsitem & \dotsitem & \point{l - 2} & \point{l - 1}}
\save "1,2"."3,5"="chunk1" \restore
\save "1,6"."3,9"="chunk2" \restore
\save "1,11"."3,13"="chunkN" \restore
\POS"chunk1"!CD!<0pt,-2\jot>*\frm{_\}} *++!U\txt<6em>{Chunk $1$}
\POS"chunk2"!CD!<0pt,-2\jot>*\frm{_\}} *++!U\txt<6em>{Chunk $2$}
\POS"chunkN"!CD!<0pt,-2\jot>*\frm{_\}} *++!U\txt<6em>{Chunk $N$}
\save "chunk1"*\frm{-} \restore
\save "chunk2"*\frm{-} \restore
\save "chunkN"*\frm{-} \restore
\endxy
\end{document}
... unless I uncomment the
\usepackage{dejavu-otf}
line (I do want DejaVu fonts):
Is it a problem with xy
or dejavu-otf
, and can it be somehow worked around?
\frm{\{}}
or\frm{\}}
are used).