Qiita Teams that are logged in
You are not logged in to any team

Log in to Qiita Team
Community
OrganizationEventAdvent CalendarQiitadon (β)
Service
Qiita JobsQiita ZineQiita Blog
0
Help us understand the problem. What are the problem?

More than 3 years have passed since last update.

@kichinosukey

sphinxの数式機能を拡張する

環境

Windows7

ファイルのダウンロード

  • 以下リンク先よりjsMathとjsMath Image Fontsディレクトリから最新ファイルをzipでダウンロード

ファイルの展開

  • それぞれdoc/_staticに展開する

conf.pyの設定

  • General configuration に以下を追加
conf.py
# load sphinx.ext.jsmath module
extensions += ['sphinx.ext.jsmath']

# arrange path jsMath (relative path from _static/)
jsmath_path = 'jsMath-3.6e/easy/load.js'

ビルド

  • 以下を追記しmake htmlを実行

.. math:: F = ma

Why not register and get more from Qiita?
  1. We will deliver articles that match you
    By following users and tags, you can catch up information on technical fields that you are interested in as a whole
  2. you can read useful information later efficiently
    By "stocking" the articles you like, you can search right away
0
Help us understand the problem. What are the problem?