当我想使用 \usepackage{tkz-euclide} 时出现错误

当我想使用 \usepackage{tkz-euclide} 时出现错误

我正在撰写一篇稿件,考虑在《组合学、概率和计算》期刊上发表。我使用的是期刊模板,可通过以下方式获取https://www.cambridge.org/core/journals/combinatorics-probability-and-computing/information/instructions-contributors#我需要使用 tkz-euclide 包,但是每次添加该包时都会出现如下错误:

在此处输入图片描述

我的工作试验如下:

\documentclass{cpc}
%\title[Book reviews]{Book reviews}
\title[A novel grid-based proving technique for generated graph of FTTM pseudo degree]{A novel grid-based proving technique for generated graph of FTTM pseudo degree}
\author[Amirul Aizad Ahmad Fuad and Tahir Ahmad]{Amirul Aizad Ahmad Fuad and Tahir Ahmad\thanks{Corresponding author}\\
\affilskip Department of Mathematical Sciences \\
\affilskip Faculty of Science \\
\affilskip Universiti Teknologi Malaysia \\
\affilskip 81310 Johor Bahru, Malaysia \\}


\recdate{2 October 2003}
\pubyear{2003}
\pagerange{\pageref{firstpage}--\pageref{lastpage}}
\doi{S0963548301004989}
\volume{00}

\def\eg{{\it e.g.\ }}
\def\etc{{\it etc}}

\usepackage[hidelinks]{hyperref}
\usepackage{amsmath,graphicx,amssymb,longtable,tikz,tikz-cd,cite,mathtools,float}

%\usepackage{tkz-euclide}

\usetikzlibrary{arrows.meta}
\usetikzlibrary{arrows}
\newcommand{\midarrow}{\tikz \draw[-triangle 90] (0,0) -- +(.1,0);}

\begin{document}

\setcounter{page}{0}
\thispagestyle{empty}
\tableofcontents

\label{firstpage}
\maketitle%[P]

\begin{abstract}
Fuzzy topological topographic mapping $(FTTM)$ is a mathematical model that consists of a set of homeomorphic topological spaces designed to solve the neuromagnetic inverse problem. The special characteristic of $FTTM$, namely the homeomorphisms between its components, allows the generation of new $FTTM$. These generated $FTTM$s can be represented as pseudo graphs. A graph of pseudo degree zero is a special type of pseudo graph where each of the $FTTM$'s components differs from its adjacent. Previous researchers have investigated and conjectured the number of generated $FTTM$ pseudo degree zero with respect to $n$ number of components and $k$ number of versions.  In this paper, the conjecture is proven analytically.  The grid-based method of proving is new, whereby some definitions and properties are introduced and developed along the way, respectively.  It offers an edge in proving, in particular, the capability of visualizing the problem in a $2$-dimensional space.

\begin{tabular}{lp{8cm}}
2020 \textit{Mathematics subject classification:}&{Primary 05C62} \\&{Secondary 05C50}
\end{tabular}
\end{abstract}

\end{document}

请帮忙。

答案1

问题并不完全是tkz-euclidenumprint。不幸的是tkz-euclide加载tkz-base了 使用numprint。有几种可能性,但其中一些需要时间。

1)修改tkz-euclide为的独立版本,tkz-base并严格使其成为欧几里得几何tkz-elements。它正在取得进展,但在此之前我还有很多其他项目要完成。

2) 修改tkz-base为允许使用siunits。我对后者了解不够,无法快速完成这项工作。

3)查看错误来自何处并尝试解决它...这是我建议首先做的事情。

问题:

\documentclass{cpc}
\usepackage{numprint}
\author{Alain Matthes}
\title{Altermundus}

\begin{document}
  \maketitle
\end{document}

Latex Error: ./cam.tex:8 Missing # inserted in alignment preamble.

让我们看看这个cpc.cls类做了什么。它重新定义了很多东西。我合并了定义maketitle并注释掉了导致问题的行。

\documentclass{cpc}
\usepackage{numprint}
\author{Alain Matthes}
\title{Altermundus}

\makeatletter
\def\author@tabular{\def\@halignto{}\@authortable}
\let\endauthor@tabular=\endtabular

\def\author@tabularcr{{\ifnum0=`}\fi
% \it removed and \footnotesize added 
 \@xtabularcr[5\p@]\footnotesize\ignorespaces}
\def\@authortable{
\leavevmode \hbox \bgroup $\let\@acol\@tabacol
 \let\@classz\@tabclassz \let\@classiv\@tabclassiv
 \let\\\author@tabularcr \@tabarray
 }

\def\@maketitle#1{%
  \newpage
  \vspace*{-25\p@}%
  \noindent\linedouble\\[7\p@]
   {\centering
   \sp@head{#1}%
    {\LARGE\strut \bf \@title \par}%
    \setbox0=\vbox{\let\thanks\relax \LARGE\strut \bf \@title \par}%
    \vskip-\ht0
    \vskip 75\p@
    \linethin\\[7\p@]
    {\normalsize
    % \begin{author@tabular}[t]{@{}c@{}}
       \@author
    % \end{author@tabular}
      }%
     \ifrecdateused
       \vskip 3\p@
       {\hfil\small\strut\it Received \@recdate\hfil}%
     \else \par
     \fi
  }%
  \noindent
  \vskip -11\p@% remove the last \par
  \vskip 39\p@
  }% two line space

\begin{document}
  \maketitle
\end{document}

我认为问题出在author@tabular'. Either you modifymaketitle to complete the title, or you ask another question aboutnumprint' 和 'author@tabular'。

也许这个错误是已知的

相关内容