我们如何知道Latex文档使用的所有排版集?

我们如何知道Latex文档使用的所有排版集?

我已经使用 Latex 很多年了,并且从中受益匪浅,但是出于某种原因,我需要与我的研究小组一起处理共享的文字处理器表单(他们更喜欢使用这个平台而不是 overleaf)。

我想知道如何提取 Latex 文档格式(例如 Revtex4-1)使用的所有排版(字体、大小、边距、缩进、行距等),以便我可以让我的文字处理器格式尽可能与 Latex 格式相似。

答案1

对于一般布局参数(边距、页眉/页脚等),请使用包layouts。例如:

% layoutsprob.tex  SE 546636

\documentclass{report} % or whatever your class is
\usepackage{layouts}
%%%% make changes to the layout (via geometry?)

\begin{document}

\begin{figure}
\oddpagelayoutfalse
\twocolumnlayouttrue
\pagediagram
\caption{Left-hand two-column page layout parameters}
\end{figure}

\begin{figure}
\currentpage
\oddpagelayouttrue
\pagedesign
\caption{Odd page layout for this document}
\end{figure}

\end{document}

这将产生两个图,一个显示特定页面的页面布局控件,另一个显示特定页面布局的简要图表以及布局控件的具体值的表格。

layouts包裹提供许多便利,包括尝试实验性页面设计。

相关内容