I am preparing my conference paper and the conference committee provies a template in a word documents. But, I am comfortable with Latex. I am using Overleaf. In the template at the very beginning the conference name should be included in 2 line like this figure.
I found many blogs and they suggested to use /markboth
. But this command is not working in my used template.
My Code:
\documentclass[conference, a4paper]{IEEEtran}
\IEEEoverridecommandlockouts
\usepackage{cite}
\usepackage{amsmath,amssymb,amsfonts}
\usepackage{algorithmic}
\usepackage{graphicx}
\usepackage{textcomp}
\usepackage{xcolor}
\usepackage{multirow}
\def\BibTeX{{\rm B\kern-.05em{\sc i\kern-.025em b}\kern-.08em
T\kern-.1667em\lower.7ex\hbox{E}\kern-.125emX}}
\begin{document}
\title{Title}
\input{authorInfo}
\maketitle
% ========Header and Pub Id=======
\markboth{IEEE Transactions on Evolutionary Computation}{AA}
\IEEEpubid{\begin{minipage}{\textwidth}\ \\[150pt] \raggedright
979-8-3503-5901-5/23/\$31.00 ©2023 IEEE
\end{minipage}}
% =============
Please suggest me some ways to do it.
I also tried to solve this problem with /markboth but I failed. However, Overleaf's documentation says:
So, if you want to solve it with fncyhdr, you can use it like this in your code: