Home > abstract > To have abstract in the document class revtex?

To have abstract in the document class revtex?

October 18Hits:1
Advertisement

I had to change my document class to revtex4-1 to be able to have \widetext parameter for one of my equation, discussion about implementation. However, the abstract \begin{abstract}...\end{abstract} is not supported by this class.

My minimal code

\documentclass[twocolumn]{revtex4-1} \begin{document} \title{Hello world} \maketitle  \begin{abstract} % abstract The maximal \end{abstract}  \end{document} 

I get the errors

./article.tex:84: LaTeX Error: Environment abstract undefined.  See the LaTeX manual or LaTeX Companion for explanation. Type  H <return>  for immediate help.  ...                                                l.6 \begin{abstract}                       % abstract  ./article.tex:8: LaTeX Error: \begin{document} ended by \end{abstract}.  See the LaTeX manual or LaTeX Companion for explanation. Type  H <return>  for immediate help.  ...                                                l.8 \end{abstract} 

How can you have abstract in revtex4-1? or How can you have widetext in article document class?

Answers

revtex4-1 loads, amongst other packages, ltxfront to set up the front matter of the document. The following is taken from the Author's guide for revtex4-1 (section IV.4. The abstract, p 7; part of section IV. The Front Matter):

IV.4. The abstract

An abstract for a paper is specified by using the abstract environment:

\begin{abstract}
Text of abstract
\end{abstract}

Note that in REVTeX 4.1 the abstract must be specified before the \maketitle command and there is no need to embed it in an explicit minipage environment.

So, use

\documentclass[twocolumn]{revtex4-1}% http://ctan.org/pkg/revtex4-1
\begin{document}
\title{Hello world}

\begin{abstract} % abstract
The maximal
\end{abstract}

\maketitle

\end{document}

It becomes apparent that abstract doesn't exist after a call to \maketitle when viewing the definition of \frontmatter@maketitle in ltxfront.dtx:

\def\frontmatter@maketitle{%
  \@author@finish
  \title@column\titleblock@produce
  \suppressfloats[t]%
  \let\and\relax
  \let\affiliation\@gobble
  \let\author\@gobble
  \let\@AAC@list\@empty
  \let\@AFF@list\@empty
  \let\@AFG@list\@empty
  \let\@AF@join\@AF@join@error
  \let\email\@gobble
  \let\@address\@empty
  \let\maketitle\relax
  \let\thanks\@gobble
  \let\abstract\@undefined\let\endabstract\@undefined% ABSTRACT definitions removed
  \titlepage@sw{%
   \vfil
   \clearpage
  }{}%
}%

