开发者

LATEX paper size

I can't get paper size working with a custom width and height in cm. DVI and even PDF then when they are generated are US Letter.开发者_如何学Go

\documentclass[10pt]{book}
\usepackage[width=5cm,height=20cm]{geometry}
\usepackage{lipsum} 

\begin{document}

    \title{Some title} 
    \author{Some author} 
    \maketitle 

    \lipsum[1-10]

\end{document}

I could use but I cant find a way to make it in cm. The result I wanted was x by y in cm PDF or dvi file.

\usepackage[a5paper]{geometry}

Thnx in advance folks :)


This is the solution. I would delete the topic but I can't. Murphey. I found the solution as soon as I posted it here.

\usepackage[vcentering,dvips]{geometry}
\geometry{papersize={7.444in,9.681in},total={4.8in,6.8in}}


This page provides pretty detailed information about your question.

If you use these options:

\usepackage[top=tlength, bottom=blength, left=llength, right=rlength]{geometry}

It should manage the margins automatically for you, but for your reference, all of the page dimensions are measured from a single datum in each direction, so the even margin is actually determined from \paperwidth, \hoffset, \oddsidemargin, and \textwidth.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