Tag Info

Hot answers tagged

21

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


14

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


14

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}


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

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


10

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.


10

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


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

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

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


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

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

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

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

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


6

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


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


6

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


5

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


5

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}


5

The documentclass revtex4 doesn't provide the using of \include. You can open the aux-file of x_appendix and you will find the command \@setckpt which is defined as \def\@setckpt#1#2{}. You should change the document class.


5

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}


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

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


5

Issue a \phantomsection just before marking the \label. \phantomsection sets a PDF mark for subsequent \labels that the accompanying \ref will jump to (forward or backward). See section 4 Additional user macros of the hyperref documentation. Here is your minimal example showing the location: \documentclass[onecolumn,twoside]{revtex4} \usepackage{xpatch}% ...


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

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



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