\bibliographystyle{plain} 和 \citet

\bibliographystyle{plain} 和 \citet

我想用,\citet因为它很方便(我自己不输入作者的名字)。但我发现会议要求使用\bibliographystyle{plain},而这个会议喜欢对参考文献进行编号。

所以我必须引用一下,说\cite

\cite{a}

=某人等人[1]。

实际上,我使用了\bibliographystyle{achemso}。它产生了我想要的结果。但是参考文献没有论文名称。例如

[2]Esser, E.;Zhang, X.;Chan, TF SIAM J. Img. Sci. 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(麻省理工学院出版社)

我使用 answer 写了一个小例子。但它确实解决了引用的问题。

\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}

请注意这里需要\nocite在该行中添加第二个数据库\bibliography

相关内容