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나는 그것이 당신이 무엇을 하느냐에 달려 있다고 생각합니다.

관련 정보