Document Classes ⇒ [Solved] Page Layout help with Memoir (or something else?)
[Solved] Page Layout help with Memoir (or something else?)
Hi guys,
I've put together a book and am trying to get a PDF which is the standard "Royal" 6.139" x 9.21".
Despite trying pretty hard to understand the paper size vs text block size vs other stuff that the memoir class provides, I can't get my DVI (or resultant PDF) to look anything like a sensible book, typically I find the textblock overflows the page and the error printout is showered with "overfull hbox".
Is there a easy-to-read way, or an example, on how to typeset a document onto a standard royal booksize?
I've put together a book and am trying to get a PDF which is the standard "Royal" 6.139" x 9.21".
Despite trying pretty hard to understand the paper size vs text block size vs other stuff that the memoir class provides, I can't get my DVI (or resultant PDF) to look anything like a sensible book, typically I find the textblock overflows the page and the error printout is showered with "overfull hbox".
Is there a easy-to-read way, or an example, on how to typeset a document onto a standard royal booksize?
Last edited by Elomis on Tue Jul 22, 2008 8:39 am, edited 2 times in total.
NEW: TikZ book now 40% off at Amazon.com for a short time.
-
- Site Moderator
- Posts: 814
- Joined: Tue Jul 01, 2008 2:19 pm
Re: Page Layout help with Memoir (or something else?)
Can you post an example of what you've tried, using something like lipsum to fill the pages with text. It will be easier to help if we see what you've tried.
Joseph Wright
Joseph Wright
Joseph Wright
[Solved] Page Layout help with Memoir (or something else?)
Sure,
What I've done is something similar to the following, if you compile this the resultant DVI shows my problem. Sorry about the wall of lorem ipsum but it needs to run to two pages because it's the recto pages that are stuffed(er).
What I've done is something similar to the following, if you compile this the resultant DVI shows my problem. Sorry about the wall of lorem ipsum but it needs to run to two pages because it's the recto pages that are stuffed(er).
Code: Select all
\documentclass{memoir}
\setstocksize{9.21in}{6.139in}
\settrimmedsize{8.81in}{5.744in}{*}
\settypeblocksize{6in}{4in}{*}
\begin{document}
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In sit amet nulla at pede porta malesuada. In hac habitasse platea dictumst. Vivamus varius lobortis diam. Cras nec arcu. Nam vel nibh a metus imperdiet semper. Nam velit orci, convallis et, venenatis eu, viverra id, magna. Aenean semper erat fringilla nulla. Ut sed metus. Nulla eleifend orci a tortor. Nunc sodales congue enim. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam nec justo ut lectus aliquam facilisis. Duis faucibus.
Nulla ultricies gravida sapien. Sed suscipit. Curabitur elementum lorem eu neque posuere molestie. Nulla orci nulla, tempor id, ullamcorper in, tincidunt id, mauris. Cras tellus risus, molestie sed, molestie ac, tristique a, magna. Donec ut sem at nulla egestas malesuada. Cras laoreet, tellus nec iaculis interdum, nibh est ultricies enim, quis vulputate mi orci vel ante. Etiam nulla felis, fermentum at, posuere sit amet, faucibus vitae, enim. Quisque scelerisque, sapien at suscipit vulputate, dui dolor fringilla pede, vitae porta dolor lacus non ligula. Suspendisse et eros at est placerat ultricies. Donec enim. Ut dui libero, sagittis quis, bibendum a, scelerisque sed, dui. Morbi tempor.
Pellentesque elit. Donec commodo. Ut nec justo nec augue auctor fringilla. Pellentesque iaculis cursus justo. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras condimentum. Praesent sit amet enim. Aenean accumsan. Aenean vehicula varius magna. Morbi pharetra orci eu nunc. Phasellus nulla lacus, bibendum id, dictum eget, gravida sit amet, tellus. Nam sed erat. Morbi tincidunt venenatis pede. Duis a diam. In hac habitasse platea dictumst. Nunc aliquam nibh ac velit. Cras et mi eu est euismod laoreet.
Lorem ipsum dolor sit amet, consectetuer adipiscing elit. In sit amet nulla at pede porta malesuada. In hac habitasse platea dictumst. Vivamus varius lobortis diam. Cras nec arcu. Nam vel nibh a metus imperdiet semper. Nam velit orci, convallis et, venenatis eu, viverra id, magna. Aenean semper erat fringilla nulla. Ut sed metus. Nulla eleifend orci a tortor. Nunc sodales congue enim. Cum sociis natoque penatibus et magnis dis parturient montes, nascetur ridiculus mus. Nullam nec justo ut lectus aliquam facilisis. Duis faucibus.
Nulla ultricies gravida sapien. Sed suscipit. Curabitur elementum lorem eu neque posuere molestie. Nulla orci nulla, tempor id, ullamcorper in, tincidunt id, mauris. Cras tellus risus, molestie sed, molestie ac, tristique a, magna. Donec ut sem at nulla egestas malesuada. Cras laoreet, tellus nec iaculis interdum, nibh est ultricies enim, quis vulputate mi orci vel ante. Etiam nulla felis, fermentum at, posuere sit amet, faucibus vitae, enim. Quisque scelerisque, sapien at suscipit vulputate, dui dolor fringilla pede, vitae porta dolor lacus non ligula. Suspendisse et eros at est placerat ultricies. Donec enim. Ut dui libero, sagittis quis, bibendum a, scelerisque sed, dui. Morbi tempor.
Pellentesque elit. Donec commodo. Ut nec justo nec augue auctor fringilla. Pellentesque iaculis cursus justo. Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Cras condimentum. Praesent sit amet enim. Aenean accumsan. Aenean vehicula varius magna. Morbi pharetra orci eu nunc. Phasellus nulla lacus, bibendum id, dictum eget, gravida sit amet, tellus. Nam sed erat. Morbi tincidunt venenatis pede. Duis a diam. In hac habitasse platea dictumst. Nunc aliquam nibh ac velit. Cras et mi eu est euismod laoreet.
\end{document}
[Solved] Page Layout help with Memoir (or something else?)
Instead of putting actual lipsum text in there, wouldn't it be better to use the lipsum package?
Code: Select all
\documentclass{memoir}
\usepackage{lipsum}
\setstocksize{9.21in}{6.139in}
\settrimmedsize{8.81in}{5.744in}{*}
\settypeblocksize{6in}{4in}{*}
\begin{document}
\lipsum[1-6]
\end{document}
Re: Page Layout help with Memoir (or something else?)
Thanks for that tip, do you maybe have anything on-topic to assist?
[Solved] Page Layout help with Memoir (or something else?)
I have never used memoir before, but did you try putting the \set... commands inside \begin{document}...\end{document}
This seems to work correctly:
This seems to work correctly:
Code: Select all
\documentclass{memoir}
\usepackage{lipsum}
\begin{document}
\setstocksize{9.21in}{6.139in}
\settrimmedsize{8.81in}{5.744in}{*}
\settypeblocksize{6in}{4in}{*}
\lipsum[1-10]
\end{document}
Re: Page Layout help with Memoir (or something else?)
How odd, that seems to have worked. Thanks very much!