我正在使用memoir
文档类来排版文档。这是我第一次使用memoir
。我仔细阅读了文档,但找不到下面描述的问题的答案。
命令
\documentclass[executivepaper,12pt,onecolumn,openany]{memoir}
生成一个 12pt 类型的文档。
以下命令无需executive paper
\documentclass[12pt,onecolumn,openany]{memoir}
用 10pt 字体排版文档。
字体大小为什么会改变?
我将非常感激您的建议。
答案1
这是 pdf 查看器扩大较小页面时产生的“视觉”错觉。如果您使用外部查看器,请将窗口设置为固定宽度以查看会发生什么,或者在两种情况下将内部查看器设置为 100%。
您可以使用内部 LaTeX 命令输出字体大小。这里我为此值\f@size
设置了一个长度,并用于在文档中打印其值。\myfontsize
\the\myfontsize
两种情况下的文本区域相同,只有边距发生了变化。
执行文件
默认纸张尺寸
这是letter.tex
\documentclass[12pt,onecolumn,openany]{memoir}
\newlength{\myfontsize}
\makeatletter
\setlength{\myfontsize}{\f@size pt}
\makeatother
\usepackage{showframe} % ONLY to show the margins
\begin{document}
Font size = \the\myfontsize
paper size default 8.5 x 11 in
As any dedicated reader can clearly see, the Ideal of practical reason is
a representation of, as far as I know, the things in themselves; as I have
shown elsewhere, the phenomena should only be used as a canon for our
understanding.
Font size = \the\myfontsize
\end{document}
这是executive.tex
\documentclass[executivepaper,12pt,onecolumn,openany]{memoir}
\newlength{\myfontsize}
\makeatletter
\setlength{\myfontsize}{\f@size pt}
\makeatother
\usepackage{showframe} % ONLY to show the margins
\begin{document}
Font size = \the\myfontsize
paper size executive 7.25 x 10.5 in
As any dedicated reader can clearly see, the Ideal of practical reason is
a representation of, as far as I know, the things in themselves; as I have
shown elsewhere, the phenomena should only be used as a canon for our
understanding.
Font size = \the\myfontsize
\end{document}