Hello,
I would like to display on the first page of an article a box on the right corner of the page (i.e. above the title) with the text "to appear in journal xxx".
Any help would be appreciated.
Thank you,
Ron
Page Layout ⇒ Journal name in right top corner
NEW: TikZ book now 40% off at Amazon.com for a short time.

Journal name in right top corner
What about just putting this in the preamble:
Does that work well enough?
Code: Select all
\usepackage{fancyhdr}
\fancypagestyle{plain}{%
\fancyhead[R]{\fbox{to appear in journal xx}}
\renewcommand{\headrulewidth}{0pt}
}
Re: Journal name in right top corner
Hello,
Thank you for your help. It worked partially. The main problem is that the bottom part of the page got cut. This includes text and also Keywords and AMS classification. Note: the problem exists only on first page.
Also the text "to appear in journal xx" appeared with the sign [R] before and was set to the left. Is there a way to have smaller font and that that the box appears much further right i.e. in the top right corner of the first page but not above the title but much more to the right?
Thank you very much,
Ron
Thank you for your help. It worked partially. The main problem is that the bottom part of the page got cut. This includes text and also Keywords and AMS classification. Note: the problem exists only on first page.
Also the text "to appear in journal xx" appeared with the sign [R] before and was set to the left. Is there a way to have smaller font and that that the box appears much further right i.e. in the top right corner of the first page but not above the title but much more to the right?
Thank you very much,
Ron
Journal name in right top corner
Hi,
The following example code (which uses frabjous's idea) works OK for me.
Without some minimal and compilable code allowing us to reproduce your problem, is really difficult to provide effective help.avidanium wrote:...The main problem is that the bottom part of the page got cut. This includes text and also Keywords and AMS classification. Note: the problem exists only on first page.
Also the text "to appear in journal xx" appeared with the sign [R] before and was set to the left...
The following example code (which uses frabjous's idea) works OK for me.
Code: Select all
\documentclass{article}
\usepackage{fancyhdr}
\fancypagestyle{plain}{%
\fancyhead[R]{\fbox{to appear in journal xx}}
\renewcommand{\headrulewidth}{0pt}
}
\title{The title}
\author{The Author}
\begin{document}
\maketitle
\end{document}
As an alternative to frabjous's suggestion, You can use the textpos package to place some material (a framed box with text, in this particular case) anywhere inside a page; a little example:avidanium wrote:...Is there a way to have smaller font and that that the box appears much further right i.e. in the top right corner of the first page but not above the title but much more to the right?
Code: Select all
\documentclass{article}
\usepackage{textpos}
\title{The title}
\author{The Author}
\begin{document}
\maketitle
\begin{textblock*}{3cm}(11cm,-3.2cm)
\fbox{\footnotesize to appear in journal x}
\end{textblock*}
\end{document}
1,1,2,3,5,8,13,21,34,55,89,144,233,...
Journal name in right top corner
Sigh. Why didn't you say you were using an AMS document class? You said article, so I assumed you were using article.cls. If you want help with these things, you need to be explicit about what the circumstances are.avidanium wrote:Hello,
Thank you for your help. It worked partially. The main problem is that the bottom part of the page got cut. This includes text and also Keywords and AMS classification. Note: the problem exists only on first page.
fancyhdr does not work well with AMS classes in my experience. Are you using amsart? Provide a MWE as per board rules, please.
Another option besides textpos might be a watermark:
Code: Select all
\usepackage[printwatermark=true,%
firstpage,%
color=black,%
textmark={\fbox{to appear in xx}},%
xcoord=50,%
ycoord=100,%
angle=0,%
fontsize=12,%
fontseries={}%
]{xwatermark}
Finally, what you say about "[R]" appearing makes me think that it's possible that your TeX system is not up to date. You might want to update it.
Re: Journal name in right top corner
The suggestion with \usepackage{textpos} worked.
Thank you very much.
Thank you very much.