Hi all,
I'm trying to make the date appear at the top of my paper using the "article (paper)" document class. It appears fine with other classes (for example "article") but it simply disappears when I generate a PDF with "article (paper)." I'm just using a Date section after the Author section and put a date in there. Any ideas on what to do? Thanks!
LyX ⇒ No date appears with 'article (paper)' document class
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
Re: No date appears with 'article (paper)' document class
I am not a LyX user. In order to help we (at least i) need more information.
Please prepare a very minimal example (nearly empty document with a sample sentence and maybe the date) and export it to latex. This shows the underlying class.
Please prepare a very minimal example (nearly empty document with a sample sentence and maybe the date) and export it to latex. This shows the underlying class.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: No date appears with 'article (paper)' document class
Thanks for the reply! I've attached two latex files that illustrate my issue (one gives a PDF with a date, the other does not).
- Attachments
-
- date_example.tex
- Shows date
- (492 Bytes) Downloaded 472 times
-
- no_date_example.tex
- Does not show date
- (490 Bytes) Downloaded 439 times
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
No date appears with 'article (paper)' document class
The paper class does not define a datefield for the standard title. Using the global obtion
Maybe a KOMA-script class (article (KOMA)) would be an alternative for you.
titlepage
, you get a complete titlepage containing the date.Maybe a KOMA-script class (article (KOMA)) would be an alternative for you.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Re: No date appears with 'article (paper)' document class
Hmmm, unfortunately neither option is exactly what I'd like (for example the KOMA class does not label the Abstract as "Abstract", which the paper class does). I'd really prefer to just add a date to the paper class. Is there a way to do this, perhaps editing a configuration file a little bit? Sorry to be so picky.
- Johannes_B
- Site Moderator
- Posts: 4182
- Joined: Thu Nov 01, 2012 4:08 pm
No date appears with 'article (paper)' document class
Hi, the KOMA-classes are very customizable and much much more powerful that the paper class. You can read the
koma-script documentation for more details. With LyX, some aspects of the underlying LaTeX are hidden.
Cosider the following:
You can get a date to the paper class by patching or redefining the

Cosider the following:
Code: Select all
\documentclass{scrartcl}
\KOMAoptions{abstract=true}
\usepackage[english]{babel}
\usepackage{blindtext}
\author{lasindi}
\title{just a small sample}
\begin{document}
\maketitle
\begin{abstract}
Hello, it's me. \blindtext
\end{abstract}
\Blinddocument
\end{document}
\maketitle[/url] command. But that's somehow an advanced thing.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.