Page Layout ⇒ Journal name in right top corner
Journal name in right top corner
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
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
Journal name in right top corner
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
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
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}
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
Thank you very much.