[texhax] Wilson's Title PM Won't Compile
Alessandro Ceschini
alescesc1986 at yahoo.it
Fri Feb 28 19:11:45 CET 2014
Le 27/02/2014 10:19, Lars Madsen a écrit :
> First of all titlepages are build for the memoir class you in order to use it with book (I tend to preper memoir as it is more flexible), then there are a few differences.
> As for \titlePM, all the stuff needed is already in titlepages.tex (I downloaded it from http://mirrors.ctan.org/info/latex-samples/TitlePages/titlepages.tex, it compiles fine, and does not have the problems mentioned earlier in this thread, as far as I can see)
>
> This leaves \HUGE, this is a memoir specific command that is not supported by book.
>
> This compiles just fine for me
>
> \documentclass[a4paper]{book}
>
> \newlength{\tpheight}\setlength{\tpheight}{0.9\textheight}
> \newlength{\txtheight}\setlength{\txtheight}{0.9\tpheight}
> \newlength{\tpwidth}\setlength{\tpwidth}{0.9\textwidth}
> \newlength{\txtwidth}\setlength{\txtwidth}{0.9\tpwidth}
> \newlength{\drop}
>
> \usepackage[svgnames]{xcolor}
>
> %%% for the Web-O-Mints fonts
> \newcommand*{\wb}[2]{\fontsize{#1}{#2}\usefont{U}{webo}{xl}{n}}
>
>
> \definecolor{Dark}{gray}{.2}
> \definecolor{MedDark}{gray}{.4}
> \definecolor{Medium}{gray}{.6}
> \definecolor{Light}{gray}{.8}
>
> \let\HUGE\Huge
>
> \newcommand*{\titlePM}{\begingroup% Gentle Madness with Printers' Ornaments
> \drop = 0.1\txtheight
> \vspace*{\baselineskip}
> \vfill
> \hbox{%
> \hspace*{0.1\txtwidth}%
> {\wb{18pt}{18pt}
> \begin{picture}(0,0)
> \multiput(0,0)(0,20){22}{\textcolor{Medium}{Q}}
> \end{picture}
> }
> % \rule{1pt}{\txtheight}
> \hspace*{0.15\txtwidth}%
> \parbox[b]{0.75\txtwidth}{
> \vbox{%
> \vspace{\drop}
> {\noindent\HUGE\bfseries Some\\[0.5\baselineskip] Conundrums}\\[2\baselineskip]
> {\Large\itshape Puzzles for the Mind}\\[4\baselineskip]
> {\Large THE AUTHOR}\par
> \vspace{0.5\txtheight}
> {\noindent The Publisher}\\[\baselineskip]
> }% end of vbox
> }% end of parbox
> }% end of hbox
> \vfill
> \null
> \endgroup}
>
> \begin{document}
>
>
> \titlePM
>
> \end{document}
>
>
>
>
> /Lars Madsen
> Institut for Matematik / Department of Mathematics
> Aarhus Universitet / Aarhus University
> Mere info: http://au.dk/daleif@imf / More information: http://au.dk/en/daleif@imf
>
>
> ________________________________________
> From: Lars Madsen
> Sent: 27 February 2014 10:14
> To: Alessandro Ceschini; William F Hammond
> Cc: texhax at tug.org
> Subject: RE: [texhax] Wilson's Title PM Won't Compile
>
> Since titlepages.tex compiles just fine, why don't you have a look at what you are missing from the preamble in titlepages.tex, for example
>
> \usepackage[svgnames]{xcolor}
>
>
> /Lars Madsen
> Institut for Matematik / Department of Mathematics
> Aarhus Universitet / Aarhus University
> Mere info: http://au.dk/daleif@imf / More information: http://au.dk/en/daleif@imf
>
>
> ________________________________________
> From: texhax [texhax-bounces at tug.org] on behalf of Alessandro Ceschini [alescesc1986 at yahoo.it]
> Sent: 27 February 2014 10:03
> To: William F Hammond
> Cc: texhax at tug.org
> Subject: Re: [texhax] Wilson's Title PM Won't Compile
>
>
Hello Mr. Madsen
Thank you so much for your tip! Things work wonderfully now! Please
understand my limitations, I'm a LaTeX ass so even routine stuff is an
insurmountable obstacle to me!
Regards
--
/Alessandro Ceschini/
More information about the texhax
mailing list