Hi again. Sorry that disturbing you all.
But the migration from MS Word is not so easy for me.
Can you please explain me how can I set page setup (need to set borders (just like in word))
Need to set borders T*B*L = 20mm and R=10mm
How to do it.
Thanks in advance,
Oleg
General ⇒ Borders of the document
Borders of the document
To change the page layout, you can use the geometry package. Refer to ther users' manual.
1,1,2,3,5,8,13,21,34,55,89,144,233,...
- Stefan Kottwitz
- Site Admin
- Posts: 10308
- Joined: Mon Mar 10, 2008 9:44 pm
Borders of the document
Hi Oleg,
you are not disturbing. This forum exists because users want to speak about LaTeX, to look for help or to give it.
For setting the page borders to a certain size you can use the geometry package. For example:
Btw. those values seem small to me. If you use header and footer you may consider to write also includeheadfoot as option above.
Have a look at the geometry manual for further information.
Stefan
you are not disturbing. This forum exists because users want to speak about LaTeX, to look for help or to give it.
For setting the page borders to a certain size you can use the geometry package. For example:
Code: Select all
\usepackage[a4paper,vmargin={20mm,20mm},hmargin={20mm,10mm}]{geometry}
Have a look at the geometry manual for further information.
Stefan
LaTeX.org admin
-
- Posts: 9
- Joined: Thu May 15, 2008 2:02 pm
Re: Borders of the document
Thanks a lot. Hope I will learn TeX in future, and will help other new people!
-
- Posts: 9
- Joined: Thu May 15, 2008 2:02 pm
Borders of the document

Have problems with the package. I am just a beginner in latex, but it seems that packages eskdx and geometry are in conflict

The code
Code: Select all
Code, edit and compile here:
\usepackage[numbertop,numberright]{eskdplain}\usepackage{graphics}\usepackage{listings}\usepackage[a4paper,vmargin={20mm,20mm},hmargin={20mm,10mm}]{geometry}\begin{document}\maketitle\tableofcontents\include{Intro}\include{Chap1}\include{Chap2}\include{Chap3}\include{Chap4}\include{Chap5}\include{Chap6}\end{document}
And the output is:
(/usr/local/texlive/2007/texmf-dist/tex/latex/listings/lstpatch.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/listings/lstmisc.sty)
(/usr/local/texlive/2007/texmf-dist/tex/latex/listings/listings.cfg))
! LaTeX Error: Missing \begin{document}.
See the LaTeX manual or LaTeX Companion for explanation.
Type H <return> for immediate help.
...
l.9
? H
You're in trouble here. Try typing <return> to proceed.
If that doesn't work, type X <return> to quit.
Please help if possible

Oleg
- Stefan Kottwitz
- Site Admin
- Posts: 10308
- Joined: Mon Mar 10, 2008 9:44 pm
Borders of the document
Hi Oleg,
eskdx already loads geometry. eskdplain uses eskdstamp and this file requires geometry this way:
Perhaps you find inside the eskdx documentation how to set those margins. If not, another possibility would be to set those values \ESKD@margin@t etc. by \setlength.
Stefan
eskdx already loads geometry. eskdplain uses eskdstamp and this file requires geometry this way:
Code: Select all
Code, edit and compile here:
\RequirePackage[\ESKD@paper paper,%\ifESKD@landscape landscape\else portrait\fi,%tmargin=\ESKD@margin@t+\ESKD@padding@v,%bmargin=\ESKD@margin@b+\ESKD@padding@v,%inner=\ESKD@margin@si+\ESKD@padding@h,%outer=\ESKD@margin@so+\ESKD@padding@h,%headheight=0mm,headsep=0mm,footskip=0mm]{geometry}
Stefan
LaTeX.org admin