3

I am using the Springer template svmono to write my professor's geometry textbook. After compiling in Texmaker, I received a pdf file with page size 21.587cm x 28cm. I want to change it into 16cm x 24cm, so what and how can I do?

7

You set dimensions of your PDF page by \pdfpagewidth and \pdfpageheight. However, with a standard parameters of svmono, text doesn't fit the page. An example of correction by setting \oddsidemargin and \evensidemargin is shown.

\documentclass{svmono}

\usepackage{lipsum} % A text for an illustration

\pdfpagewidth16cm
\pdfpageheight24cm

\oddsidemargin0cm % correction (PS)
\evensidemargin\oddsidemargin % correction (PS)

\begin{document}

\lipsum

\end{document}

enter image description here

  • Thank you very much for your answer. However, I still have a problem. That is the distance from the top of page to the content in the page is much more bigger than that of the bottom. How can I do? Does this help : \topmargin\bottomargin? – Knumber10 Nov 11 '13 at 5:53
  • @NguyễnDuyKhánh Yes, \topmargin-1cm (the precise value to be chosen) gives a better visual effect. You can change \textwidth and \textheight if it is desired by your professor. – Przemysław Scherwentke Nov 11 '13 at 5:58
  • Is there a reason not to use geometry here? – Martin Schröder Nov 11 '13 at 21:52
  • 1
    @MartinSchröder For some reason the specified Spriger class is used, hence I am trying to make only cosmetic changes. – Przemysław Scherwentke Nov 11 '13 at 22:24

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.