我当前的代码是:
\documentclass{book}
\setlength{\paperwidth}{6in}
\setlength{\paperheight}{9in}
\setlength{\textwidth}{27pc}
\setlength{\textheight}{39pc}
\makeatletter
\renewcommand\normalsize{%
\@setfontsize\normalsize{10}{12}%
\abovedisplayskip 12\p@ \@plus2\p@ \@minus5\p@%
\abovedisplayshortskip \z@ \@plus3\p@%
\belowdisplayshortskip 6\p@ \@plus3\p@ \@minus3\p@%
\belowdisplayskip \abovedisplayskip%
\let\@listi\@listI}%
\normalsize%
\long\def\@makecaption#1#2{\vspace{\abovecaptionskip}%
\footnotesize%
\setbox\@tempboxa=\hbox{#1\ignorespaces\hspace{1em}\ignorespaces#2}%
\ifdim\wd\@tempboxa>\hsize
{\sc #1.}\ignorespaces\hspace{1em}\ignorespaces#2%
\else
\hbox to \hsize{\hss{\sc #1.}\ignorespaces\hspace{1em}\ignorespaces#2\hss}
\fi}
\makeatother
\begin{document}
Test
\end{document}
比如需要更多相同格式的标签,如列表topsep
和itemsep
,和reference font size and its itemsep value
,等等。
我想将这些值恢复到单独的输出文件中,例如,
输出文件内容
Paper size = 6in, 9in
Text size = 27pc, 39pc
Normal text font size = 10/12
Figure caption size = 8/10
是否可以在 LaTeX 编译中创建,或者欢迎提出其他建议,请