Tag Info

Hot answers tagged

25

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


16

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}


16

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


12

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

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


11

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


11

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


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


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


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


7

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

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

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


6

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


6

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.


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


6

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}


6

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


5

For the aipauth4-1 and related bibliography styles, you should be using the 4-1 version of the documentclass, i.e.. revtex4-1 instead of revtex4. These new bibliography styles are one of the main features of the 4-1 release. See revtex4-1 on ctan. Here is a minimal working pair of documents: \documentclass[secnumarabic, graphics,floatfix,nofootinbib, ...


5

\documentclass{article} \def\thesection{\Roman{section}} \def\thesubsection{\Roman{section}.\Roman{subsection}} \def\thesubsubsection{\Roman{section}.\Roman{subsection}.\Roman{subsubsection}} \begin{document} \tableofcontents \section{aaa} \subsection{bbb} \subsubsection{ccc} \end{document}


5

Class reftex4-1 uses the feature that references can be prefixed using \p@<counter>. You need to reset them for your redefined counters: \renewcommand\thesubsection{\thesection.\Alph{subsection}} \renewcommand\thesubsubsection{\thesubsection.\arabic{subsubsection}} \makeatletter \renewcommand*{\p@subsection}{} \renewcommand*{\p@subsubsection}{} ...


5

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


5

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


5

If you look a little further through the log, you'll find it reads Class revtex4 Warning: No Society specified, using generic APS style. ... LaTeX Warning: Unused global option(s): [apl,aps4]. Notice that neither apl nor aps4 are recognised. Changing the input to \documentclass[apl, aps, twocolumn, superscriptaddress]{revtex4} removes the 'No ...



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