Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I am using the elsevier class to prepare a document. I would like to remove the abstract environment but I can not find the way to do that. I commented out \begin{abstract} .... \end{abstract} but I still get the two horizontal lines which enclose the abstract.

share|improve this question

migrated from stackoverflow.com Nov 25 '11 at 13:13

This question came from our site for professional and enthusiast programmers.

    
Are you intending to send this to a journal, or is it for something else? –  qubyte Nov 25 '11 at 13:33
    
Welcome to TeX.sx! Your question was migrated here from Stack Overflow. Please register on this site, too, and make sure that both accounts are associated with each other, otherwise you won't be able to comment on or accept answers or edit your question. –  Werner Nov 25 '11 at 17:55

1 Answer 1

The two rules are hardcoded in \MaketitleBox, so you have to patch it:

\makeatletter
\long\def\MaketitleBox{%
  \resetTitleCounters
  \def\baselinestretch{1}%
  \begin{center}%
   \def\baselinestretch{1}%
    \Large\@title\par\vskip18pt
    \normalsize\elsauthors\par\vskip10pt
    \footnotesize\itshape\elsaddress\par\vskip36pt
%    \hrule\vskip12pt
%    \ifvoid\absbox\else\unvbox\absbox\par\vskip10pt\fi
%    \ifvoid\keybox\else\unvbox\keybox\par\vskip10pt\fi
%    \hrule\vskip12pt
    \end{center}%
  }
\makeatother

This code should go into your preamble. I assumed it's elsarticle.cls that you're talking about, as I don't know of a elsevier.cls.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.