Related Articles

  • To have abstract in the document class revtex?October 18

    I had to change my document class to revtex4-1 to be able to have \widetext parameter for one of my equation, discussion about implementation. However, the abstract \begin{abstract}...\end{abstract} is not supported by this class. My minimal code \do

  • Inserting abstract into book documentMarch 3

    I am trying to insert a abstract into my document as shown below, this gives me an error 'Environment abstract undefined'. I have used this format a few times without this problem occurring, I believe this is down to the use of book as a document cla

  • more than one abstract in amsart document

    more than one abstract in amsart documentFebruary 14

    As far as I know, we can write only one abstract in an amsart document. Is it possible to write several abstracts with the amsart template? --------------Solutions------------- If you are happy with the first abstract being in the document's main lan

  • Cite in Abstract before \begin{document}October 18

    I have my latex document finished and it compiles. But now I am stuck: Is it somehow possible to cite in the Abstract (before \begin{document}, and therefore before \bibliography{bibliography_paper})? So far it only displays Here I want to [?]. The s

  • On-line citations for Physical Review B documents in REVTeX

    On-line citations for Physical Review B documents in REVTeXAugust 4

    At some point the Physical Review B journal switched from superscript citations to on-line citations. However, when I prepare a document using \documentclass[aps,prb,reprint]{revtex4-1}, I still get superscript citations. Should I have to change anyt

  • Page abstract in the end of my documentNovember 4

    \begin{document} \include{Introduction} \include{Chapter1} \include{Chapter2} \bibliographystyle{plain} \bibliography{biblio} \include{Abstract} \end{document} I have a question: I added the abstract in my document as shown before, but I'd like that

  • How can I stop revtex from sending a tall figure to the end of the document?

    How can I stop revtex from sending a tall figure to the end of the document?May 7

    I am writing a two-column document in revtex 4.1 and I have a very tall figure, which revtex insists in sending to the very end of the document. The figure is tall but it is short enough that it will fit inside the document's \textheight, possibly wi

  • Show Abstract Title in Latex

    Show Abstract Title in LatexApril 16

    I'm using a latex template given to me to write up a project I'm writing. However, above the abstract, it does not explicitly show the title "Abstract" which I would like it to do. The document is a two column doc, whereas the abstract is just o

  • "Problem description" to look like abstractJune 14

    I would like to have my "Problem Description" to have the same look/layout as abstract. Any way I can "clone" the the abstract command? preamble: \documentclass[pdftex,10pt,b5paper,twoside]{report} \usepackage[lmargin=25mm,rmargin=25mm

  • How to include abstract into titlepage?

    How to include abstract into titlepage?January 9

    I don't want to have the abstract on a separate page but rather under the title. Also I then want to end the page and don't begin with the actual document. This is my minimal example: \documentclass[a4paper,12pt,abstracton,titlepage]{scrartcl} \usepa

  • Abstract with amsart class and fontspec (with XeLaTeX)May 7

    There is an error message which I do not understand when I use amsart in conjunction with fontspec. The math text in the abstract seems to be deemed too small? The error is \textfont 6 is undefined (character =). Here is a minimal working example: \d

  • Missing abstract with amsart class

    Missing abstract with amsart classAugust 17

    I'm not very good at LaTeX but I've been using it to write my dissertation. Have just come to the end and trying to format everything correctly. Whenever I try to put my Abstract paragraph into the form \begin{abstract} (writing here) \end{abstract}

  • Abstract and titlepageFebruary 26

    I compile my code and the abstract shows up before the titlepage, but I want it after the title page. \documentclass[12pt, oneside]{report} \usepackage[margin=1in]{geometry} \geometry{letterpaper} \usepackage{graphicx} \usepackage{setspace} \usepacka

  • How to change the font size of the whole abstract in the article classSeptember 13

    I am using the following to generate an article with 12pt and 1.5 linespread: \documentclass[english,12pt, a4paper]{article} \usepackage{babel} \usepackage{times} \usepackage{graphicx} \usepackage{float} \linespread{1.5} \begin{document} \begin{abstr

  • Only-Quote page after abstract page?January 15

    I want a quote-page after my abstract in my document. No numbering, no header, just the plain quote plus source. Howto? My main file (the file is named 'slogan' in here): \documentclass[ 12pt, a4paper, bibtotoc, cleardoubleempty, idxtotoc, ngerman, o

  • new page created when using the \begin{abstract} commandMarch 18

    I am using emulateapj and am trying to put an abstract in like so: \documentclass{emulateapj} \setcitestyle{authoryear,round,comma} \begin{document} \begin{abstract} hello world! \end{abstract} \maketitle \end{document} It is currently creating a pdf

  • How can i add the abstract and acknowledgment on the same page?

    How can i add the abstract and acknowledgment on the same page?September 23

    I want to add my abstract and acknowledgment on the same page as they only fill the half of the page in total, so it looks foolish to have them split into two pages. \documentclass[a4paper,11pt,openbib]{report} \begin{document} \begin{abstract} This

  • How can I put the abstract on the title page with apa6?

    How can I put the abstract on the title page with apa6?November 18

    I am working on lab report in for a psychology class. It has to be in the APA manuscript style except that the abstract is to be on the title page. I am using the apa6 .sty and I cannot figure out how to do this. The closest thing I have found to an

  • How to print the abstract inside the maketitle command

    How to print the abstract inside the maketitle commandNovember 30

    I would like to define the abstract before the \maketitle command but the abstract is printed on separate page. I am using basic article class file. The below mentioned coding i am using in tex file. \title{Hormonal crosstalk for root development: a

  • Change name of abstract

    Change name of abstract April 24

    This question already has an answer here: How to change the name of document elements like "Figure", "Contents", "Bibliography", "Appendix", etc.? 4 answers I'm writing a document with and abstract and I've set the

Copyright (C) 2017 ceus-now.com, All Rights Reserved. webmaster#ceus-now.com 14 q. 0.543 s.