Undefined control sequence \chapter - latex

Hello I'm new in Latex.
I was trying to write my thesis, using the MasterDoctoralClass.cls.
This is my main.tex:
\documentclass[
11pt,
english,
singlespacing,
headsepline
]{MastersDoctoralThesis}
\usepackage[utf8]{inputenc}
\usepackage[T1]{fontenc}
\usepackage{mathpazo}
\usepackage[backend=bibtex,style=authoryear,natbib=true]{biblatex} )
\addbibresource{example.bib}
\usepackage[autostyle=true]{csquotes}
%----------------------------------------------------------------------------------------
% MARGIN SETTINGS
%----------------------------------------------------------------------------------------
\geometry{
paper=a4paper,
inner=2.5cm,
outer=3.8cm,
bindingoffset=.5cm,
top=1.5cm,
bottom=1.5cm
}
%----------------------------------------------------------------------------------------
% THESIS INFORMATION
%----------------------------------------------------------------------------------------
\thesistitle{Title Thesis}
\supervisor{Prof. X \textsc{Y} \\ Dr. Z \textsc{W}}
\degree{Master of Science in Electronic Engineering}
\author{Name \textsc{Surname}}
\subject{Electronic Engineering}
\keywords{}
\university{{Università}}
\department{{Department of Information Engineering, Electronics and Telecommunications}}
\group{{Master of Science in Electronic Engineering}}
\faculty{{Faculty of Information Engineering, Informatics and Statistics}}
\AtBeginDocument{
\hypersetup{pdftitle=\ttitle}
\hypersetup{pdfauthor=\authorname}
\hypersetup{pdfkeywords=\keywordnames}
}
\begin{document}
\frontmatter
\pagestyle{plain}
%----------------------------------------------------------------------------------------
% TITLE PAGE
%----------------------------------------------------------------------------------------
\begin{titlepage}
\begin{center}
\includegraphics[scale=1]{logo.jpg}
\end{center}
\begin{center}
\vspace*{.01\textheight}
\textsc{\Large Master Thesis}\\[1cm]
\HRule \\[0.4cm]
{\huge \bfseries \ttitle\par}\vspace{0.4cm}
\HRule \\[1.5cm]
\begin{minipage}[t]{0.4\textwidth}
\begin{flushleft} \large
\emph{Author:}\\
\href{}{\authorname}
\end{flushleft}
\end{minipage}
\begin{minipage}[t]{0.4\textwidth}
\begin{flushright} \large
\emph{Supervisor:} \\
{\supname}
\end{flushright}
\end{minipage}\\[2cm]
\begin{center}
\includegraphics[scale=0.4]{logo2.jpg}\hfill\includegraphics[scale=0.5]{logo3.jpg}
\end{center}
\vspace*{1.5cm}
\groupname\\\deptname\\[1.5cm]
\vfill
\rule{3cm}{1pt}\\
{\large \today}\\[4cm]
%\includegraphics{Logo}
\vfill
\end{center}
\end{titlepage}
%----------------------------------------------------------------------------------------
% QUOTATION PAGE
%----------------------------------------------------------------------------------------
\vspace*{0.2\textheight}
\begin{flushright}
\thispagestyle{empty}
\vspace*{5cm}
\itshape\enquote{Something}\\[0.3cm]
\end{flushright}
\hfill Name
%----------------------------------------------------------------------------------------
% ABSTRACT PAGE
%----------------------------------------------------------------------------------------
\begin{abstract}
\addchaptertocentry{\abstractname}
The Thesis Abstract is written here (and usually kept to just this page). The page is kept centered vertically so can expand into the blank space above the title too\ldots
\end{abstract}
%----------------------------------------------------------------------------------------
% ACKNOWLEDGEMENTS
%----------------------------------------------------------------------------------------
\begin{acknowledgements}
\addchaptertocentry{\acknowledgementname}
The acknowledgments and the people to thank go here, don't forget to include your project advisor\ldots
\end{acknowledgements}
%----------------------------------------------------------------------------------------
% LIST OF CONTENTS/FIGURES/TABLES PAGES
%----------------------------------------------------------------------------------------
\tableofcontents
\listoffigures
\listoftables
%----------------------------------------------------------------------------------------
% ABBREVIATIONS
%----------------------------------------------------------------------------------------
\begin{abbreviations}{ll} %
\textbf{LAH} & \textbf{L}ist \textbf{A}bbreviations \textbf{H}ere\\
\textbf{WSF} & \textbf{W}hat (it) \textbf{S}tands \textbf{F}or\\
\end{abbreviations}
%----------------------------------------------------------------------------------------
% PHYSICAL CONSTANTS/OTHER DEFINITIONS
%----------------------------------------------------------------------------------------
\begin{constants}{lr#{${}={}$}l}
Speed of Light & $c_{0}$ & \SI{2.99792458e8}{\meter\per\second} (exact)\\
\end{constants}
%----------------------------------------------------------------------------------------
% SYMBOLS
%----------------------------------------------------------------------------------------
\begin{symbols}{lll}
$a$ & distance & \si{\meter} \\
$P$ & power & \si{\watt} (\si{\joule\per\second}) \\
%Symbol & Name & Unit \\
\addlinespace
$\omega$ & angular frequency & \si{\radian} \\
\end{symbols}
%----------------------------------------------------------------------------------------
% DEDICATION
%----------------------------------------------------------------------------------------
\dedicatory{For my family}
\end{document}
%----------------------------------------------------------------------------------------
% THESIS CONTENT - CHAPTERS
%----------------------------------------------------------------------------------------
\mainmatter
\pagestyle{thesis}
\include{Chapters/Introduction}
%\include{Chapters/Chapter1}
If I compile main.tex (with PDFLatex, I also did it with Latex and PDFTex) it doesn't return me any error, but when I look at the PDF it doesn't print the Introduction.
So I was watching to the Introduction.tex:
% Chapter 1
\chapter{Chapter Title Here} % Main chapter title
\label{Chapter1} % For referencing the chapter elsewhere, use \ref{Chapter1}
%----------------------------------------------------------------------------------------
% Define some commands to keep the formatting separated from the content \newcommand{\keyword}[1]{\textbf{#1}} \newcommand{\tabhead}[1]{\textbf{#1}} \newcommand{\code}[1]{\texttt{#1}} \newcommand{\file}[1]{\texttt{\bfseries#1}} \newcommand{\option}[1]{\texttt{\itshape#1}}
%----------------------------------------------------------------------------------------
\section{Welcome and Thank You} Welcome to this \LaTeX{} Thesis Template, a beautiful and easy to use template for writing a thesis using the \LaTeX{} typesetting system.
If you are writing a thesis (or will be in the future) and its subject is technical or mathematical (though it doesn't have to be), then creating it in \LaTeX{} is highly recommended as a way to make sure you can just get down to the essential writing without having to worry over formatting or wasting time arguing with your word processor.
\LaTeX{} is easily able to professionally typeset documents that run to hundreds or thousands of pages long. With simple mark-up commands, it automatically sets out the table of contents, margins, page headers and footers and keeps the formatting consistent and beautiful. One of its main strengths is the way it can easily typeset mathematics, even \emph{heavy} mathematics. Even if those equations are the most horribly twisted and most difficult mathematical problems that can only be solved on a super-computer, you can at least count on \LaTeX{} to make them look stunning.
And if I complie it I have some errors:
Undefined control sequence \chapter
Missing \begin{document}. \chapter{C
Undefined control sequence \section
I tryed to put the \begin{document} but I still have the same errors on the undefined control sequence and other errors like
The font size command \normalisize si not defined:there is probably something wrong with the class file.
Can someone help me, please? Thanks!

If on line 13 you remove the ) and move the \end{document} statement on line 183 to the end of the main, it will compile properly.

Related

VS code LaTex workshop book compile problem

Hi I'm new to LaTex and doing some translating at school in LaTex. Since I'm translating a book, I received a bulky file and when I tried to build it. It didn't work.. By the way I'm using TexLive and Visual Studio Code for editing.
The error consists of a lot of undefined sequences..
The code mainly operates with 3 files. modern_robotics.tex, mr1.tex and mr2.tex.
Due to copyright reasons and also the big file, I won't be able to upload all the codes. But I think I can upload the three files mentioned above. I think most of the problem is in mr2.. but I'm not sure.
Any help would be appreciated. Thanks.
modern_robotics.tex
\input{mr1}
% to center the book horizontally:
\setlength{\oddsidemargin}{63pt}
\setlength{\evensidemargin}{63pt}
% instead of centering horizontally, make it so pages can be enlarged in 2per printing without large gutter:
%\setlength{\oddsidemargin}{80pt}
%\setlength{\evensidemargin}{46pt}
\input{mr2}
mr1.tex
\documentclass[10pt]{book}
%======================================================================%
% PACKAGES %
%======================================================================%
\usepackage[centertags]{amsmath}
\usepackage{amsthm,amsfonts,amssymb,enumerate} % Amstex
%\usepackage{Jtocinc}% Jtocinc.sty Include Table of Contents as first entry
%\usepackage{fancybox}
\usepackage{makeidx}
\makeindex
\usepackage[shortlabels]{enumitem}
\usepackage{color}
\usepackage{graphicx}
\usepackage{subfigure}
\usepackage{rotating}
\usepackage{tabularx}
\usepackage{longtable}
\usepackage{xspace}
\usepackage{algorithm}
\usepackage{algorithmic}
\usepackage{ifthen,version}
\usepackage{cancel}
\usepackage{arydshln}
\usepackage{mathtools}
\usepackage{booktabs}
\usepackage{xcolor}
\usepackage{framed}
\definecolor{shadecolor}{rgb}{0.9,0.9,0.9}
% For translation!!!!!!!!
\usepackage{kotex}
\usepackage{titlesec}
\titleformat{\chapter}% reformat chapter headings
[hang]% like section, with number on same line
{\Huge\bfseries}% formatting applied to whole
{\thechapter~장.}% Chapter number
{0.5em}% space between # and title
{}% formatting applied just to title
\titlespacing*{\chapter}{0pt}{-5mm}{20mm}
\titlespacing*{\section}{0pt}{15mm}{15mm}
\titlespacing*{\subsection}{0pt}{15mm}{15mm}
\titlespacing*{\subsubsection}{0pt}{15mm}{15mm}
\renewcommand{\figurename}{그림}
\usepackage{geometry}
\geometry{
a4paper,
left=20mm,
right=31mm,
top=40mm,
bottom=40mm
}
\usepackage[font={footnotesize,stretch=1.6}]{caption}
\setlength{\belowcaptionskip}{15mm}
\usepackage{setspace}
\setstretch{1.6}
\setlength\parindent{0pt}
% For translation!!!!!!!!
%%%%%%%%%%% for long sub-figures (160824) %%%%%%%%
\usepackage{caption}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\usepackage{csquotes}
\usepackage[linktoc=all,colorlinks=true,urlcolor=blue]{hyperref}
\hypersetup{
colorlinks,
linkcolor=blue
}
\newboolean{include-notes}
% Comment out the following line to exclude the notes.
\setboolean{include-notes}{false}
%notes
\newcommand{\fpnote}[1]{\ifthenelse{\boolean{include-notes}}%
{\textbf{FP says: #1}}{}}
\newcommand{\klnote}[1]{\ifthenelse{\boolean{include-notes}}%
{\textbf{KL says: #1}}{}}
\newcommand{\kldraft}[1]{\ifthenelse{\boolean{include-notes}}%
{#1}{}}
\newenvironment{function}[2]
{
\vspace*{0.1in}
\noindent
\verb~#1~
\\
\noindent
#2
}{}
\usepackage{draftcopy}
\usepackage{fancyhdr}
\usepackage{datetime}
\begin{comment}
\usepackage[linktoc=all]{hyperref}
\hypersetup{
colorlinks,
linkcolor=blue
}
\end{comment}
% Visual ornaments
% \usepackage[avantgarde]{quotchap}
% select Sanserif font for title and quote
% \renewcommand\sectfont{\sffamily\bfseries\Huge}
% San serif section headers
\usepackage{sfsect}
% hyperref package should be the last one in \usepackage list
% \usepackage[colorlinks,backref]{hyperref}
%********** Fine Tune for this TeX
\hfuzz2pt % Don't bother to report over-full boxes if over-edge is < 2pt
\hyphenation{di-men-sion-al}
%\renewcommand{\theenumi}{\roman{enumi}}
%\renewcommand{\labelenumi}{{\normalfont(\theenumi)}}
\renewcommand{\theenumi}{\alph{enumi}}
\renewcommand{\labelenumi}{{\normalfont(\theenumi)}}
%======================================================================%
% COMMANDS %
%======================================================================%
%\renewcommand{\baselinestretch}{1.5}
%\renewcommand{\baselinestretch}{1.0}
% new commands for unit axes vectors
\newcommand{\xhat}{\ensuremath{\hat{\text{x}}}}
\newcommand{\yhat}{\ensuremath{\hat{\text{y}}}}
\newcommand{\zhat}{\ensuremath{\hat{\text{z}}}}
\newcommand{\Xhat}{\ensuremath{\hat{\text{X}}}}
\newcommand{\Yhat}{\ensuremath{\hat{\text{Y}}}}
\newcommand{\Zhat}{\ensuremath{\hat{\text{Z}}}}
\newcommand{\xhats}{\ensuremath{\hat{\text{x}}_{\text{s}}}}
\newcommand{\yhats}{\ensuremath{\hat{\text{y}}_{\text{s}}}}
\newcommand{\zhats}{\ensuremath{\hat{\text{z}}_{\text{s}}}}
\newcommand{\xhatb}{\ensuremath{\hat{\text{x}}_{\text{b}}}}
\newcommand{\yhatb}{\ensuremath{\hat{\text{y}}_{\text{b}}}}
\newcommand{\zhatb}{\ensuremath{\hat{\text{z}}_{\text{b}}}}
\newcommand{\xhatc}{\ensuremath{\hat{\text{x}}_{\text{c}}}}
\newcommand{\yhatc}{\ensuremath{\hat{\text{y}}_{\text{c}}}}
\newcommand{\zhatc}{\ensuremath{\hat{\text{z}}_{\text{c}}}}
% new commands for abstract (unrepresented) vectors
\newcommand{\vecp}{\ensuremath{\text{p}}}
\newcommand{\vecq}{\ensuremath{\text{q}}}
\newcommand{\vecr}{\ensuremath{\text{r}}}
\newcommand{\vecs}{\ensuremath{\text{s}}}
\newcommand{\vect}{\ensuremath{\text{t}}}
\newcommand{\vecu}{\ensuremath{\text{u}}}
\newcommand{\vecv}{\ensuremath{\text{v}}}
\newcommand{\vecw}{\ensuremath{\text{w}}}
\newcommand{\vecx}{\ensuremath{\text{x}}}
\newcommand{\vecy}{\ensuremath{\text{y}}}
\newcommand{\vecz}{\ensuremath{\text{z}}}
% new commands for orthogonal group
\newcommand{\SOthree}{\ensuremath{SO(3)}\xspace}
\newcommand{\SOtwo}{\ensuremath{SO(2)}\xspace}
\newcommand{\SOn}{\ensuremath{SO(n)}\xspace}
\newcommand{\sothree}{\ensuremath{so(3)}\xspace}
\newcommand{\sotwo}{\ensuremath{so(2)}\xspace}
\newcommand{\son}{\ensuremath{so(n)}\xspace}
\newcommand{\SE}{\ensuremath{SE(3)}\xspace}
\newcommand{\se}{\ensuremath{se(3)}\xspace}
% new commands for bold face greeks
\newcommand{\bomega}{\ensuremath{\mathbf{\omega}}}
\newcommand{\blambda}{\ensuremath{\mathbf{\lambda}}}
% new commands for mathematical equations
\newcommand{\defeq}{\ensuremath{\triangleq}}
\newcommand{\trans}{\ensuremath{^{\mbox{\scriptsize $\top$}}}}
\newcommand{\invtrans}{\ensuremath{^{\mbox{\scriptsize $-\top$}}}}
\newcommand{\inverse}{\ensuremath{^{\mbox{\scriptsize -1}}}}
\newcommand{\smallTH}{\ensuremath{^{\mbox{\scriptsize th}}}}
\newcommand{\trace}{\ensuremath{\mathrm{tr}}}
\newcommand{\RE}{\ensuremath{\mathbb{R}}}
\newcommand{\strad}{\bar{}\!\!\!\!\:d}
\newcommand{\bstrad}{\,\,\,\bar{}\!\!\!\!\:d}
\newcommand{\xinit}{\ensuremath{x^{\circ}}}
\newcommand{\optimal}{\ensuremath{^{\mbox{\scriptsize \textsf {OPT}}}}}
% new commands for abbreviations and others
\newcommand{\etal}{\textit{et al.}\#\xspace}
\newcommand{\eg}{\textit{e.g.,}\xspace}
\newcommand{\ie}{\textit{i.e.,}\xspace}
\newcommand{\etc}{\textit{etc}\#\xspace}
%\newcommand{\mass}{\mathfrak{m}}
%\newcommand{\gravity}{\mathfrak{g}}
% Zero height rule of width of one quad
\newcommand{\IR}[1]{\rule{1em}{0pt}%
\makebox[0cm][c]{\rotatebox{45}{\ #1}}}
%********** Definitions for proof
\def\QED{\mbox{\rule[0pt]{1.5ex}{1.5ex}}}
\def\endofrmk{\hspace*{\fill}~$\Diamond$\par\endtrivlist\unskip}
%********** Environments
\theoremstyle{plain}
\newtheorem{theorem}{Theorem}[chapter]
\newtheorem{corollary}[theorem]{Corollary}
\newtheorem{lemma}[theorem]{Lemma}
\newtheorem{proposition}[theorem]{명제}
%
\theoremstyle{definition}
\newtheorem{definition}{정의}[chapter]
\newtheorem{assumption}{Assumption}[chapter]
\newtheorem{condition}{Condition}[chapter]
\newtheorem{example}{예제}[chapter]
%
%
\numberwithin{equation}{chapter}
%\renewcommand{\theequation}{\thesection.\arabic{equation}}
%********** Tools
\newcommand{\mnote}[1]%
{\mbox{}\marginpar{\raggedright\hspace{0pt}\small#1}}
% {\footnote{#1}}
%\reversemarginpar
\newcommand {\nemo} {\hfill $\Box$ }
\newlength{\blenfbox}
\newsavebox{\boxff}
\newenvironment{FramedPar}%
{\setlength{\fboxsep}{15pt}%
\setlength{\blenfbox}{\fboxsep}%
\addtolength{\blenfbox}{\fboxrule}%
\begin{lrbox}{\boxff}
\minipage{\textwidth}}%
{\endminipage\end{lrbox}
\bigskip\noindent\hspace*{-\blenfbox}%
\fbox{\usebox{\boxff}}\bigskip\bigskip}
\newlength{\mylength}
\newenvironment{FramedNM}%
{\setlength{\fboxsep}{5pt}%
\setlength{\mylength}{\fboxsep}%
\addtolength{\mylength}{\fboxrule}%
\Sbox
\minipage{\textwidth}%
\setlength{\abovedisplayskip}{0pt}}%
{\endminipage\endSbox\par
\addvspace{\smallskipamount}\noindent\hspace*{-\mylength}%
\fbox{\TheSbox}\smallskip}
\newenvironment{FramedEqn}%
{\setlength{\fboxsep}{15pt}
\setlength{\mylength}{\linewidth}%
\addtolength{\mylength}{-2\fboxsep}%
\addtolength{\mylength}{-2\fboxrule}%
\Sbox
\minipage{\mylength}%
\setlength{\abovedisplayskip}{0pt}%
\setlength{\belowdisplayskip}{0pt}%
\equation}%
{\endequation\endminipage\endSbox
\[\fbox{\TheSbox}\]}
\newcounter{xmplctr}
\newcounter{rmrkctr}
\newenvironment{remark}{
\addtocounter{rmrkctr}{1}
\begin{trivlist}
\item[] {\bf Remark \thermrkctr}
}{\end{trivlist}}
%\setlength{\textheight}{7.5in} % fit to b5
%\setlength{\textwidth}{5.5in} % fit to b5
%\setlength{\oddsidemargin}{0.5in}
%\setlength{\evensidemargin}{0.5in}
%\setlength{\footskip}{20mm} % fit to b5
\raggedbottom
%======================================================================%
% COMMANDS FROM KEVIN %
%======================================================================%
% to make the book: pdflatex; bibtex; pdflatex; pdflatex; makeindex; pdflatex
\usepackage{verbatim}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
%
% Indexing. See http://en.wikibooks.org/wiki/LaTeX/Indexing
%
% usual method when defining a term is {\bf term}\index{indexed form of term}
% if we want it to appear in the index as
%
% joint
% revolute, 13
%
% then use {\bf revolute joint}\index{joint|revolute}
%
% can also use \indbf{term} for bold indexed term or \ind{term} for indexed term as short hand if printed
% form is same way it should show up in index
%
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
\renewcommand{\topfraction}{0.99}
\renewcommand{\textfraction}{0.01}
\renewcommand{\floatpagefraction}{0.95}
\renewcommand{\textfloatsep}{6mm}
\providecommand{\ind}[1]{#1\index{#1}}
\providecommand{\indbf}[1]{{\bf #1}\index{#1}}
\DeclareGraphicsExtensions{.jpg,.pdf,.mps,.png,.eps} %For pdftex
\newcommand{\real}{\mathbb{R}}
\renewcommand{\Re}{\mathbb{R}} % redefine script R
%\newenvironment{flushenum}{
%\begin{enumerate}
% \setlength{\leftmargin}{0pt}
%}{\end{enumerate}}
\setcounter{secnumdepth}{3}
\newcounter{exercise}[chapter]
\newcommand{\exercise}{\refstepcounter{exercise} \vspace*{5mm} \noindent {\bf \theexercise. }}
\newcommand{\colwidth}{4.8in}
\newcommand{\zeroopen}{[0}
\newcommand{\fzclose}{f_z]^T}
\newcommand{\angvel}{\boldsymbol{\omega}}
\newcommand{\jointtorques}{\boldsymbol{\tau}}
\newcommand{\linvel}{{\bf v}}
%\newcommand{\torque}{{\bf n}}
\newcommand{\torque}{{\bf m}}
%\newcommand{\torquescalar}{n}
\newcommand{\torquescalar}{m}
\newcommand{\force}{{\bf f}}
%\newcommand{\twist}{{\bf t}}
%\newcommand{\wrench}{{\bf w}}
\newcommand{\pos}{{\bf p}}
\newcommand{\rot}{{\bf R}}
\newcommand{\partframe}{P}
\newcommand{\worldframe}{O}
\newcommand{\contactloc}{{\bf x}}
\newcommand{\contactnorm}{\hat{{\bf u}}}
%\newcommand{\config}{{\bf q}}
\newcommand{\config}{q}
\newcommand{\constraints}{{\bf f}}
\newcommand{\crossp}[1]{[#1]}
%\newcommand{\fmode}{{\tt r}}
%\newcommand{\rollmode}{\fmode}
%\newcommand{\smode}{{\tt s}}
%\newcommand{\bmode}{{\tt b}}
%\newcommand{\lmode}{{\tt s}$_\ell$}
%\newcommand{\rmode}{{\tt s}$_r$}
\newcommand{\fmode}{{\tt R}}
\newcommand{\rollmode}{\fmode}
\newcommand{\smode}{{\tt S}}
\newcommand{\bmode}{{\tt B}}
\newcommand{\lmode}{{\tt Sl}}
\newcommand{\rmode}{{\tt Sr}}
\newcommand{\wrench}{\mathcal{F}}
\newcommand{\twist}{\mathcal{V}}
\newcommand{\be}{\begin{equation}}
\newcommand{\ee}{\end{equation}}
%\newcommand{\mass}{{\textrm m}}
%\newcommand{\gravity}{{\textrm g}}
\newcommand{\mass}{\mathfrak{m}}
\newcommand{\gravity}{\mathfrak{g}}
\newcommand{\exerenumbegin}{\begin{enumerate}[itemsep=0pt,parsep=0pt,partopsep=0pt,topsep=0pt]}
\newcommand{\exerenumend}{\end{enumerate}}
%======================================================================%
% END COMMANDS FROM KEVIN %
%======================================================================%
%\input{formatting}
\usdate
\begin{comment}
\pagestyle{fancy}
\fancyhead{} % turn off default
\rfoot{\currenttime ~ \today}
\lfoot{Lynch and Park}
\lhead{\slshape \leftmark}
\end{comment}
% size so the same build works for all these cases, with character size at least the same as 10pt printed:
% 8.5x11 or A4 (8.27 x 11.69), one book page per page
% same as above, but two pages per page
% 9.7 in diagonal view tablet, which is 5.82 in x 7.76 in (3/4 ratio)
% so 4.75 in width, 7.2 in height assures 0.5'' vertical margins printed 2per on A4 paper, and 0.5'' side margins and gutter printed 2 per on 8.5x11
% 7.2 in includes text and header. if default head height is 12pt and headsep is 25pt (total 37 pt about 0.5''), that means textheight is 6.7''.
% need 1.9'' at
% but for some reason 0.6in seems to work better for centering the header+text (ignoring foo.
% maybe book class changes some spacings from defaults.
%
% VERSIONS TO MAKE:
% - tablet version (margins stripped), working hyperlinks
% - printable large font version (A4 and 8.5x11), working hyperlinks
% - printable 2 per page version (A4 and 8.5x11), hyperlinks probably don't work
% to center vertically:
\setlength{\textheight}{6.7in}
\setlength{\voffset}{0.6in}
mr2.tex
%======================================================================%
% USE TO ONLY MAKE PART OF THE BOOK %
%======================================================================%
%
%\includeonly{chapters/ch03-rbm/ch03-text}
%======================================================================%
% Title Page %
%======================================================================%
\begin{document}
\frontmatter
\begin{titlepage}
\selectfont
\begin{center}
%\renewcommand{\baselinestretch}{1.5}
\pagestyle{empty}
\LARGE{\bfseries MODERN ROBOTICS\\ \vspace*{0.2in}
\Large{MECHANICS, PLANNING, AND CONTROL}
}
\vspace{50mm}
\Large{\scshape Kevin M. Lynch and Frank C. Park} \\
\normalsize
\vspace*{0.2in}
\today
\vspace*{0.7in}
This document is the unedited preprint version of \vspace*{0.1in} \\
\large{\emph{Modern Robotics}} \\
\normalsize
\emph{Mechanics, Planning, and Control} \\
%Kevin M. Lynch and Frank C. Park \vspace*{0.1in} \\
\copyright ~Kevin M. Lynch and Frank C. Park \vspace*{0.1in} \\
\end{center}
\noindent
This preprint is being made available for personal use only and not for further distribution. The book will be published by Cambridge University Press in May 2017,
ISBN 9781107156302. Citations of the book should cite Cambridge University Press as the publisher, with a publication date of 2017. Original figures from this book may be reused provided proper citation is given. More information on the book, including software, videos, and a feedback form can be found at \url{http://modernrobotics.org}. Comments are welcome!
\end{titlepage}
\thispagestyle{empty}
\cleardoublepage
%======================================================================%
% Foreword and Preface %
%======================================================================%
%\renewcommand{\chaptermark}[1]{%
% \markboth{}{}}
%\renewcommand{\sectionmark}[1]{%
% \markright{}}
%\cleardoublepage
%\chaptermark{}
%\sectionmark{}
%\sectionmark{\href{http://lynchandpark.org}{Modern Robotics, Lynch and Park}}
%\sectionmark{some stuff}
%\pagenumbering{arabic}
\begin{comment}
\pagestyle{myheadings}
\renewcommand{\chaptermark}[1]{%
\markboth{#1}{}}
\renewcommand{\sectionmark}[1]{%
\markright{\thesection.\ #1}}
\end{comment}
%\begin{comment}
%\newcommand{\helv}{\fontfamily{phv}\fontseries{b}\fontsize{9}{11}\selectfont}
%\newcommand{\helv}{\fontfamily{phv}\fontsize{9}{11}\selectfont}
\pagestyle{fancy}
\fancyhf{}
%\renewcommand{\headrulewidth}{0pt}
\fancyhead[LE,RO]{\small\thepage}
\fancyhead[RE]{\small\nouppercase{\rightmark}}
\fancyhead[LO]{\small\nouppercase{\leftmark}}
\fancyfoot[CO,CE]{\footnotesize \href{http://modernrobotics.org}{\copyright Lynch and Park. Nov.\ 2016 preprint of \emph{Modern Robotics}, Cambridge U.\ Press, 2017.}}
%\fancyhead[RE]{\small\scshape\nouppercase{\rightmark}}
%\fancyhead[LO]{\small\scshape\nouppercase{\leftmark}}
%\fancyhead[LE,RO]{\helv \thepage}
%\fancyhead[RE]{\helv \rightmark}
%\fancyhead[LO]{\helv \leftmark}
%\end{comment}
\setcounter{page}{1}
\tableofcontents
\cleardoublepage
\fancyhead[RE,LO]{\small Foreword}
\include{chapters/foreword/foreword}
\cleardoublepage
\fancyhead[RE,LO]{\small Preface}
\include{chapters/preface/preface-text}
\cleardoublepage
\renewcommand{\chaptermark}[1]{\markboth{\arabic{chapter}~장.\ #1}{}}
\fancyhead[RE]{\small\nouppercase{\rightmark}}
\fancyhead[LO]{\small\nouppercase{\leftmark}}
%\pagestyle{plain}
%\pagenumbering{roman}
%\setcounter{page}{2}
%\kldraft{\include{chapters/notation}}
%======================================================================%
% Table of Contents %
%======================================================================%
%\tableofcontents
%\cleardoublepage
%\addcontentsline{toc}{chapter}{List of Tables}
%\listoftables
%\cleardoublepage
%\addcontentsline{toc}{chapter}{List of Figures}
%\listoffigures
%\cleardoublepage
%\include{chapters/chapter0/ch0}
%\cleardoublepage
%======================================================================%
% Chapters %
%======================================================================%
\mainmatter
\include{chapters/ch01-preview/ch01-text}
\cleardoublepage
\include{chapters/ch02-cspace/ch02-text}
\cleardoublepage
\include{chapters/ch03-rbm/ch03-text}
\cleardoublepage
\include{chapters/ch04-kinematics/ch04-text}
\cleardoublepage
\include{chapters/ch05-velkinematics/ch05-text}
\cleardoublepage
\include{chapters/ch06-invkinematics/ch06-text}
\cleardoublepage
\include{chapters/ch07-closed/ch07-text}
\cleardoublepage
\include{chapters/ch08-dynamics/ch08-text}
\cleardoublepage
\include{chapters/ch09-trajectory/ch09-text}
\cleardoublepage
\include{chapters/ch10-planning/ch10-text}
\cleardoublepage
\include{chapters/ch11-control/ch11-text}
\cleardoublepage
\include{chapters/ch12-contact/ch12-text}
\cleardoublepage
\include{chapters/ch13-mobile/ch13-text}
\cleardoublepage
%======================================================================%
% APPENDIX %
%======================================================================%
\appendix
\cleardoublepage
\include{chapters/app1-formulas/app1-text}
\cleardoublepage
\include{chapters/app2-rotationreps/app2-text}
\cleardoublepage
\include{chapters/app3-dh/app3-text}
\cleardoublepage
\include{chapters/app4-optimization/app4-text}
\cleardoublepage\phantomsection % the \phantomsection seems to be needed to correctly hyperref
%\appendix
%\include{chapters/appendix}
%\cleardoublepage
%======================================================================%
% BIBLIOGRAPHY %
%======================================================================%
%\pagestyle{headings}
\addcontentsline{toc}{chapter}{Bibliography}
\bibliographystyle{plain}
\bibliography{robotics-frank,robotics-kevin}
\cleardoublepage\phantomsection % the \phantomsection seems to be needed to correctly hyperref
%======================================================================%
% INDEX %
%======================================================================%
%\begin{comment}
\addcontentsline{toc}{chapter}{\indexname}
\printindex
\cleardoublepage
%\end{comment}
\end{document}
It seems that I can't post images due to 10 reputations rule. Some of the errors are as below. (for mr2.tex)
The font size command \normalsize is not defined(Ln 10, Col 1)
checked for documentclass but no problem.
Environment titlepage undefined(Ln 14, Col 1)
Undefined control sequence. - many times.
error_screencapture

Adding list of figure/list of table pushing away the mitoc of one chapter to another in latex

I am using an existing template in Latex and trying to modify it according to my needs. This is how the code looks like and everything works fine, minitoc also works fine.
% Instead of "de" you can also use "en" if the work is written in English
% Either "darkstyle" or "lightstyle"
\documentclass[en, darkstyle]{unirostock}
% For the sources, more information https://de.overleaf.com/learn/latex/Bibliography_management_with_biblatex
\usepackage[backend=biber,style=ieee,maxbibnames=99,backref=true,citestyle=ieee]{biblatex}
\addbibresource{lit.bib}
% creative-commons: Creative Commons license, attribution - redistribution permitted under the same conditions
% private: publication and modification only after consultation with the author
\license{creative-commons}
\author{}
\enrolmentnumber{123456789} % Matrikelnummer
\title{}
\type{}
\course{}
\workperiod{}
\supervisor{}
\primaryreviewer{}
\secondaryreviewer{} % Falls es keinen gibt, einfach weglassen
\faculty{}
\institute{}
\workinggroup{}
\begin{document}
\maketitle
\makelicense
\pagenumbering{Roman}
\setstretch{1.263}
\pagenumbering{gobble}
\include{chapter/abstract}
\pagenumbering{arabic}
\clearpage
\tableofcontents
\clearpage
\include{chapter/introduction.tex}
\include{chapter/background.tex}
\include{chapter/analysis.tex}
\include{chapter/implmentation.tex}
\include{chapter/evaluation.tex}
\include{chapter/conclusion-future-work.tex}
% List of figures
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures
% List of tables
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{List of Tables}
\listoftables
\cleardoublepage
\phantomsection
\addcontentsline{toc}{chapter}{Bibliography}
\printbibliography
\clearpage
\include{chapter/declaration}
\end{document}
But if I want to add the list of figures and list of tables before the chapter, like this
\clearpage
\tableofcontents
% List of figures
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{List of Figures}
\listoffigures
% List of tables
\clearpage
\phantomsection
\addcontentsline{toc}{chapter}{List of Tables}
\listoftables
\clearpage
\include{chapter/introduction.tex}
\include{chapter/background.tex}
\include{chapter/analysis.tex}
\include{chapter/implmentation.tex}
\include{chapter/evaluation.tex}
\include{chapter/conclusion-future-work.tex}
then the minitoc of first chapter is showing nothing.
and it is appearing on third chapter.
That means minitoc of one chapter is appearing after two chapter and it continues.
This is the code of minitoc.
\newcommand{\printmyminitoc}[1]{%
\vspace{-2cm}%
\noindent\hspace{-4.5cm}%
\colorlet{black}{white}%
\begin{tikzpicture}
\node[rounded corners,align=left,fill=uniblau, blur shadow={shadow blur steps=5}, inner sep=5mm]{%
\hspace{3.8cm}
\color{white}%
\begin{minipage}{8.5cm}%minipage trick
\hypersetup{linkcolor=white}
\minitoc
\hypersetup{linkcolor=uniblau}
\end{minipage}};
\end{tikzpicture}
\vspace{1cm}%
}
Could someone help about this issue. I am almost new in Latex.

How it is possible to convert LaTeX document to Word (docx file) with all cross-references and labels for images and equations, tables by Pandoc?

I have a tex-file obtained originally from RStudio with bookdown. The original set of Rmd-files were deleted by accident.
So I need to convert below minimized correct tex-file to Word (docx file extension):
% Options for packages loaded elsewhere
\PassOptionsToPackage{unicode}{hyperref}
\PassOptionsToPackage{hyphens}{url}
%
\documentclass[
]{article}
\usepackage{amsmath,amssymb}
\usepackage{lmodern}
\usepackage{iftex}
\ifPDFTeX
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage{textcomp} % provide euro and other symbols
\else % if luatex or xetex
\usepackage{unicode-math}
\defaultfontfeatures{Scale=MatchLowercase}
\defaultfontfeatures[\rmfamily]{Ligatures=TeX,Scale=1}
\fi
% Use upquote if available, for straight quotes in verbatim environments
\IfFileExists{upquote.sty}{\usepackage{upquote}}{}
\IfFileExists{microtype.sty}{% use microtype if available
\usepackage[]{microtype}
\UseMicrotypeSet[protrusion]{basicmath} % disable protrusion for tt fonts
}{}
\makeatletter
\#ifundefined{KOMAClassName}{% if non-KOMA class
\IfFileExists{parskip.sty}{%
\usepackage{parskip}
}{% else
\setlength{\parindent}{0pt}
\setlength{\parskip}{6pt plus 2pt minus 1pt}}
}{% if KOMA class
\KOMAoptions{parskip=half}}
\makeatother
\usepackage{xcolor}
\IfFileExists{xurl.sty}{\usepackage{xurl}}{} % add URL line breaks if available
\IfFileExists{bookmark.sty}{\usepackage{bookmark}}{\usepackage{hyperref}}
\hypersetup{
pdftitle={Simple document},
hidelinks,
pdfcreator={LaTeX via pandoc}}
\urlstyle{same} % disable monospaced font for URLs
\usepackage[margin=1in]{geometry}
\usepackage{longtable,booktabs,array}
\usepackage{calc} % for calculating minipage widths
% Correct order of tables after \paragraph or \subparagraph
\usepackage{etoolbox}
\makeatletter
\patchcmd\longtable{\par}{\if#noskipsec\mbox{}\fi\par}{}{}
\makeatother
% Allow footnotes in longtable head/foot
\IfFileExists{footnotehyper.sty}{\usepackage{footnotehyper}}{\usepackage{footnote}}
\makesavenoteenv{longtable}
\usepackage{graphicx}
\makeatletter
\def\maxwidth{\ifdim\Gin#nat#width>\linewidth\linewidth\else\Gin#nat#width\fi}
\def\maxheight{\ifdim\Gin#nat#height>\textheight\textheight\else\Gin#nat#height\fi}
\makeatother
% Scale images if necessary, so that they will not overflow the page
% margins by default, and it is still possible to overwrite the defaults
% using explicit options in \includegraphics[width, height, ...]{}
\setkeys{Gin}{width=\maxwidth,height=\maxheight,keepaspectratio}
% Set default figure placement to htbp
\makeatletter
\def\fps#figure{htbp}
\makeatother
\usepackage[normalem]{ulem}
% Avoid problems with \sout in headers with hyperref
\pdfstringdefDisableCommands{\renewcommand{\sout}{}}
\setlength{\emergencystretch}{3em} % prevent overfull lines
\providecommand{\tightlist}{%
\setlength{\itemsep}{0pt}\setlength{\parskip}{0pt}}
\setcounter{secnumdepth}{5}
\ifLuaTeX
\usepackage{selnolig} % disable illegal ligatures
\fi
\usepackage[]{biblatex}
\addbibresource{bibliography.bib}
\title{Simple document}
\author{}
\date{\vspace{-2.5em}}
\usepackage{amsthm}
\newtheorem{theorem}{Theorem}[section]
\newtheorem{lemma}{Lemma}[section]
\newtheorem{corollary}{Corollary}[section]
\newtheorem{proposition}{Proposition}[section]
\newtheorem{conjecture}{Conjecture}[section]
\theoremstyle{definition}
\newtheorem{definition}{Definition}[section]
\theoremstyle{definition}
\newtheorem{example}{Example}[section]
\theoremstyle{definition}
\newtheorem{exercise}{Exercise}[section]
\theoremstyle{remark}
\newtheorem*{remark}{Remark}
\newtheorem*{solution}{Solution}
\begin{document}
\maketitle
{
\setcounter{tocdepth}{2}
\tableofcontents
}
\hypertarget{format}{%
\section{Format}\label{format}}
Read \ref{format} for details.
Or read \protect\hyperlink{format}{format}.
Formatting:
\begin{itemize}
\tightlist
\item
sup-script or power - x\textsuperscript{2} ;
\item
sub-script - y\textsubscript{3} ;
\item
strike through - \sout{strike through} ;
\item
term -- definition ;
\item
long term --- long definition .
\end{itemize}
Here comes \textbf{footnote} \footnote{Footnote text} with its contents.
Image with caption, see \ref{fig:image}.
\begin{figure}
\centering
\includegraphics{image.png}
\caption{\label{fig:image} Image}
\end{figure}
Labeled table is below, see table \ref{tab:table}.
\begin{longtable}[]{#{}ll#{}}
\caption{\label{tab:table}\\
My table}\tabularnewline
\toprule
\textbf{Col 1 header} & \textbf{Col 2 header} \\
\midrule
\endfirsthead
\endhead
r1c1 & r1c2 \\
r2c1 & r2c2 \\
\bottomrule
\end{longtable}
Inline: \(a^2 + b^2 = c^2\).
Block:
\[ E = \frac{mc^2}{\sqrt{1-\frac{v^2}{c^2}}} \]
Labeled, see \eqref{eq:eq}:
\begin{equation}
f\left(k\right) =\binom{n}{k} p^k\left(1-p\right)^{n k}
\label{eq:eq}
\end{equation}
See LaTeX \autocite{latex} site for details.
Code is below, see \ref{exm:code}:
\begin{example}
\protect\hypertarget{exm:code}{}{\label{exm:code} }Hello world
\end{example}
\begin{verbatim}
int main(){
return 0;
}
\end{verbatim}
\hypertarget{references}{%
\section*{References}\label{references}}
\addcontentsline{toc}{section}{References}
\printbibliography
\end{document}
When I try to convert it to docx using pandoc (2.16.1 version) command below:
pandoc simple.tex --to docx+native_numbering --output simple.docx --table-of-contents --toc-depth 5 --number-sections --citeproc --verbose --csl ieee.csl
(In the above command ieee.csl was downloaded from Zotero).
I get
and I see many strange things:
[fig:image] along with Figure with number;
[tab:table] along with Table with number;
[eq:eq] instead of equation number;
[exm:code] instead of example number.
Is it possible to replace (or suppress them for Figure and Table) above strange […] fields by correct numbers and links using Pandoc to get correct docx output?
This is currently not supported by plain pandoc, but you can use filters to get the numbering back. E.g., the resolve-references.lua filter in the OpenJournals "Inara" project does something comparable. You may have to adjust and extend it to fully suit your requirements.

Try to move the table to the left, but failed

I was trying to reposition my table a bit left to the page, so I try \hskip -2cm or \hspace{-2cm} But non of these can move the table and here is my code:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{float}
\usepackage{array}
\usepackage{booktabs,caption}
\usepackage[flushleft]{threeparttable}
\usepackage{indentfirst}
\setlength\extrarowheight{2pt}
\title{}
\author{}
\begin{document}
\maketitle
\section{Introduction}
\section{Data Summary}
\begin{table}[H]
\begin{threeparttable}
\small
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
\hskip -2cm
\caption{Summary of numeric variables}
\begin{tabular}{l*{1}{ccccc}}
\hline\hline
&\multicolumn{5}{c}{(1)} \\
&\multicolumn{5}{c}{} \\
& count& mean& sd& min& max\\
\hline
Unemployment Rate & 170& 8.3323& 4.1395& 3.1000& 26.0919\\
log of spending per person for secondary education& 168& 9.0229& 0.4344& 7.6109& 9.9616\\
log of spending per person for teriary education& 165& 9.5241& 0.3967& 8.7797& 10.7478\\
log of exchange rate& 170& 1.0983& 2.0997& -0.4986& 7.0522\\
log of GDP per person& 168& 10.5306& 0.3592& 9.7330& 11.5213\\
log of GDP fixed purchasing power& 165& 27.0045& 1.4905& 23.3668& 30.5051\\
log of GDP growth & 159& 1.2268& 0.7896& -1.7458& 3.0063\\
Long-term interest rate on government bonds& 165& 3.8447& 2.1387& 0.5511& 10.5465\\
Short-term interest rate& 170& 1.7675& 1.9971& 0.0078& 10.3317\\
\hline\hline
\end{tabular}
\begin{tablenotes}
\small
\item Source: OECD (2019), Education at a Glance Database, http://stats.oecd.org
\end{tablenotes}
\end{threeparttable}
\end{table}
\section{Methodology}
\end{document}
and my table looks like this:
and I want to make my table left about a least 1.5cm.
Is there other way to do this?
Having your table project into the margin is not a good style for a layout that is not specifically designed to have additional space in the margins for this. The margin should belong to the reader to easily hold your document, adding notes etc. If there is not enough space things like Fermat's Last Theorem are your fault :)
Instead I suggest to use a tabularx to fit the table into the available space:
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage{float}
\usepackage{array}
\usepackage{booktabs,caption}
\usepackage[flushleft]{threeparttable}
\usepackage{indentfirst}
\setlength\extrarowheight{2pt}
\usepackage{tabularx}
\usepackage{siunitx}
\title{}
\author{}
\begin{document}
\maketitle
\section{Introduction}
\section{Data Summary}
\begin{table}[H]
\begin{threeparttable}
\small
\def\sym#1{\ifmmode^{#1}\else\(^{#1}\)\fi}
\hskip -2cm
\caption{Summary of numeric variables}
\begin{tabularx}{\linewidth}{#{}XS[table-format=3.0]S[table-format=2.4]S[table-format=1.4]S[table-format=-1.4]S[table-format=2.4]#{}}
\toprule
&\multicolumn{5}{c}{(1)} \\\addlinespace
& {count}& {mean}& {sd}& {min}& {max}\\
\midrule
Unemployment Rate & 170& 8.3323& 4.1395& 3.1000& 26.0919\\
log of spending per person for secondary education& 168& 9.0229& 0.4344& 7.6109& 9.9616\\
log of spending per person for teriary education& 165& 9.5241& 0.3967& 8.7797& 10.7478\\
log of exchange rate& 170& 1.0983& 2.0997& -0.4986& 7.0522\\
log of GDP per person& 168& 10.5306& 0.3592& 9.7330& 11.5213\\
log of GDP fixed purchasing power& 165& 27.0045& 1.4905& 23.3668& 30.5051\\
log of GDP growth & 159& 1.2268& 0.7896& -1.7458& 3.0063\\
Long-term interest rate on government bonds& 165& 3.8447& 2.1387& 0.5511& 10.5465\\
Short-term interest rate& 170& 1.7675& 1.9971& 0.0078& 10.3317\\
\bottomrule
\end{tabularx}
\begin{tablenotes}
\small
\item Source: OECD (2019), Education at a Glance Database, http://stats.oecd.org
\end{tablenotes}
\end{threeparttable}
\end{table}
\section{Methodology}
\end{document}
Some other comments:
Try to avoid [H], this is usually a guaranty for bad suboptimal placement of floats. I suggest [htbp] instead
*{1}{ccccc} can be shorted to either ccccc or *{5}{c}
You already load the booktabs package, so I suggest to use \toprule, \midrule and \bottomrule instead of \hline because they have much better spacing around them
instead of manually adding empty lines in the table, I suggest the \addlinespace macro from the booktabs package
With the S column from the siunitx package you can align the numbers by their decimal marker and use actual minus signs instead of cheating with hyphens
you should check the significant figures of your values. If your standard deviation is between 0.3 and 4.1, it makes no sense to give the values with 4 decimal places.

! LaTeX Error: Something's wrong--perhaps a missing \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}
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
I have this latex code. But when I try to compile it it gives me an error saying :
! LaTeX Error: Something's wrong--perhaps a missing \item.See the
LaTeX manual or LaTeX Companion for explanation.Type H for
immediate help....
This error is on line:
\end{quotation}
Why am I getting this error? I haven't added any \item on the line where I'm getting the error.
The \paragraph and \\ instructions in the quotation do not make much sense. I guess that you meant something like this:
\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}

Resources