Warning: file_get_contents(/data/phpspider/zhask/data//catemap/4/r/80.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
R can';t将页面大小从8.5 x 11更改为6 x 9_R_Bookdown - Fatal编程技术网

R can';t将页面大小从8.5 x 11更改为6 x 9

R can';t将页面大小从8.5 x 11更改为6 x 9,r,bookdown,R,Bookdown,在bookdown krantz.cls示例中,有这样一段代码,它表示要取消注释以获得一本6x9的书: %%%Uncomment to get 6x9 trim %%%%\textheight = 43pc %%%% %\advance\textheight by \topskip %%%%\addtolength\textheight{3pt} %%%% \textwidth 26pc %%%%\addtolength\textwidth{.5pt} %%%% \topmargin0in

在bookdown krantz.cls示例中,有这样一段代码,它表示要取消注释以获得一本6x9的书:

%%%Uncomment to get 6x9 trim
%%%%\textheight = 43pc
%%%%  %\advance\textheight by \topskip
%%%%\addtolength\textheight{3pt}
%%%%  \textwidth 26pc
%%%%\addtolength\textwidth{.5pt}
%%%% \topmargin0in
%%%%  \oddsidemargin1.1875in
%%%%  \evensidemargin1.1875in
%%%%  \htrim5.05pc
%%%%  \vtrimtop7.7pc
%%%%  \vtrimbot5.44pc
%%%%%  \hoffset-5pt
%%%%  \voffset45pt
%%%%\let\normaltextheight\textheight
尽管如此,我还是无法将这本书以6x9格式打印成pdf格式。相反,它渲染为8.5 x 11


我尝试取消注释下面的代码,它说要取消注释以获得6x9修剪。

这里是krantz.cls的位置:这里是krantz.cls的位置: