Hot answers tagged

49 votes

\newpage stays in right column

I had the same problem with IEEE, but in my case, I used \clearpage instead of \newpage That's it.
Amr's user avatar
  • 591
22 votes
Accepted

BibTeX: How to show article titles within `apsrev4-1`?

By suggestion of @Mico, I looked at the webpage of APS and found the following How can I make the titles of cited journal articles appear in the bibliography? REVTeX 4.1 calls in a default ...
Dox's user avatar
  • 5,649
19 votes

Options for supplementary materials in preprint version: revTeX + arXiv

If you upload two separate tex files, arXiv converts them to pdfs separately and then stitches the pdfs together to create a single file. All you have to pay attention to is that the files in the ...
ktodor's user avatar
  • 191
19 votes
Accepted

How to insert footnotes in revtex4-1 latex layout

By default revtex places footnotes in the bibliography (see e.g. How to refer to same footnote twice in REVTeX?) - in order to make them appear you therefore need to run bibtex in the normal fashion (...
Dai Bowen's user avatar
  • 5,762
16 votes
Accepted

LaTeX Ugly Line Above References

Adding \def\bibsection{\section*{\refname}} to the preamble removes the separator and replaces it with REFERENCES Source: http://newsgroups.derkeiler.com/Archive/Comp/comp.text.tex/2006-08/...
James's user avatar
  • 176
16 votes

Revtex4-1 warnings: "BibTeX jnrlst (dependency: not reversed) set 1" and "BibTeX I didn't find a database entry for X"

This error should disappear if you put \bibliographystyle{apsrev4-1} in the preamble, i.e. before \begin{document}. (For \documentclass{revtex4-2), use \bibliographystyle{apsrev4-2}.)
Karl's user avatar
  • 161
13 votes
Accepted

Including pdfpages renders rotated RevTeX 4.1 pdfLaTex output

The same happen with \documentclass{revtex4-1} \usepackage{lscape} \begin{document} Lorem ipsum dolor sit amet... \end{document} because revtex4-1 redefine the output routine: \@outputpage we ...
touhami's user avatar
  • 19.3k
13 votes
Accepted

Remove bibliography part in table of contents

To avoid thebibliography from setting a section-like entry in the ToC, wrap the following around it: \let\oldaddcontentsline\addcontentsline% Store \addcontentsline \renewcommand{\addcontentsline}[3]{...
Werner's user avatar
  • 595k
9 votes
Accepted

Revtex warning with bibtex

As of late 2019 (REVTeX 4.2c), this is still an issue. I still find that the only reasonable solution is to add \bibliographystyle{apsrev4-2} before the \bibliography command. In general the \...
Mike's user avatar
  • 1,141
9 votes
Accepted

revtex4-1.cls not found in miktex2.9 in Windows 7

MikTeX will not install things that are marked obsolete (https://ctan.org/pkg/revtex4-1?lang=en). revtex4-1 has been superseded by revtex4-2. So you should be able to just change \documentclass[...]{...
daleif's user avatar
  • 52.7k
8 votes
Accepted

\appendix* still yields "Appendix A"

The definition of \appendix in revtex4.cls ends with \@ifstar{...}{...}, but cleveref adds code to the macro and so this \@ifstar is inefficient. You can reinstate it at the end: \documentclass[aps,...
egreg's user avatar
  • 1.1m
7 votes
Accepted

Author's initials in longbibliography for revtex4-1 aps style

Using the 'aps' option for a revtex4-1 documentclass, the following solution allows to keep all other particularities of the aps bibliographic style unchanged. Notably, it is possible to use a ...
William Legrand's user avatar
7 votes
Accepted

single-column revtex4-1 adds a page break after the title section

This has been fixed in revtex4-2. The Author's Guide says The onecolumn option no longer defaults to creating a separate title page. And indeed, changing to \documentclass{revtex4-2} in the MWE ...
Mike's user avatar
  • 1,141
7 votes

REVTeX adds DOI numbers seemingly at random after citations

Adding an empty pages field like: pages={-} stops REVtex from displaying the DOI numbers in the bibliography.
Odysseus's user avatar
7 votes
Accepted

Merge (compress) references to citation and footnote in revtex4-1

Have you tried \footnotetext? You can even give a number as optional argument. % arara: pdflatex % arara: bibtex % arara: pdflatex % arara: pdflatex \documentclass[aps]{revtex4-1} \bibliographystyle{...
Henri Menke's user avatar
7 votes

How to enable floatfix option?

As mentioned in the comments, this can be enabled by adding the option to the initial \documentclass call, at the start of the file: \documentclass[floatfix]{revtex4} However, even when the document ...
E.P.'s user avatar
  • 1,425
7 votes

Too much space between section and text in a twocolumn document

Let us first have a look on the corrected mwe of you to recreate the issue. Please see that I deleted some packages not needed for this issue and please see that package times is outdated. To get the ...
Mensch's user avatar
  • 65.1k
7 votes
Accepted

Affiliations appear in unspaced italics, possible math mode triggered by breqn package

Nice find! The revtex4-2 class loads the affiliation under a setting where the comma is made active, with replacement text \active@comma. But breqn defines the active comma in a very different way, ...
egreg's user avatar
  • 1.1m
7 votes

revtex4-2.cls error with an older TeX distribution

This happens because the line in RevTeX that checks your version of LaTeX: \rvtx@ifformat@geq{2020-10-01}% {<code for new LaTeX>} {<code for old LaTeX>} uses the date in the format ...
Phelype Oleinik's user avatar
6 votes
Accepted

(color online) label in RevTeX

If you're using revtex4-1 there is a hook \@caption@fignum@sep for determining the separator following the float number, which defaults to a period followed by a space: \def\@caption@fignum@sep{. } ...
karlkoeller's user avatar
6 votes
Accepted

One column bibliography in two column article

I had the same problem and all I did was putting bibliography command inside the \onecolumn{} command. \onecolumn{ \bibliographystyle{apalike} \bibliography{physics.bib}}
Simos Nones's user avatar
6 votes

Apply \widetext in Lyx only to equation and not whole paragraph

Hit enter to start a new paragraph. Add the widetext environment Add equation inside widetext enviroment. Another option could be using ERTs for starting and ending the environment: Hit Ctrl + L to ...
Torbjørn T.'s user avatar
6 votes

How to install REVtex into TEXlive

I had the same problem under linux (Ubuntu). I found revtex in package texlive-publishers. Try: sudo apt install texlive-publishers
Jiří Kolafa's user avatar
6 votes

intertext / shortintertext with revtex gives large spurious spacing

I propose this work-around: use the optional argument for \intertext, introduced by package nccmath: \documentclass[aps,prl,reprint]{revtex4-1} % \documentclass{article} \usepackage{newtxtext,...
Bernard's user avatar
  • 270k
6 votes
Accepted

How to solve the error "longtable* is already defined" using package "caption" and documentclass "revtex4"?

Well, in your code are three problems: Class revtex4 is outdated, the current one is revtex4-2. Can you change? Loading package caption results in several errors/warnings for class revtex4 and for ...
Mensch's user avatar
  • 65.1k
6 votes
Accepted

Revtex multiple authors with no affiliations - how to put equal contribution as footnote?

You can put the symbol in the author names manually and use a footnote without corresponding symbol in the text using \footnotetext. To get the same symbol you can temporarily change the footnote ...
Marijn's user avatar
  • 35.7k
6 votes
Accepted

Issue with using \onecolumn with ReVTeX

revtex disables \onecolumn use \onecolumngrid
David Carlisle's user avatar
6 votes
Accepted

revtex4-2: cref reference format for label type `' undefined

Not a full solution, but hopefully a satisfactory work-around: Load hyperref before cleveref. (If you don't want colored hyperlinks, load hyperref with the options colorlinks and allcolors=black.) I ...
Mico's user avatar
  • 490k
6 votes
Accepted

Redefining sections, subsections, and subsubsections mess up \ref output

revtex uses unprefixed subsection numbers in the heading, and adds prefixes to references. As you are prefixing the heading you need to not prefix references \documentclass{revtex4-2} \renewcommand\...
David Carlisle's user avatar
5 votes

Revtex 4.1 multiple affiliations

This can be accomplished by selecting the class option superscriptaddress in documentclass. \documentclass[ reprint, superscriptaddress, amsmath,amssymb, aps, pra, ]{revtex4-2}
eltrinador's user avatar

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