My goal is to put text before \maketitle
as well as on left side, and on the right. They should be on the same level. I've tried \begingroup
— doesn't work:
\documentclass[a4paper,10pt, twoside, twocolumn]{article}
\usepackage[utf8]{inputenc}
\usepackage[MeX]{polski}
\usepackage{tocloft}
\makeatletter
\renewcommand\@seccntformat[1]{\csname the#1\endcsname.\quad}
\renewcommand\numberline[1]{#1.\hskip0.7em}
\renewcommand{\cftsecleader}{\cftdotfill{\cftdotsep}}
\makeatother
\usepackage[%
headheight=25pt,
includeheadfoot,
margin=2cm
]{geometry}
\usepackage{hyperref}
\hypersetup
{
colorlinks,
citecolor=black,
filecolor=black,
linkcolor=black,
urlcolor=gray,
pdfmenubar=false,
pdftex
}
\frenchspacing
\title{Tytul}
\author{Iksinski}
\date{some date}
\begin{document}
\begin{flushright}
right text
\end{flushright}
\begin{flushleft}
left one
\end{flushleft}
\begingroup
\let\newpage\relax% Void the actions of \newpage
\maketitle
\endgroup
\maketitle
\end{document}
Best Answer
Based on the image you provided, you need to create a custom header that includes some content. The easiest way to do this, depending on your requirements or limitations, would be to use the
fancyhdr
package. For example, creating a "title" header you could use:If your document class provides an interface to the headers (for conference or paper/article submissions, say), it's best to use that.
Read the
fancyhdr
documentation for more information on the commands used and how to modify the respective header/footer locations/contents.