[Tex/LaTex] Add line “Draft: Please do not quote or cite” to the maketitle

articledrafttitles

I'd like to add a \fbox with "Draft: Please Do Not Quote or Cite" at the top right of my title page which I generate with maketitle.

Does somebody know how to elegantly add the line \fbox{\small Draft: Please Do Not Quote or Cite} to the title?

\documentclass[twoside,a4paper]{article}
\title{
    \vspace{-15mm}
    \fontsize{24pt}{10pt}\selectfont
    \textbf{\ttitle} % title defined above
    }   
\author{
    \large
    \textsc{...}\\[2mm]
    \vspace{-5mm}
    }
\date{\normalsize \today}
\begin{document}

\maketitle

\end{document}

Best Answer

Use the »titling« package to customize the title according to your ideas.

\documentclass[11pt,a4paper]{article}
\usepackage[T1]{fontenc}
\usepackage{titling}

\setlength{\droptitle}{-15mm}
\pretitle{\begin{center}\Huge\bfseries}
\posttitle{\par\end{center}\vskip 0.5em}
\preauthor{%
  \begin{center}
    \large \lineskip 0.5em%
    \scshape
    \begin{tabular}[t]{c}%
}
\postauthor{\end{tabular}\par\vspace{-3mm}\end{center}}
\predate{\begin{center}\normalsize}
\postdate{\par\end{center}}

\renewcommand{\maketitlehooka}{
  \vspace{-60pt}
  \raggedleft
  \small
  \fbox{Draft: Please Do Not Quote or Cite}%
  \vspace{60pt}%
}

\title{Title}
\author{Author}
\date{\today}

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

enter image description here

Related Question