Text FormattingMissing copyright on its own page

Information and discussion about LaTeX's general text formatting features (e.g. bold, italic, enumerations, ...)
Post Reply
Singularity
Posts: 156
Joined: Sat Jan 22, 2011 9:55 pm

Missing copyright on its own page

Post by Singularity »

How do I get the copyright statement on its own page, no page number, title, or anything else on it? (Bonus if it can be moved down the page, but that is of considerably less import). I can only get it to work if use \maketitle (why?).

This first MWE works correctly. That is, it prints the copyright page as a separate page. But it has the wrong title page.

Code: Select all

\documentclass[12pt,fleqn,oneside]{article}
\usepackage{datetime}
\usepackage{setspace}
\usepackage[top=1.0in, bottom=1.0in, left=1.5in, right=1.0in]{geometry}

\newdateformat{mydate}{\monthname[\THEMONTH] \THEYEAR}
\title{FPU LATTICES IN MULTIDIMENSIONS}
\author{Jeffrey A Schwarz}
\date{\mydate\today}

\begin{document}

\begin{titlepage}
\maketitle
\thispagestyle{empty}
\end{titlepage}

%\null
\thispagestyle{empty}
\vfill
\date{\copyright\ \the\year\ Jeffrey A Schwarz. All Rights Reserved.} 

\end{document}
But it seems I must use \maketitle in order to get the copyright. Because this MWE (the same, but with the titlepage commented out) does not print anything.

Code: Select all

\documentclass[12pt,fleqn,oneside]{article}
\usepackage{datetime}
\usepackage{setspace}
\usepackage[top=1.0in, bottom=1.0in, left=1.5in, right=1.0in]{geometry}

\newdateformat{mydate}{\monthname[\THEMONTH] \THEYEAR}
\title{FPU LATTICES IN MULTIDIMENSIONS}
\author{Jeffrey A Schwarz}
\date{\mydate\today}

\begin{document}

This is where the title page was.

%\null
\thispagestyle{empty}
\vfill
\date{\copyright\ \the\year\ Jeffrey A Schwarz. All Rights Reserved.} 

Where's the copyright statement?

\end{document}

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

Missing copyright on its own page

Post by Johannes_B »

Sorry to say that, but you are using this completely wrong.


With the commands title, author and date you are assigning the internal macros the respective values. Those are reused when you use \maketitle, which is a fixed thing defined by the document class.


I guess what you want to do is define a titlepage of your own. You can read more about this at How to customize a titlepage.

Since it seems this is a quite long document, i switched to report.

Code: Select all

\documentclass[12pt,fleqn,oneside]{report}
\usepackage{datetime}
\usepackage{setspace}
\usepackage[top=1.0in, bottom=1.0in, left=1.5in,
right=1.0in]{geometry}

\newdateformat{mydate}{\monthname[\THEMONTH] \THEYEAR}

\begin{document}
\begin{titlepage}
	\begin{center}
		\vspace{2cm}
		{\Huge\MakeUppercase reciprocal Latices\par}
		{\Large Jeffrey\par}
	\end{center}
\end{titlepage}
\begin{titlepage}
	~\vfill\copyright\ \the\year\
	Jeffrey A Schwarz.  All Rights Reserved.
\end{titlepage}
\end{document}
Which pagenumber does this page have?
Please be very careful with the titlepage environment. Leslie once introduced a bug, that is still with the current version for compatibility reasons.
KOMA-classes behave in a different way.
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Singularity
Posts: 156
Joined: Sat Jan 22, 2011 9:55 pm

Missing copyright on its own page

Post by Singularity »

Thanks very much. Does this solution require documentclass{report} or can I switch back to article? Report class has changed my section numbering.

When I tried to use article, I got 4 errors saying "Something's wrong--perhaps a missing \item".

Also, report class has made my Table of Contents all part of the List of Tables (see pic).

Here is how I have those things programmed:

Code: Select all

\input{sigPage.tex}
\input{titlePage.tex}
\input{copyrightPage.tex}
\input{acknowledgements.tex}

\tableofcontents

\begingroup
\listoffigures
\let\clearpage\relax
\listoftables
\endgroup

% TEMPORARY: Sets paragraphs to no indending and skip a line.
%\setlength{\parindent}{0pt}
%\setlength{\parskip}{\baselineskip}

\doublespacing
\newpage
\section{Background}
Edit: Actually, the errors seem to have gone away by themselves when I recompiled (that's strange -- but fine with me)
Attachments
Capture.PNG
Capture.PNG (78.61 KiB) Viewed 4244 times
User avatar
Johannes_B
Site Moderator
Posts: 4182
Joined: Thu Nov 01, 2012 4:08 pm

Missing copyright on its own page

Post by Johannes_B »

Sometimes an error is stuck in a helper file and gets overwritten. Nothing spooky about that, it is just how LaTeX works :-)


Report classes know chapters, which articles don't. Chapters always start on a new page. If in twoside-mode, you can choose if a chapter should start on an odd page, and even page or can start onany page. Right now, sections are still the highest sectioning command you are using, by default, they get numbered with the chapter number in front. Since you never used a chapter, the counter wasn't advanced. That is why you see the zeros.
Reports also count the figures, tables and co. per chapter. So the result will be a bit similar to the sections.

Concerning the toc: By default, neither the listofs nor the toc are mentioned in the toc. Package tocbibind changes that. With the optional argument nottoc you can prevent the toc from appearing in the toc (which should be the default, imho).
The smart way: Calm down and take a deep breath, read posts and provided links attentively, try to understand and ask if necessary.
Singularity
Posts: 156
Joined: Sat Jan 22, 2011 9:55 pm

Missing copyright on its own page

Post by Singularity »

Thanks for your last reply. But since it worked with article class, I just left it. For the reason you described, you have to compile it a second time when converting from report class to article.
Post Reply