Hot answers tagged

36

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 +...


17

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 ...


17

Here I give a workable solution, but not a clever one. In whatever case, we have to make a third separate file for arXiv submission (say, with at least one line to include Supp.) unless they support supplementary directly. Basically, the method is to append the supplementary material at the end of main text. Then add the commands to reset all counters and ...


17

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 ...


16

You need no fancy minipage; the code you're using is for ensuring the two subcaptions are at the same vertical level, with the subfloats side by side. \documentclass[twocolumn]{revtex4-1} \usepackage{graphicx} \usepackage[caption=false]{subfig} \usepackage{lipsum} % just for the example \begin{document} \lipsum[1-2] \begin{figure}[htp] \subfloat[Fig6a....


15

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 ...


15

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: \...


14

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 \...


14

Floating environments created with the float package (as algorithm is) are incompatible with the revtex4-1 class. The only way you have to include such an environment in your document, is to use the floating specifier H, which avoids the environment to float. MWE: \documentclass[aip, amsmath, amssymb, reprint]{revtex4-1} \usepackage{graphicx} \usepackage{...


14

From the questions's MWE: \usepackage[colorlinks=true,linkcolor=blue]{hyperref}% Citation links are configured via option citecolor: citecolor=blue Or if all kind of links should be blue (since hyperref 2011-02-05 v6.82a): allcolors=blue


11

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 \...


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

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}


10

The caption package is not compatible with revtex4-1; you can still add captioned subfloats with \usepackage[caption=false]{subfig} in the preamble and a syntax such as \subfloat[]{\label{fig:FIG11}% \includegraphics[width=0.24\textwidth]{FIG11.eps}% } In the optional argument of \subfloat you can supply also a subcaption; if empty, only the markers (a)...


10

I encountered the same problem editing a document under REVTeX. Thanks for pointing out that only position [t] is recognized under the {figure*} environment. A working solution is offered by using the \onecolumngrid and \twocolumngrid commands \documentclass[twocolumn,...]{revtex4-1} \begin{document} ... \onecolumngrid \begin{figure}[h] \...


10

The option footinbib leads to the creation of an extra .bib file with entries of the form: @MISC{NoteX,note="Supplemental Material reference"} Instead of using footnotes, you can also add such entries to your .bib file and use standard cite commands.


10

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 BibTeX Style (.bst) file for each supported journal. The .bst files support displaying the titles of cited journal articles in the bibliography. To display ...


9

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}


9

Indeed it's just a warning and you are expected to ignore it. You could make it go away by arranging for SimpleTexNotes.bib to contain control lines: @CONTROL{REVTEX41Control} @CONTROL{apsrev41Control,author="48",editor="1",pages="0",title="",year="1"} instead of the author="8" line that was there previously. This explicitly activates jnrlst rather than ...


9

I had the same problem with IEEE, but in my case, I used \clearpage instead of \newpage That's it.


9

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/msg00708.html


8

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 ...


8

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.


8

\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}


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

The longbibliography option works by writing some commands to a .bib file that is read by bibtex. In a standard revtex4-1 document the name of this file is XXXNotes.bib where XXX.tex is the name of your tex file. For a different documentclass you can get titles to appear by adding @CONTROL{REVTEX41Control} @CONTROL{apsrev41Control,author="00",editor="1",...


8

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 (even if you have no actual citations and no proper bibliography) as described in Question mark or bold citation key instead of citation number. Alternatively ...


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

As REVTeX uses natbib, you can use the mechanisms provided by that package to make this change \begin{filecontents}{\jobname.bib} @article{demo, author = "Other, A. N.", journal = "J. Irrep. Res.", year = 2012, pages = "1-10", volume = "200" } \end{filecontents} \documentclass[aps,prl]{revtex4-1} \bibliographystyle{apsrev4-1} \renewcommand*{...


7

revtex4-1 (specifically the aps style) does not rely on tocdepth and prints sections, subsections and subsubsections in the table of contents independently on the counter's value. The only way to remove sections level is to redefine the relative command producing the entry in the table of contents so they do nothing. One has to keep in mind that the class ...


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