3

I have to include a header over my title like: 2016 IEEE 24th International Requirements Engineering Conference

I have got the IEEEtran V1.8 but can't figure out which usepackages I have to install for this header. Here is an example: first_header

\documentclass[conference]{IEEEtran}
\hyphenation{op-tical net-works semi-conduc-tor}
%\usepackage{fancyhdr}

%################DOCUMENT STARTS HERE###################### \begin{document} %\fancyhdr[C]{2016 IEEE 24th International Requirements Engineering Conference} %zentrierte Kopfzeile \title{My Paper Title}

% author names and affiliations % use a multiple column layout for up to three different % affiliations \author{\IEEEauthorblockN{M.Sc. John Dow} \IEEEauthorblockA{Department of Economic Computer Science\Economic Computer Science\ University of California\ xxx\ Email: xxxyyy@university.com}}

% use for special paper notices %\IEEEspecialpapernotice{(Invited Paper)}

% make the title area \maketitle %RE 2016, Lisbon, Portugal \ Research Paper

\begin{abstract} Authoritatively matrix fully tested channels with market-driven portals. Energistically synthesize leading-edge data whereas distributed sources. Efficiently incentivize accurate resources and customized ROI.

Continually procrastinate pandemic total linkage before bricks-and-clicks e-markets. Distinctively deploy cross-platform solutions for market-driven innovation. Appropriately iterate prospective solutions via competitive data. Text \cite{rupp2014} \end{abstract} \IEEEpeerreviewmaketitle

\section{Introduction} % no \IEEEPARstart This demo file is intended to serve as a ``starter file'' for IEEE conference papers produced under \LaTeX\ using IEEEtran.cls version 1.8 and later. % You must have at least 2 lines in the paragraph with the drop letter % (should never be an issue) I wish you the best of success.

\hfill mds

\hfill December 27, 2012

\subsection{Subsection Heading Here} Subsection text here.

\subsubsection{Subsubsection Heading Here} Subsubsection text here.

\section{Conclusion} The conclusion goes here.

\bibliographystyle{IEEEtran}

\bibliography{Dissertation}

\end{document}

Marijn
  • 37,699
maxmin
  • 101
  • 1
    \usepackage{fancyhdr} – Ruben Jan 03 '17 at 23:21
  • 3
    Welcome to TeX.SX! If you add a MWE and more specific requirements you are most likely to get appropriate help. For instance to me it's unclear if the caption got to be only over the title of the paper or if it should be on every page? – Ruben Jan 03 '17 at 23:22
  • The term header is not clear here! Running page headers? Or just a line above the title of the paper? –  Jan 03 '17 at 23:33
  • Just a line above the title of the first page – maxmin Jan 03 '17 at 23:37
  • @Ruben: This is not working: \usepackage{fancyhdr} \fancyhdr[C]{2016 IEEE 24th International Requirements Engineering Conference} \title{My Paper} – maxmin Jan 03 '17 at 23:39
  • @maxmin: That's possible due to \pagestyle{empty} of titlepage –  Jan 03 '17 at 23:47
  • Does anyone know about the IEEEtran V1.8? It includes about 500 code lines and I can't figure out the usepackage I need for the first header line ... should I post the complete code here? Could that help? – maxmin Jan 03 '17 at 23:53
  • Just add a minimal example of your .tex manuscript, not the whole class. Without knowing what you actually do in terms of (La)TeX code it's impossible to help you. Btw: If you need to add only one line above your titel you don't need fancyhdr -- which helps you to actual headers. – Ruben Jan 04 '17 at 00:03
  • @maxmin: The IEEETran class always using twocolumn mode. I don't know whether such a line above the actual title is useful at all. It might be rejected anyway –  Jan 04 '17 at 00:06
  • @ChristianHupfer: There is no such line in the code – maxmin Jan 04 '17 at 00:06
  • @maxmin: Which line? –  Jan 04 '17 at 00:10
  • @ChristianHupfer: I have read the last year published papers from this conference (Beijing, China) and they all have this first header. Do you have experience with conference papers? – maxmin Jan 04 '17 at 00:11
  • @maxmin: My last conference stuff is long ago. Please add your document here, such that users can help you. 'Does not work' is not useful –  Jan 04 '17 at 00:13

1 Answers1

3

This solution defines a custom meta-data command \titleheader that collects the information you want to put above the title in the canonical way, i.e.

\newcommand*\titleheader[1]{\gdef\@titleheader{#1}}

Then next 6 lines of code take care of inserting this information at the right spot.

\documentclass{IEEEtran}

\makeatletter
\newcommand*\titleheader[1]{\gdef\@titleheader{#1}}
\AtBeginDocument{%
  \let\st@red@title\@title
  \def\@title{%
    \bgroup\normalfont\large\centering\@titleheader\par\egroup
    \vskip1.5em\st@red@title}
}
\makeatother

\title{A Serious Game for Eliciting Social Engineering Security Requirements}
\titleheader{2016 IEEE 24th International Requirements Engineering Conference}
\author{maxmin}

\begin{document}
\maketitle
\end{document}

output

Ruben
  • 13,448