0

Is there another alternative for maketitle than \begin{titlepage}...\end{titlepage}?

The latter doesn't work for me since I am working with the documentclass article and I dont want the title on an extra page.

In fact I just want the title in 12pt bold font at the very top of my document, under that my name, after that list of contents. But all at the very first page.

The main article could also start at the first page.

What are my options?

9
  • 1
    welcome to tex.se! what is going wrong with use \maketitle? please show your problem in form of small but complete document which demonstrate your problem.
    – Zarko
    Feb 15, 2018 at 16:20
  • 2
    You should take a look at the titling package, which provides tools to customise the \maketitle command.
    – Bernard
    Feb 15, 2018 at 16:21
  • The problem with maketitleis that the title is very huge and not at the very top of the page. Besides it is not as wide as the text body.
    – Valerie D.
    Feb 15, 2018 at 16:24
  • titling has tools for that. With ‘at the very top of the page’, I suppose you mean at the top margin, not at the top of the sheet of paper?
    – Bernard
    Feb 15, 2018 at 16:26
  • You are right :) How could I increase the margin in article?
    – Valerie D.
    Feb 15, 2018 at 16:30

1 Answer 1

0

Quick hack: simply place the elements manually.

\documentclass{article}

\title{text}
\author{names}

\begin{document}

\makeatletter
\begin{center}

{\fontsize{12pt}{14pt}\selectfont\bfseries\@title\par}

\@author
\end{center}
\makeatother

\tableofcontents
\section{section}

test
\end{document}

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.