# Tag Info

## Hot answers tagged revtex

29

The widetext environment changes the formatting from two-column to one-column to better accommodate very long equations that are more easily read when typeset to the full width of the page: \documentclass[twocolumn]{revtex4-1} \usepackage{lipsum} \begin{document} \lipsum[1] \begin{widetext} \[ a + b + c + d + e + f + g + h + i + j + k + l + m + n + o + p +...

24

By default, revtex4-1 reserves a whole page to typeset the title and the author(s) information; to change this behaviour, you need to use the notitlepage class option: \documentclass[notitlepage]{revtex4-1}

19

Since biblatex "reimplements the bibliographic facilities of LaTeX from the ground up, [it] naturally conflicts with all packages modifying the same facilities" (manual, section 1.5.4). Specifically, biblatex is incompatible with natbib. biblatex' natbib option only provides aliases for natbib's citation commands. From a look into the manual of RevTeX 4.1, ...

13

It looks if the revtex bst's are highly customized for for the class file. I have found that the following gives more or less the same output with a standard class \usepackage[sort&compress,numbers]{natbib} \bibliographystyle{apsrev4-1} \usepackage{doi}%<---------- \usepackage{hyperref} It also needs an additional bibtex file with a custom setup ...

13

I have never used revtex but the author's guide explicitly states: Please note the spelling of “acknowledgments.” This is also the full error message LaTeX produces: Class revtex4-1 Warning: Environment acknowledgements is obsolete; Use acknowledgments instead. So replacing acknowledgements by acknowledgments removes the message.

12

Working with the assumption here that we are simply trying to ignore natbib entirely, all that needs to happen is that the various name clashes need to be dealt with. Setting up a demo where natbib is deliberately loaded before biblatex, it seems that the macros \bibhang, \citename, \bibfont and \Citeauthor need to be undefined. At the same time, it's ...

12

To suppress the leading dots from the LoF and LoT, you can redefine \@dotsep: \documentclass[aps,amsmath,amssymb,11pt,nofootinbib]{revtex4-1} \usepackage{tikz,graphicx,slashed,stmaryrd,bbold,eepic,pst-all,pstricks-add,multirow,listings} \usepackage{hyperref} \begin{document} \makeatletter \renewcommand\@dotsep{10000} \makeatother \listoffigures \...

10

In order to remove the sidebar, use the hyperref setting: pdfpagemode=UseNone In order to restore the regular "Fit page width" zoom view at startup, use: pdfstartview=FitH Combining these gives you \usepackage{hyperref}% http://ctan.org/pkg/hyperref \hypersetup{pdfstartview=FitH,pdfpagemode=UseNone} If you're interested in a 150% start view, you can ...

10

The revtex4-1 class defines several similar messages, for instance 351 \@ifx{\eqnarray\eqnarray@LaTeX}{% 352 \class@info{Repairing broken LaTeX eqnarray}% 353 \let\eqnarray\eqnarray@fleqn@fixed 354 \newlength\eqncolsep 355 \setlength\eqncolsep\z@ 356 \let\eqnarray@LaTeX\relax 357 \let\eqnarray@fleqn@fixed\relax 358 }{}% The warning you get is quite ...

8

I think you need to install the texlive-publishers Ubuntu package. apt-get install texlive-publishers

8

longbibliography is an option to the class: \documentclass[prl,twocolumn,10pt,aps,longbibliography]{revtex4-1} \usepackage{amssymb} \usepackage{amsmath} \begin{document} ...bla bla bla \bibliography{rextextext} \end{document}

8

You can compile it if you load fixltx2e before the class. In that case you need \RequirePackage since \usepackage cannot be used before \documentclass. \RequirePackage{fixltx2e} \documentclass[preprint,floatfix]{revtex4-1}

8

The revtex4-1 class uses simple numbers in the headers, relying on the format for distinguishing among the section level: roman number and all caps bold face for sections, letter and boldface for subsections, arabic number and italics for subsubsections. Thus it sets things up so that in references the missing bits are automatically supplied, via the ...

8

revtex4 has an option nofootinbib (presumably this will change all footnotes): \documentclass[nofootinbib]{revtex4} \textheight=2in %just for this example \usepackage{filecontents} \begin{filecontents}{\jobname.bib} @book{book, author = "Arnold Author", title = "Book title", year = "2012" } \end{filecontents} \begin{document} Some text\footnote{With ...

8

This happens only when the footnotes are inserted in the reference section. The problem is that \langle becomes written as \delimiter "426830A (and similarly for \rangle. Those double quotes confuse the BibTeX parser. There are a few strategies available: Safest. Enclose the math into \unexpanded: \footnote{footnote with math \unexpanded{$\langle X \... 7 You could load the subfig package with the option caption=false:, e.g.: \usepackage[caption=false]{subfig} This prevents loading of the caption package. (caption3.sty will still be loaded, but this does not make harm since this file only provides some macros needed by the subfig package, especially it does not alter any captions.) See subfig package ... 7 You have to run bibtex in order for the footnotes to appear, so in particular, you can't use \begin{thebibliography}{99}...\end{thebibliography} but rather \bibliography{mybib}, which RevTeX4.1 will rewrite as though it says \bibliography{mybib,mypaperNotes} and create a file mypaperNotes.bib with the endnotes in it. 7 The revtex4-1 class uses the non-standard macros \tocname, \lofname, and \lotname to name the Table of Contents and the related lists, so you have to redefine these macros. 7 Yes, revtex4 plays some tricks on hyperref. That is, revtex4 redefines the sectional macros that hyperref is tapping into, leading to the "lost \nameref". To fix this, you need the xpatch package and patch the correct sectional macros: \@ssect@ltx and \@sect@ltx, each of which are called depending on whether you use the starred variant (or not) of the ... 7 \documentclass[twocolumn,twoside]{revtex4} \usepackage{lipsum} \makeatletter \newcommand*{\balancecolsandclearpage}{% \close@column@grid \clearpage \twocolumngrid } \makeatother \begin{document} \maketitle \section*{Main Text} \lipsum[1-7] \balancecolsandclearpage \section*{Additional Material} \lipsum[8-10] \end{document} 7 If I strip out most of the custom commands and package loading, then this is what I’m left with which still shows the problem: \documentclass{revtex4} \usepackage{amsmath} \usepackage{colortbl} \begin{document}$\begin{bmatrix} 1 & 2 \\ \end{bmatrix}\$ \end{document} The problem seems to arise as a conflict between the revtex4 class and the ...

7

Each \footnote under your document setup produces a bibliography key of the form NoteX where X is the regular footnote number. So, in your case, \cite{Note1} would reference the first footnote citation, while (say) \cite{Note17} would reference a citation in the footnotes corresponding to footnote number 17. Here's a minimal example explaining its usage: ...

6

Works for me. I am using Document Class: revtex4-1 2010/07/25/20:33:00 4.1r which fixes a number of bugs in the affiliation code. Testcase: \documentclass[superscriptaddress]{revtex4-1} \begin{document} \author{J. T. Ripper} \affiliation{Bethlem Royal Psychiatric Hospital} \author{Bugs Bunny} \affiliation{Looney Tunes} \author{Daffy Duck} \...

6

Tricky. You'll probably want to include the nobalancelastpage option: \documentclass[amssymb,aps,nofootinbib,letterpaper,10pt,twocolumn,nobalancelastpage]{revtex4}

6

Problem The problem is that there is generic code for all toc-generating commands which expands to something like (see the definition of \@starttoc in ltxutil.dtx): \toc@pre % Loads previously saved \tocmax@section etc. and sets % \tocdim@section etc. to a fixes small value (5pt) ... \@input{\jobname.#1} % Formats the toc, lof etc. but ...

6

Will this help? \usepackage{hyperref} \hypersetup{ pdfstartview={FitH \hypercalcbp{\paperheight-\topmargin-0in -\headheight-\headsep} }}

6

In revtex4, the metadata for the document (\title, \author and similar commands) should go after \begin{document}. There's no error with \documentclass[aps]{revtex4} \usepackage[spanish]{babel} \begin{document} \title{Title} \author{Myname} \begin{abstract} This is my abstract \end{abstract} \maketitle This is my document \end{document} You should ...

6

The fixme package assumes \@dotsep just expands to a decimal number, while revtex4 expects it to contain a dimension. A quick fix is to provide a redefinition as requested, in a group so the redefinition is not propagated; I use the hooks fixme executes before and after inputting the .lox file. \documentclass{revtex4} \usepackage[draft]{fixme} \...

6

This is not a full aliasing system, because it acts just on \selectlanguage, but it should be sufficient for your purpose. A full system would need deep surgery in babel. \begin{filecontents*}{\jobname.bib} @inproceedings{Renyi1961, author = {R\'{e}nyi, Alfr\'{e}d}, booktitle = {Proceedings of the Fourth Berkeley Symposium on Mathematical Statistics and ...

6

The revtex4 class adds a prefix to the cross-references to subsections since it uses \def\p@subsection{\thesection\,} so, in addition to \def\thesubsection{\thesection.\Alph{subsection}} you will also need \def\p@subsection{} to suppress the prefix: \documentclass{revtex4} \makeatletter \def\thesubsection{\thesection.\Alph{subsection}} \def\p@...

Only top voted, non community-wiki answers of a minimum length are eligible