General ⇒ Specify a certain Date
Specify a certain Date
Hi there, this is my first post.
I've been using LaTeX for two days now, that meaning that I'm as noob as one can be. I use MiKTeX with TeXworks and I've a question.
Whenever I try \date{whateverdateifeellikewriting}, it doesn't work. It seems like the date updates from my system and I'd like to change it myself. Does anyone know how to do it and care to tell me?
thx, stadd.
I've been using LaTeX for two days now, that meaning that I'm as noob as one can be. I use MiKTeX with TeXworks and I've a question.
Whenever I try \date{whateverdateifeellikewriting}, it doesn't work. It seems like the date updates from my system and I'd like to change it myself. Does anyone know how to do it and care to tell me?
thx, stadd.
NEW: TikZ book now 40% off at Amazon.com for a short time.

-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Specify a certain Date
Please post a minimal working example (MWE): a full document showing the issue. Your approach should usually work.
Joseph Wright
Specify a certain Date
Code: Select all
\documentclass{article}
\usepackage[utf8]{inputenc}
\usepackage[portuguese]{babel}
\usepackage[T1]{fontenc}
\usepackage{lmodern}
\usepackage{amsmath}
\usepackage{amssymb}
\usepackage{graphicx}
\title{Apontamentos Introdução à Fisica Moderna - Física quântica}
\author{staddum}
\begin{document}
\maketitle
\date{01 december}
\newpage
Last edited by Stefan Kottwitz on Tue Dec 13, 2011 2:49 pm, edited 1 time in total.
- Stefan Kottwitz
- Site Admin
- Posts: 10345
- Joined: Mon Mar 10, 2008 9:44 pm
Specify a certain Date
Hi staddum,
welcome to the board!
Just call \date before \maketitle instead of after it.
Btw. a minimal code example should be compilable (here's \end{document} missing), further the forum has a code environment for posting code, for better readability. Just mark your code and press the Code button when editing.
Stefan
welcome to the board!
Just call \date before \maketitle instead of after it.
Btw. a minimal code example should be compilable (here's \end{document} missing), further the forum has a code environment for posting code, for better readability. Just mark your code and press the Code button when editing.
Stefan
LaTeX.org admin
Specify a certain Date
Hi Stefan, thanks.Stefan_K wrote:Hi staddum,
welcome to the board!
Just call \date before \maketitle instead of after it.
Btw. a minimal code example should be compilable (here's \end{document} missing), further the forum has a code environment for posting code, for better readability. Just mark your code and press the Code button when editing.
Stefan
Doing \date before \maketitle actually worked. Such a simple solution. Thanks for the tips also
Specify a certain Date
Just registered to report \date{04 december} doesn't produce any output at all
Code: Select all
\documentclass[a4paper,12pt]{article}
\usepackage[L7x]{fontenc}
\usepackage[utf8]{inputenc}
\begin{document}
Where's my date? \date{05 december}
\end{document}
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
Specify a certain Date
Welcome holms.
That is correct and to be expected. As has been pointed out above, you need to outut the title stuff using
That is correct and to be expected. As has been pointed out above, you need to outut the title stuff using
\maketitle
later.
Code: Select all
\documentclass[a4paper,12pt]{article}
\usepackage[L7x]{fontenc}
\usepackage[utf8]{inputenc}
\begin{document}
\date{05 december}
\title{Wally Wombat's adventures}
\author{That would be me}
\maketitle
Where's my date?
\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.