Re: [XeTeX] Custom page size
Thank you for your suggestions. I have found out that for the overall needs of the particular document with this special page format the memoir class will be the best solution. Best regards, S. -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Custom page size
Hi all, In my humble opinion, the best you can do when it comes to custom paper sizes is to use the memoir class. The memoir manual (memman.pdf) has an excellent description of how latex treats the size of the stock, the page, and the folio. The memoir package includes the geometry package, but the memoir packages adds a "geometry check" to make sure that everything is well-balanced and equilibrated. Cheers, Wilfred --- On Tue, 11/1/11, Carsten Ziegert wrote: > From: Carsten Ziegert > Subject: Re: [XeTeX] Custom page size > To: jerome.et...@gmail.com, "Unicode-based TeX for Mac OS X and other > platforms" > Date: Tuesday, 11 January, 2011, 8:23 PM > I am using the KOMA packages, e.g. > scrbook, and the crop package to > print marks for the paper cutter. Thus, the custom page is > printed in > the centre of an A4 page. > > \documentclass[10pt,twoside,titlepage,paper=138mm:208mm,DIV=calc,index=totoc]{scrbook} > \usepackage[cam,a4,center,noinfo]{crop} > > But maybe KOMA is recommended more for a German speaking > context. > > Carsten > > > Am Dienstag, den 11.01.2011, 10:58 + schrieb Jérôme > Etévé: > > Hi, > > > > I myself use the package geometry with much success > :) > > > > ftp://ftp.tex.ac.uk/tex-archive/macros/latex/contrib/geometry/geometry.pdf > > > > > > Cheers! > > > > Jerome. > > > > On 11 January 2011 10:52, Sven Siegmund > wrote: > > > Hi all, > > > > > > I need help with xetexing a document on a custom > paper format. > > > > > > As far as I understand the page layout, this > minimal example should > > > suffice to typeset on my custom format paper. > However, while the > > > resulting pagesize of the pdf is just as I > specified, the text is not > > > adjusted to its smaller size. It looks like > typesetting on A4 and then > > > cutting the pdf to my desired format. The > compiler does not even > > > complain abou overfull hbox. What am I doing > wrong in this minimal > > > example? > > > > > > \documentclass{article} > > > \usepackage{xltxtra} > > > > > > \setlength\paperwidth{155mm} > > > \setlength\paperheight{240mm} > > > \setlength\pdfpagewidth{\paperwidth} > > > \setlength\pdfpageheight{\paperheight} > > > > > > \begin{document} > > > > > > The resulting text will not fit on the page. Yet, > when compiling, > > > pdflatex or xelatex do not complain about > overfull hbox. > > > > > > \end{document} > > > > > > best regards, > > > > > > S. > > > > > > > > > > -- > > > Subscriptions, Archive, and List information, > etc.: > > > http://tug.org/mailman/listinfo/xetex > > > > > > > > > > > > -- > Carsten Ziegert > Association SIL / Chad > mobile: +235 63.78.58.00 > skype : carstenzi > http://www.sil.org > > > > -- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex > -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Custom page size
I am using the KOMA packages, e.g. scrbook, and the crop package to print marks for the paper cutter. Thus, the custom page is printed in the centre of an A4 page. \documentclass[10pt,twoside,titlepage,paper=138mm:208mm,DIV=calc,index=totoc]{scrbook} \usepackage[cam,a4,center,noinfo]{crop} But maybe KOMA is recommended more for a German speaking context. Carsten Am Dienstag, den 11.01.2011, 10:58 + schrieb Jérôme Etévé: > Hi, > > I myself use the package geometry with much success :) > > ftp://ftp.tex.ac.uk/tex-archive/macros/latex/contrib/geometry/geometry.pdf > > > Cheers! > > Jerome. > > On 11 January 2011 10:52, Sven Siegmund wrote: > > Hi all, > > > > I need help with xetexing a document on a custom paper format. > > > > As far as I understand the page layout, this minimal example should > > suffice to typeset on my custom format paper. However, while the > > resulting pagesize of the pdf is just as I specified, the text is not > > adjusted to its smaller size. It looks like typesetting on A4 and then > > cutting the pdf to my desired format. The compiler does not even > > complain abou overfull hbox. What am I doing wrong in this minimal > > example? > > > > \documentclass{article} > > \usepackage{xltxtra} > > > > \setlength\paperwidth{155mm} > > \setlength\paperheight{240mm} > > \setlength\pdfpagewidth{\paperwidth} > > \setlength\pdfpageheight{\paperheight} > > > > \begin{document} > > > > The resulting text will not fit on the page. Yet, when compiling, > > pdflatex or xelatex do not complain about overfull hbox. > > > > \end{document} > > > > best regards, > > > > S. > > > > > > -- > > Subscriptions, Archive, and List information, etc.: > > http://tug.org/mailman/listinfo/xetex > > > > > -- Carsten Ziegert Association SIL / Chad mobile: +235 63.78.58.00 skype : carstenzi http://www.sil.org -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Custom page size
Am 11.01.2011 um 11:52 schrieb Sven Siegmund: What am I doing wrong in this minimal example? You are not using the geometry package! That's the cause. Using geometry the information about size and orientation is propagated over all stages, into all particles. -- Mit friedvollen Grüßen Pete In Deutschland kann es keine Revolution geben, weil mensch dazu den Rasen betreten müsste. (Joseph Stalin) -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Custom page size
On Jan 11, 2011, at 5:52 AM, Sven Siegmund wrote: > Hi all, > > I need help with xetexing a document on a custom paper format. > > As far as I understand the page layout, this minimal example should > suffice to typeset on my custom format paper. However, while the > resulting pagesize of the pdf is just as I specified, the text is not > adjusted to its smaller size. It looks like typesetting on A4 and then > cutting the pdf to my desired format. The compiler does not even > complain abou overfull hbox. What am I doing wrong in this minimal > example? > > \documentclass{article} > \usepackage{xltxtra} > > \setlength\paperwidth{155mm} > \setlength\paperheight{240mm} > \setlength\pdfpagewidth{\paperwidth} > \setlength\pdfpageheight{\paperheight} > > \begin{document} > > The resulting text will not fit on the page. Yet, when compiling, > pdflatex or xelatex do not complain about overfull hbox. > > \end{document} > > best regards, > > S. I think you will have better luck with this: % \documentclass{article} \usepackage{xltxtra} \usepackage[papersize={155mm,240mm}]{geometry} ... % Stephen Moye -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
Re: [XeTeX] Custom page size
Hi, I myself use the package geometry with much success :) ftp://ftp.tex.ac.uk/tex-archive/macros/latex/contrib/geometry/geometry.pdf Cheers! Jerome. On 11 January 2011 10:52, Sven Siegmund wrote: > Hi all, > > I need help with xetexing a document on a custom paper format. > > As far as I understand the page layout, this minimal example should > suffice to typeset on my custom format paper. However, while the > resulting pagesize of the pdf is just as I specified, the text is not > adjusted to its smaller size. It looks like typesetting on A4 and then > cutting the pdf to my desired format. The compiler does not even > complain abou overfull hbox. What am I doing wrong in this minimal > example? > > \documentclass{article} > \usepackage{xltxtra} > > \setlength\paperwidth{155mm} > \setlength\paperheight{240mm} > \setlength\pdfpagewidth{\paperwidth} > \setlength\pdfpageheight{\paperheight} > > \begin{document} > > The resulting text will not fit on the page. Yet, when compiling, > pdflatex or xelatex do not complain about overfull hbox. > > \end{document} > > best regards, > > S. > > > -- > Subscriptions, Archive, and List information, etc.: > http://tug.org/mailman/listinfo/xetex > -- Jerome Eteve. http://libsquare.net -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex
[XeTeX] Custom page size
Hi all, I need help with xetexing a document on a custom paper format. As far as I understand the page layout, this minimal example should suffice to typeset on my custom format paper. However, while the resulting pagesize of the pdf is just as I specified, the text is not adjusted to its smaller size. It looks like typesetting on A4 and then cutting the pdf to my desired format. The compiler does not even complain abou overfull hbox. What am I doing wrong in this minimal example? \documentclass{article} \usepackage{xltxtra} \setlength\paperwidth{155mm} \setlength\paperheight{240mm} \setlength\pdfpagewidth{\paperwidth} \setlength\pdfpageheight{\paperheight} \begin{document} The resulting text will not fit on the page. Yet, when compiling, pdflatex or xelatex do not complain about overfull hbox. \end{document} best regards, S. -- Subscriptions, Archive, and List information, etc.: http://tug.org/mailman/listinfo/xetex