LATEX Paper Size

I can not get the paper size to work with a custom width and height in cm. DVI and even PDF when they are generated are US Letter.

\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 could not find a way to do this in see. The result I wanted was x by y in PDF or dvi in ​​format.

\usepackage[a5paper]{geometry}

Thnx in advance people :)

+3
source share
2 answers

This page contains pretty detailed information about your question.

If you use the following options:

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

It should automatically manage the fields for you, but for your reference, all page sizes are measured from one snap in each direction, so the even field is actually determined from \ paperwidth, \ hoffset, \ oddsidemargin and \ TextWidth.

+2

. , . Murphey. , .

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

Source: https://habr.com/ru/post/1765152/


All Articles