第一页丢失了文字

第一页丢失了文字

我有一个关于文章的问题,在第一页它caption单独显示为 word。其余的 pdf 看起来符合我的要求。我到处搜索过,但我不知道它来自哪里。我猜,这是软件包之间的兼容性问题,但我不确定,我已经尝试了所有方法,甚至放入和取出软件包。任何评论都会有所帮助,脚本如下所示:

\documentclass{article}[12pt]
\usepackage[version=3]{mhchem}
\usepackage{siunitx}  
\usepackage{graphicx} 
\usepackage{natbib} 

\hbadness=10000\hfuzz=50pt

\usepackage{StyleFiles/watermark}
\usepackage{geometry}
\geometry{a4paper}

\usepackage[T1]{fontenc}
\usepackage[spanish]{babel}
\usepackage[latin1]{inputenc}

\usepackage{booktabs}
\usepackage{ctable}
\usepackage{threeparttable}
\usepackage{multirow}
\usepackage{bm}
\usepackage{mathptmx}
\usepackage{amssymb}
\usepackage{relsize}
\usepackage{amsmath}
\usepackage{fancyhdr}
\usepackage{eucal}

\usepackage{color}
\definecolor{dunkelgrau}{rgb}{0.8,0.8,0.8}
\definecolor{hellgrau}{rgb}{0.95,0.95,0.95}

\usepackage{subfig}
\usepackage{grffile} 

\usepackage{ifthen}
\usepackage{ifpdf}
\usepackage{float}
\usepackage{setspace}
\usepackage{tocbibind}
\usepackage{colortbl}
\usepackage{todonotes}
\usepackage{longtable,array}
\usepackage{pdflscape}
\usepackage{enumerate}
\usepackage{cleveref}
\usepackage{titlesec}

\makeatletter
\newcounter {subsubsubsection}[subsubsection]
\renewcommand\thesubsubsubsection{\thesubsubsection .\@alph\c@subsubsubsection}
\newcommand\subsubsubsection{\@startsection{subsubsubsection}{4}{\z@}%
                                    {-3.25ex\@plus -1ex \@minus -.2ex}%
                                    {1.5ex \@plus .2ex}%
                                    {\normalfont\normalsize\bfseries}}
\newcommand*\l@subsubsubsection{\@dottedtocline{4}{10.0em}{4.1em}}
\newcommand*{\subsubsubsectionmark}[1]{}
\makeatother


\usepackage{wasysym}
\usepackage{enumitem}
\usepackage{forloop}
\usepackage{scrpage2}

\onehalfspacing

\setcounter{footnote}{4}
\setcounter{secnumdepth}{4}
\setcounter{tocdepth}{4}


\title{} 
\author{} 
\date{\today} 

\begin{document}

\maketitle \end{center}


\tableofcontents


Body
\end{document}

答案1

首先:请不要忽略编译文档时收到的错误消息。

示例文档可以最小化为:

\documentclass{article}

\usepackage{ctable}
\usepackage{todonotes}

\begin{document}
Body
\end{document}

它仍然显示神奇的“标题”,但发出一条错误消息:

! Package ctable Error: You must load ctable after tikz.

See the ctable package documentation for explanation.

遵循建议(即更改包加载顺序)会有所帮助。此代码编译时没有错误,并且不显示“caption”:

\documentclass{article}

\usepackage{todonotes}
\usepackage{ctable}

\begin{document}
Body
\end{document}

相关内容