我正在编写一个简短的文档,使用部分而不是章节作为顶级(文档类报告).然而,
\bibliographystyle{amsplain}
\bibliography{general}
Run Code Online (Sandbox Code Playgroud)
导致参考书目作为章节而不是章节插入.有没有办法改变这个?
我想在参考书目中显示一些字母作为资本.例如:
@misc{libsvm,
abstract = {LIBSVM is an implbmentation of Support vector machine (SVM).},
author = {Chang, Chih-Chung},
howpublished = {\url{http://www.csie.ntu.edu.tw/~cjlin/libsvm/}},
keywords = {svm},
posted-at = {2010-04-08 00:05:04},
priority = {2},
title = {LIBSVM.},
url = "http://www.csie.ntu.edu.tw/~cjlin/libsvm/",
year = {2008}
}
Run Code Online (Sandbox Code Playgroud)
但"LIBSVM"未显示为:
[3] Chih-Chung Chang.LIBSVM.http://www.csie.ntu.edu.tw/ cjlin/libsvm /,2008.
我怎样才能把这些字母变成大写?感谢致敬!
使用natbib/Latex/Bibtex,在参考部分中,我获得了完整名字的引用,例如:
Vladimir Iosifovich Levenshtein.能够纠正删除,插入和反转的二进制代码.1966年技术报告8.
我想自动缩写名字如下:
VI Levenshtein.能够纠正删除,插入和反转的二进制代码.1966年技术报告8.
如果你知道如何做到这一点我会很高兴听到.
我正在使用roxygen2作为记录我的R包的工具,我发现roxygen2中有一个@references标签,但这似乎只接受自由格式文本.我找到了一些关于roxygen的演示文稿,其中有@bibliograph和@cite标签,但我是否认为roxygen2中没有这样的东西?
我应该以某种方式从bibtex文件中取出引用并在@references标记之后直接用适当的格式手动编写它们,还是有更聪明的方法呢?在多个函数/ rd文件中,我需要引用大约七篇不同的文章.
当.bib文件的编码与.tex文件的编码不同时,LaTeX会处理这种情况吗?例如,.tex在ISO-8859-2中,而.bib在UTF-8中.编码是否可以由LaTeX即时转换?或者唯一的办法是手动吗?
为什么这个项目在我的参考书目中没有正确显示?
@misc{ann,
abstract = {ANN is an implbmentation of nearest neighbor search.},
author = {David M. Mount and Sunil Arya},
howpublished = {\url{http://www.cs.umd.edu/~mount/ANN/}},
keywords = {knn},
posted-at = {2010-04-08 00:05:04},
priority = {2},
title = {ANN.},
url = "http://www.cs.umd.edu/~mount/ANN/",
year = {2008}
}
@misc{Nilsson96introductionto,
author = {Nilsson, Nils J.},
citeulike-article-id = {6995464},
howpublished = {\url{http://robotics.stanford.edu/people/nilsson/mlbook.html}},
keywords = {*file-import-10-04-11},
posted-at = {2010-04-11 06:52:28},
priority = {2},
title = {Introduction to Machine Learning: An Early Draft of a Proposed Textbook.},
year = … 将Bibtex .bib文件转换为可以由MS Word 2010导入的XML文件的最佳方法是什么?
我不确定这是R,LaTeX还是BibTex问题.
我试图自动生成一个包含R包引文的.bib文件,然后在最后列出它们.我能够生成BibTex文件,我没有看到BibTex文件有任何问题,但是在编译PDF时没有出现这些条目.
我不确定R是否正确生成BibTex文件,如果某些LaTeX语法错误,或者BibTex文件是否需要预编译或其他什么.我注意到\bibliography{NOT A REAL FILENAME}会产生一个引用部分而没有抱怨,但我不认为这是问题所在.
最小的工作示例:
\documentclass[10pt]{amsart}
\usepackage[margin=1in, headheight=20pt, footskip=20pt]{geometry}
\begin{document}
<<label='Create References'>>=
require(knitr) # Needed for write_bib()
# Load some packages to the session:
require(xtable)
require(ggplot2)
# Select packages to cite:
citPkgs <- names(sessionInfo()$otherPkgs)
# Write the bibtex file:
write_bib(citPkgs, file="R-Pckgs.bib")
@
\nocite{*}
\bibliographystyle{plain}
\bibliography{R-Pckgs.bib}
\end{document}
Run Code Online (Sandbox Code Playgroud)
任何帮助或建议将不胜感激.
在LaTeX中写论文的时候,我有这个.bib文件供参考管理:
@article{garg2017patch,
title={Patch testing in patients with suspected cosmetic dermatitis: A retrospective study},
author={Garg, Taru and Agarwal, Soumya and Chander, Ram and Singh, Aashim and Yadav, Pravesh},
journal={Journal of Cosmetic Dermatology},
year={2017},
publisher={Wiley Online Library}
}
@article{hauso2008neuroendocrine,
title={Neuroendocrine tumor epidemiology},
author={Hauso, Oyvind and Gustafsson, Bjorn I and Kidd, Mark and Waldum, Helge L and Drozdov, Ignat and Chan, Anthony KC and Modlin, Irvin M},
journal={Cancer},
volume={113},
number={10},
pages={2655--2664},
year={2008},
publisher={Wiley Online Library}
}
@article{siperstein1997laparoscopic,
title={Laparoscopic thermal ablation of …Run Code Online (Sandbox Code Playgroud) 我在LaTeX中生成一组文档,我想为整个集合提供一个单一的全局参考书目页面.这是因为每个文档都是页面限制的:我不想占用每个文档底部的引用空间.
这意味着在每种情况下,我想在文中引用,但最后不会产生引用.我正在使用bibtex/natbib来处理引用.
最简单的例子:
\documentclass[]{article}
\bibliographystyle{/usr/share/texmf/bibtex/bst/natbib/plainnat.bst}
\usepackage{natbib}
\begin{document}
In \citet*{MEF2010} I described the method.
\bibliography{bibliography.bib}
\end{document}
Run Code Online (Sandbox Code Playgroud)
我怎样才能做到这一点?基本上我只是想让它正确引用:
In Bloggs, Blagg and Blog (2010) I described the method.
Run Code Online (Sandbox Code Playgroud)
但最后不要添加引用部分.有任何想法吗?
谢谢,
大卫