発言者: tDB
発言日: 2008 10/02 16:02
発言元: ntchba207155.chba.nt.ftth.ppp.infoweb.ne.jp
おやりになりたいことが,今ひとつわからないのですが,
下のようなものでしょうか。
% --- re7573.tex ----------------------------------------------
\documentclass[fleqn]{jarticle}
\usepackage{emath}
\usepackage{emathLb}
\makeatletter
\newcounter{EMfncnt}
\def\EMfn{\@ifnextchar[{\@EMfn}{\@EMfn[\empty]}}%
\def\@EMfn[#1]#2{%
\refstepcounter{EMfncnt}%
\ensuremath{{#1}^{\theEMfncnt}}%
\writeLabel{#2}{\theEMfncnt}}%
\makeatother
\begin{document}
[解答]\\
align の外では番号が参照できるみたいです. \EMfn{fnt1}
\begin{align*}
S &= \bunsuu12\bunsuu{4\sqrt{3}}{3}2\sin(60\DEG-\theta)\sin\theta
\quad\EMfn{fnt2} \\
&= \bunsuu{4\sqrt{3}}{3}\bunsuu{\cos(2\theta-60\DEG)-\cos60\DEG}{2}
\quad \EMfn[\vphantom{\bunsuu12}]{fnt3}
\end{align*}
[解説]
\begin{description}
\item[\ref{fnt1}]解説のテスト
\item[\ref{fnt2}]三角形の面積の公式 $S = \bunsuu12 \text{AB}
\cdot \text{AC} \sin A$
\item[\ref{fnt3}]積和の公式 $\sin\alpha\sin\beta
= -\bunsuu{\cos(\alpha+\beta)-\cos(\alpha-\beta)}2$\\
\end{description}
\end{document}
▼関連発言
│
└◆7573:参照して解説を付加できるようなコマンド [よ] 10/02 13:29
└◆7574:Re:参照して解説を付加できるようなコマンド [tDB] 10/02 16:02
├◆7575:Re[2]:参照して解説を付加できるようなコマンド [よ] 10/02 16:36
├◆7579:endnotes.sty [tDB] 10/03 08:25
└◆7580:EMendnotes.sty [tDB] 10/03 08:32
└◆7581:Re:EMendnotes.sty [よ] 10/03 14:40<-last