General ⇒ Memoir titlepage errors
Memoir titlepage errors
I'm hoping you guys can help me, as I haven't found any topics about this while searching these forums.
I'm working on a project, and as I'm really new to LaTeX, I'm wanting to use one of the examples of a title page from Wilson 2010: Some Examples of Title Pages (http://mirrors.dotsrc.org/ctan/info/lat ... epages.pdf)
I've copied it exactly as he's written it, but I get 6 errors, and I don't know how to fix them, so I'm hoping you might. I'm attaching the LaTeX file and the log with the error notes.
Thanks
Mitzu
- Attachments
-
- titlepage2 logfil.log
- Log file
- (2.22 KiB) Downloaded 274 times
-
- titlepage2.tex
- LaTeX doc
- (804 Bytes) Downloaded 321 times
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
Memoir titlepage errors
the problem comes from the \drop length that it's being used but hasn't been created. A simple \newlength\drop line will fix the errors; on the other hand I modified a little your \newcommand declaration of the titlepage to make it a real command in the reamble that can then be used in the document body (see my code below); I also suppressed some space that was causing an overfull vertical box:
Code: Select all
\documentclass[a4paper,article,oneside]{memoir}
\usepackage[danish]{babel}
\usepackage[latin1]{inputenc}
\usepackage[T1]{fontenc}
\newlength\drop
\newcommand*{\titleGM}{\begingroup
\drop = 0.1 \textheight
\vspace*{\baselineskip}
\vfill
\hbox{%
\hspace*{0.2\textwidth}%
\rule{1pt}{.9\textheight}
\hspace*{0.05\textwidth}%
\parbox[b]{0.75\textwidth}{
\vbox{%
\vspace{\drop}
{\noindent\HUGE\bfseries MM502\\[0.5\baselineskip]
Projekt}\\[2\baselineskip]
{\Large\itshape 3.kvartal 2011}\\[4\baselineskip]
{\Large Mette Stig, S3 \\ 011288} \\ \par
\vspace{0.5\textheight}
{\noindent Institut for Matematik og Datalogi \\ Syddansk Universitet, Odense}
}% end of vbox
}% end of parbox
}% end of hbox
\vfill
\null
\endgroup}
\pagestyle{plain}
\begin{document}
\titleGM
\end{document}
Re: Memoir titlepage errors
