3

I have two questions.

  1. How can I center the the title rather that its natural position?

  2. How can I remove the date?

Here is the code:

\documentclass[12pt,a4paper]{article}
\usepackage[latin1]{inputenc}
\usepackage{amsmath}
\usepackage{amsfonts}
\usepackage{amssymb}

\title{ \begin{huge}
\textbf{Geometry of manifolds and differential forms} 
\end{huge} }

\begin{document}

\maketitle

\end{document} 

Here is the output:

enter image description here

luchonacho
  • 4,161

1 Answers1

5

This would do:

\documentclass[12pt,a4paper]{article}

\begin{document}

    \begin{titlepage}
    \centering
    \vspace*{\fill}

    \vspace*{0.5cm}

    \huge\bfseries
    Geometry of manifolds and differential forms

    \vspace*{0.5cm}

    \large Obi Wan Kenobi

    \vspace*{\fill}
    \end{titlepage}

\end{document} 
luchonacho
  • 4,161
  • There is no huge environment. Please correct that. – Johannes_B Aug 16 '16 at 09:45
  • That is strange. It does work for me. It increases size. It actually comes from autocompletion (using TexStudio). Are you sure? – luchonacho Aug 16 '16 at 09:48
  • Yes, i am sure. And i know it works. But it should not be used. – Johannes_B Aug 16 '16 at 09:49
  • So by saying "it does not exist" you mean "it exist but it should not be used"? Why is that? Any reference? – luchonacho Aug 16 '16 at 09:50
  • Come to our chat room and ask David Carlisle. He can answer the question. I have to go now, see you. :-) – Johannes_B Aug 16 '16 at 09:56
  • 1
    @luchonacho it is a macro misuse, the main problem here is that text \begin{huge}text\end{huge} is more or less the same as text{\huge text} thus the line spacing after \} is used for the entire paragraph, ignoring the huge line spacing inside. You'll need to either add \par or blank lines for it to look correctly. Using say \begin{bfseries}...\end{bfseries} is also macro misuse as an environment, but it effect is not tied with \par so will work ok. – daleif Aug 16 '16 at 09:57
  • I added it manually. See answer. Choose the amount of space and the type and size of the fonts you want. Notice I added space before and after the title, so the centering is not lost. – luchonacho Aug 16 '16 at 15:23
  • 2
    \author only stores the data, does not print anything. As you are writing you title manually, you'll also want to add your authors manually. Otherwise switch to \title{...} \author{...} \maketitle – daleif Aug 16 '16 at 15:24