我有以下文件:
\documentclass[7pt]{scrreprt}
\usepackage[verbose]{geometry}
\geometry{
a4paper,
left=10mm,
right=10mm,
top=15mm,
bottom=15mm
}
\usepackage{tabularx}
\usepackage{ltablex}
\usepackage{calc}
\usepackage[dvipsnames,table]{xcolor}
\usepackage{hyperref}
\hypersetup{
colorlinks=true,
linkcolor=blue,
filecolor=magenta,
urlcolor=cyan,
}
\definecolor{header-color}{HTML}{C0C0C0}
\begin{document}
\ttfamily
\chapter{Parameters List}
\begin{tabularx}{\linewidth}{|p{\widthof{\bfseries Offset}}|l|l|X|}
\hline\rowcolor{header-color}{\bfseries Offset} & {\bfseries Register Name} & {\bfseries HW Reset Value} & {\bfseries Description}\\\hline\hline
\endfirsthead
\hline\rowcolor{header-color}{\bfseries Offset} & {\bfseries Register Name} & {\bfseries HW Reset Value} & {\bfseries Description}\\\hline\hline
\endhead
0x0000 & \hyperref[__LINK__0_0_1585206671]{REG\_NAME} & 0x0000000000000000* & General Configuration and Status register \\\hline
\end{tabularx}
\end{document}
由于某种原因我收到一个错误:
! Undefined control sequence.
\GenericError ...
#4 \errhelp \@err@ ...
l.42 \end{tabularx}
可能出了什么问题? 日志档案
PS 我的表格可能超过 1 页