\bibliographystyle{plain} 和 \citet

\bibliographystyle{plain} 和 \citet

我想使用它,\citet因為它很方便(我自己不輸入作者的名字)。但我發現會議要求使用\bibliographystyle{plain}並且該會議喜歡對參考文獻進行編號。

所以我必須引用,說\cite

\cite{a}

=某人等人。 [1]。

事實上,我使用\bibliographystyle{achemso}.它會產生我想要的東西。但參考文獻沒有論文名稱。例如

[2]埃塞爾,E.;張X;陳,TF SIAM J. Img。科學。 2010, 3, 1015–1046。

根據Mico的評論,我解決了這個問題。但仍有幾個頭銜缺失。例如

 @INPROCEEDINGS{conf/nips/SmolaVL07,
  author = {Smola, Alex J. and Vishwanathan, S. V. N. and Le, Quoc V.},
  title = {Bundle Methods for Machine Learning.},
  booktitle = {NIPS},
  year = {2007},
  editor = {Platt, John C. and Koller, Daphne and Singer, Yoram and Roweis, Sam
    T.},
  publisher = {MIT Press},
  added-at = {2011-11-24T00:51:13.000+0100},
  biburl = {http://www.bibsonomy.org/bibtex/2d05d5e55475c03831974396e2c0d88bf/wkotl},
  crossref = {conf/nips/2007},
  description = {dblp},
  ee = {http://books.nips.cc/papers/files/nips20/NIPS2007_0470.pdf},
  interhash = {bc8df8615544df575dc9d183ba73b809},
  intrahash = {d05d5e55475c03831974396e2c0d88bf},
  keywords = {TO-READ optimization},
  timestamp = {2011-11-24T00:51:13.000+0100},
  url = {http://dblp.uni-trier.de/db/conf/nips/nips2007.html#SmolaVL07}
}

這顯示像

[16] Smola, AJ, Vishwanathan, SVN, & Le, QV 2007,NIPS,編。 JC Platt、D. Koller、221 222 Y. Singer 和 ST Roweis(麻省理工學院出版社)

我用答案寫了一個小樣本。但它確實解決了引用的問題。

\documentclass[review]{OAGM}
%% For the accepted, final version, set this to the correct value:
%%\OAGMarXiv{0000.0000}

\usepackage{setspace} 
\usepackage{ulem}
 \usepackage{float} % fix the table
\usepackage{bold-extra}
\usepackage{amsmath,bm}
\usepackage[margin=1in]{geometry} 
\usepackage{color}
\usepackage{amsmath,amsopn}
\usepackage{bbm}
\usepackage{import}
\usepackage{hyperref} 
\usepackage[Sonny]{fncychap}
\usepackage{mathrsfs}
\usepackage{tikz,pgfplots}
\usepackage{listings}
\usepackage{fancyhdr}
\usepackage{color}
%\usepackage{breqn} 
\usepackage{caption}
\usepackage{subcaption}
\usepackage{epstopdf}
\usepackage[titletoc,toc,title]{appendix}
\usepackage{mathtools} 
\usepackage{tabularx}
\usepackage{booktabs}

\usepackage{graphics}
\usepackage{amsfonts}
\usepackage[bottom]{footmisc}
\usepackage{achemso} 
\setkeys{acs}{articletitle}
\begin{filecontents*}{\klkl.bib}
% This file was created with JabRef 2.9.2.
% Encoding: UTF8

@INPROCEEDINGS{conf/icml/AvronKKS12,
  author = {Avron, Haim and Kale, Satyen and Kasiviswanathan, Shiva Prasad and
    Sindhwani, Vikas},
  title = {Efficient and Practical Stochastic Subgradient Descent for Nuclear
    Norm Regularization.},
  booktitle = {ICML},
  year = {2012},
  publisher = {icml.cc / Omnipress},
  added-at = {2013-01-25T00:00:00.000+0100},
  biburl = {http://www.bibsonomy.org/bibtex/2b9ed7719ec246e3629d4b41b5515c7f9/dblp},
  crossref = {conf/icml/2012},
  ee = {http://icml.cc/discuss/2012/617.html},
  interhash = {afa43f2081a8e76fd4ceeca426a7dc66},
  intrahash = {b9ed7719ec246e3629d4b41b5515c7f9},
  keywords = {dblp},
  timestamp = {2013-01-25T00:00:00.000+0100},
  url = {http://dblp.uni-trier.de/db/conf/icml/icml2012.html#AvronKKS12}
}


\end{filecontents*}






%\newcommand{\eq}[1]{\hyperref[#1]{Equation \eqref{#1}}}
\let\originaleqref=\eqref
\renewcommand{\eqref}{Equation~\originaleqref}

\newcommand{\dataset}{{\cal D}}
\newcommand{\fracpartial}[2]{\frac{\partial #1}{\partial  #2}}
\DeclareMathOperator*{\newarg}{arg} 
\newcommand{\abs}[1]{\left\lvert #1 \right\rvert}                  % for absolute value
\newcommand{\avg}[1]{\left\langle #1 \right\rangle}           % for average
\newcommand{\norm}[1]{\left\lVert #1 \right\rVert}            % for norm
\newcommand{\bra}[1]{\left\{ #1 \right\}}            % for {}
\newcommand{\sbra}[1]{\left[ #1 \right]}            % for []
\newcommand{\lbra}[1]{\left( #1 \right)}            % for ()
\newcommand{\reffig}[1]{Figure \ref{#1}}
\renewcommand{\d}[2]{\dfrac{\mathrm{d} #1}{\mathrm{d} #2}}       % for derivatives
\newcommand{\pd}[2]{\dfrac{\partial #1}{\partial #2}}            % for partial derivatives
\let\underdot=\d                             % rename builtin command \d{} to \underdot{}
\title{Margin?}



\begin{document}
\maketitle

\begin{abstract}
Today is 3/14/2014.
 \end{abstract}
\newpage
Here is a new page\cite{conf/icml/AvronKKS12}.
\bibliography{\klkl}

\end{document}

答案1

BibTeX樣式achemso設定為允許特殊引文從 LaTeX 傳遞樣式設定。這可以使用以下achemso套件自動使用:

\documentclass{article}

\usepackage{achemso}
\setkeys{acs}{articletitle}

% This is just for demo purposes
\begin{filecontents*}{\jobname.bib}
@Article{Rauchfuss2008,
  Title                    = 
    {Aza- and Oxadithiolates Are Probable Proton Relays in Functional Models for the [FeFe]-Hydrogenases},
  Author                   = {Barton, Bryan E. and Olsen, Matthew T. and Rauchfuss, Thomas B.},
  Journal                  = {J. Am. Chem. Soc.},
  Year                     = {2008},
  Number                   = {50},
  Pages                    = {16834-16835},
  Volume                   = {130},
  Doi                      = {10.1021/ja8057666},
  Timestamp                = {2009.09.21}
}

\end{filecontents*}

\begin{document}

Some text \citet{Rauchfuss2008}

\bibliography{\jobname}

\end{document}

請注意,該套件會自動載入該natbib套件並進行一些其他設定變更:這些都在手冊中進行了描述。

如果您想「手動」完成所有操作,那麼您可以自行建立控制項參考。合適的設定是:

\documentclass{article}

% This is needed to pass control data to the BibTeX style
% Once the .bib file is created, you can just edit it directly
\begin{filecontents*}{\jobname-control.bib}
@Control{achemso-control,
  ctrl-article-title  = "yes",
  ctrl-chapter-title  = "no",
  ctrl-etal-number    = "15",
  ctrl-etal-firstonly = "yes",
}
\end{filecontents*}
\AtBeginDocument{\nocite{achemso-control}}

% This is just for demo purposes
\begin{filecontents*}{\jobname.bib}
@Article{Rauchfuss2008,
  Title                    = 
    {Aza- and Oxadithiolates Are Probable Proton Relays in Functional Models for the [FeFe]-Hydrogenases},
  Author                   = {Barton, Bryan E. and Olsen, Matthew T. and Rauchfuss, Thomas B.},
  Journal                  = {J. Am. Chem. Soc.},
  Year                     = {2008},
  Number                   = {50},
  Pages                    = {16834-16835},
  Volume                   = {130},
  Doi                      = {10.1021/ja8057666},
  Timestamp                = {2009.09.21}
}

\end{filecontents*}

\usepackage[numbers]{natbib}

\begin{document}

Some text \citet{Rauchfuss2008}

\bibliography{\jobname,\jobname-control}
\bibliographystyle{achemso}

\end{document}

請注意,此處需要 a\nocite並在該行中添加第二個資料庫\bibliography

相關內容