ConTeXt:開始停止處的數學模式字體大小

ConTeXt:開始停止處的數學模式字體大小

看一下這個簡單的文件:

\definestartstop[test][style={\tfx}]
\showgrid

\startTEXpage[offset=.5mm]
  Let's take a look.

  Math without style: $\pi=3.1415...$.

  \starttest
    Math in startstop with style: $\pi=3.1415...$.
  \stoptest
\stopTEXpage

這份文件應該很簡單。然而,我對此有一個問題。

在此輸入影像描述

數學模式下的字體大小未修改。我該如何修改它?

答案1

你可以嘗試一下

\definestartstop[test][style=\small]
\showgrid

\startTEXpage[offset=.5mm]
  Let's take a look.

  Math without style: $\pi=3.1415 \ldots$.

  \starttest
    Math in startstop with style: $\pi=3.1415 \ldots$.
  \stoptest
\stopTEXpage

甚至(我聽說這可能有一天會成為預設值)

\enableexperiments[fonts.compact]

\definestartstop[test][style=\tfx]
\showgrid

\startTEXpage[offset=.5mm]
  Let's take a look.

  Math without style: $\pi=3.1415 \ldots$.

  \starttest
    Math in startstop with style: $\pi=3.1415 \ldots$.
  \stoptest
\stopTEXpage

兩種情況的結果:

小數學

但也許,最好在您想要的尺寸\switchtobodyfont[Xpt]處使用。X我想這取決於你做什麼。

相關內容