In the code below, when I use XeLaTeX
, the caption isn't printed in the output. How can I solve the problem?
\documentclass{book}
\usepackage{nonfloat}
\usepackage{glossaries}
\begin{document}
\chapter{A Test}
\begin{center}
\tabcaption{A Caption}
\begin{tabular}{c|c}
a & b
\end{tabular}
\end{center}
\end{document}
nonfloat
is from 1999. I suggest to use\captionof{table}{...}
instead. – user31729 Dec 25 '15 at 10:26