1 winter quarter 2003rolando v. raqueño referencing in latex recall the following method of...
TRANSCRIPT
![Page 1: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/1.jpg)
Winter Quarter 2003 Rolando V. Raqueño 11
Referencing in LaTex
Recall the following method of referencing
![Page 2: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/2.jpg)
Winter Quarter 2003 Rolando V. Raqueño 22
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 Falkner, \emph{As I Lay Dying}\end{thebibliography}\end{document}
![Page 3: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/3.jpg)
Winter Quarter 2003 Rolando V. Raqueño 33
Need to compile the document twice
• Because we are using symbolic references, e.g., \cite{WF}, – a second pass is necessary
• The second pass will resolve references
![Page 4: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/4.jpg)
Winter Quarter 2003 Rolando V. Raqueño 44
![Page 5: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/5.jpg)
Winter Quarter 2003 Rolando V. Raqueño 55
Problem with this method
• User is burdened with deciding how to format article titles, journal names, proceeding references
• Difficult to reuse references in other documents
![Page 6: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/6.jpg)
Winter Quarter 2003 Rolando V. Raqueño 66
Quick BibTex Tutorial
![Page 7: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/7.jpg)
Winter Quarter 2003 Rolando V. Raqueño 77
BibTex Tutorial
• Why do you want to learn BibTex?
• Nuts and Bolts of BibTex
• Examples
![Page 8: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/8.jpg)
Winter Quarter 2003 Rolando V. Raqueño 88
Why you want to learn BibTex
• Complements LaTeX documents by managing bibliography and references
• Minimizes the drudgery of formatting, numbering, and referencing
• Disadvantage:– Steep Learning Curve
![Page 9: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/9.jpg)
Winter Quarter 2003 Rolando V. Raqueño 99
The BibTex Process
1. Create a BibTex file with Rerefence entries
2. Get a *.bst file (bibliographic style file)
3. “Compile” or “Build” your LaTeX document to create an *.aux file
4. Run BibTeX on your LaTeX file
5. Run LaTeX twice on your updated file
6. View the dvi or pdf file
![Page 10: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/10.jpg)
Winter Quarter 2003 Rolando V. Raqueño 1010
Types of Documents BibTex can handle
• ARTICLE• BOOK• BOOKLET• INBOOK• INCOLLECTION• INPROCEEDINGS• MANUAL
• MISC• PHDTHESIS• PROCEEDINGS• TECHREPORT• UNPUBLISHED
![Page 11: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/11.jpg)
Winter Quarter 2003 Rolando V. Raqueño 1111
Each Document type can have the following entries
• address• author• booktitle• chapter• crossref• edition• editor• howpublished• institution• journal• key• language
• month• note• number• organization• pages• publisher• school• series• title• type=“Ph.D. dissertation”• volume• year
![Page 12: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/12.jpg)
Winter Quarter 2003 Rolando V. Raqueño 1212
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,
}
![Page 13: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/13.jpg)
Winter Quarter 2003 Rolando V. Raqueño 1313
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}
![Page 14: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/14.jpg)
Winter Quarter 2003 Rolando V. Raqueño 1414
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,}
![Page 15: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/15.jpg)
Winter Quarter 2003 Rolando V. Raqueño 1515
Sample BibTex Master’s 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,}
![Page 16: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/16.jpg)
Winter Quarter 2003 Rolando V. Raqueño 1616
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",}
![Page 17: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/17.jpg)
Winter Quarter 2003 Rolando V. Raqueño 1717
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,}
![Page 18: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/18.jpg)
Winter Quarter 2003 Rolando V. Raqueño 1818
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,}
![Page 19: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/19.jpg)
Winter Quarter 2003 Rolando V. Raqueño 1919
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,}
![Page 20: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/20.jpg)
Winter Quarter 2003 Rolando V. Raqueño 2020
Different Formatting Styles
• To invoke a particular style, go to– http://www.ctan.org
• Document styles are defined in *.sty files– mla.sty– bmsplain.sty– natbib.sty
• Bibliography styles are defined in *.bst files– mla.bst– amsplain.bst
![Page 21: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/21.jpg)
Winter Quarter 2003 Rolando V. Raqueño 2121
To invoke these styles in your document
• Copy them to your current working directory with your LaTeX and BibTex document
• Edit your LaTeX file to appropriately reference these style guides
![Page 22: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/22.jpg)
Winter Quarter 2003 Rolando V. Raqueño 2222
Sample LaTeX document listing Bibliography in MLA Style (bib.tex)
\documentclass{report}\usepackage{mla}\begin{document}
\bibliographystyle{mla}\bibliography{mybib}\nocite{*}
\end{document}
![Page 23: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/23.jpg)
Winter Quarter 2003 Rolando V. Raqueño 2323
Commands to Build and View Document
To use xdvi viewer
% latex bib.tex
% bibtex bib.aux
% latex bib.tex
% latex bib.tex
% xdvi bib.dvi
![Page 24: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/24.jpg)
Winter Quarter 2003 Rolando V. Raqueño 2424
![Page 25: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/25.jpg)
Winter Quarter 2003 Rolando V. Raqueño 2525
Sample LaTeX document listing Bibliography in AMS Style (bib.tex)
\documentclass{report}
\begin{document}
\bibliographystyle{amsplain}
\bibliography{mybib}
\nocite{*}
\end{document}
![Page 26: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/26.jpg)
Winter Quarter 2003 Rolando V. Raqueño 2626
![Page 27: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/27.jpg)
Winter Quarter 2003 Rolando V. Raqueño 2727
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}
![Page 28: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/28.jpg)
Winter Quarter 2003 Rolando V. Raqueño 2828
![Page 29: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/29.jpg)
Winter Quarter 2003 Rolando V. Raqueño 2929
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,}
![Page 30: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/30.jpg)
Winter Quarter 2003 Rolando V. Raqueño 3030
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",
}
![Page 31: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/31.jpg)
Winter Quarter 2003 Rolando V. Raqueño 3131
![Page 32: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/32.jpg)
Winter Quarter 2003 Rolando V. Raqueño 3232
Example of citations
• Given that "Berk1989" using mla.sty– \cite{Berk1989}
• (Berk, Bernstein, and Robertson 1989)
– \shortcite{Berk1989} • (Berk et al. 1989)
– \citeA{Berk1989} • (Berk, Bernstein, and Robertson)
– \shortciteA{Berk1989} • (Berk et al.)
– \citeyear{Berk1989} • (1989)
![Page 33: 1 Winter Quarter 2003Rolando V. Raqueño Referencing in LaTex Recall the following method of referencing](https://reader035.vdocuments.us/reader035/viewer/2022070412/56649eff5503460f94c14e5b/html5/thumbnails/33.jpg)
Winter Quarter 2003 Rolando V. Raqueño 3333
– \citeANP{Berk1989} • Berk, Bernstein, and Robertson
– \shortciteANP{Berk1989} • Berk et al.
– \citeyearANP{Berk1989} • 1989
– \shortciteN{Berk1989} • Berk et al. (1989)
– \cite{Schott1997,Berk1989} • (Schott 1997; Berk, Bernstein, and Robertson 1989)
• Watch out for spaces in multiple citations