General"Command \@xhline has changed"

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

"Command \@xhline has changed"

Post by fhrttn »

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

Code: Select all

Command \@xhline has changed.
Here is the first part of the tex file

Code: Select all

\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 ?

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org
LaTeX Beginner's Guide LaTeX Cookbook LaTeX TikZ graphics TikZによるLaTeXグラフィックス
rais
Posts: 419
Joined: Sun Nov 16, 2014 8:51 pm

"Command \@xhline has changed"

Post by rais »

\@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

Code: Select all

\documentclass{article}
\usepackage{array}
\begin{document}
\end{document}
please show us the log file of running that.

KR
Rainer
Post Reply