I'm writing an article and I need to put a figure on the top right but only on the first page.
Also on the top left I need to place the type of article
for Example
Scientific Paper (left header).............................Figure (right header)
Title of the Article
Author 1, Author 2, Author 3
Affiliation1, Affiliation2, Affiliation3,
Other Abstract Abstract
Some text Some text
Some text Some text
Some text Some text
Some text Some text
I try to put "Scientific Paper" using fancyhdr
but it only shows up from the second page onwards.
the code I've worked with so far is:
\documentclass[12pt,twoside,titlepage]{ingenius}
\usepackage{blindtext}
\usepackage[spanish]{babel}
\usepackage{multicol}
\usepackage{booktabs}
\usepackage{subfig}
\usepackage{marvosym}
\usepackage{authblk}
\usepackage{blindtext}
\usepackage{url}
\usepackage{caption}
\captionsetup{font=small}
\captionsetup[figure]{labelfont=bf}%,textfont=it}
\captionsetup[table]{labelfont=bf}%,textfont=it}
\usepackage{fancyhdr}
\pagestyle{fancy}
\fancyhf{}
\fancyhead[LO]{}
\fancyhead[RE]{Journal Name}
\fancyhead[LE,RO]{{ \thepage }}
\fancyhead[LO]{{Author 1 / Title of the Article}}
\renewcommand{\headrulewidth}{0.5pt}
\usepackage{amsmath}
\date{}
\title{
{\textsc {Title of the Article}}}
\author[1,*]{Author 1}
\author[2]{Author 2}
\author[1]{Author 3}
\affil[1]{\it Department of Mechanical Engineering}
\affil[2]{\it Department of Electrical Engineering}
\begin{document}
\maketitle
\let\oldthefootnote\thefootnote
\renewcommand{\thefootnote}{\fnsymbol{footnote}}
\footnotetext[1]{Autor para correspondencia. Email:
\url{apsarmientoc@gmail.com} }
\let\thefootnote\oldthefootnote
\renewcommand{\tablename}{Table}
\renewcommand{\figurename}{Figure}
\renewcommand{\refname}{References}
\vspace{-.7cm}
\noindent
\begin{center}
{\bf Received:} 18 -- May -- 2012; \hspace{0.25cm} {\bf Approved:} 20 -- May -- 2012
\end{center}
\begin{multicols}{2}
\noindent {\bf \large Abstract}
\vspace{0.5cm}
\blindtext
\palabrasclave{keyword 1, keyword 2, etc}
\vfill
\columnbreak
\noindent {\bf \large Other Abstract}
\vspace{0.5cm}
\blindtext
\keywords{keyword 1, keyword 2, etc}
\end{multicols}
\twocolumn
\section{Introduction}
\blindtext
\blindtext
\blindtext
\section{Conclusions}
\blindtext
\blindtext
\blindtext
\section{Conclusions}
\blindtext
\blindtext
\blindtext
\end{document}
The code of the class to use is
\NeedsTeXFormat{LaTeX2e}
\ProvidesClass{ingenius}[2011/09/13]
\LoadClass{article}
\RequirePackage[latin9]{inputenc}
\RequirePackage[T1]{fontenc}
\RequirePackage[english,spanish,es-nolayout]{babel}
%\RequirePackage[font={small},tablename=Tabla,labelfont=
{bf,small},labelsep=period,justification=centerlast]{caption}
\RequirePackage{graphicx}
\RequirePackage{setspace}
\RequirePackage{lmodern}
\RequirePackage[obeyspaces,spaces]{url}
\urlstyle{same}
\RequirePackage[papersize=
{21cm,28cm},twoside,top=2cm,bottom=1.5cm,left=1.2cm,right=1.2cm,
headheight=1.8cm,headsep=.35cm,footskip=0.85cm]{geometry}
\RequirePackage[colorlinks,linkcolor=black,urlcolor=black,
citecolor=black,breaklinks=true,%
bookmarks=true,pdfstartview=XYZ]{hyperref}
\newcommand{\keywords}[1]{\vspace{\baselineskip}\parindent
0pt\textit{\textbf{Keywords}}: #1}
\newcommand{\palabrasclave}[1]{\vspace{\baselineskip}\parindent
0pt\textbf{\textit{Palabras clave}}: #1}
\newcommand{\tituloingles}[1]%
{\newcommand\@tituloingles{#1}}
Thanks for your help
Best Answer
The document class causes the title (created using
\maketitle
) to be set within atitlepage
environment, which uses\thispagestyle{empty}
. You could redefine theempty
page style:If this is the only page in your document using the
empty
page style, redefining it in this way should not be problematic. Otherwise you would have to do some more work to create a different title page style. Of greater concern should be whether or not the journal accepts this modified requirement.