
\title
두 가지 수준의 제목 과 subject
ConTeXt의 글꼴을 변경하려고 합니다 . 제목 글꼴 변경 코드는 과목 글꼴 변경 코드와 다르지 않지만 Zapf Chancery에는 제목만 표시됩니다.
이것은 내 MWE입니다.
\define[2]\mytitle{%
\switchtobodyfont[chorus]%
#2
}
\define[2]\mysubject{%
\switchtobodyfont[chorus]%
#2
}
\setuphead[title][command=\mytitle]
\setuphead[subject][command=\mysubject]
\starttext
\title{In Zapf Chancery}
\subject{Apparently the default font. Why?}
And in the default font, just as expected.
\stoptext
다음과 같은 출력이 생성됩니다.
\switchtobodyfont[chorus]
in 에 대한 호출을 제거하면 mytitle
자막에서 Zapf Chancery를 사용하게 되지만 동시에 Zapf Chancery를 사용하도록 할 수는 없었습니다.
도움을 주셔서 미리 감사드립니다!
참고: 약 2주 전에 이미 독일 포럼 TeXWelt에 이 질문을 올렸지만 안타깝게도 답변을 얻지 못했습니다. 보다https://texwelt.de/fragen/29432/context-schriftart-einer-uberschrift-und-unteruberschrift-andern.