2017-11-06 1 views

답변

0

수식이 MathJax 플러그인에서 직접 렌더링되므로 MathJax 자체의 글꼴을 변경하는 방법을 확인해야합니다 (MathJax docs on Font Support 참조).

이미 여기에 대한 답변이 있습니다 (https://stackoverflow.com/a/41475014/646871).

CKEDITOR.replace('editor1', { 
    extraPlugins: 'mathjax', 
    mathJaxLib: '//cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.0/MathJax.js?config=AM_HTMLorMML' 
}); 
: JS와 같은

<script type="text/x-mathjax-config"> 
    MathJax.Hub.Config({ 
     "HTML-CSS" : { 
      availableFonts : ["STIX"], 
      preferredFont : "STIX", 
      webFont : "STIX-Web", 
      imageFont : null 
     } 
    }); 
</script> 

<script src="https://cdn.ckeditor.com/4.7.3/full-all/ckeditor.js"></script> 

<textarea name="editor1" id="editor1" rows="10" cols="80"></textarea> 

:

CKEditor 같이하면, 사용 된 동일한 페이지에 적절한 MathJax의 구성을 포함해야

관련 문제