首页 > 解决方案 > !LaTeX 错误:出了点问题——可能缺少 \item

问题描述

\documentclass[11pt,a4paper]{report}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}
\usepackage{graphics} 
\usepackage {epsfig}
\usepackage{fancyhdr}
\linespread{1.4}

\setlength{\topmargin}{-0.4in}
\setlength{\topskip}{0.3in}    % between header and text
\setlength{\textheight}{9.5in} % height of main text
\setlength{\textwidth}{6in}    % width of text
%\setlength{\leftmargin}{-0.6in}
%\setlength{\oddsidemargin}{0.75in} % odd page left margin
%\setlength{\evensidemargin}{0.75in} % even page left margin
\addtolength{\evensidemargin}{-0.4in}
\addtolength{\oddsidemargin}{-0.4in}
\addtolength{\textwidth}{0.4in}


\begin{document}
\renewcommand\bibname{References}

\begin{titlepage}
\input{TitlePage}
\end{titlepage}

\pagenumbering{gobble}

\newpage
\pagenumbering{roman}
%\tableofcontents 

\chapter*{
    \begin{center}
    {Abstract}
    \end{center}
}
\begin{quotation}
\paragraph{} 

Bank are providing mobile application to their customer. We are developing 
banking application using Location Based Encryption. As compare to current 
banking application which are location independent,



\\
\textbf{Keywords:} 
Enter Keyword here.......
\end{quotation}

\newpage
\pagenumbering{arabic}
\pagestyle{fancy}
\fancyhead{} % clear all fields
\fancyhead[RO,LE]{}
\renewcommand\headrule{}
\rhead{PROJECT NAME}

\renewcommand{\footrulewidth}{0.4pt}
\fancyfoot[RE,LO]{P.E.O COLLEGE}
\input{intro}
%\input{Literature_Survey}
\input{table}
%\input{problmstmt}
\input{scope}
%\input{future}
\input{conclusion}
\input{ref}
\end{document}

%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%

我有这个乳胶代码。但是当我尝试编译它时,它给了我一个错误说:

!LaTeX 错误:出了点问题 - 可能缺少 \item。请参阅 LaTeX 手册或 LaTeX Companion 以获得解释。键入 H 以获得即时帮助...。

此错误在线:

\end{quotation}

为什么我会收到此错误?我没有\item在出现错误的行上添加任何内容。

标签: latexpdflatex

解决方案


中的\paragraphand\\指令quotation没有多大意义。我猜你的意思是这样的:

\begin{quotation}

\noindent
Banks are providing mobile applications to their customer.  We are developing a
banking application using \emph{Location Based Encryption}.  Compared to current 
banking applications, which are location independent, \ldots

\paragraph{Keywords:} bank, application, encryption, location, mobile.

\end{quotation}

推荐阅读