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 aastex.lyx template to write an article and I cannot find a way to remove the "Received; -------- Accepted" line coming after the title. Does anyone know how to remove it ?

share|improve this question
add comment

1 Answer

Looking into aastex.cls, the macro responsible for typesetting "Received/Accepted" is \@dates with the following definition:

\def\@dates{\ifx\@title\@empty\else {Received}\space%
 \ifx\@empty\@recvdate\@rcvaccrule\else\@recvdate\fi;%
 \hspace{1.5em}{accepted}\space%
 \ifx\@empty\@accptdate\@rcvaccrule\else\@accptdate\fi%
\fi}%                                                 %

Disabling \@dates seems to do the trick.

\documentclass{aastex}

\makeatletter
\let\@dates\relax
\makeatother

\begin{document}

\author{(Author)}
\title{(Title)}
\maketitle

\end{document}

As you're using LyX, you have to add the code lines from \makeatletter to \makeatother into your LaTeX preamble.

share|improve this answer
    
Thanks it worked perfectly :) –  Edgar Hemery Jan 6 '13 at 13:13
1  
@EdgarHemery You may also thank me by accepting my answer (and upvoting it as soon as you have 15 rep). –  lockstep Jan 6 '13 at 13:14
add comment

Your Answer

 
discard

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

Not the answer you're looking for? Browse other questions tagged or ask your own question.