2

I'm using the template of a journal, which can be found here: https://www.overleaf.com/latex/templates/review-of-financial-studies-latex-template/bdgcyvpjqmbc

The header is supposed to have two images in the corners. This is how it should look

I think the code for the images is as follows:

\begin{picture}(0,0)\unitlength\p@\thinlines
  \put(-30,0){\circle{10}}
  \put(-30,-5){\line(0,1){10}}
  \put(-35,0){\line(1,0){30}}
  \put(0,30){\circle{10}}
  \put(-5,30){\line(1,0){10}}
  \put(0,35){\line(0,-1){30}}
  \end{picture}}

However, when I compile (for example directly on overleaf, or in texniccenter, or in texstudio) the images don't show up. Instead, I get the text that corresponds to the code, in an overflown line.

Any idea of what may be going on and how to fix it?

Thank you in advance.The image I get

1
  • Hi there. Tom from Overleaf Support here. Sorry for being late into the party. I just discovered this issue, and we'll have a look at it to see how to best correct this. At the very least, we can set that template to open in an older version of TeX Live. Hope this helps!
    – yo'
    Jan 17, 2021 at 21:39

1 Answer 1

3

The two small images (actually there should be four) in the corners are crop marks. Your attached image looks very like the cam crop mark created by crop package.

In the following example, the printed area is a4paper (set by geometry package), but the physical area is 250mm x 337mm (which is wider and higher than printed area by 40mm, respectively).

\documentclass{article}
\usepackage[showframe]{geometry}
\usepackage[cam,center,width=250mm,height=337mm]{crop}

\usepackage{blindtext}

\begin{document}
\blinddocument
\end{document}

enter image description here

Also see

9
  • Thank you. The crop reference is very useful. I copied your code in a new overleaf file, and I get a similar issue: the top of the page shows the text picture(0,0)(-30,0)(10) (-30,-5)(0,1)(10) etc. Also overflown. Any idea how to fix the issue? Thank you very much again.
    – user222431
    Aug 14, 2020 at 11:56
  • @user222431 For your own safety, don't work on overleaf. Their TeX distribution is out-of-date most of the time which caused me a lot of issues before.
    – Diaa
    Aug 14, 2020 at 12:01
  • I have the same issue in texniccenter and texstudio. If you have any idea what in particular is out-of-date and creating this issue that would be helpful.
    – user222431
    Aug 14, 2020 at 12:31
  • @user222431 I've tested the example in my answer on overleaf, choosing texlive 2019 and using either of pdflatex, xelatex, and lualtex. Each of them works as expected, hence I cannot reproduce your problem. Can you share an overleaf link? Aug 14, 2020 at 13:04
  • Thanks! Yes, here is the link, you should be able to edit. overleaf.com/5944726911pgvnknyvsjcx
    – user222431
    Aug 14, 2020 at 13:25

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .