LaTeX forum ⇒ General ⇒ "Command \@xhline has changed"

LaTeX specific issues not fitting into one of the other forums of this category.
fhrttn
Posts: 20
Joined: Thu Nov 16, 2017 2:43 pm

"Command \@xhline has changed"

Hi
I have changed my pc and installed full package of latex "texlive-full". But when I ran the code I got the error as follows
Command \@xhline has changed.

Here is the first part of the tex file

\documentclass[12pt]{iopart}\usepackage{iopams}\usepackage{graphicx}\usepackage{graphics}\usepackage{subfigure}\usepackage{multirow}%\usepackage[%singlelinecheck=false % <-- important%]{caption}\DeclareMathAlphabet\mathbfcal{OMS}{cmsy}{b}{n}\usepackage{booktabs}\usepackage{cite}\usepackage{longtable}\usepackage{pdflscape}\usepackage{graphicx}\usepackage{floatrow}\floatsetup[longtable]{LTcapwidth=table}\usepackage{array}\newsavebox\dummy\newcolumntype{H}{>{\begin{lrbox}{\dummy}}c<{\end{lrbox}}@{}}

This tex file is working on my old pc. What is the problem ?

rais
Posts: 281
Joined: Sun Nov 16, 2014 8:51 pm
\@xhline is defined by the LaTeX kernel and checked by the array package (before it tries to redefine it), AFAIK.

You could try to load it earlier (to see if one of the other packages you're loading is redefining \@xhline), and you could try one of the standard classes.
If you get the same error with
\documentclass{article}\usepackage{array}\begin{document}\end{document}