Alguém por favor me ajude a corrigir este erro

Alguém por favor me ajude a corrigir este erro

imagem do meu código e erro

Anexei a imagem do meu código. Erros também são mostrados. alguém por favor me ajude a corrigir esses erros. Entrei \usepackage{ragged2e}no arquivo .tex principal [KTU M.Tech Thesis.tex]. Ainda assim, esses erros ocorrem.

\documentclass[12pt,a4paper,justified]{KTUthesis}
\usepackage{KTUstyle}   \chaptertitle
\usepackage{pdftexcmds}
\usepackage[T1]{fontenc}
\usepackage{newtxmath,newtxtext}
\usepackage[cc]{titlepic}
\usepackage{ragged2e} 
\usepackage[pdftex]{graphicx}
\usepackage{caption}
\usepackage[utf8]{inputenc}
\usepackage{amsmath}
\alternate
\usepackage{etoolbox}
\usepackage{textcase}
\usepackage{rotating}
\usepackage{array}
\usepackage{booktabs}
\usepackage{verbatim}
\usepackage{natbib}
\bibliographystyle{KTUbib}
\newcommand*{\formatauthor}[1]{%
    \textbf{\arabic{NAT@ctr}.#1}%
}
\setlength{\bibhang}{0pt}
\usepackage{hyperref}
\hypersetup{colorlinks=true,linkcolor=black,anchorcolor=black,citecolor=black,filecolor=black,urlcolor=black,bookmarksnumbered=true,pdfview=FitB}
\usepackage{nomencl}
\usepackage{longtable}
\addtocontents{toc}{{CONTENTS}\hfill{Page No.}\par}
\addtocontents{lot}{{No.}\hfill{Title}~\hfill{Page No.}\par}
\addtocontents{lof}{{No.}\hfill{Title}~\hfill{Page No.}\par}
\pdfbookmark[1]{TABLE OF CONTENTS}{table}
\usepackage{scrextend}
\cleardoublepage \phantomsection
\chead{}
\cfoot{\thepage}
\DeclareGraphicsExtensions{.jpg,.pdf,.mps,.png,.eps,.tif}
\makeatletter
\renewcommand{\fnum@figure}{Fig. \thefigure}
\makeatother
\begin{document}
\pagenumbering{gobble}
\include{Preface/titlepage}
\include{Preface/declaration}
\include{Preface/certificate}
\pagenumbering{roman}
\include{Preface/acknowledgement}
\include{Preface/abstract}
\tableofcontents
\addtocontents{toc}{\def\protect\@chapapp{}} \cleardoublepage \phantomsection
\cleardoublepage \phantomsection \addcontentsline{toc}{chapter}{LIST OF FIGURES}
\listoffigures
\include{Extras/LISTOFABBREVIATIONS}
\include{Extras/NOTATIONS}
\addtocontents{toc}{\def\protect\@chapapp{CHAPTER\ }}
\makeatletter
\makeatother
\newpage
\pagenumbering{arabic}
\include{Body/chapter1}
\include{Reference/biblio}
\end{document}

Responder1

\paragraph{}não deve ser usado diretamente após um \justifycomando ou seu ambiente, se você precisar usar um \paragraph{}, poderá adicionar um espaço de separação como este para funcionar:

\justify~
\paragraph{} Since it was easier to control ...

Além disso, \justifyé o padrão no LaTeX, então espero que você só precise do texto Justificado à esquerda: flushleft, \raggedright, Justificado à direita: flushright, \raggedleft, ou Centralizado: center, \centering, as primeiras palavras para ambientes e as segundas para comandos. Não fazer nada disso se traduz em \justify.

Editar:

Se você não gosta do grande espaço entre dois parágrafos, tente adicionar algo ao preâmbulo \let\indent\parindente modificar o texto assim:

\justify\hspace{\indent}%
Since it was easier to control ...

É isso que voce quer?

informação relacionada