如何获取 \normalsize 或 \small 字体基线跳过大小?

如何获取 \normalsize 或 \small 字体基线跳过大小?

我的文档使用了memoir并且我\OnehalfSpacing正在尝试\normalfont \f@baselineskip设置\footnotesep\SingleSpacing

我可以保留 的默认值\footnotesep,但是在我设置文档字体大小后, 的默认值\footnotesep小于\f@baselineskip

如何获取\normalsize\small字体\baselineskip大小并将其设置为\footnotesep,例如类似于\setlength{\footnotesep}{\smallsize@baselineskip}

\documentclass[10pt]{memoir}
\usepackage[english]{babel}
\OnehalfSpacing

\makeatletter
\setlength{\footnotesep}{\f@baselineskip}

\newcommand{\showfont}
{%
    (\foreignlanguage{english}
    {%
        encoding: \f@encoding{},
        family: \f@family{},
        series: \f@series{},
        shape: \f@shape{},
        size: \f@size{},
        baseline: \f@baselineskip{},
        linespread: \f@linespread{},
        linespacing: \the\baselineskip{}%
    })%
}
\makeatother

\begin{document}

Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen
book. It has survived not only five centuries, but also the leap into electronic
typesetting, remaining essentially unchanged. It was popularised in the 1960s
with the release of Letraset sheets containing Lorem Ipsum passages, and more
recently with desktop publishing software like Aldus PageMaker including
versions of Lorem Ipsum \showfont.

Fist\footnote{
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen
book. It has survived not only five centuries, but also the leap into electronic
typesetting, remaining essentially unchanged. It was popularised in the 1960s
with the release of Letraset sheets containing Lorem Ipsum passages, and more
recently with desktop publishing software like Aldus PageMaker including
versions of Lorem Ipsum \showfont.
}.

Second\footnote{
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen
book. It has survived not only five centuries, but also the leap into electronic
typesetting, remaining essentially unchanged. It was popularised in the 1960s
with the release of Letraset sheets containing Lorem Ipsum passages, and more
recently with desktop publishing software like Aldus PageMaker including
versions of Lorem Ipsum \showfont.
}.

Third\footnote{
Lorem Ipsum is simply dummy text of the printing and typesetting industry. Lorem
Ipsum has been the industry's standard dummy text ever since the 1500s, when an
unknown printer took a galley of type and scrambled it to make a type specimen
book. It has survived not only five centuries, but also the leap into electronic
typesetting, remaining essentially unchanged. It was popularised in the 1960s
with the release of Letraset sheets containing Lorem Ipsum passages, and more
recently with desktop publishing software like Aldus PageMaker including
versions of Lorem Ipsum \showfont.
}.

\end{document}

相关问题

  1. \footnotesize 如何映射到 \fontsize{size}{baselineskip}
  2. 各种字体的“正确”基线拉伸值的来源?
  3. 指定字体大小的百分比(与正常大小相同)
  4. 字体大小选择 \normalsize 的倍数
  5. 相应字体大小的默认基线跳过
  6. 如果字体大小为 \footnotesize,则 \baselineskip 的大小为 \\?

答案1

我不确定我是否理解了你的问题,但也许你正在寻找

\small
\setlength{\footnotesep}{\baselineskip}%
\normalsize

将设置 \footnotesep\baselineskip用于\small

相关内容