答案1
当我纠正语法时,它对我来说工作正常:最后一个参数是可选的,并且应该用方括号(而不是花括号)括起来。
\documentclass{scrartcl}
\usepackage{chronology}
\begin{document}
\begin{chronology}[3]{1990}{2000}{3ex}[\linewidth]
\end{chronology}
\bigskip
\begin{chronology}*[5]{1764}{1800}{\textwidth}[12cm]
\small
\event{1789}{\color{blue}Declaration of the Rights of Man and of the Citizen}
\event[1789]{1799}{\color{blue}French Revolution}
\event{1793}{{\color{blue}Declaration of the Rights of Man and Citizen} | {\color{gray}\emph{The Age of Reason}}}
\event[1765]{1783}{\color{purple}American Revolution}
\event{1776}{{\color{purple}Declaration of Independence} | {\color{gray}\emph{Common Sense}}}
\event{1791}{\color{gray}\emph{Rights of Man}}
\event{1787}{\color{purple}Constitution}
\event[1789]{1791}{\color{purple}Bill of Rights}
\event{1795}{\color{gray}\emph{Agrarian Justice}}
\end{chronology}
\end{document}
我怀疑您想要的{\linewidth}[3ex]
是而不是{3ex}[\linewidth]
,也许?