Page LayoutEnvironment Titlepage Undefined

Information and discussion about page layout specific issues (e.g. header and footer lines, page formats, page numbers).
Post Reply
User avatar
Turkurz
Posts: 31
Joined: Fri Jul 23, 2010 6:36 am

Environment Titlepage Undefined

Post by Turkurz »

Hello!

What I wish to do is insert an image (a logo in PDF) on a titlepage. When searching the net, the solution I found was to use the \begin{titlepage} environment, but i get the
Environment Titlepage Undefined
error.

My code is:

Code: Select all

Code, edit and compile here:
\documentclass[a4paper,twoside, openodd, final]{memoir}
\usepackage[english]{babel}
\usepackage[top=2.4cm, bottom=2cm, left=2cm, right=2cm]{geometry} %dimenzije strani
\usepackage{Bookman}
\usepackage{hyperref}
\usepackage{longtable}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{verbatim}
\usepackage{color}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{wrapfig}
\usepackage{fancybox}
\usepackage{framed}
\usepackage{lettrine}
\usepackage{tocloft}
\usepackage{pdfpages}
\usepackage{watermark}
\begin{document}
\begin{titlepage}
%\title{
\fontsize{20mm}{15mm}\selectfont THE LORD OF THE RINGS\\
% }
%\begin{figure}[h!]
\centering
\includegraphics[keepaspectratio=true, width=2cm]{slika.pdf}
%\end{figure}
%\author{
\fontsize{14mm}{15mm}\selectfont by J.R.R. TOLKIEN
% }
%\date{
\fontsize{10mm}{15mm}\selectfont 1955
% }
\end{titlepage}
%\maketitle
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
I use PDF latex. Anyone have any ideas what I'm doing wrong?
Last edited by Turkurz on Tue Sep 07, 2010 7:14 am, edited 1 time in total.

Recommended reading 2024:

LaTeXguide.org • LaTeX-Cookbook.net • TikZ.org

NEW: TikZ book now 40% off at Amazon.com for a short time.

gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Environment Titlepage Undefined

Post by gmedina »

Turkurz wrote:...the solution I found was to use the \begin{titlepage} environment, but i get the
Environment Titlepage Undefined
error.

My code is:

Code: Select all

\documentclass[a4paper,twoside, openodd, final]{memoir}
...
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
...Anyone have any ideas what I'm doing wrong?
Yes. You are using the memoir document class and that class doesn't implement the titlepage environment.

You could use the titlingpage environment instead; refer to menman for further details.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
Turkurz
Posts: 31
Joined: Fri Jul 23, 2010 6:36 am

Environment Titlepage Undefined

Post by Turkurz »

Oh, thanks.

I didn't think memoir would be the problem.
OK, tried your suggestion, and am still stuck. I have managed to include a picture in the title page. But now, I can't configure the fontsize or anything else in there. Therefore, I tried studying the Memoir class, chapter 4: customizing the titles; but there are no examples!!! (which I find unforgivable).

I also found a PDF of a few "examples" on the net: http://sunsite.bilkent.edu.tr/pub/tex/c ... epages.pdf, but there is still no definite full example how to utilize it.

Currently I have:

Code: Select all

Code, edit and compile here:
\documentclass[a4paper,twoside, openodd, final]{memoir}
\usepackage[english]{babel}
\usepackage[top=2.4cm, bottom=2cm, left=2cm, right=2cm]{geometry} %dimenzije strani
\usepackage{Bookman}
\usepackage{hyperref}
\usepackage{longtable}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{verbatim}
\usepackage{color}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{wrapfig}
\usepackage{fancybox}
\usepackage{framed}
\usepackage{lettrine}
\usepackage{tocloft}
\usepackage{pdfpages}
\usepackage{watermark}
\begin{document}
\begin{titlingpage}
\centering
\title{THE LORD OF THE RINGS}
%\thetitle
\includegraphics[keepaspectratio=true, width=2cm]{Tolkien-ORIGINALLOGO.pdf}
\author{J.R.R. TOLKIEN}
\theauthor
\date{first released in: 1955}
\postdate{this PDF compiled in: \today}
\thedate
\thanks{compiled by: hUnTeR}
\end{titlingpage}
%\maketitle
\end{document}
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Would you know, how to achieve the look of the title on page 23 & 39(\titleZD) in http://sunsite.bilkent.edu.tr/pub/tex/c ... epages.pdf? I don't know where to put\titleZD in my code..

