Changes

Jump to navigation Jump to search
add Korean font setup (we should rename this page to CJK)
In China, numbers must be written in both Chinese upper case and Arabic form together in accounting.
 
=Font setup for Korean=
 
Example by Wolfgang (2017-12-06):
 
You need fonts which contain hangul characters (don’t forget to set a math font because it is used for the symbols in enumerations) and you have to enable linebreaking for korean with the {{cmd|setscript}} command.
 
<texcode>
\definefallbackfamily [mainface] [rm] [Nanum Myeongjo] [preset=range:korean]
\definefontfamily [mainface] [rm] [DejaVu Serif]
 
\definefallbackfamily [mainface] [ss] [Nanum Gothic] [preset=range:korean]
\definefontfamily [mainface] [ss] [DejaVu Sans]
 
\definefallbackfamily [mainface] [tt] [Nanum Gothic Coding] [features=none,preset=range:korean]
\definefontfamily [mainface] [tt] [DejaVu Sans Mono] [features=none]
 
\definefontfamily [mainface] [mm] [DejaVu Math]
 
\setupbodyfont[mainface]
 
\setscript[hangul]
 
\starttext
 
이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
모아 엮어졌습니다.
 
{\ss 이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
모아 엮어졌습니다.}
 
\starttyping
이 FAQ 은 자주 반복되는 질문과 그에 대한 대답을 간단명료한 양식으로
모아 엮어졌습니다.
\stoptyping
 
\stoptext
</texcode>
== See also ==

Navigation menu