2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

More than 5 years have passed since last update.

参考文献リストを表示させずにbibtexを使う

Posted at

参考文献リストを表示させずにbibtexを使う

こんなときにどうぞ.

  • 条件付き採録の論文の回答文を作るとき
  • 論文などに付随する説明資料で論文中の参考文献を参照するとき

ソースコード

styファイル

以下のようなスタイルファイルを作成し,texファイルと同じ階層に置く.
(texの\usepackageで読み込めるディレクトリならどこでも可)

nobibprint.sty
%% Copyright (C) 2011 by Marco Daniel
\ProvidesPackage{nobibprint}[2011/10/12 v0.1 nobibprint]
\RequirePackage{etoolbox}
\RequirePackage{xkeyval}
\define@boolkey{nobibprint.sty}[nobib@]{hide}{}
\ExecuteOptionsX{hide=true}
\ProcessOptionsX
\newsavebox\nobib@tempbox
\ifnobib@hide
   \AtBeginDocument{%
     \let\nobib@bibliography@orig\bibliography
     \def\bibliography#1{%
        \savebox\nobib@tempbox{%
           \parbox{\linewidth}{%
              \nobib@bibliography@orig{#1}%
            }%
        }%
      }%
   }
\fi
\endinput

本体での参照

TeXファイル本体に以下の通り記述.

  • パッケージ読み込み
\usepackage{nobibprint}
  • bibファイル読み込み

    普通に使う.

\bibliographystyle{your_bst_file}
\bibliography{your_library_file}

参考

2
1
1

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
2
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?