- English
LaTeXで式番号を指定する方法
「統計数理」では式番号を(1.1), (1.2), (1.3),...,(2.1), (2.2), ...のように各章ごとにつけていただくようお願いしております。
LaTeXで番号を指定する方法には以下の2つがあります。
方法1 | \documentclass[a4paper,11pt,leqno]{jarticle} \usepackage{amsmath} \numberwithin{equation}{section} 注1:documentstyleではエラーになります
注2:leqnoは式番号を左側に表示する指定です |
---|---|
方法2 | \documentstyle[11pt,a4j,leqno]{jarticle} \renewcommand{\theequation}{\thesection.\arabic{equation}} \makeatletter \@addtoreset{equation}{section} \makeatother |