Hi all,
I have just installed the elsevier class elsart.cls (I think I did it fine, since I did not receive any error message), but I while compiling I receive the next error message ! You can't use `\end' in internal vertical mode.. This error appear in the line in where I have written the \end{document} command.
Since the only thing I have changed in the .tex file is changing
\documentclass[a4paper, twocolumn,english]{paper}
into
\documentclass[preprint,english]{elsarticle}
I do not know if the problem is in the installation or in the .tex file.
Can anyone help me? Thank you!
Document Classes ⇒ Unexpected problem with document class »elsarticle«
Unexpected problem with document class »elsarticle«
Last edited by Orofea on Thu Nov 11, 2010 1:40 pm, edited 1 time in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.
- Stefan Kottwitz
- Site Admin
- Posts: 10324
- Joined: Mon Mar 10, 2008 9:44 pm
Unexpected problem with document class »elsarticle«
Hi Orofea,
perhaps try to reduce a copy of your code to a minimal example which produces this problem and post it here.
Stefan
perhaps try to reduce a copy of your code to a minimal example which produces this problem and post it here.
Stefan
LaTeX.org admin
Unexpected problem with document class »elsarticle«
Hi Stefan,
I have reduced the code as much as i could. Here it is
And I keep receiving the same error.
Thanks!
I have reduced the code as much as i could. Here it is
Code: Select all
\documentclass[preprint,english]{elsarticle}
\usepackage{layout}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath, latexsym, soul, color, type1cm,dsfont, float, fancyhdr}
\usepackage[official]{eurosym}
\usepackage{graphicx}
\pagestyle{headings}
\title{title}
\author{authors}
\begin{document}
\maketitle
\abstract{abstract}
\section{Introduction}
section1
\section{Experimental set up}
section2
\section{Measurements and results}
section3
\subsection{X axis}
X
\subsection{Y axis}
Y
\subsection{Z axis}
Z
\subsection{Compressor}
compressor.
\section{Conclusions}
conclusions
\begin{thebibliography}{99}
\bibitem{1} book1
\end{thebibliography}
\end{document}
Thanks!
- localghost
- Site Moderator
- Posts: 9202
- Joined: Fri Feb 02, 2007 12:06 pm
Unexpected problem with document class »elsarticle«
Are you sure that your are using the stuff concerning the abstract correctly? Perhaps you should take a look at the elsarticle manual for clarification.
Best regards and welcome to the board
Thorsten
Best regards and welcome to the board
Thorsten
How to make a "Minimal Example"
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Board Rules
Avoidable Mistakes
¹ System: TeX Live 2025 (vanilla), TeXworks 0.6.10
Unexpected problem with document class »elsarticle«
Thank god!
Problem solved!
Keen eye, Thorsten!!
The rest of the code remains the same.
The problem was in the abstract. It was subtle difference, but still, an important difference...
Problem solved!

Keen eye, Thorsten!!
Code: Select all
\documentclass[preprint,english]{elsarticle}
\usepackage{layout}
\usepackage[latin1]{inputenc}
\usepackage{babel}
\usepackage[T1]{fontenc}
\usepackage{amsmath, latexsym, soul, color, type1cm,dsfont, float, fancyhdr}
\usepackage[official]{eurosym}
\usepackage{graphicx}
\usepackage{abstract}
\pagestyle{headings}
\title{title}
\author{authors}
\begin{document}
\maketitle
\begin{abstract}
abstract
\end{abstract}
The problem was in the abstract. It was subtle difference, but still, an important difference...