几何包故障

几何包故障

故障2几何包故障的屏幕截图

有人能解释一下演示的问题吗?我无法让几何图形为我生成合适大小的文档。有什么想法吗?

答案1

heightwidth设置文本块尺寸,因此给出这些加上两个边距会过度指定布局并产生警告

Package geometry Warning: Over-specification in `h'-direction.
    `width' (397.48499pt) is ignored.


Package geometry Warning: Over-specification in `v'-direction.
    `height' (668.4975pt) is ignored.

假设您希望设置纸张尺寸

\documentclass[12pt]{book}
\usepackage[paperwidth=5.5in,paperheight=9.25in,left=1.5in,right=.75in,top=1in,bottom=1in]{geometry}
\begin{document}

This is a not-correctly-sized document.

\end{document}

相关内容