Re: 「参考文献」の他に「関連発表」を作りたい

名前: トニイ@FTEX
日時: 2003-08-13 14:28:35
IPアドレス: 61.198.83.*

>>20904 > ! LaTeX Error: \refname undefined. エラーの意味することは,\refname は定義されていないので“再定義できない”のです。 (jt)article クラスでは,参考文献は \refname ですが,(jt)report・(jt)book クラスは 関連図書が \bibname で定義されています。 \bibname を \renewcommand{\bibname}{参考文献}とすれば,report・book クラスで 見出しが「参考文献」と表示されることになります。 以下では,参考文献の参照と関連発表の参照が同じで区別つかないですが,大丈夫でしょうか。 % pLaTeX2e \documentclass{jreport} \makeatletter%% \newcommand{\refname}{関連発表} \newenvironment{thebibliographytwo}[1] {\chapter*{\refname\@mkboth{\refname}{\refname}}% \list{\@biblabel{\@arabic\c@enumiv}}% {\settowidth\labelwidth{\@biblabel{#1}}% \leftmargin\labelwidth \advance\leftmargin\labelsep \@openbib@code \usecounter{enumiv}% \let\p@enumiv\@empty \renewcommand\theenumiv{\@arabic\c@enumiv}}% \sloppy \clubpenalty4000 \@clubpenalty\clubpenalty \widowpenalty4000% \sfcode`\.\@m} {\def\@noitemerr {\@latex@warning{Empty `thebibliographytwo' environment}}% \endlist} \let\@openbib@code\@empty \renewcommand{\bibname}{参考文献} \makeatother%% \begin{document} ほげほげ\cite{bib:one} なんちゃらかんちゃら\cite{ref:one} \begin{thebibliography}{9}%% 参考文献(関連図書) \bibitem{bib:one} ほげほげ \end{thebibliography} \begin{thebibliographytwo}{9}%% 関連発表 \bibitem{ref:one} なんちゃらかんちゃら \end{thebibliographytwo} \end{document}

この書き込みへの返事:

お名前
題名 
メッセージ(タグは <a href="...">...</a> だけ使えます)