2

I want to basically upload a research preprint to arXiv. I want my paper to exactly look like this paper here including the hyperlinks in the bibliography.

Can someone please tell me how the scratch tex file should look like to achieve this.

Any help is appreciated.

  • 3
    Both on the APS web page as well on CTAN you can find the class revtex4-1 as well as documentation and templates. – campa Mar 21 '18 at 11:31
  • 3
    You can see the source of arxiv papers if you want to. arxiv.org/format/1707.00283v1. The .tex file is available in the Source file. – Troy Mar 21 '18 at 11:33
  • 3
    @Troy though I wouldn't suggest to look at that paper. They use revtex4, which has been outdated since 2010... – campa Mar 21 '18 at 11:35
  • @campa I agree. And they use eqnarray. shudders – Troy Mar 21 '18 at 11:37
  • Thanks for the information guys. What do you recommend then? I knoweqnarray is to old. Where can I find the revtex4-1 class? – sbp Mar 21 '18 at 11:53
3

You can always download the source files and see what the author did (via the "other formats link" from the abstract page). In this instance, you can see that they did:

\documentclass[aps,pra,twocolumn,showpacs,preprintnumbers,amsmath,amssymb,footinbib]{revtex4}
...
\usepackage{xcolor}% coloured text
\usepackage[breaklinks=true,colorlinks,citecolor=blue,linkcolor=blue,urlcolor=blue]{hyperref}
1

This bibliography style is actually highly desirable, but the source file on ArXiv doesn't provide any insight how to produce it, but adding by hand the required \href{<urlstring>}{<paperref>}.

To fix this question with BibTeX, I have edited by hand a.bst file (a custom one produced by the makebst script). You can download it from https://www.edpif.org/misc/latex/customen-href.bst. In this file you can find the (slight) modifications, marked by %%%%%%, next to lines 463 and 1144.

I post here an example of output, but a version with functional links is available at https://www.edpif.org/misc/latex/customen-href.pdf

enter image description here

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.