GeneralThe word 'immediate' appeared below title

LaTeX specific issues not fitting into one of the other forums of this category.
Post Reply
Hami
Posts: 2
Joined: Tue Sep 09, 2014 9:07 am

The word 'immediate' appeared below title

Post by Hami »

Why is there the word immediate after my title after I run with the command \maketitle? Without it the word does not appear. How do I get rid of this? Below are the codes I used in my document. Thanks!

Code: Select all

\documentclass[12pt]{article}
\usepackage[margin=1in]{geometry}
\usepackage{graphicx}
\usepackage{bm}
\usepackage{amssymb}
\usepackage{amsmath}
\usepackage[affil-it]{authblk}
\usepackage{setspace}
\usepackage[T1]{fontenc}
\usepackage{amsmath}
\usepackage{mathtools}
\usepackage{authblk}
\usepackage{gensymb}
\usepackage{caption} 
\captionsetup[table]{skip=10pt} 

\title{Progress Report (Six Months)}

\begin{document}
\maketitle

\end{document}
Attachments
A screenshot of my document
A screenshot of my document
Screenshot 2014-09-09 15.05.23.png (55.82 KiB) Viewed 10814 times

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

The word 'immediate' appeared below title

Post by Johannes_B »

The \maketitle command expects an author, if none is given a warning appears and the box is left empty. Strangely, when using package authblk the author-field gets the replacement of immediate.

Code: Select all

\documentclass{article}
\usepackage{authblk}
\title{the title}
%\author{no author given}
\begin{document}
\maketitle
\end{document}}
You might want to use the titlepage-environment without using maketitle.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Hami
Posts: 2
Joined: Tue Sep 09, 2014 9:07 am

Re: The word 'immediate' appeared below title

Post by Hami »

Ah! Silly me! Thanks Johannes_B.
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

The word 'immediate' appeared below title

Post by Johannes_B »

Here an alternativ using titlepage to give you a basic idea.

Code: Select all

\documentclass{article}
\usepackage{authblk}
\usepackage{booktabs}
\title{the title}
%\author{no author given}
\begin{document}
%\maketitle
\begin{titlepage}
	\setlength{\parindent}{0pt}
	\hbox{}\vspace{2cm}
	\begin{center}\Huge Progress Report\end{center}
	\begin{center}\today\end{center}
	\vfill
	\begin{tabular}{l}
	STUDENT\\ \midrule	
	Hamid\\
	PhD\\\addlinespace
	TITLE OF RESEARCH\\\midrule
	Pidgeons and their love for statues\\
\end{tabular}
\end{titlepage}
\end{document}
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
User avatar
Stefan Kottwitz
Site Admin
Posts: 10345
Joined: Mon Mar 10, 2008 9:44 pm

The word 'immediate' appeared below title

Post by Stefan Kottwitz »

Hi Hami,

welcome to the forum!

I'm curious, is it a requirement to write those section headings like "STUDENT DETAIL" and "ENROLMENT DETAIL" completely in capital letters and underline them? It just reminds me on the time of typewriter machines, when we did not have other possibilities of emphasizing than writing all caps and underlining. Today we could make the letters bold (or italic) or have a bigger font size. Also, small caps (such as by \textsc{...}) would be better than all caps, or a bit spaced out. Just thoughts on it.

Best regards,

Stefan
LaTeX.org admin
Post Reply