I'm using the memoir class. I am using the "article" option under
chapterstyle, but the title of my paper is still being printed on a
separate page, with a blank page inserted before the text of the
paper. I would like no break after the title. That is, I want the
title and the text to be all on the same page (as in an article).
Please help.
E
how are you typesetting your titlepage?
--
/daleif (remove RTFSIGNATURE from email address)
LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Remember to post minimal examples, see URL below
http://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxampl
http://www.minimalbeispiel.de/mini-en.html
\documentclass[11pt]{memoir}
%packages, etc
% Title flush left
\pretitle{\flushleft\Large}
\posttitle{\par\vskip 0.5em}
\preauthor{\flushleft \normalsize \lineskip 1em}
\postauthor{\par\lineskip 1em}
\predate{\flushleft\footnotesize\vspace{0.65em}}
\postdate{\par\vskip 2em}
\title{title}
\author{my name}
%etc
\begindocument
\maketitle
\chapter{information}
text text text
\documentclass[11pt]{memoir}
\chapterstyle{article}
%packages, etc
> > Remember to post minimal examples, see URL belowhttp://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxamplhttp://www.min...
how about
\maketitle
\newpage
--
/daleif (remove RTFSIGNATURE from email address)
LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
I would like the title on the same page as the text. Is there an
option for this in the chapterstyle declaration?
E
my mistake
by default \chapter always starts a new page unless you are using the
article class option (which emplies the article chapterstyle)
\documentclass[a4paper]{memoir}
\chapterstyle{article}
\begin{document}
\author{test}
\title{test}
\maketitle
\begingroup % local change
\let\clearforchapter\relax
\chapter{test}
\endgroup
dsf
\end{document}
> On Feb 4, 10:10 am, Lars Madsen <dal...@RTFSIGNATUREimf.au.dk> wrote:
>> Synvox wrote:
>>> I forgot to add that I have declared the chapterstyle:
>>> \documentclass[11pt]{memoir}
>>> \chapterstyle{article}
>>> %packages, etc
>> how about
>>
>> \maketitle
>>
>> \newpage
>>
>> --
>>
>> /daleif (remove RTFSIGNATURE from email address)
>>
>> LaTeX FAQ: http://www.tex.ac.uk/faq
>> LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
>> Remember to post minimal examples, see URL belowhttp://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxamplhttp://www.minimalbeispiel.de/mini-en.html
>
--
/daleif (remove RTFSIGNATURE from email address)
LaTeX FAQ: http://www.tex.ac.uk/faq
LaTeX book: http://www.imf.au.dk/system/latex/bog/ (in Danish)
Thank you.
E
> >> Remember to post minimal examples, see URL belowhttp://www.tex.ac.uk/cgi-bin/texfaq2html?label=minxamplhttp://www.min...
Humn! The scheme I've been using is the following:
\documentclass[a4paper,article]{memoir}
\setlength{\droptitle}{-\headheight}
\addtolength{\droptitle}{-\headsep}
\renewcommand{\maketitlehooka}{\vspace*{-2em}} % undo hard wire
\begin{document}
\author{test}
\title{test}
\maketitle
% Uncomment the line below to get a table of contents with no
% empty pages separating it from the title and the text.
%
%\tableofcontents*
\chapter{test}
dnw
\end{document}
It doesn't require a "local change" after \begin{document},
which suits my prejudice.
But I remember struggling to figure out the three changes for
the title environment in the preamble, all of which are needed.
I had hoped there might be a simpler option to do the same
thing, but never found one. Maybe in the most recent memoir?
I'm still using the version in Tex Live 2007.
-- David
as I mentioned, it is the 'article' option to memoir that does this, the
OP did not use this option.
Sorry I wasn't clear. The three lines above have the additional
effect of moving the title to the top, nearly aligned with
subsequent pages of the body of the document.
By the way, the effects of
---------
\documentclass[a4paper]{memoir}
\chapterstyle{article}
\begin{document}
\author{test}
\title{test}
\maketitle
\begingroup % local change
\let\clearforchapter\relax
\chapter{test}
\endgroup
dsf
\end{document}
---------
and
---------
\documentclass[a4paper,article]{memoir}
%\chapterstyle{article}
\begin{document}
\author{test}
\title{test}
\maketitle
\begingroup % local change
\let\clearforchapter\relax
\chapter{test}
\endgroup
dsf
\end{document}
---------
are not identical on my system. The latter version reduces the
vertical space between the title and the author.
I also just noticed that the \begingroup...\endgroup has the
effect of indenting the first paragraph, which may or may not
be wanted...
-- David
the article class option hooks into the maketitle command
\ifartopt
\chapterstyle{article}
\counterwithout{figure}{chapter}
\counterwithout{table}{chapter}
\counterwithout{footnote}{chapter}
\counterwithout{equation}{chapter}
\renewcommand{\chaptername}{}
\renewcommand{\maketitlehookb}{%
\vskip -1.5\topsep\vskip -1.5\partopsep}
\renewcommand{\maketitlehookc}{%
\vskip -1.5\topsep\vskip -1.5\partopsep}
\fi
> I also just noticed that the \begingroup...\endgroup has the
> effect of indenting the first paragraph, which may or may not
> be wanted...
>
my mistake
the only thing \chearforchapter does is to change the page, so locally I
just make it not do that.
A better method might be
\def\clearforchapter{}
\chapter{test}
\def\clearforchapter{\cleartorecto}
text