using bibtex
DESCRIPTION
Using BIBtex. Making references in LaTeX (fish.tex). \ documentclass {article} \begin{document} \ emph {My mother} is a \underline{fish} \cite{WF}. \begin{ thebibliography }{99} \ bibitem {WF} William Faulkner, \ emph {As I Lay Dying} \end{ thebibliography } \end{document}. - PowerPoint PPT PresentationTRANSCRIPT
-
USING BIBTEX
-
Making references in LaTeX(fish.tex)\documentclass{article}\begin{document}\emph{My mother} is a \underline{fish} \cite{WF}.\begin{thebibliography}{99}\bibitem{WF}William Faulkner, \emph{As I Lay Dying}\end{thebibliography}\end{document}
-
Need to compile the document twiceBecause we are using symbolic references, e.g., \cite{WF}, a second pass is necessaryThe second pass will resolve references
-
Problem with this methodUser is burdened with deciding how to format article titles, journal names, proceeding referencesDifficult to reuse references in other documents
-
QUICK BIBTEX TUTORIAL
-
BibTex TutorialWhy do you want to learn BibTex?Nuts and Bolts of BibTexExamples
-
Why you want to learn BibTexComplements LaTeX documents by managing bibliography and referencesMinimizes the drudgery of formatting, numbering, and referencingDisadvantage:Steep Learning Curve
-
The BibTex ProcessCreate a BibTex file with Reference entriesGet a *.bst file (bibliographic style file)Compile or Build your LaTeX document to create an *.aux fileRun BibTeX on your LaTeX fileRun LaTeX twice on your updated fileView the dvi or pdf file
-
Types of Documents BibTex can handleARTICLEBOOKBOOKLETINBOOKINCOLLECTIONINPROCEEDINGSMANUAL
MISCPHDTHESISPROCEEDINGSTECHREPORTUNPUBLISHED
-
Each Document type can have the following entriesaddressauthorbooktitlechaptercrossrefeditioneditorhowpublishedinstitutionjournalkeylanguagemonthnotenumberorganizationpagespublisherschoolseriestitletype=Ph.D. dissertationvolumeyear
-
Sample BibTex Book Entry(mybib.bib)@BOOK{Press,author="W.H. Press",title="Numerical Recipes in C: The Art of Scientific Computing",publisher="Cambridge University Press",year=1992,}
-
Sample BibTex Technical Report Entry@TECHREPORT{Berk,author="Lex A. Berk and L.S. Bernstein and D.C. Robertson",title="MODTRAN: a moderate resolution model for LOWTRAN 7",number="GL-TR-89-0122",institution="Spectral Science",address = "Burlington, MA",year = 1989}
-
Sample BibTex Ph.D. Dissertation Entry@PHDTHESIS{Kuo,author="Jan-Tai Kuo",title="The Influence of Hydrodynamic Transport on Phytoplankton Dynamics in Homogeneous Lakes",school="Cornell University",address="Ithaca, NY",year=1981,}
-
Sample BibTex Masters Thesis Entry@MASTERSTHESIS{Knobelspiesse,author="Kirk D. Knobelspiesse",title="Atmospheric Compensation for SeaWIFS Images of Lake Superior Utilizing Spatial Information",school="Rochester Institute of Technology",addess="Rochester, NY",month=Sep,year=2000,}
-
Sample BibTex Article Entry@ARTICLE{Vodacek,author="Anthony Vodacek and F.E. Hoge and R.N. Swift and J.K. Yungel and E.T. Peltzer and N.V. Blough",title="The use of in situ and airborne fluorescence measurements to determine UV absorption coefficients and DOC concentrations in surface waters",journal="Limnology and Oceanography",volume=40,number=2,year=1995,pages="411--415",}
-
Sample BibTex Booklet Entry@BOOKLET{Sherwood,author="D.A. Sherwood",title="Phosphorus Loads Entering Long Pond, A Small Embayment of Lake Ontario near Rochester, New York",howpublished="USGS Fact Sheet 128-99",pages=4,month="November",year=1999,}
-
Sample BibTex Proceedings Entry@INPROCEEDINGS{Stoermer,author="E.F. Stoermer",title="Nearshore phytoplankton populations in the Grand Haven, Michigan vicinity during thermal bar conditions",booktitle="Proceedings of the 11th Conference on Great Lakes Research",pages="137--150",year=1968,}
-
Sample BibTex Manual Entry@MANUAL{RSI,author="RSI",title="ENVI User's Guide",publisher="Reasearch Systems Incorporated",organization="Research Systems Incorporated",howpublished="PDF File",address="Boulder, CO",month="September",year=2001,}
-
Different Formatting StylesTo invoke a particular style, go tohttp://www.ctan.orgDocument styles are defined in *.sty filesmla.stybmsplain.styBibliography styles are defined in *.bst filesmla.bstamsplain.bst
-
To invoke these styles in your documentCopy them to your current working directory with your LaTeX and BibTex documentEdit your LaTeX file to appropriately reference these style guides
-
Sample LaTeX document listing Bibliography in MLA Style (bib.tex)\documentclass{report}\usepackage{mla}\begin{document}
\bibliographystyle{mla}\bibliography{mybib}\nocite{*}
\end{document}
-
Commands to Build and View DocumentTo use xdvi viewer
% latex bib.tex% bibtex bib.aux% latex bib.tex% latex bib.tex% xdvi bib.dvi
-
Sample LaTeX document listing Bibliography in AMS Style (bib.tex)\documentclass{report}\begin{document}
\bibliographystyle{amsplain}\bibliography{mybib}\nocite{*}
\end{document}
-
To include only cited articles we remove the \nocite{*} command\documentclass{report}\begin{document}We want to get the documents \cite{RSI} and \cite{Kuo} for our collection\bibliographystyle{amsplain}\bibliography{mybib}
\end{document}
-
Cross-referencing in Proceedings@PROCEEDINGS{Narayanan,editor="Ram Mohan Narayanan and James E. Kalshoven, Jr.",title="Advances in Laser Remote Sensing for Terrestrial and Oceanographic Applications",booktitle="Proceeding of SPIE",publisher="SPIE",volume=3059,year=1997,}
-
Article in Proceedings@INPROCEEDINGS{Ulrich,author="B.L. Ulrich and P. Lacovara and S.E. Moran and M.J. DeWeert",title="Recent results in imaging lidar",crossref="Narayanan",pages="95--108",}
-
MISCELLANEOUS LATEX TOPICS
-
Comments in LaTeX%Ignores the rest of the line
-
To protect special charactersUse the \ charactere.g. My\_Cat.raw
To typeset a section as typed\begin{verbatim}
\end{verbatim}
-
Verbatim command OK for small sections that can be typed into documentWhat about including entire source code of programsUse verbatim package
-
Including Source code in LaTeX documents\documentclass{article}\usepackage{verbatim}\begin{document}
\begin{equation} \label{E:sum}s = \sum_{i=1}^{n}x_{i}\end{equation}
The code as implemented in idl in vectorized form looks like
\verbatiminput{sum.pro}
\end{document}
-
Including image graphics into you LaTeX documentNeed to convert your image graphics into EPS For images, use pnmtops, e.g.% pnmtops norotate nosetpage MyCat.pgm > MyCat.ps-norotate keeps from auto-rotating the image-nosetpage keeps from setting to a specific deviceNeed to include an extension package to LaTeX called graphics using command\usepackage{graphics}
-
Image Graphics Example(image.tex)\documentclass{article}\usepackage{graphics}\begin{document}\begin{figure} \includegraphics{MyCat.ps}\caption{This is My Cat} \label{F:MyCat}\end{figure}\end{document}
-
Flowchart FiguresCreate Flowchart in PowerPointExport as a bmp fileConvert from bmp to postscript% bmptoppm figure.bmp | pnmtops norotate nosetpage > figure.psOR User xfig because it will export to EPS Shareware utility called WMF2EPSWindows clipboard objects to EPS
-
Because current pdflatex cannot include Encapsulated Postscript Files (EPS)
Need to go from dvi to postscript to pdf using the following commands% dvips image.dvi% ps2pdf image.ps
Some degradation in quality is observed