thank you, I appreciate it
User avatar
gmedina
Posts: 2313
Joined: Wed Jul 11, 2007 11:45 pm

Environment Titlepage Undefined

Post by gmedina »

That version of the titlepages document is old; the link I just provided takes you to a more recent version.

Copy-paste the code on pages 61 and 62 (of the document I linked to) in the preamble of your document and then use the \titleZD command in the body of your document to generate the title page; of course, you must have the Web-O-mints font installed in your system.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
User avatar
Turkurz
Posts: 31
Joined: Fri Jul 23, 2010 6:36 am

Environment Titlepage Undefined

Post by Turkurz »

I installed that font and tried your suggestions, but it still doesn't work.

Would you please be so kind and edit my code in order that it works, please.

Code: Select all

Code, edit and compile here:
\documentclass[a4paper,twoside, openodd, final]{memoir}
\usepackage[english]{babel}
\usepackage[top=2.4cm, bottom=2cm, left=2cm, right=2cm]{geometry} %dimenzije strani
\usepackage{Bookman}
\usepackage{hyperref}
\usepackage{longtable}
\usepackage{graphicx}
\usepackage{caption}
\usepackage{verbatim}
\usepackage{color}
\usepackage{tabularx}
\usepackage{multirow}
\usepackage{wrapfig}
\usepackage{fancybox}
\usepackage{framed}
\usepackage{lettrine}
\usepackage{tocloft}
\usepackage{pdfpages}
\usepackage{watermark}
\newcommand*{\cdiam}{\prec\kern-2pt\succ}
\newcommand*{\titleZD}{\begingroup% Zuleika Dobson
\vspace*{2\baselineskip}
61
\centering
\begin{picture}(240,0)
\multiput(0,0)(24,0){10}{{\wb{10}{12}4}}
\multiput(-5,-21)(0,-24){15}{\rotatebox{90}{{\wb{10}{12}4}}}
\multiput(0,-360)(24,0){10}{{\wb{10}{12}4}}
\multiput(235,-21)(0,-24){15}{\rotatebox{90}{{\wb{10}{12}4}}}
\put(0,0){%
\begin{minipage}[t]{240pt}
\centering
\vspace*{2\baselineskip}
{\Huge Selected Conundrums}\\
{\large\itshape --- puzzles for the mind ---}%
\\[0.5\baselineskip]
{\large WITH ILLUSTRATIONS BY} \\[0.5\baselineskip]
{\large THE AUTHOR } \\[0.5\baselineskip]
{\LARGE T. H. E. AUTHOR} \par
\vspace*{5\baselineskip}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Environment Titlepage Undefined

Post by localghost »

First of all you should make sure that the example you provide is compilable without any error. Yours is not due to a typo in the name of the bookman package. The next point is that you have to learn how to build a minimal example. Most of the packages you are loading are completely useless to demonstrate the problem. Finally you should abstain from phrases like »doesn't work« because they are not helpful. Instead you should echo error messages from the log file exactly or upload this file as attachment to the forum server.

The sample below works for me in general but obviously needs some accommodations on the title page to obtain a nicer output corresponding to the page layout.

Code: Select all

Code, edit and compile here:
\documentclass[a4paper,twoside,openright]{memoir}
\usepackage[T1]{fontenc}
\usepackage[utf8]{inputenc}
\usepackage[english]{babel}
\usepackage{bookman}
\usepackage{graphicx}
\usepackage{blindtext}
\settrimmedsize{297mm}{210mm}{*}
\setlength{\trimtop}{0pt}
\setlength{\trimedge}{\stockwidth}
\addtolength{\trimedge}{-\paperwidth}
\settypeblocksize{634pt}{448.13pt}{*}
\setulmargins{4cm}{*}{*}
\setlrmargins{*}{*}{1.5}
\setmarginnotes{17pt}{51pt}{\onelineskip}
\setheadfoot{\onelineskip}{2\onelineskip}
\setheaderspaces{*}{2\onelineskip}{*}
\checkandfixthelayout
\providecommand*{\wb}[2]{\fontsize{#1}{#2}\usefont{U}{webo}{xl}{n}}
\newcommand*{\cdiam}{\prec\kern-2pt\succ}
\begin{document}
\begin{titlingpage}
\vspace*{2\baselineskip}
\centering
\begin{picture}(240,0)
\multiput(0,0)(24,0){10}{{\wb{10}{12}4}}
\multiput(-5,-21)(0,-24){15}{\rotatebox{90}{{\wb{10}{12}4}}}
\multiput(0,-360)(24,0){10}{{\wb{10}{12}4}}
\multiput(235,-21)(0,-24){15}{\rotatebox{90}{{\wb{10}{12}4}}}
\put(0,0){%
\begin{minipage}[t]{240pt}
\centering
\vspace*{2\baselineskip}
{\Huge Selected Conundrums}\\
{\large\itshape --- puzzles for the mind ---}%
\\[0.5\baselineskip]
{\large WITH ILLUSTRATIONS BY} \\[0.5\baselineskip]
{\large THE AUTHOR } \\[0.5\baselineskip]
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Note that there is not \titleZD command defined. Instead I simply put its content into the titlingpage environment of the memoir class. For the page layout I recommend to read the relevant sections of the class manual. The blindtext package is only needed to create some dummy text.


Thorsten
User avatar
Turkurz
Posts: 31
Joined: Fri Jul 23, 2010 6:36 am

Environment Titlepage Undefined

Post by Turkurz »

I wasn't aware that "Bookman" was a typo, sorry. However, I had no problems with compiling the document with bookman in capital B. Perhaps tha's why I didn't notice it.

About the minimal working example: I specifically wanted to include all packages that I'm currently using, because a solution is useless to me, if I can't include it in my current document where I need all those packages. If I receive a solution that has conflicts with the packages I am currently using, what good is it then?

I am sorry I didn't post more specific errors I got, but I didn't post them because I wasn't even sure where to put the code. And I also tried several combinations of placing the code in different places and trying the "\titleZD" here and there. Each time I got an error and I thought it would be no good to post all of them. Quite frankly, I didn't really know what I was doing, because I am not an expert at LaTeX. That's why I asked for a simple example, one which I don't really have to understand in detail but just good enough to make little changes and customize it according to my document.

Anyway, thank you for your solution. However, I would also like to point out, that to me, it seems there is a lot of unnecessary stuff in there. I deleted several things and it still works. Currently I have:

Code: Select all

Code, edit and compile here:
\documentclass[a4paper,twoside,openright]{memoir}
\usepackage[english]{babel}
\usepackage{bookman}
\usepackage{graphicx}
\usepackage[top=2.4cm, bottom=2cm, left=2cm, right=2cm]{geometry}
\providecommand*{\wb}[2]{\fontsize{#1}{#2}\usefont{U}{webo}{xl}{n}}
\newcommand*{\cdiam}{\prec\kern-2pt\succ}
\begin{document}
\begin{titlingpage}
\vspace*{2\baselineskip}
\centering
\begin{picture}(240,0)
\multiput(0,0)(24,0){10}{{\wb{10}{12}4}}
\multiput(-5,-21)(0,-24){15}{\rotatebox{90}{{\wb{10}{12}4}}}
\multiput(0,-360)(24,0){10}{{\wb{10}{12}4}}
\multiput(235,-21)(0,-24){15}{\rotatebox{90}{{\wb{10}{12}4}}}
\put(0,0)
{\begin{minipage}[t]{240pt}
\centering
\vspace*{2\baselineskip}
{\Huge Selected Conundrums}\\
{\large\itshape --- puzzles for the mind ---}%
\\[0.5\baselineskip]
{\large WITH ILLUSTRATIONS BY} \\[0.5\baselineskip]
{\large THE AUTHOR } \\[0.5\baselineskip]
{\LARGE T. H. E. AUTHOR} \par
\vspace*{5\baselineskip}
$\cdiam$\\[0.25\baselineskip]
$\cdiam\cdiam\cdiam$\\[0.25\baselineskip]
$\cdiam\cdiam\cdiam\cdiam\cdiam$\\[0.25\baselineskip]
$\cdiam\cdiam\cdiam$\\[0.25\baselineskip]
$\cdiam$\par
\vspace*{5\baselineskip}
{\Large THE PUBLISHER}\\
{\Large\scshape year}\par
\vspace*{2\baselineskip}
\end{minipage}
}
\end{picture}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
It would be nice to get only the solution that I need, without extra stuff that doesn't matter. No disrespect intended, I still am very thankful you took your time to help me.

Also, I am having trouble finding out how to customize the code in order for the outer "box" or "decorative border" to appear larger, perhaps x centimeters from left page border, y from right, v from bottom and w from top, where I can select x,y,v,w.


P.S.
I would also like to stress, as a beginner and a user of LaTeX, that if this site wishes to be even more helpful, it would be necessary to post as much code and examples as possible. I find it very hard to find examples, even in the manuals and documentation. And I don't really want to get a PHD in LaTeX in order to create a simple fancy document.

In other words, to be more user friendly, more examples should be posted. I think really a lot of people are put off and refuse to work with LaTeX and chose rather Word precisely because there is a terrible lack of examples.
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Environment Titlepage Undefined

Post by localghost »

Turkurz wrote:[…] About the minimal working example: I specifically wanted to include all packages that I'm currently using, because a solution is useless to me, if I can't include it in my current document where I need all those packages. If I receive a solution that has conflicts with the packages I am currently using, what good is it then? […]
I don't remember a single case where a solution conflicted in such a way with an actual document that it couldn't be repaired. If this would have been the case here you always could have asked further questions. Nobody would be angry about that. And in general you should be aware of what a package is doing in order not to load packages that you don't need. And with this knowledge you will know which package you can drop when posting a problem. The problem you presented here concerned the title page of a specific document class. So it is very unlikely that an additional package causes this problem.
Turkurz wrote:[…] I am sorry I didn't post more specific errors I got, but I didn't post them because I wasn't even sure where to put the code. And I also tried several combinations of placing the code in different places and trying the "\titleZD" here and there. Each time I got an error and I thought it would be no good to post all of them. Quite frankly, I didn't really know what I was doing, because I am not an expert at LaTeX. That's why I asked for a simple example, one which I don't really have to understand in detail but just good enough to make little changes and customize it according to my document. […]
As already mentioned, complete log files can be uploaded as attachment to the forum server.
Turkurz wrote:[…] Anyway, thank you for your solution. However, I would also like to point out, that to me, it seems there is a lot of unnecessary stuff in there. I deleted several things and it still works. […] It would be nice to get only the solution that I need, without extra stuff that doesn't matter. No disrespect intended, I still am very thankful you took your time to help me. […]
Just to make sure that I understand you right. You claim to insert stuff that is not relevant to a problem into your examples but others shall provide solutions that are reduced to the essentials? I guess one of us has not understood the principle of a minimal working example (MWE). I must admit that my example is also not minimal, but the commands for page setup where only meant to be a »special service«. I will do my best not to repeat that.

In my sample I just used stuff that is provided by the memoir class to set up the page dimensions as suggested in the manual. In my opinion that's the preferable way in this case.
Turkurz wrote:[…] Also, I am having trouble finding out how to customize the code in order for the outer "box" or "decorative border" to appear larger, perhaps x centimeters from left page border, y from right, v from bottom and w from top, where I can select x,y,v,w. […]
I suggest that you fiddle a bit with the width of the minipage environment and modify some coordinates of the \multiput command in the picture environment.
Turkurz wrote:[…] I would also like to stress, as a beginner and a user of LaTeX, that if this site wishes to be even more helpful, it would be necessary to post as much code and examples as possible. I find it very hard to find examples, even in the manuals and documentation. And I don't really want to get a PHD in LaTeX in order to create a simple fancy document.

In other words, to be more user friendly, more examples should be posted. I think really a lot of people are put off and refuse to work with LaTeX and chose rather Word precisely because there is a terrible lack of examples.
You should take into account that those members who give help do not always have the time to work out complete examples. The detailedness of a solution mostly depends on what's provided in the problem description. It is always easier to supplement a given sample than working out a complete solution. And its better for testing possible solutions. You can't expect that a complete solution is always presented to you on a silver platter. Furthermore this would be counterproductive because there would be no learning effect. And by the way I think that the forum has a lot of examples in its archive. Maybe not enough, but still a lot. And you are free to provide complete solutions whenever you got them. And now we have one more concerning the title page.

Beginners in LaTeX are not left alone. There are a lot of documents which help to get to grip with LaTeX. Many of them are listed here [1]. To handle this system there is nothing more necessary than reading a manual every once in a while. By the way I'm the opinion that acquiring a book about LaTeX basics can't do any harm. A very good investment. I started this way.

People who think that they are better with text processors like W0rd shall stay with them. But they should be aware of the fact the documents will mostly appear ugly. And these kinds of programs are anything but self-explanatory. In case of problems you will have to refer at least to the help function and read the documentation. (La)TeX is unsurpassed in beautiful typesetting especially when it comes to mathematical stuff. But always remember: »No pain, no gain«. And from my point of view the pain with a word processor is much more than the gain.

[1] View topic: LaTeX Resources for Beginners
User avatar
Turkurz
Posts: 31
Joined: Fri Jul 23, 2010 6:36 am

Environment Titlepage Undefined

Post by Turkurz »

Turkurz wrote:[…] Anyway, thank you for your solution. However, I would also like to point out, that to me, it seems there is a lot of unnecessary stuff in there. I deleted several things and it still works. […] It would be nice to get only the solution that I need, without extra stuff that doesn't matter. No disrespect intended, I still am very thankful you took your time to help me.
Just to make sure that I understand you right. You claim to insert stuff that is not relevant to a problem into your examples but others shall provide solutions that are reduced to the essentials? I guess one of us has not understood the principle of a minimal working example (MWE).
All the text that I inserted in my MWE was important, because when one uses so many packages, it is dangerous that adding an additional package would cause clashes. As far as the solution goes, it is desired that I receive only the stuff that I need. However, the more options available the better. By that I mean the various parameters and fancy stuff, involved in my problem, and not unrelated stuff, such as \vspace and flushright etc.
I must admit that my example is also not minimal, but the commands for page setup where only meant to be a »special service«. I will do my best not to repeat that.
And I appreciate your additional good willed help. The only thing about it is that I find it harder to find out what I really need in the text provided. Actually a far better "special service" would be to provide as comments % some information about what is going on, in order to modify the code easier. For example like this:

Code: Select all

Code, edit and compile here:
\documentclass[a4paper,twoside,openright]{memoir}
\usepackage[english]{babel}
\usepackage{bookman}
\usepackage{graphicx}
\usepackage[top=2.4cm, bottom=2cm, left=2cm, right=2cm]{geometry}
\providecommand*{\wb}[2]{\fontsize{#1}{#2}\usefont{U}{webo}{xl}{n}}
\newcommand*{\cdiam}{\prec\kern-2pt\succ}
\begin{document}
\begin{titlingpage}
\centering
%\begin{picture}(width,height)(x-offset,y-offset)
\begin{picture}(500,0)(0,0)
%\multiput(x coord,y coord)(delta x,delta y){number of copies}{object}
\multiput(0,0)(24,0){20}{{\wb{10}{12}4}}
\multiput(-5,-21)( 0,-24){30}{\rotatebox{90}{\wb{10}{12}4}}
\multiput(0,-720)(24, 0){20}{\wb{10}{12}4}
\multiput(475,-21)(0,-24){30}{\rotatebox{90}{\wb{10}{12}4}}
\put(0,0)
{\centering
\begin{minipage}[t]{500pt}
\centering
\vspace*{2\baselineskip}
{\Huge Selected Conundrums}\\
{\large\itshape --- puzzles for the mind ---}
\\[0.5\baselineskip]
{\large WITH ILLUSTRATIONS BY} \\[0.5\baselineskip]
{\large THE AUTHOR } \\[0.5\baselineskip]
{\LARGE T. H. E. AUTHOR} \par
\vspace*{5\baselineskip}
$\cdiam$\\[0.25\baselineskip]
$\cdiam\cdiam\cdiam$\\[0.25\baselineskip]
$\cdiam\cdiam\cdiam\cdiam\cdiam$\\[0.25\baselineskip]
$\cdiam\cdiam\cdiam$\\[0.25\baselineskip]
$\cdiam$\par
\vspace*{5\baselineskip}
{\Large THE PUBLISHER}\\
{\Large\scshape year}
\par \vspace*{2\baselineskip}
\end{minipage}
 
הההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההההה
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX
Note, that I added two extra lines that explain the parameters. Anyhow, thank you for your effort and help. Now I know how to decorate document title pages :).


P.S.
I have a feeling the solution would be even better (more versatile, with more options) by using PGF&TikZ package. I will try to find such a solution, since I find editing the current one a bit clumsy (because I can't center the whole thing). If I create a PGF&TikZ solution, I will post it here, but if you know how to provide it, perhaps even a basic example to get me started, it would also be helpful. (I will probably need a couple of weeks to figure it out...)

again: thank you :)
User avatar
localghost
Site Moderator
Posts: 9202
Joined: Fri Feb 02, 2007 12:06 pm

Environment Titlepage Undefined

Post by localghost »

Turkurz wrote:[…] All the text that I inserted in my MWE was important, because when one uses so many packages, it is dangerous that adding an additional package would cause clashes. […]
No, it was not. Nearly all loaded packages have been completely irrelevant to the problem. You should trust helpers a little bit more to make you aware if a provided solution might clash with other packages. Believe me when I tell you that on average I load many more packages than you do. It is your task to find out which package and which other stuff is not related to a problem and drop it. This process is known as building a MWE and is always possible.
Turkurz wrote:[…] As far as the solution goes, it is desired that I receive only the stuff that I need. However, the more options available the better. […]
I will for me reserve the right to show alternatives where suggestive.
Turkurz wrote:[…] By that I mean the various parameters and fancy stuff, involved in my problem, and not unrelated stuff, such as \vspace and flushright etc. […]
The same is true for problematic code from your side to show a problem. You have to narrow down the problem by dropping everything that is not necessary to reproduce a problem.

Finally some remarks to close this discussion.
  • You talked about the community to be a little bit more "user friendly". You should also think about yourself to be more "community friendly". The way how to present a problem is described in the Board Rules.
  • Advice resistance is not very helpful. If there is no real MWE from your side, you'll always be asked to provide one. This might delay a solution of your problem. So it is in your interest to provide a maximum of information within a minimum of code right at the beginning.
So I guess that in this regard there is no more advice needed.
Post Reply